Search squid archive

http_access rule with multiple conditions?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On my network, I've got IM clients and games that connect to numeric IPs.

I use a rule to always allow specific network to connect to numeric IPs:

acl ipdomain url_regex ^[^:]*://([^/@]*@)?[0-9\.]*(:|/|$|\?) ^[0-9\.]*$
http_access allow limited_net     ipdomain

But these clients also make CONNECT requests to these numeric IPs at port 80
and 443.

I can control CONNECT with 
http_access deny CONNECT !CONNECT_ports

but how can I control CONNECT for a specific network?  
ie: 

http_access allow connect_allowed_net CONNECT CONNECT_ports

Ultimately, can I say, allow limited_net to make CONNECT requests to
specific PORTs to numeric IPs.

something like:
http_access allow limited_net CONNECT CONNECT_ports

Anyway to achieve that?

Thanks!




--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/http-access-rule-with-multiple-conditions-tp4660387.html
Sent from the Squid - Users mailing list archive at Nabble.com.




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux