<div dir="auto">Thanks Amos much appreciated<div dir="auto"><br></div><div dir="auto">Is there a way of enabling socks udp at all or is this just not the case at all with squid</div><div dir="auto"><br></div><div dir="auto">Thanks,</div><div dir="auto">Rob</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 6 Jul 2021, 08:02 Amos Jeffries, <<a href="mailto:squid3@treenet.co.nz">squid3@treenet.co.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 23/06/21 9:06 pm, robert k Wild wrote:<br>
> hi all,<br>
> <br>
> after reading this guide, is this for enabling squid for SOCKSv5 ie UDP -<br>
> <br>
<br>
Well, yes and no.<br>
<br>
That is the guide for enabling SOCKS support. But for SOCKS/TCP <br>
connections, not UDP.<br>
<br>
<br>
> <a href="https://wiki.squid-cache.org/Features/Socks" rel="noreferrer noreferrer" target="_blank">https://wiki.squid-cache.org/Features/Socks</a> <br>
> <br>
> export CFLAGS=" -Dbind=SOCKSbind "<br>
> export CXXFLAGS=" -Dbind=SOCKSbind "<br>
> export LDADD=" -lsocks "<br>
> <br>
> <br>
> when building squid from source, do i append it at the end of the <br>
> "configure options"<br>
> <br>
<br>
You can either run the "export ..." commands before running ./configure <br>
or put them as KEY="value" parameters on its command line.<br>
<br>
Either;<br>
<br>
   export CFLAGS=" -Dbind=SOCKSbind "<br>
   export CXXFLAGS=" -Dbind=SOCKSbind "<br>
   export LDADD=" -lsocks "<br>
   ./configure<br>
<br>
or,<br>
<br>
  ./configure \<br>
        CFLAGS=" -Dbind=SOCKSbind " \<br>
        CXXFLAGS=" -Dbind=SOCKSbind " \<br>
        LDADD=" -lsocks "<br>
<br>
<br>
Amos<br>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org" target="_blank" rel="noreferrer">squid-users@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
</blockquote></div>