[squid-users] Squid Segment Violation with authorization

Eternal Dreamer edreamer322 at gmail.com
Fri Feb 16 02:30:13 UTC 2024


 Hi!
When I'm trying to send curl request with provided basic
proxy-authorization credentials through my proxy I see Segment Violation
error in my logs and empty reply from server. Command is:
curl -v --proxy-basic --proxy-user login:password --proxy
http://192.168.3.19:8080 https://google.com

In squid.conf I have 3 directives:

http_access allow some_acl
http_access allow some_acl some_acl_user_auth some_special_domain
http_all_port http_all_proto
http_access allow some_acl some_acl_user_auth some_special_domain CONNECT
https_port

If I comment first one authorization works fine and it looks good. But with
all lines I even can't authorize to special domains without Segment
Violation error.
I've tried to use different versions of squid from 3.5 to 7.0.
Squid before v5.0.1 ignores Proxy-Authorization header when it's not needed
and works fine with this configuration.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20240216/5393f7d4/attachment.htm>


More information about the squid-users mailing list