Unsupported or invalid address type (2) in SOCKS5 request

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

Moderator: Qbik Staff

Unsupported or invalid address type (2) in SOCKS5 request

Postby jz » Apr 08 05 7:59 pm

I'm trying to use Wingate as a SOCKS proxy to use with Fiorano JMS server. But wingate does not accept the client connection and logs:

04/08/05 09:08:33 <client ip> Guest 0000000278 Created:

04/08/05 09:08:33 <client ip> Guest 0000000278 Error: Unsupported or invalid address type (2) in SOCKS5 request - terminating

04/08/05 09:08:33 <client ip> Guest 0000000278 Traffic 12 5 0 0 0s

04/08/05 09:08:33 <client ip> Guest 0000000278 Terminated exit code 1

Anyone can help?
Does a list of Wingate errors exists somewhere?
Thank you in advance,
Jacopo Zamberlan
jz
 
Posts: 3
Joined: Apr 08 05 7:47 pm

Postby adrien » Apr 11 05 12:33 pm

What is the client software?

SOCKS 5 defines 3 address types, 1, 3, and 4. 2 is not defined in the spec, so it looks like the client is not SOCKS compliant. I can't find any reference to an additional address type being defined.

Adrien
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland

Postby jz » Apr 11 05 8:16 pm

>What is the client software?
I use the client of a jms server: Fiorano MQ.

>SOCKS 5 defines 3 address types, 1, 3, and 4. 2 is not defined in the >spec, so it looks like the client is not SOCKS compliant. I can't find any >reference to an additional address type being defined.


I don't think the client is not SOCKS compliant at all, because I found two SOCKS proxy servers who let me connect without problems.
Perhaps it uses SOCKS4 and does not support SOCKS5: coud it be this the case?

Thank you,
Jacopo Zamberlan
jz
 
Posts: 3
Joined: Apr 08 05 7:47 pm

Postby adrien » Apr 12 05 5:20 pm

you wouldn't get that error then, the protocol version field in the request would be 4 instead of 5, and that error you see only occurs if the client specified v5.

It is possible some other socks servers ignore the address type field if it is unknown, and assume it is IP4.

You aren't running an IPv6 network or something are you? there was an experimental additional address type defined for IP4 to IP6 bridging (ATYP 8), but that was never ratified.

All info on SOCKS is looked after by NEC, at www.socks.nec.com. If you read all the specs like I did, you'll see there is no mention of any address type 2. I would be interested to hear what the developers of the client have to say about it.

Adrien
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland

Postby jz » Apr 13 05 9:10 pm

Developers of the client API (very good Fiorano support) found the problem: it is a java bug of jdk1.4, solved in 1.5 (http://bugs.sun.com/bugdatabase/view_bu ... id=5025217)

Thanks,
Jacopo Zamberlan
jz
 
Posts: 3
Joined: Apr 08 05 7:47 pm


Return to WinGate

Who is online

Users browsing this forum: No registered users and 12 guests