Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Dec 1996 23:51:33 -0500 (EST)
From:      James Risner <risner@stargate.stdio.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/2133: netstat -s overflows to negative 
Message-ID:  <199612020451.XAA01183@stargate.stdio.com>
Resent-Message-ID: <199612020500.VAA01121@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         2133
>Category:       bin
>Synopsis:       netstat -s overflows to negative
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec  1 21:00:01 PST 1996
>Last-Modified:
>Originator:     James Risner
>Organization:
stdio
>Release:        FreeBSD 2.1.6-STABLE i386
>Environment:

	heavy network usage

>Description:

a field overflows to negative...
news% netstat -s
...
        20750017 packets received
                7920654 acks (for -232159114 bytes)
                143032 duplicate acks
                0 acks for unsent data
                14130066 packets (-1834288680 bytes) received in-sequence
                61668 completely duplicate packets (41731302 bytes)
                100 old duplicate packets
                14391 packets with some dup. data (10974820 bytes duped)
                990676 out-of-order packets (1254738099 bytes)
                11084 packets (7424680 bytes) of data after window
                10147 window probes
                296209 window update packets
                2064 packets received after close
                113 discarded for bad checksums
                0 discarded for bad header offset fields
                0 discarded because packet too short
        4022 connection requests
        7417 connection accepts
        10677 connections established (including accepts)
        14255 connections closed (including 908 drops)
                2626 connections updated cached RTT on close
                2626 connections updated cached RTT variance on close
                2411 connections updated cached ssthresh on close
        3555 embryonic connections dropped
        7516653 segments updated rtt (of 6989391 attempts)
        21814 retransmit timeouts
                27 connections dropped by rexmit timeout
        29481 persist timeouts
                0 connections dropped by persist timeout
        465 keepalive timeouts
                42 keepalive probes sent
                409 connections dropped by keepalive
        2598762 correct ACK header predictions
        11280617 correct data packet header predictions
udp:


>How-To-Repeat:

	make acks bytes overflow 32 bit int.

>Fix:
	
	not done...
	you guys know it better than I...
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612020451.XAA01183>