Re: [squid-users] FQDN requests only

From: Masood Ahmad Shah <masood@dont-contact.us>
Date: Tue, 16 Sep 2003 15:53:05 +0500

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" <airween@amit.hu>
To: "Nauman Malik" <naumanm@khi.wol.net.pk>
Cc: "squid" <squid-users@squid-cache.org>
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
|
Received on Tue Sep 16 2003 - 04:54:14 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:19:54 MST