[squid-users] squid listen on UDP for * or 0.0.0.0
Amos Jeffries
squid3 at treenet.co.nz
Tue Dec 13 13:09:29 UTC 2022
On 13/12/2022 7:43 am, Ahmad Alzaeem wrote:
>
> Hello Folks
>
> ,
>
> Wondering why I see squid listening on UDP sockets. And how can I
> disable that behavior?
>
>
Default config is to let the OS select best src-IP for all outgoing traffic.
In order to receive UDP responses Squid needs to listen on all IPs the
OS might have chosen.
Use <http://www.squid-cache.org/Doc/config/udp_incoming_address/> to set
a specific UDP receiving address.
This will also change the default udp_outgoing_address so that the
responses come back to your chosen listening address.
HTH
Amos
More information about the squid-users
mailing list