Re: [squid-users] Netfilter Not Working With Squid

From: Ionel GARDAIS <>
Date: Sun, 3 Feb 2002 11:25:16 +0100 (CET)


I'm new to Squid but can't you use the "acl"
statements to forbid access to your list of sites.

acl all_access src
acl blockedsites url_regex -i "/etc/squid/block.txt"
acl unblockedsites url_regex -i

http_access allow all_access
http_access allow localhost
http_access deny blockedsites !unblockedsites

You can use these rules to restrict access.
Correct me if i'm wrong but TXT files will be "one URL
per line".

Hope this helps.

c u,

Do You Yahoo!? -- Une adresse gratuite et en franšais !
Yahoo! Mail :
Received on Sun Feb 03 2002 - 03:25:18 MST

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