Open akiuni opened 2 years ago
Sorry, I'm so late to this party. I just noticed this pull request.
As implemented, this creates a dependency on tor. Every distributor would have to include tor. The siege topdir/src is missing socks5.c and socks5.h which aren't included. I assume they're the socks5.c and socks5.h distributed with ror
This PR aims at allowing usage of siege behind a basic SOCKS5 proxy. If approved, GSSAPI authentication should be added in order to be compliant with rfc1928.
Note that I've used existing proxy-* directives to avoid too many modifications, but it is possible to create dedicated ones for socks5, depending on the maintener willing.
Here is an example of usage behind tor (in default mode, which is socks5 proxy) : build and run tor:
build siege as usual (wish openssl support) and activate socks5 in the siegerc file (9050 is the default socks5 port):
Run siege as usual