NetBSD-Bugs archive

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

bin/49423: ping for small packets does not work in -7 or -current



>Number:         49423
>Category:       bin
>Synopsis:       ping for small packets does not work in -7 or -current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 27 12:00:00 +0000 2014
>Originator:     Martin Husemann
>Release:        NetBSD 7.99.1
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD whoever-brings-the-night.aprisoft.de 7.99.1 NetBSD 7.99.1 (WHOEVER) #29: Tue Nov 4 19:09:59 CET 2014 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/usr/src/sys/arch/sparc64/compile/WHOEVER sparc64
Architecture: sparc64
Machine: sparc64
>Description:

Try to ping -s 20 from a netbsd-7 or netbsd-current system any other machine
that answers ping and watch the garbage error message.

>How-To-Repeat:

round-trip min/avg/max/stddev = 0.087918/0.087918/0.087918/0.000000 ms
[~] martin@whoever-brings-the-night > ping -c 2 -s 20 localhost
PING localhost (127.0.0.1): 20 data bytes
24 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.086835 ms
wrong data byte #16 should have been 0 but was 0x6f
24 bytes from 127.0.0.1: icmp_seq=1 ttl=255 time=0.069668 ms
wrong data byte #16 should have been 0 but was 0x6f

----localhost PING Statistics----
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.069668/0.078252/0.086835/0.012139 ms

The "wrong byte" value seems to be mostly random, sometimes it even is 0.

>Fix:
n/a



Home | Main Index | Thread Index | Old Index