Socks5 question

Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems

Moderator: Qbik Staff

Socks5 question

Postby arvid » Nov 27 03 7:27 pm

arvid
 
Posts: 4
Joined: Nov 27 03 4:59 pm

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

Postby adrien » 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.
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland

Postby adrien » 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
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland

Postby arvid » Nov 28 03 4:44 am

I See.

Thanks.
arvid
 
Posts: 4
Joined: Nov 27 03 4:59 pm


Return to WinGate

Who is online

Users browsing this forum: No registered users and 318 guests