The bug seems to also exist in NetBSD-7.1 - maybe a pull-up would be
helpful.
Best regards, Frank Kardel
On 03/17/17 07:52, Ryo Shimizu wrote:
Module Name:src
Committed By: ryo
Date: Fri Mar 17 06:52:59 UTC 2017
Modified Files:
src/sbin/ping: ping.c
Log Message:
Fix
In article ,
Greg Troxel wrote:
>-=-=-=-=-=-
>
>
>I am not understanding why '-s argument is the number of data bytes
>beyond the standard 8-byte icmp header' is complicated. People who use
>-s are trying to control packet size, and the rule of 8 header + data
>seems to be longstanding.
>
>Look
I am not understanding why '-s argument is the number of data bytes
beyond the standard 8-byte icmp header' is complicated. People who use
-s are trying to control packet size, and the rule of 8 header + data
seems to be longstanding.
Looking at -current:
the size of the timespec should be g
On Jan 2, 10:55am, g...@ir.bbn.com (Greg Troxel) wrote:
-- Subject: Re: CVS commit: src/sbin/ping
| chris...@zoulas.com (Christos Zoulas) writes:
|
| > ping -s 1 localhost
| >
| > linux:
| > PING localhost (127.0.0.1) 1(29) bytes of data.
| > 9 bytes from localhost (127.0.0.1): ic
chris...@zoulas.com (Christos Zoulas) writes:
> ping -s 1 localhost
>
> linux:
> PING localhost (127.0.0.1) 1(29) bytes of data.
> 9 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64
so linux sends n bytes more than the header.
> macosx
> PING localhost (127.0.0.1): 1 data bytes
> 9 bytes from
In article <20121230173516.ab058f88b94567154810b...@pandora.be>,
dieter roelants wrote:
>On Sun, 30 Dec 2012 10:50:07 -0500
>chris...@zoulas.com (Christos Zoulas) wrote:
>
>> netbsd-old
>> PING localhost (127.0.0.1): 1 data bytes
>> [no response]
>
>Not that old, though; it has worked in the past
On Sun, 30 Dec 2012 10:50:07 -0500
chris...@zoulas.com (Christos Zoulas) wrote:
> netbsd-old
> PING localhost (127.0.0.1): 1 data bytes
> [no response]
Not that old, though; it has worked in the past:
box2$ uname -r
5.1_STABLE
box2$ ping -c 1 -s 1 localhost
PING localhost (127.0.0.1)
On Dec 30, 7:53am, g...@ir.bbn.com (Greg Troxel) wrote:
-- Subject: Re: CVS commit: src/sbin/ping
| 3. Always send ICMP_MINLEN packets; this is what everyone else does. Makes
| ping -s n where n < 8 work.
|
| Shouldn't that be an error? Otherwise people will think that someth
3. Always send ICMP_MINLEN packets; this is what everyone else does. Makes
ping -s n where n < 8 work.
Shouldn't that be an error? Otherwise people will think that something
is happening when it isn't.
pgpsqNepA4SMC.pgp
Description: PGP signature