bind to outgoing ip only when specifically requested
commit3aa08de3df159241498c4050f21ab412b576796d
authorrofl0r <retnyg@gmx.net>
Wed, 13 Sep 2017 16:17:16 +0000 (13 17:17 +0100)
committerrofl0r <retnyg@gmx.net>
Wed, 13 Sep 2017 16:17:16 +0000 (13 17:17 +0100)
treed536edcd07c5aaeca3e04264789042a099ceadc0
parent391dcd73543e36abe3328fa115ac3f21411e34a5
bind to outgoing ip only when specifically requested

we experienced that when binding to 127.0.0.1, no outgoing connections
could be made, and rather than blacklisting all possible ip addresses
that need bind turned off in order for the proxy to work, we instead
add a new command line switch so the user can turn bind mode on when
he sees the need to do so.

the bind functionality was introduced in this commit's parent.
server.c
sockssrv.c