busybox ping6 TTL option issue

Nagarjun J 1nagarjun1 at gmail.com
Mon Apr 11 11:39:08 UTC 2022


Hello,

I checked the ping6 command from the latest version of busybox(1.35.0).

root at -virtual-machine:/home/# ./busybox_PING6
Usage: ping6 [OPTIONS] HOST

Send ICMP ECHO_REQUESTs to HOST

-c CNT		Send only CNT pings
-s SIZE		Send SIZE data bytes in packets (default 56)
-i SECS		Interval
-A		Ping as soon as reply is recevied
-I IFACE/IP	Source interface or IP address
-W SEC		Seconds to wait for the first response (default 10)
		(after all -c CNT packets are sent)
-w SEC		Seconds until ping exits (default:infinite)
		(can exit earlier with -c CNT)
-q		Quiet, only display output at start/finish
-p HEXBYTE	Payload pattern

It does not show -t. option, but when i give -t option , it is not throwing
an error also. An echo request is sent with TTL of 64.
root at virtual-machine:/home# ./busybox_PING6 3001::22 -t 100
PING 3001::22 (3001::22): 56 data bytes
64 bytes from 3001::22: seq=0 ttl=64 time=0.062 ms
64 bytes from 3001::22: seq=1 ttl=64 time=0.093 ms
64 bytes from 3001::22: seq=2 ttl=64 time=0.079 ms
^C

Busybox ping6 really supports the "TTL" option ?? if so ..is there a way to
enable that ??

Thanks,
Nag
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20220411/0c6450c0/attachment.html>


More information about the busybox mailing list