Bug 4315 - traceroute-I option does not work on busybox 1.19.0
Summary: traceroute-I option does not work on busybox 1.19.0
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Networking (show other bugs)
Version: 1.19.x
Hardware: PC Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
: 6260 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-17 08:23 UTC by 万新明
Modified: 2013-05-23 03:04 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 万新明 2011-10-17 08:23:18 UTC
I use this command, traceroute-I 192.168.1.219, use tcpdump to capture packets or UDP, not ICMP protocol packets.

tcpdump-ni eth0 host 192.168.1.90 and not port 22
tcpdump: verbose output suppressed, use-v or-vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
03:49:45.948034 IP 192.168.1.90.43855> 192.168.1.219.33435: UDP, length 10
03:49:50.953037 IP 192.168.1.90.43855> 192.168.1.219.33436: UDP, length 10
03:49:55.958038 IP 192.168.1.90.43855> 192.168.1.219.33437: UDP, length 10
^ C
3 packets captured
4 packets received by filter
0 packets dropped by kernel
Comment 1 kufat 2013-05-23 03:04:07 UTC
*** Bug 6260 has been marked as a duplicate of this bug. ***
Comment 2 kufat 2013-05-23 03:04:43 UTC
I also noticed that traceroute -I was sending UDP packets rather than ICMP. Checked my build config and CONFIG_FEATURE_TRACEROUTE_USE_ICMP was set to n.

traceroute --help should not list the option when support isn't compiled in and
traceroute -I should report an error in that case.