[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    busybox ping6 TTL option issue
From:       Nagarjun J <1nagarjun1 () gmail ! com>
Date:       2022-04-11 11:51:08
Message-ID: CAEapupSpLVmrWxnnQqzwAnTVEvcshERJOTud3Avz2Jxu6iacmw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello,

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

root@-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@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

[Attachment #5 (text/html)]

<div dir="ltr"><p dir="auto" \
style="box-sizing:border-box;margin-bottom:16px;color:rgb(36,41,47);font-family:-apple-system,&quot;system-ui&quot;,&quot;Segoe \
UI&quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI \
Emoji&quot;;font-size:14px;margin-top:0px"><br \
class="gmail-Apple-interchange-newline">Hello,</p><p dir="auto" \
style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,47);font-family:-apple-system,&quot;system-ui&quot;,&quot;Segoe \
UI&quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI \
Emoji&quot;;font-size:14px">I checked the ping6 command from the latest version of \
busybox(1.35.0).</p><p dir="auto" \
style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,47);font-family:-apple-system,&quot;system-ui&quot;,&quot;Segoe \
UI&quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI \
Emoji&quot;;font-size:14px">root@-virtual-machine:/home/# ./busybox_PING6<br \
style="box-sizing:border-box">Usage: ping6 [OPTIONS] HOST</p><p dir="auto" \
style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,47);font-family:-apple-system,&quot;system-ui&quot;,&quot;Segoe \
UI&quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI \
Emoji&quot;;font-size:14px">Send ICMP ECHO_REQUESTs to HOST</p><div \
style="box-sizing:border-box;color:rgb(36,41,47);font-family:-apple-system,&quot;system-ui&quot;,&quot;Segoe \
UI&quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI \
Emoji&quot;;font-size:14px;overflow:auto"><pre \
style="box-sizing:border-box;font-family:ui-monospace,SFMono-Regular,&quot;SF \
Mono&quot;,Menlo,Consolas,&quot;Liberation \
Mono&quot;,monospace;font-size:11.9px;margin-top:0px;margin-bottom:16px;padding:16px;overflow:auto;line-height:1.45;border-radius:6px"><code \
style="box-sizing:border-box;font-family:ui-monospace,SFMono-Regular,&quot;SF \
Mono&quot;,Menlo,Consolas,&quot;Liberation \
Mono&quot;,monospace;padding:0px;margin:0px;background:transparent;border-radius:6px;w \
ord-break:normal;border:0px;display:inline;overflow:visible;line-height:inherit">-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
</code></pre><div style="box-sizing:border-box"><span aria-label="Copy" value="-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" role="button" \
style="box-sizing:border-box;display:inline-block;line-height:20px;white-space:nowrap; \
vertical-align:middle;border-width:1px;border-style:solid;border-radius:6px;padding:0px;margin:8px"></span></div></div><p \
dir="auto" style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,47);font-family:-apple-system,&quot;system-ui&quot;,&quot;Segoe \
UI&quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI \
Emoji&quot;;font-size:14px">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.<br \
style="box-sizing:border-box">root@virtual-machine:/home# ./busybox_PING6 3001::22 -t \
100<br style="box-sizing:border-box">PING 3001::22 (3001::22): 56 data bytes<br \
style="box-sizing:border-box">64 bytes from 3001::22: seq=0 ttl=64 time=0.062 ms<br \
style="box-sizing:border-box">64 bytes from 3001::22: seq=1 ttl=64 time=0.093 ms<br \
style="box-sizing:border-box">64 bytes from 3001::22: seq=2 ttl=64 time=0.079 ms<br \
style="box-sizing:border-box">^C</p><p dir="auto" \
style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,47);font-family:-apple-system,&quot;system-ui&quot;,&quot;Segoe \
UI&quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI \
Emoji&quot;;font-size:14px">Busybox ping6 really supports the &quot;TTL&quot; option \
?? if so ..is there a way to enable that ??</p><p dir="auto" \
style="box-sizing:border-box;margin-top:0px;color:rgb(36,41,47);font-family:-apple-system,&quot;system-ui&quot;,&quot;Segoe \
UI&quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI \
Emoji&quot;;font-size:14px;margin-bottom:0px">Thanks,<br \
style="box-sizing:border-box">Nag</p></div>



_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic