You are not logged in.
Hey guys,
i've set up a new root server in france and installed squid on it to bypass the youtube-restrictions and other stuff here in germany.
the problem is, that every time i try to sign-in the authenticator process (basic_ncsa_auth) crashes due to a segfault in libc.
journatctl shows this
Feb 17 16:25:41 **hidden** kernel: basic_ncsa_auth[21752]: segfault at 0 ip 00007fce4e0d457a sp 00007fff51c6cbc8 error 4 in libc-2.17.so[7fce4dfaa000+1a4000]
Feb 17 16:25:41 **hidden** squid[21747]: WARNING: basicauthenticator #1 exited
Feb 17 16:25:41 **hidden** squid[21747]: Too few basicauthenticator processes are running (need 1/20)
Feb 17 16:25:41 **hidden** squid[21747]: Starting new helpers
Feb 17 16:25:41 **hidden** squid[21747]: helperOpenServers: Starting 1/20 'basic_ncsa_auth' processes
Feb 17 16:25:41 **hidden** systemd-coredump[21985]: Process 21752 (basic_ncsa_auth) dumped core.
the dumped core stuff includes usernames and password-hashes so i will not post them here.
i've tried several squid versions (3.2.3-1, 3.2.6-2, 3.2.7-2, 3.3.1-1) but none of them works. on my old machine (with glibc and squid not updated to the latest version) it works as expected.
any ideas what to do next or a hint what it could be?
thanks in advance
jva
edit:
my squid.conf
# Authentication
auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/squid_passwd
auth_param basic children 20
auth_param basic casesensitive on
auth_param basic realm Squid proxy-caching web server
#
# Recommended minimum configuration:
#
# Example rule allowing access from your local networks.
# Adapt to list your (internal) IP networks from where browsing
# should be allowed
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl localnet src fc00::/7 # RFC 4193 local private network range
acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
acl ncsa_users proxy_auth REQUIRED
#
# Recommended minimum Access Permission configuration:
#
# Authentication
http_access allow ncsa_users
# Only allow cachemgr access from localhost
http_access allow localhost manager
http_access deny manager
# Deny requests to certain unsafe ports
http_access deny !Safe_ports
# Deny CONNECT to other than secure SSL ports
http_access deny CONNECT !SSL_ports
# We strongly recommend the following be uncommented to protect innocent
# web applications running on the proxy server who think the only
# one who can access services on "localhost" is a local user
#http_access deny to_localhost
#
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
#
# Example rule allowing access from your local networks.
# Adapt localnet in the ACL section to list your (internal) IP networks
# from where browsing should be allowed
http_access allow localnet
http_access allow localhost
# And finally deny all other access to this proxy
http_access allow all
# Squid normally listens to port 3128
http_port **hidden**
# Hide Proxy usage
via off
# Turn off client visibility
forwarded_for off
# Header control
request_header_access Server deny all
request_header_access WWW-Authenticate deny all
request_header_access Link deny all
reply_header_access From deny all
reply_header_access Server deny all
reply_header_access User-Agent deny all
reply_header_access WWW-Authenticate deny all
reply_header_access Link deny all
# Uncomment and adjust the following to add a disk cache directory.
#cache_dir ufs /var/cache/squid 256 16 256
# Leave coredumps in the first cache dir
coredump_dir /var/cache/squid
# Add any of your own refresh_pattern entries above these.
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320
# max filedescriptors
max_filedesc 8192
edit2:
tried it with the updated community-repo pkg couple of minutes ago and it didn't work eigther.
Last edited by JvA (2013-02-17 23:31:33)
Offline