Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[功能请求] 添加 MTU 检测功能 #276

Open
shirok1 opened this issue Nov 29, 2024 · 2 comments
Open

[功能请求] 添加 MTU 检测功能 #276

shirok1 opened this issue Nov 29, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@shirok1
Copy link

shirok1 commented Nov 29, 2024

Is your feature request related to a problem? Please describe.
希望可以添加类似 traceroute --mtu 功能的选项

Describe the solution you'd like

Describe alternatives you've considered
混合使用,或者使用 traceroute --mtu 并用 nali 解析 IP 地址

Additional context

@tsosunchia
Copy link
Member

tsosunchia commented Nov 30, 2024

 --psize                        Set the payload size. Default: 52
 --dont-fragment                Set the Don't Fragment bit (IPv4 TCP
                                only). Default: false

请阅读使用帮助,nexttrace存在类似功能

@shirok1
Copy link
Author

shirok1 commented Nov 30, 2024

请阅读使用帮助,nexttrace存在类似功能

并不是等价的功能,traceroute --mtu 可以直接检测到链路上 MTU 降低的地方

$ traceroute -n --mtu 6.0.255.1
traceroute to 6.0.255.1 (6.0.255.1), 30 hops max, 65000 byte packets
 1  192.168.0.1  0.163 ms F=1500  0.065 ms  0.053 ms
 2  6.0.0.18  1.125 ms F=1476  0.889 ms  0.817 ms
 3  6.0.0.33  1.484 ms  1.412 ms  1.447 ms
 4  6.0.0.58  3.387 ms F=1420  12.781 ms  2.690 ms
 5  6.0.255.1  3.448 ms  3.806 ms  4.568 ms

@tsosunchia tsosunchia added the enhancement New feature or request label Dec 2, 2024
@tsosunchia tsosunchia self-assigned this Dec 2, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants