Open jackeeees opened 6 years ago
root@181105-ZP87:~# iptables-save
*filter :INPUT ACCEPT [317:36805] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [239:27136] :udp2rawDwrW_62fa4d1e_C0 - [0:0] -A INPUT -p tcp -m tcp --dport 17775 -j udp2rawDwrW_62fa4d1e_C0 -A udp2rawDwrW_62fa4d1e_C0 -j DROP COMMIT
root@181105-ZP87:~# ip rule 0: from all lookup local 32766: from all lookup main 32767: from all lookup default
使用UDPSpeeder+Udp2raw 配置后没办法愉快的上网 service日志停留在[2018-11-08 03:10:57][INFO]now listening at 0.0.0.0:17775 配置完成后Client 日志中没有提示rst==1
socat测试 Client service之间可以双向发送数据 之前运行udp2raw的service都可以tcping监听端口,但是这次不可以tcping
有点迷,求大佬指点一二应该怎样排查错误
root@181105-ZP87:~# netstat -nlp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:17775 0.0.0.0: LISTEN 25807/./udp2raw_x86 tcp 0 0 127.0.0.53:53 0.0.0.0: LISTEN 18198/systemd-resol tcp 0 0 0.0.0.0:22 0.0.0.0: LISTEN 27750/sshd
tcp6 0 0 :::34508 ::: LISTEN 21965/python
tcp6 0 0 :::34509 ::: LISTEN 21965/python
tcp6 0 0 :::22 ::: LISTEN 27750/sshd
udp 0 0 127.0.0.53:53 0.0.0.0: 18198/systemd-resol udp 21504 0 0.0.0.0:25669 0.0.0.0: 21965/python
udp6 0 0 :::34508 ::: 21965/python
udp6 0 0 :::34509 ::: 21965/python
raw 0 0 0.0.0.0:255 0.0.0.0: 7 25807/./udp2raw_x86 raw 0 0 0.0.0.0:255 0.0.0.0: 7 492/atop
Active UNIX domain sockets (only servers) Proto RefCnt Flags Type State I-Node PID/Program name Path unix 2 [ ACC ] SEQPACKET LISTENING 12879 1/systemd /run/udev/control unix 2 [ ACC ] STREAM LISTENING 19588 925/systemd /run/user/0/systemd/private unix 2 [ ACC ] STREAM LISTENING 19592 925/systemd /run/user/0/gnupg/S.dirmngr unix 2 [ ACC ] STREAM LISTENING 19593 925/systemd /run/user/0/gnupg/S.gpg-agent.extra unix 2 [ ACC ] STREAM LISTENING 19594 925/systemd /run/user/0/gnupg/S.gpg-agent.browser unix 2 [ ACC ] STREAM LISTENING 19595 925/systemd /run/user/0/gnupg/S.gpg-agent.ssh unix 2 [ ACC ] STREAM LISTENING 19596 925/systemd /run/user/0/gnupg/S.gpg-agent unix 2 [ ACC ] STREAM LISTENING 14925 1/systemd /run/uuidd/request unix 2 [ ACC ] STREAM LISTENING 14929 1/systemd /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 14918 1/systemd /run/acpid.socket unix 2 [ ACC ] STREAM LISTENING 44825 1/systemd /run/systemd/private unix 2 [ ACC ] STREAM LISTENING 12760 1/systemd /run/systemd/fsck.progress unix 2 [ ACC ] STREAM LISTENING 18390 575/python3 /var/run/fail2ban/fail2ban.sock unix 2 [ ACC ] STREAM LISTENING 12762 1/systemd /run/systemd/journal/stdout unix 2 [ ACC ] STREAM LISTENING 111546 25806/SCREEN /run/screen/S-root/25806.e
root@181105-ZP87:~# ip route default via 10.88.99.1 dev eth0 onlink 10.88.99.0/24 dev eth0 proto kernel scope link src 10.88.99.133
root@181105-ZP87:~# ifconfig eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.88.99.133 netmask 255.255.255.0 broadcast 10.88.99.255 inet6 fe80::216:3cff:fe8e:f2a1 prefixlen 64 scopeid 0x20 ether 00:16:3c:8e:f2:a1 txqueuelen 1000 (Ethernet) RX packets 368201 bytes 319728328 (319.7 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 145196 bytes 149791127 (149.7 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0