Created
March 31, 2014 11:43
-
-
Save cursedcoder/9890536 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cursedcoder@localhost ~/Projects/socks ±master[√] » php examples/server.php & | |
[1] 51255 | |
SOCKS server listening on localhost:9050 | |
cursedcoder@localhost ~/Projects/socks ±master[√] » php examples/server-middleman.php & | |
[2] 51290 | |
SOCKS server listening on localhost:9051 (which forwards everything to SOCKS server 127.0.0.1:9050) | |
cursedcoder@localhost ~/Projects/socks ±master[√] » php examples/client.php | |
Demo SOCKS client connecting to SOCKS server 127.0.0.1:9051 | |
FAIL: connection to www.google.com:80 failed: message: Unable to connect to socks server | |
previous: Unable to connect to socks server | |
previous: Connection refused | |
EXPECTED: connection to www.google.commm:80 failed: message: Unable to connect to socks server | |
previous: Unable to connect to socks server | |
previous: Connection refused | |
EXPECTED: connection to www.google.com:8080 failed: message: Unable to connect to socks server | |
previous: Unable to connect to socks server | |
previous: Connection refused | |
FAIL: connection to ssl://www.google.com:443 failed: message: Unable to connect to socks server | |
previous: Unable to connect to socks server | |
previous: Connection refused | |
EXPECTED: connection to ssl://www.google.com:80 failed: message: Unable to connect to socks server | |
previous: Unable to connect to socks server | |
previous: Connection refused | |
EXPECTED: connection to ssl://www.google.com:8080 failed: message: Unable to connect to socks server | |
previous: Unable to connect to socks server | |
previous: Connection refused | |
STOP - stopping mainloop after 8 seconds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment