nxtrace / NTrace-V1

NextTrace Dev
https://www.nxtrace.org
GNU General Public License v3.0
256 stars 22 forks source link

sendto: operation not permitted #28

Closed wwng2333 closed 11 months ago

wwng2333 commented 11 months ago

本项目是基于Linux/macOS的,请确认您遇到的问题是否在Linux或macOS上存在。

你正在使用哪个版本的 nexttrace?

linux_amd64

你看到的异常现象是什么?

sendto: operation not permitted

你期待看到的正常表现是怎样的?

正常跟踪

请附上你的命令

nexttrace 212.52.0.11

请附上出错时软件输出的错误信息

nrt1:~# nexttrace  212.52.0.11
NextTrace v1.2.6 2023-11-17T11:06:48Z 4bef8b9
[NextTrace API] preferred API IP - [2606:4700:3037::ac43:9bc0] - 124.29ms - Misaka.HKG
IP Geo Data Provider: LeoMoeAPI
traceroute to 212.52.0.11, 30 hops max, 52 bytes packets
2023/12/02 21:31:13 write ip4 0.0.0.0->212.52.0.11: sendto: operation not permitted

是否查询过本仓库wiki有没有类似错误

wwng2333 commented 11 months ago

ping没问题

PING 212.52.0.11 (212.52.0.11): 56 data bytes
64 bytes from 212.52.0.11: seq=0 ttl=54 time=108.481 ms
64 bytes from 212.52.0.11: seq=1 ttl=54 time=108.227 ms
64 bytes from 212.52.0.11: seq=2 ttl=54 time=108.235 ms
64 bytes from 212.52.0.11: seq=3 ttl=54 time=108.219 ms
^C
--- 212.52.0.11 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 108.219/108.290/108.481 ms
tsosunchia commented 11 months ago

https://github.com/nxtrace/NTrace-V1/wiki

看下这里

wwng2333 commented 11 months ago

https://github.com/nxtrace/NTrace-V1/wiki

看下这里

排查了dmesg,怀疑是nf_conntrack: nf_conntrack: table full, dropping packet的问题,扩大net.netfilter.nf_conntrack_max后问题解决