Displaying 6 results from an estimated 6 matches for "ip_user_check".
2007 Mar 26
0
Binding an ip address to an username with SQUID passwod file (SOLVED)
...gt; > Thank you
> > Indunil Jayasooriya
> >
> >
> >
> > _______________________________________________
> > CentOS mailing list
> > CentOS at centos.org
> > http://lists.centos.org/mailman/listinfo/centos
>
> You should check whether you have ip_user_check (locate ip_user_check).
> Normally it comes with squid installation, on CentOS it should be
> in /usr/lib/squid/.
>
> Then you may want to generate a config file, which should contain the
> list of ips and users (like <IP> <USER>).
>
> Then you should add a line in...
2007 Mar 24
1
Binding an ip address to an username with SQUID passwod file
Hi List,
I want to bind an ip address to a username with squid by using squid
password file.
I am using ncsa_auth programme. Below are line that I have added to
squid.conf file.
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/squid_passwd
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic
2007 Mar 26
2
How to limit a user to access a few sites.
...to prevent from accessing all the sites. But Instead,
I want them to allow to access a few sites scuh as google.com,cnn.com,
bbc.com. I want to limit in that way.
I have wriiten below rules. But those users still can access all the sites.
external_acl_type ip_user %SRC %LOGIN %DST /usr/lib/squid/ip_user_check -f
/etc/squid/ip.conf
acl ncsa_users proxy_auth REQUIRED
acl ip_users external ip_user %SRC %LOGIN %DST
http_access deny !ncsa_users
http_access deny !ip_users
http_access allow ip_users
http_access allow ncsa_users
my ip.conf file is like this.
[root at worldnet squid]# cat /etc/squid/ip.conf
1...
2007 Mar 28
0
How to limit a user to access a few sites. (SOLVED)
Hi Roy and calin.kalinix.cosma,
Thanks for your help all the given to me. Finally, I got it done.
Binding an ip address to an username with SQUID and limiting access
of some users with their ips to a few sites
rules added to squid.conf file
external_acl_type ip_user %SRC %LOGIN /usr/lib/squid/ip_user_check -f
/etc/squid/ip.conf
acl ncsa_users proxy_auth REQUIRED
acl ip_users external ip_user %SRC %LOGIN
acl clientips src 192.168.101.28 192.168.101.29 192.168.101.30
acl allowedsites url_regex -i "/etc/squid/allowedsites.txt"
http_access deny !ncsa_users
http_access deny !ip_users
http_acc...
2008 Aug 31
2
smb_auth problem
...The smb_auth permissions
sek:/usr/lib/squid# ls -l /usr/lib/squid/
total 284
-rwxr-xr-x 1 root root 15212 Jul 6 06:28 digest_pw_auth
-rwxr-xr-x 1 root root 11636 Jul 6 06:26 diskd-daemon
-rwxr-sr-- 1 proxy shadow 7988 Jul 6 06:28 getpwnam_auth
-rwxr-xr-x 1 root root 10312 Jul 6 06:28 ip_user_check
-rwxr-xr-x 1 root root 17544 Jul 6 06:28 ldap_auth
-rwxr-xr-x 1 root root 5464 Jul 6 06:26 logfile-daemon
-rwxr-xr-x 1 root root 32828 Jul 6 06:28 msnt_auth
-rwxr-xr-x 1 root root 15748 Jul 6 06:28 ncsa_auth
-rwxr-xr-x 1 root root 42216 Jul 6 06:28 ntlm_auth
-rwxr-sr-- 1 proxy...
2008 Sep 01
1
the field ttl in struct referral doesn't work
...ls -l /usr/lib/squid/
>> total 284
>> -rwxr-xr-x 1 root root 15212 Jul 6 06:28 digest_pw_auth
>> -rwxr-xr-x 1 root root 11636 Jul 6 06:26 diskd-daemon
>> -rwxr-sr-- 1 proxy shadow 7988 Jul 6 06:28 getpwnam_auth
>> -rwxr-xr-x 1 root root 10312 Jul 6 06:28 ip_user_check
>> -rwxr-xr-x 1 root root 17544 Jul 6 06:28 ldap_auth
>> -rwxr-xr-x 1 root root 5464 Jul 6 06:26 logfile-daemon
>> -rwxr-xr-x 1 root root 32828 Jul 6 06:28 msnt_auth
>> -rwxr-xr-x 1 root root 15748 Jul 6 06:28 ncsa_auth
>> -rwxr-xr-x 1 root root 422...