[squid-users] doing user/pass auth and src acl on same instance

Jason Enzer enzerj at gmail.com
Wed Sep 2 23:45:22 UTC 2015


is this possible?

i have src acl working fine. i can control the outgoing address/port
and incoming address with no issues.

when i introduce ncsa auth it breaks everything.

acl ncsa_users proxy_auth REQUIRED
http_access allow ncsa_users


acl src3171 src 23.240
acl port3171 myportname 3171
tcp_outgoing_address 172.4 src3171
http_access allow src3171 port3171
http_access deny src3171 port3171
http_access deny ncsa_users


acl src3172 src 23.240
acl port3172 myportname 3172
tcp_outgoing_address 172.5 port3172
http_access allow src3172 port3172
http_access deny src3172 port3172

so if i connect to 172.5:3172 it asks for password once authed ( which
i dont want to auth ) then shows outgoing address of 172.4. i realize
its acl related and the acl logic isnt correct. can someone point me
in the right direction?

thanks,

jason


More information about the squid-users mailing list