hmm really very strange ........... if you are blocking IPs via regex .................then always keep in mind squid internal dns will resolve FQDN to IP it will match again this IP with regex becoz now you are going to access internet . so I'm sure it will not work.
-- Best Regs, Masood Ahmad Shah System Administrator ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ | * * * * * * * * * * * * * * * * * * * * * * * * | Fibre Net (Pvt) Ltd. Lahore, Pakistan | Tel: +92-42-6677024 | Mobile: +92-300-4277367 | http://www.fibre.net.pk | * * * * * * * * * * * * * * * * * * * * * * * * ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie) ----- Original Message ----- From: "Hegedus, Ervin" <[EMAIL PROTECTED]> To: "Nauman Malik" <[EMAIL PROTECTED]> Cc: "squid" <[EMAIL PROTECTED]> Sent: Tuesday, September 16, 2003 3:43 PM Subject: Re: [squid-users] FQDN requests only | hello, | | > Can we configure our Squid to allow requests only for fully qualified domain names. And deny all requests made for IP addresses. | | hmm.. | | may be - try to play with regexp's: | | acl ipreg urlpath_regex ^https?://[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*/.*$ | ... | http_access deny ipreg | | | or something like this. | | | | airween |
