NetBSD Problem Report #48176
From tsutsui@ceres.dti.ne.jp Tue Sep 3 13:12:28 2013
Return-Path: <tsutsui@ceres.dti.ne.jp>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 12EFB705E6
for <gnats-bugs@gnats.NetBSD.org>; Tue, 3 Sep 2013 13:12:28 +0000 (UTC)
Message-Id: <201309031312.r83DCNCM028189@mirage.localdomain>
Date: Tue, 3 Sep 2013 22:12:23 +0900 (JST)
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Reply-To: tsutsui@ceres.dti.ne.jp
To: gnats-bugs@gnats.NetBSD.org
Cc: tsutsui@ceres.dti.ne.jp
Subject: ping(8) shows bogus time with small packetsize
X-Send-Pr-Version: 3.95
>Number: 48176
>Category: bin
>Synopsis: ping(8) shows bogus time with small packetsize
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 03 13:15:00 +0000 2013
>Closed-Date: Sat Feb 24 02:18:14 +0000 2018
>Last-Modified: Sat Feb 24 02:18:14 +0000 2018
>Originator: Izumi Tsutsui
>Release: NetBSD 6.1
>Organization:
>Environment:
System: NetBSD 6.1 (GENERIC)
Architecture: i386
Machine: i386
>Description:
ping(8) with -s 8 through 15 (and maybe <20) shows bogus time.
>How-To-Repeat:
% ping -c 1 -s 8 localhost
PING localhost (127.0.0.1): 0 data bytes
8 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=-544499729298.913 ms
----localhost PING Statistics----
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = -544499729298.913/-544499729298.913/0.000/0.000 ms
% ping -c 1 -s 15 localhost
PING localhost (127.0.0.1): 3 data bytes
15 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=-7566047373982433280000.000 ms
----localhost PING Statistics----
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = -7566047373982433280000.000/-7566047373982433280000.000/0.000/0.000 ms
% ping -c 1 -s 16 localhost
PING localhost (127.0.0.1): 4 data bytes
16 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=232.439 ms
----localhost PING Statistics----
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 232.439/232.439/232.439/0.000 ms
% ping -c 1 -s 20 localtime
PING localhost (127.0.0.1): 8 data bytes
20 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.029 ms
----localhost PING Statistics----
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.029/0.029/0.029/0.000 ms
>Fix:
Don't print timestamps for smaller packetsize to send struct timespec?
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: ginsbach@NetBSD.org
State-Changed-When: Sun, 20 Aug 2017 00:45:30 +0000
State-Changed-Why:
This was fixed in netbsd-7. The fix consists of several different
revisions: 1.104, 1.105, 1.108 (partial), 1.109 (partial), and 1.116.
Should this be pulled up to netbsd-6?
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
To: gnats-bugs@NetBSD.org
Cc: ginsbach@NetBSD.org, tsutsui@ceres.dti.ne.jp
Subject: Re: bin/48176 (ping(8) shows bogus time with small packetsize)
Date: Sat, 26 Aug 2017 21:47:24 +0900
> Should this be pulled up to netbsd-6?
Sorry, no idea (since I don't use 6.x anymore).
---
Izumi Tsutsui
State-Changed-From-To: feedback->closed
State-Changed-By: tsutsui@NetBSD.org
State-Changed-When: Sat, 24 Feb 2018 02:18:14 +0000
State-Changed-Why:
Assume no response means no demand.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.