Dear All,
Salamoalikum
i want to know how one can stop user from spaming illegal domain names like www.flashy!.com on squid box . How the Acl's should be applied in squid.conf. Thanx in advance.
Saeed
Securing Squid
Re: Securing Squid
Saeeds wrote:i want to know how one can stop user from spaming illegal domain names like www.flashy!.com on squid box .
what do you mean? the users try loading that site in large numbers?
what problem does it cause for you?
-
- Lieutenant Colonel
- Posts: 660
- Joined: Sat Jul 06, 2002 12:35 pm
- Location: Islamabad
- Contact:
What i meant was that the user is continously trying to access this site wid illegal character ...as i view my cache.log it continouesly goes on showing mesg tht "could not parse www.xyz!.com illegal character ..." i guess it puts laod on the sytem as the request is generated every 4 or 5 sec later.
Mr Zaeem got my point i guess, that what should i do if i want to stop user from generating requests which contains illegal characters..but sir as i am newbie plz give me example......
Saeed
Mr Zaeem got my point i guess, that what should i do if i want to stop user from generating requests which contains illegal characters..but sir as i am newbie plz give me example......

Saeed
-
- Lieutenant Colonel
- Posts: 660
- Joined: Sat Jul 06, 2002 12:35 pm
- Location: Islamabad
- Contact:
Use this in squid.conf
acl invalidurls dstdom_regex -i [`"!@#%^*]
http_access deny invalidurls
u can put in as many characters u like in the square brackets but beware that $%() and a few others are used in urls. so be careful or ur users may be devoid of net surfing. good luck
PS: I tested it and that works fine for me. If it doesnt then let me know of ur configuration as the most probable cause shall be a problem in ur squid.conf .
Regards
Zaeem Arshad
acl invalidurls dstdom_regex -i [`"!@#%^*]
http_access deny invalidurls
u can put in as many characters u like in the square brackets but beware that $%() and a few others are used in urls. so be careful or ur users may be devoid of net surfing. good luck
PS: I tested it and that works fine for me. If it doesnt then let me know of ur configuration as the most probable cause shall be a problem in ur squid.conf .
Regards
Zaeem Arshad
Who is online
Users browsing this forum: No registered users and 1 guest