Re: [squid-users] Squid authentication problem (Amos Jeffries)

2017-06-19 Thread Sonya Roy
Hi, >From what I saw with using IP as part of then authentication, it checks which IP the user is connecting to the server from. What I want to check is which public IP of the server the user is connecting to. If someone connects to the server's IP address x.x.x.x, I want the outgoing traffic to

Re: [squid-users] Squid authentication problem (Amos Jeffries)

2017-06-19 Thread Amos Jeffries
On 20/06/17 00:09, Sonya Roy wrote: Hi, From what I saw with using IP as part of then authentication, it checks which IP the user is connecting to the server from. What I want to check is which public IP of the server the user is connecting to. The IP is whichever one you pass to the various h

Re: [squid-users] Squid authentication problem (Amos Jeffries)

2017-06-19 Thread Sonya Roy
Since you are saying the IP that can be passed to the helpers is configurable, how would I pass the local IP of the server that the client connected to? I checked out the helpers you mentioned, there they check which IP the connection is coming from. Not the local IP of the server that the client

Re: [squid-users] Squid authentication problem (Amos Jeffries)

2017-06-19 Thread Amos Jeffries
On 20/06/17 03:20, Sonya Roy wrote: Since you are saying the IP that can be passed to the helpers is configurable, how would I pass the local IP of the server that the client connected to? I checked out the helpers you mentioned, there they check which IP the connection is coming from. Not the l

Re: [squid-users] Squid authentication problem (Amos Jeffries)

2017-06-19 Thread Amos Jeffries
On 20/06/17 09:15, Amos Jeffries wrote: On 20/06/17 03:20, Sonya Roy wrote: Since you are saying the IP that can be passed to the helpers is configurable, how would I pass the local IP of the server that the client connected to? I checked out the helpers you mentioned, there they check which IP

Re: [squid-users] Squid authentication problem (Amos Jeffries)

2017-06-19 Thread Sonya Roy
Hi, Thanks for the links. So I tried what you suggested and for testing, I was using this simple config:- http_port 8080 auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/passwords auth_param basic realm proxy external_acl_type checkclient children-max=20 %MYADDR %LOGIN /usr/loca

Re: [squid-users] Squid authentication problem (Amos Jeffries)

2017-06-20 Thread Amos Jeffries
On 20/06/17 10:50, Sonya Roy wrote: Hi, Thanks for the links. So I tried what you suggested and for testing, I was using this simple config:- http_port 8080 auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/passwords auth_param basic realm proxy external_acl_type checkclient c

Re: [squid-users] Squid authentication problem (Amos Jeffries)

2017-06-20 Thread Sonya Roy
Thanks for all the help. I just checked the /etc/squid/passwords file, turns out I mistakenly used htpasswd -c when saving the last username, password and all the previous ones got overwritten. After fixing that, the config file I wrote earlier worked fine. With regards, Sonya Roy On Tue, Jun 20