Re: [squid-users] Ip Based URL ?

From: Visolve Squid Development Team <squid@dont-contact.us>
Date: Fri, 10 Dec 2004 16:22:57 +0530

Hello Mukundhan,

When you try previous ways you may possibly get all the sites being
blocked. This is because for dstdomain and dstdom_regex a reverse lookup is
tried if a IP based URL is used. So the following may used to deny the IP
Based URLs

acl ipacl url_regex http://[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*
http_access deny ipacl

You need back slash before dot in the url_regex. otherwise all the URLs will
be blocked.

You can also specify a IP in the acl as below

acl ipacl dst 202.144.1.8
http_access deny ipacl

Best Wishes
Visolve Squid Development Team.

=======================================
* URL : http://squid.visolve.com/ *
* mail : suppot at visolve dot com *
=======================================

Hi All

How do i Block "IP based URL's" ? like: http://202.144.1.8

Iam Very New to Squid and this is my First Post!

Thanks !
~Mukunth

***************************************************************************
This message is proprietary to Future Software Limited (FSL)
and is intended solely for the use of the individual to whom it
is addressed. It may contain privileged or confidential information
and should not be circulated or used for any purpose other than for
what it is intended.

If you have received this message in error, please notify the
originator immediately. If you are not the intended recipient,
you are notified that you are strictly prohibited from using,
copying, altering, or disclosing the contents of this message.
FSL accepts no responsibility for loss or damage arising from
the use of the information transmitted by this email including
damage from virus.
***************************************************************************
Received on Fri Dec 10 2004 - 03:53:10 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:02 MST