-
Notifications
You must be signed in to change notification settings - Fork 254
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
If auth is used, it hangs after a couple of page loads in browser. #9
Comments
no ideas what could causing it.
|
Will get you the capture you have asked for. If possible, can you give me the tcpdump command to run on server/client? But before that I have come across possible/related issue. When the socks server is running as:
Every other connection is getting rejected with: "curl: (7) User was rejected by the SOCKS5 server (1 2)." :
But if the server is running with auth disabled:
Its working as expected:
There tests are done using 2 fresh VPSes with a freshly compiled microsocks. Gladly it just requires a "make" :) |
try
|
same result. every other attempt fails:
In the attached zip file, the pcap file when curl produces |
I figured that when every subsequent curl fetch is failing, the error is occurring inside the function
just before:
and the output is:
again:
The above outputs also show that after microsocks invocation, the first connect is always failing and then every even numbered attempt is a success and every odd one is a failure. |
good find. it was a stupid bug... it was obvious when i saw your log output with the bogus passwords. let me know if it works now |
Working perfectly fine now. 👍 Bye bye Dante :) |
One more thing. Can this code snippet from sblist.c:
be replaced with:
compiled fine for me but does this have any side-effects? |
the effect of that change is that constant propagation doesn't kick in which the compiler can use to heavily optimize the spots where the value is used. like it can use shifts instead of mul/div because it knows it's a power of 2 if you don't want the warning just remove the warning line... btw may i ask what OS and arch you're testing on ? i've not experienced the bug on any of my testsystems. |
Debian 8 64-bit |
Hi.
Thanks for this nifty tool. For testing I am using FoxyProxy with Firefox.
./microsocks -p 7659 => keeps working.
./microsocks -p 7659 -u me -P 12345678 => hangs after loading 2-3 websites in browser. nothing loads thereafter.
Any idea what could be causing this?
Regards.
The text was updated successfully, but these errors were encountered: