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

A SOCKS proxy for the test suite #3752

Closed
wants to merge 4 commits into from

Conversation

@bagder
Copy link
Member

commented Apr 8, 2019

This is a new SOCKS4 + SOCKS5 proxy, specifically written to be used in the curl test suite.

It reads instructions from a file (set from tests using the <servercmd> tag) at the time of each new connection and can thus be instructed to behave exactly the way we want and in ways not previously supported by the existing socks test server. This includes tests with socks5 + auth.

This also makes the SOCKS tests possible to run without the use of a local OpenSSH installation.

@bagder bagder added the tests label Apr 8, 2019
@bagder

This comment has been minimized.

Copy link
Member Author

commented Apr 10, 2019

Codacy complains on things but as this code is only and strictly only used in a test server I'll ignore them.

@bagder bagder force-pushed the bagder/socks-proxy branch from 9335461 to ee5d3a0 Apr 10, 2019
bagder added 3 commits Apr 11, 2019
To aid debugging better.
Make all SOCKS tests use socksd instead of ssh.
@bagder bagder force-pushed the bagder/socks-proxy branch from 0b73214 to a2fc86e Apr 12, 2019
@bagder bagder closed this in 04fd675 Apr 13, 2019
@bagder bagder deleted the bagder/socks-proxy branch Apr 13, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jul 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
1 participant
You can’t perform that action at this time.