Switch to full style
Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems
Post a reply

Socks5 question

Nov 27 03 7:27 pm

http://archive.socks.permeo.com/mail/so ... 00491.html

???

for the benefit of those who can't be bothered clicking...

Nov 28 03 1:59 am

I'm developing a piece of software for NT and Netware that needs to be able
to traverse a SOCKS5
server. I've got what seems to be everything implimented, but it isn't
working.

1. Open a UDP socket for my server to listen/send on.
2. Open TCP to 1080 on the SOCKS server.
3. Negotiate authentication - this works, no authentication.
4. Send the UDP associate - this seems to work, the server and my app report
the same bound relay
port.
5. I send a packet, with the socks header, to the relay port from my UDP
socket in step 1.
Immediately after sending, the SOCKS5 server kills the session. I've tried
this on both WinProxy
and WinGate, and WinGate give me the most diagnostic info. I see that the
session recieved and sent
(internally) the right amount of bytes - but nothing was relayed either way,
and the session ends
with an exit code of 1.

Any help at all would be appreciated.

Nov 28 03 2:02 am

make sure the frag count field in the UDP header is zero. This would do what you are seeing.

Adrien

Nov 28 03 4:44 am

I See.

Thanks.
Post a reply