A Tunnel which Turns UDP Traffic into Encrypted UDP/FakeTCP/ICMP Traffic by using Raw Socket,helps you Bypass UDP FireWalls(or Unstable UDP Environment)
出现了下面的错误
客户端
]
[2024-04-06 22:27:19][DEBUG]pcap_loop exited with value -2
[2024-04-06 22:27:19][INFO]breakloop() succeed after 2 attempt(s)
[2024-04-06 22:27:19][DEBUG]pcap_setdirection(pcap_handle,PCAP_D_IN) failed with value -1, Setting direction is not implemented on this platform
[2024-04-06 22:27:19][INFO]state changed from client_idle to client_tcp_handshake
[2024-04-06 22:27:19]INFOsent tcp syn
[2024-04-06 22:27:20][INFO]state changed from client_tcp_handshake to client_handshake1
[2024-04-06 22:27:20]INFOsent handshake1
[2024-04-06 22:27:21]INFOsent handshake1
[2024-04-06 22:27:22]INFOsent handshake1
[2024-04-06 22:27:23]INFOsent handshake1
[2024-04-06 22:27:25]INFOsent handshake1
[2024-04-06 22:27:25][INFO]state back to client_idle from client_handshake1
[2024-04-06 22:27:25][DEBUG]created new udp_fd 548
[2024-04-06 22:27:25][INFO]source_addr is now 192.168.1.108
[2024-04-06 22:27:25][INFO]using port 20341
[2024-04-06 22:27:25][INFO]filter expression is [ip and tcp and src 125.126.202.186 and src port 4096 and dst port 20341]
[2024-04-06 22:27:25][DEBUG]pcap_loop exited with value -2
[2024-04-06 22:27:25][INFO]breakloop() succeed after 2 attempt(s)
[2024-04-06 22:27:25][DEBUG]pcap_setdirection(pcap_handle,PCAP_D_IN) failed with value -1, Setting direction is not implemented on this platform
[2024-04-06 22:27:25][INFO]state changed from client_idle to client_tcp_handshake
[2024-04-06 22:27:25]INFOsent tcp syn
[2024-04-06 22:27:26][INFO]state changed from client_tcp_handshake to client_handshake1
[2024-04-06 22:27:26]INFOsent handshake1
[2024-04-06 22:27:28]INFOsent handshake1
[2024-04-06 22:27:29]INFOsent handshake1
服务端
[2024-04-06 22:26:47][INFO]now listening at 0.0.0.0:4096
[2024-04-06 22:27:19][INFO][101.74.61.64:7090]received syn,sent syn ack back
[2024-04-06 22:27:20][DEBUG]auth_verify failed
[2024-04-06 22:27:20][DEBUG]decrypt_fail in recv bare
[2024-04-06 22:27:20][DEBUG]auth_verify failed
[2024-04-06 22:27:20][DEBUG]decrypt_fail in recv bare
[2024-04-06 22:27:21][DEBUG]auth_verify failed
[2024-04-06 22:27:21][DEBUG]decrypt_fail in recv bare
[2024-04-06 22:27:21][DEBUG]auth_verify failed
[2024-04-06 22:27:21][DEBUG]decrypt_fail in recv bare
[2024-04-06 22:27:22][DEBUG]auth_verify failed
[2024-04-06 22:27:22][DEBUG]decrypt_fail in recv bare
[2024-04-06 22:27:22][DEBUG]auth_verify failed
[2024-04-06 22:27:22][DEBUG]decrypt_fail in recv bare
[2024-04-06 22:27:24][DEBUG]auth_verify failed
[2024-04-06 22:27:24][DEBUG]decrypt_fail in recv bare
[2024-04-06 22:27:24][DEBUG]auth_verify failed
[2024-04-06 22:27:24][DEBUG]decrypt_fail in recv bare
[2024-04-06 22:27:25][DEBUG]auth_verify failed
[2024-04-06 22:27:25][DEBUG]decrypt_fail in recv bare
[2024-04-06 22:27:25][DEBUG]auth_verify failed
[2024-04-06 22:27:25][DEBUG]decrypt_fail in recv bare
[2024-04-06 22:27:26][INFO][101.74.61.64:7363]received syn,sent syn ack back
[2024-04-06 22:27:27][DEBUG]auth_verify failed
[2024-04-06 22:27:27][DEBUG]decrypt_fail in recv bare
[2024-04-06 22:27:27][DEBUG]auth_verify failed
[2024-04-06 22:27:27][DEBUG]decrypt_fail in recv bare
[2024-04-06 22:27:28][DEBUG]auth_verify failed
[2024-04-06 22:27:28][DEBUG]decrypt_fail in recv bare
[2024-04-06 22:27:28][DEBUG]auth_verify failed
[2024-04-06 22:27:28][DEBUG]decrypt_fail in recv bare
[2024-04-06 22:27:29][DEBUG]auth_verify failed
[2024-04-06 22:27:29][DEBUG]decrypt_fail in recv bare
[2024-04-06 22:27:29][DEBUG]auth_verify failed
[2024-04-06 22:27:29][DEBUG]decrypt_fail in recv bare
[2024-04-06 22:27:30][DEBUG]auth_verify failed
[2024-04-06 22:27:30][DEBUG]decrypt_fail in recv bare
[2024-04-06 22:27:30][DEBUG]auth_verify failed
[2024-04-06 22:27:30][DEBUG]decrypt_fail in recv bare
[2024-04-06 22:27:32][DEBUG]auth_verify failed
[2024-04-06 22:27:32][DEBUG]decrypt_fail in recv bare
[2024-04-06 22:27:32][DEBUG]auth_verify failed
[2024-04-06 22:27:32][DEBUG]decrypt_fail in recv bare
English Only. 我在openwrt服务端运行的是 ./udp2raw_amd64 -s -l0.0.0.0:4096 -r127.0.0.1:18888 -k "passwd" --raw-mode faketcp --cipher-mode xor -a --log-level 5
win服务端运行的是 udp2raw_mp.exe -c -l0.0.0.0:3333 -r125.126.202.186:4096 -k "passwd" --raw-mode faketcp --log-level 5
win上已经添加 netsh advfirewall firewall add rule name=udp2raw protocol=TCP dir=in remoteip=125.126.202.xxx remoteport=4096 action=block netsh advfirewall firewall add rule name=udp2raw protocol=TCP dir=out remoteip=125.126.202.xxx remoteport=4096 action=block
主路由添加端口转发 4096 4096 到192.168.0.3openwrt上
openwrt上防火墙添加了 iptables -t nat -A POSTROUTING -s 192.168.100.0/24 -o br-lan -j MASQUERADE iptables -I OUTPUT -p tcp --sport 4096 -j ACCEPT iptables -I INPUT -p tcp --dport 4096 -j ACCEPT
出现了下面的错误 客户端 ] [2024-04-06 22:27:19][DEBUG]pcap_loop exited with value -2 [2024-04-06 22:27:19][INFO]breakloop() succeed after 2 attempt(s) [2024-04-06 22:27:19][DEBUG]pcap_setdirection(pcap_handle,PCAP_D_IN) failed with value -1, Setting direction is not implemented on this platform [2024-04-06 22:27:19][INFO]state changed from client_idle to client_tcp_handshake [2024-04-06 22:27:19]INFOsent tcp syn [2024-04-06 22:27:20][INFO]state changed from client_tcp_handshake to client_handshake1 [2024-04-06 22:27:20]INFOsent handshake1 [2024-04-06 22:27:21]INFOsent handshake1 [2024-04-06 22:27:22]INFOsent handshake1 [2024-04-06 22:27:23]INFOsent handshake1 [2024-04-06 22:27:25]INFOsent handshake1 [2024-04-06 22:27:25][INFO]state back to client_idle from client_handshake1 [2024-04-06 22:27:25][DEBUG]created new udp_fd 548 [2024-04-06 22:27:25][INFO]source_addr is now 192.168.1.108 [2024-04-06 22:27:25][INFO]using port 20341 [2024-04-06 22:27:25][INFO]filter expression is [ip and tcp and src 125.126.202.186 and src port 4096 and dst port 20341] [2024-04-06 22:27:25][DEBUG]pcap_loop exited with value -2 [2024-04-06 22:27:25][INFO]breakloop() succeed after 2 attempt(s) [2024-04-06 22:27:25][DEBUG]pcap_setdirection(pcap_handle,PCAP_D_IN) failed with value -1, Setting direction is not implemented on this platform [2024-04-06 22:27:25][INFO]state changed from client_idle to client_tcp_handshake [2024-04-06 22:27:25]INFOsent tcp syn [2024-04-06 22:27:26][INFO]state changed from client_tcp_handshake to client_handshake1 [2024-04-06 22:27:26]INFOsent handshake1 [2024-04-06 22:27:28]INFOsent handshake1 [2024-04-06 22:27:29]INFOsent handshake1
服务端 [2024-04-06 22:26:47][INFO]now listening at 0.0.0.0:4096 [2024-04-06 22:27:19][INFO][101.74.61.64:7090]received syn,sent syn ack back [2024-04-06 22:27:20][DEBUG]auth_verify failed [2024-04-06 22:27:20][DEBUG]decrypt_fail in recv bare [2024-04-06 22:27:20][DEBUG]auth_verify failed [2024-04-06 22:27:20][DEBUG]decrypt_fail in recv bare [2024-04-06 22:27:21][DEBUG]auth_verify failed [2024-04-06 22:27:21][DEBUG]decrypt_fail in recv bare [2024-04-06 22:27:21][DEBUG]auth_verify failed [2024-04-06 22:27:21][DEBUG]decrypt_fail in recv bare [2024-04-06 22:27:22][DEBUG]auth_verify failed [2024-04-06 22:27:22][DEBUG]decrypt_fail in recv bare [2024-04-06 22:27:22][DEBUG]auth_verify failed [2024-04-06 22:27:22][DEBUG]decrypt_fail in recv bare [2024-04-06 22:27:24][DEBUG]auth_verify failed [2024-04-06 22:27:24][DEBUG]decrypt_fail in recv bare [2024-04-06 22:27:24][DEBUG]auth_verify failed [2024-04-06 22:27:24][DEBUG]decrypt_fail in recv bare [2024-04-06 22:27:25][DEBUG]auth_verify failed [2024-04-06 22:27:25][DEBUG]decrypt_fail in recv bare [2024-04-06 22:27:25][DEBUG]auth_verify failed [2024-04-06 22:27:25][DEBUG]decrypt_fail in recv bare [2024-04-06 22:27:26][INFO][101.74.61.64:7363]received syn,sent syn ack back [2024-04-06 22:27:27][DEBUG]auth_verify failed [2024-04-06 22:27:27][DEBUG]decrypt_fail in recv bare [2024-04-06 22:27:27][DEBUG]auth_verify failed [2024-04-06 22:27:27][DEBUG]decrypt_fail in recv bare [2024-04-06 22:27:28][DEBUG]auth_verify failed [2024-04-06 22:27:28][DEBUG]decrypt_fail in recv bare [2024-04-06 22:27:28][DEBUG]auth_verify failed [2024-04-06 22:27:28][DEBUG]decrypt_fail in recv bare [2024-04-06 22:27:29][DEBUG]auth_verify failed [2024-04-06 22:27:29][DEBUG]decrypt_fail in recv bare [2024-04-06 22:27:29][DEBUG]auth_verify failed [2024-04-06 22:27:29][DEBUG]decrypt_fail in recv bare [2024-04-06 22:27:30][DEBUG]auth_verify failed [2024-04-06 22:27:30][DEBUG]decrypt_fail in recv bare [2024-04-06 22:27:30][DEBUG]auth_verify failed [2024-04-06 22:27:30][DEBUG]decrypt_fail in recv bare [2024-04-06 22:27:32][DEBUG]auth_verify failed [2024-04-06 22:27:32][DEBUG]decrypt_fail in recv bare [2024-04-06 22:27:32][DEBUG]auth_verify failed [2024-04-06 22:27:32][DEBUG]decrypt_fail in recv bare