Search squid archive

squid-2.5STABLE12 and ip_user helper

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

 



Hi, squid community

I've problem using ip_user external helper with squid-2.5.12 under Slackware-10.2 (2.4.31)

nua@host $ cat /etc/squid/squid.conf | grep external
external_acl_type ip_user children=5 %SRC %LOGIN /usr/local/libexec/ip_user_check -f /etс/squid/ip_user_check.conf

...
2005/10/25 18:04:58| helperOpenServers: Starting 5 'ip_user_check' processes
...
2005/10/25 18:04:58| Ready to serve requests.
2005/10/25 18:04:58| WARNING: ip_user #1 (FD 11) exited
2005/10/25 18:04:58| WARNING: ip_user #2 (FD 12) exited
2005/10/25 18:04:58| WARNING: ip_user #3 (FD 13) exited
2005/10/25 18:04:58| Too few ip_user processes are running
FATAL: The ip_user helpers are crashing too rapidly, need help!
...

All loopback connections are allowed by iptables rules (auth_program starts with no problem). At the same time ip_user_check runs and checks ip-address/username with success if I run it by hands under the cache_effective_user:

nua@host $ /usr/local/libexec/ip_user_check -f /etc/squid/ip_user_check.conf

192.168.1.3 nua
OK
192.168.1.4 user
ERR

The results are true according to ip_user_check.conf

As far as I use ip_user helper for years and it always works fine,
well, I've built old squid release (2.5.STABLE6) with ip_user helper on the same host (Slackware, 2.4.31), with the same iptables rules, the same configuration parameters, etc. Run it with the same squid.conf (except some new squid params) and ip_user_check.conf and... it RUNS !!! BTW, both squid versions (2.5STABLE6 and 2.5STABLE12) use the same ip_user version

Thanks in anvance

--
Best Regards,
Yuri Nosyrev			mailto: nua at slavel dot ru
Russia

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

  Powered by Linux