[squid-users] UDP support for squid
Amos Jeffries
squid3 at treenet.co.nz
Tue Jul 6 07:00:12 UTC 2021
On 23/06/21 9:06 pm, robert k Wild wrote:
> hi all,
>
> after reading this guide, is this for enabling squid for SOCKSv5 ie UDP -
>
Well, yes and no.
That is the guide for enabling SOCKS support. But for SOCKS/TCP
connections, not UDP.
> https://wiki.squid-cache.org/Features/Socks
>
> export CFLAGS=" -Dbind=SOCKSbind "
> export CXXFLAGS=" -Dbind=SOCKSbind "
> export LDADD=" -lsocks "
>
>
> when building squid from source, do i append it at the end of the
> "configure options"
>
You can either run the "export ..." commands before running ./configure
or put them as KEY="value" parameters on its command line.
Either;
export CFLAGS=" -Dbind=SOCKSbind "
export CXXFLAGS=" -Dbind=SOCKSbind "
export LDADD=" -lsocks "
./configure
or,
./configure \
CFLAGS=" -Dbind=SOCKSbind " \
CXXFLAGS=" -Dbind=SOCKSbind " \
LDADD=" -lsocks "
Amos
More information about the squid-users
mailing list