Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add basic Socks5 proxy support #206

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add basic Socks5 proxy support #206

wants to merge 2 commits into from

Conversation

akiuni
Copy link

@akiuni akiuni commented Mar 11, 2022

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:

git clone https://github.com/torproject/tor
cd tor
./autogen.sh
./configure --disable-asciidoc
make
./src/app/tor

build siege as usual (wish openssl support) and activate socks5 in the siegerc file (9050 is the default socks5 port):

proxy-host = localhost
proxy-port = 9050
proxy-socks5 = true

Run siege as usual

@JoeDog
Copy link
Owner

JoeDog commented Sep 25, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants