netch icon indicating copy to clipboard operation
netch copied to clipboard

Socks5/UDP 协议请求服务器端口

Open Xqing-hup opened this issue 1 year ago • 1 comments

Describe the bug

netch 在udp请求阶段端口的错误

In [1]: a = b'\x00\x00\x00\x01m\xa9@\xef\x92\x8b\xe5\x80x\xcd\x1f\xa6f\xda\n ...: \xaee\x00\x87\xe6n\xb7\x98\x9a\x1b\xe2\xd1X\xbc4?/\xfcl\x1es1\x96\x9 ...: 6\xf9\xc9R[\xca\x0b\xab\x05\xbf\xe8\x0fAp\x8d8\x0c-'

To Reproduce

  1. 在本地127.0.0.1 搭建socks5 端口同时支持tcp/udp协议
  2. 创建自定义udp端口
  3. 启动程序模式点击nat测试,最终OnUDP然而实际上并没有成功

Log

application.log

Environment

Windows 11
Python 11
netch1.9.7

Additional information

image image

RSV FRAG ATYP DST.ADDR DST.PORT DATA 2 1 1 Variable 2 Variable UDP 请求头中的字段分别为:

RSV 保留, 固定为 X'0000' FRAG 当前的分段号 ATYP 随后的地址类型 IPv4 地址: X'01' 域名: X'03' IPv6 地址: X'04' DST.ADDR 目标地址 DST.PORT 目标端口, 网络字节序 DATA 用户数据

Xqing-hup avatar Jan 18 '24 13:01 Xqing-hup

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Feb 18 '24 00:02 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Mar 03 '24 00:03 github-actions[bot]