Help and Support
Ask a question, report a problem, request a feature...
<<  Back To Forum

Proxy bind relay IP protocol mismatch (49694)

by Xunlei on 2023/01/28 11:23:26 AM    
When I use UDP Trackers SOCKS5 proxy bound to IPv6 address this error occurs. IPv4 binding address works fine.

Captured packets:
+---------+---------------+----------+
00:00:00,000,000   ETHER
|0   |02|00|00|00|00|01|02|00|00|00|00|02|86|dd|60|0a|6b|42|00|18|06|80|fd|00|00|00|00|00|00|00|00|00|00|00|00|00|00|02|fd|00|00|00|00|00|00|00|00|00|00|00|00|00|00|01|05|9d|04|38|9f|28|ad|97|36|7f|d5|eb|50|18|20|bd|fa|22|00|00|05|02|00|02|

+---------+---------------+----------+
00:00:00,000,001   ETHER
|0   |02|00|00|00|00|02|02|00|00|00|00|01|86|dd|60|0d|85|5e|00|16|06|80|fd|00|00|00|00|00|00|00|00|00|00|00|00|00|00|01|fd|00|00|00|00|00|00|00|00|00|00|00|00|00|00|02|04|38|05|9d|36|7f|d5|eb|9f|28|ad|9b|50|18|20|bd|07|05|00|00|05|00|

+---------+---------------+----------+
00:00:00,000,002   ETHER
|0   |02|00|00|00|00|01|02|00|00|00|00|02|86|dd|60|0a|6b|42|00|1e|06|80|fd|00|00|00|00|00|00|00|00|00|00|00|00|00|00|02|fd|00|00|00|00|00|00|00|00|00|00|00|00|00|00|01|05|9d|04|38|9f|28|ad|9b|36|7f|d5|ed|50|18|20|bd|fa|28|00|00|05|03|00|01|00|00|00|00|00|00|

+---------+---------------+----------+
00:00:00,000,003   ETHER
|0   |02|00|00|00|00|02|02|00|00|00|00|01|86|dd|60|0d|85|5e|00|2a|06|80|fd|00|00|00|00|00|00|00|00|00|00|00|00|00|00|01|fd|00|00|00|00|00|00|00|00|00|00|00|00|00|00|02|04|38|05|9d|36|7f|d5|ed|9f|28|ad|a5|50|18|20|bd|df|a6|00|00|05|00|00|04|fd|00|00|00|00|00|00|00|00|00|00|00|00|00|00|01|04|38|


IPv6 relay should be used to pass IPv4 UDP datagram.
by janet on 2023/02/12 07:30:49 PM    
Thanks very much for reporting this and including the packet trace.  I asked the developer and this will be fixed for the next release 3.17.
by KH on 2023/04/07 12:05:25 AM    
I looked into this.

This happens because it is impossible to route IPv4 over an IPv6 SOCKS UDP port binding.  If you don't have an IPv4 address bound on the other end, there's no way for any replies to reach you.




This web site is powered by Super Simple Server