Bug 1835155 - netstat says "packetes" instead of "packets"
Summary: netstat says "packetes" instead of "packets"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: net-tools
Version: 33
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Michal Ruprich
QA Contact: Fedora Extras Quality Assurance
URL: https://sourceforge.net/p/net-tools/c...
Whiteboard:
Depends On: 1711119
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-13 09:46 UTC by Petr Sklenar
Modified: 2020-08-15 01:10 UTC (History)
6 users (show)

Fixed In Version: net-tools-2.0-0.57.20160912git.fc32 net-tools-2.0-0.56.20160912git.fc31
Clone Of: 1711119
Environment:
Last Closed: 2020-08-11 14:11:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Sklenar 2020-05-13 09:46:03 UTC
the bug is also with fedora:
    1 packetes rejected in established connections because of timestamp

I was trying net-tools-2.0-0.55.20160912git.fc31.x86_64


+++ This bug was initially created as a clone of Bug #1711119 +++

Description of problem:

netstat -s says "packetes rejected in established connections because of timestamp" instead of "packets".

Supplied fix upstream:
https://sourceforge.net/p/net-tools/code/merge-requests/7/
Version-Release number of selected component (if applicable):

net-tools-2.0-0.51.20160912git.el8.x86_64
Latest upstream 0eebece8c.

How reproducible:

Always

Steps to Reproduce:

1. Have packets rejected because of TCP Timestamp
2. netstat -s

Actual results:

 TcpExt:
     X packetes rejected in established connections because of timestamp

Expected results:

 TcpExt:
     X packets rejected in established connections because of timestamp

Comment 1 Petr Sklenar 2020-05-13 10:04:13 UTC
its possible to reproduce the issue by
coping /proc/net/netstat into chroot dir, like:


sudo yum --releasever=33 --installroot=/tmp/a1 install net-tools --disablerepo=\* --nogpgcheck --enablerepo=fedora
chroot /tmp/a1 
touch /proc/net/snmp

echo 'TcpExt: SyncookiesSent SyncookiesRecv SyncookiesFailed EmbryonicRsts PruneCalled RcvPruned OfoPruned OutOfWindowIcmps LockDroppedIcmps ArpFilter TW TWRecycled TWKilled PAWSActive PAWSEstab DelayedACKs DelayedACKLocked DelayedACKLost ListenOverflows ListenDrops TCPHPHits TCPPureAcks TCPHPAcks TCPRenoRecovery TCPSackRecovery TCPSACKReneging TCPSACKReorder TCPRenoReorder TCPTSReorder TCPFullUndo TCPPartialUndo TCPDSACKUndo TCPLossUndo TCPLostRetransmit TCPRenoFailures TCPSackFailures TCPLossFailures TCPFastRetrans TCPSlowStartRetrans TCPTimeouts TCPLossProbes TCPLossProbeRecovery TCPRenoRecoveryFail TCPSackRecoveryFail TCPRcvCollapsed TCPBacklogCoalesce TCPDSACKOldSent TCPDSACKOfoSent TCPDSACKRecv TCPDSACKOfoRecv TCPAbortOnData TCPAbortOnClose TCPAbortOnMemory TCPAbortOnTimeout TCPAbortOnLinger TCPAbortFailed TCPMemoryPressures TCPMemoryPressuresChrono TCPSACKDiscard TCPDSACKIgnoredOld TCPDSACKIgnoredNoUndo TCPSpuriousRTOs TCPMD5NotFound TCPMD5Unexpected TCPMD5Failure TCPSackShifted TCPSackMerged TCPSackShiftFallback TCPBacklogDrop PFMemallocDrop TCPMinTTLDrop TCPDeferAcceptDrop IPReversePathFilter TCPTimeWaitOverflow TCPReqQFullDoCookies TCPReqQFullDrop TCPRetransFail TCPRcvCoalesce TCPOFOQueue TCPOFODrop TCPOFOMerge TCPChallengeACK TCPSYNChallenge TCPFastOpenActive TCPFastOpenActiveFail TCPFastOpenPassive TCPFastOpenPassiveFail TCPFastOpenListenOverflow TCPFastOpenCookieReqd TCPFastOpenBlackhole TCPSpuriousRtxHostQueues BusyPollRxPackets TCPAutoCorking TCPFromZeroWindowAdv TCPToZeroWindowAdv TCPWantZeroWindowAdv TCPSynRetrans TCPOrigDataSent TCPHystartTrainDetect TCPHystartTrainCwnd TCPHystartDelayDetect TCPHystartDelayCwnd TCPACKSkippedSynRecv TCPACKSkippedPAWS TCPACKSkippedSeq TCPACKSkippedFinWait2 TCPACKSkippedTimeWait TCPACKSkippedChallenge TCPWinProbe TCPKeepAlive TCPMTUPFail TCPMTUPSuccess TCPDelivered TCPDeliveredCE TCPAckCompressed TCPZeroWindowDrop TCPRcvQDrop TCPWqueueTooBig TCPFastOpenPassiveAltKey
TcpExt: 0 0 0 0 87 0 0 0 0 0 2302 0 0 0 1 3007 4 1132 0 0 280383 33442 38622 0 140 0 180 0 1 6 1 21 116 915 0 13 5 335 65 2319 1235 111 0 19 0 346 1139 11 902 6 628 403 0 43 0 11 0 0 0 1 346 4 0 0 0 34 84 494 0 0 0 0 1 0 0 0 0 80963 20567 0 11 202 202 0 0 0 0 0 0 0 44 0 6800 3 3 49 1663 84987 0 0 22 609 0 0 2 0 0 0 0 4342 0 0 90075 0 13304 0 0 0 0
IpExt: InNoRoutes InTruncatedPkts InMcastPkts OutMcastPkts InBcastPkts OutBcastPkts InOctets OutOctets InMcastOctets OutMcastOctets InBcastOctets OutBcastOctets InCsumErrors InNoECTPkts InECT1Pkts InECT0Pkts InCEPkts ReasmOverlaps
IpExt: 2 0 5280 5055 14227 791 1059203754 233250543 1136113 1319834 1797921 165499 0 2322023 0 0 0 0' > /proc/net/netstat

netstat -s

Comment 2 Fedora Update System 2020-08-06 12:57:25 UTC
FEDORA-2020-47e34ca22a has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-47e34ca22a

Comment 3 Fedora Update System 2020-08-06 12:57:32 UTC
FEDORA-2020-caa09c529f has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-caa09c529f

Comment 4 Fedora Update System 2020-08-07 01:03:36 UTC
FEDORA-2020-caa09c529f has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-caa09c529f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-caa09c529f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2020-08-07 01:20:31 UTC
FEDORA-2020-47e34ca22a has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-47e34ca22a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-47e34ca22a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2020-08-11 14:11:16 UTC
FEDORA-2020-caa09c529f has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Ben Cotton 2020-08-11 15:33:39 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle.
Changing version to 33.

Comment 8 Fedora Update System 2020-08-15 01:10:43 UTC
FEDORA-2020-47e34ca22a has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.