NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/56057: 'ping6 -p' does not seem to set the data



The following reply was made to PR bin/56057; it has been noted by GNATS.

From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/56057: 'ping6 -p' does not seem to set the data
Date: Mon, 15 Mar 2021 22:50:15 +0700

 I believe that it is required to use -s and set a longer packet length
 if you want any padding data included in a ping6 packet - the default
 ping6 packet contains space only for the send time value (used to calculate
 the RTT after it is returned in the reply) and nothing else.
 
 That's unlike IPv4 where ping "knew" the min packet size of the underlying
 network (the whole world is ethernet) and by default sends that much.
 
 It may be that use of the -p option should extend (if necessary) the packet
 length to allow at least one instance of the pattern to fit, but that is
 not the way it has traditionally worked on NetBSD.
 
 kre
 


Home | Main Index | Thread Index | Old Index