Am 13.04.2023 schrieb Tim Ritberg <t...@server.invalid>:
> Am 13.04.23 um 10:38 schrieb Marco Moock:
> > Am 13.04.2023 schrieb Tim Ritberg <t...@server.invalid>:
> >
> >> Du meins dies hier?
> >>
https://serverfault.com/questions/987563/squid-proxy-using-ipv6-for-outgoing-traffic-instead-of-ipv4
> >>
> >
> > Das Gegenteil. Ich hätte gerne das Verhalten, was er abstellen will.
> >
> > dns_v4_first ist aber deprecated, sodass mir das nicht weiter hilft.
> >
>
> Nun heisst es aber laut Docu, dass er immer zu erst ipv6 macht.
> DaS würde sich ändern, zB durch die o.g. Option.
Aus der Doku (/usr/share/doc/squid-common/squid.conf.documented.gz):
TAG: dns_v4_first
Remove this line. Squid no longer supports preferential treatment of
DNS A records.
> Vielleicht fehlt dir eine ACL, damit er überhaupt raus darf.
Es ging damit früher und geht auch, wird aber nicht bevorzugt.
Das ist die Konfig:
http_port 443
cache deny all
#access_log none
cache_log none
auth_param basic program /usr/lib/squid/basic_ncsa_auth
/etc/squid/squid.passwd auth_param basic children 5
auth_param basic realm Mein-Proxy
auth_param basic credentialsttl 3 hours
auth_param basic casesensitive off
happy_eyeballs_connect_timeout 3000
happy_eyeballs_connect_gap 3000
acl users proxy_auth REQUIRED
acl sectionx proxy_auth REQUIRED #ist die nicht unnötig?
http_access allow users