NetBSD Problem Report #51699

From www@NetBSD.org  Thu Dec  8 23:59:51 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 972A97A287
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  8 Dec 2016 23:59:51 +0000 (UTC)
Message-Id: <20161208235950.71E1E7A364@mollari.NetBSD.org>
Date: Thu,  8 Dec 2016 23:59:50 +0000 (UTC)
From: dean@av8.net
Reply-To: dean@av8.net
To: gnats-bugs@NetBSD.org
Subject: Tcpdump doesn't correctly print UDP port numbers
X-Send-Pr-Version: www-1.0

>Number:         51699
>Category:       bin
>Synopsis:       Tcpdump doesn't correctly print UDP port numbers
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 09 00:00:00 +0000 2016
>Originator:     Dean Anderson
>Release:        7.0.1
>Organization:
AV8
>Environment:
7.0.1 amd64 [sorry, I've already killed the image]
>Description:
The port numbers are incorrect in the first packet. "1588078839" is not a valid UDP port number.
>How-To-Repeat:
tcpdump -s 0 -nn -v -i pflog0 host 198.3.136.17    
tcpdump: WARNING: pflog0: no IPv4 address assigned
tcpdump: listening on pflog0, link-type PFLOG (OpenBSD pflog file), capture size 65535 bytes
18:34:44.173488 IP (tos 0x0, ttl 63, id 3645, offset 0, flags [+], proto UDP (17), length 1500)
    198.3.136.17.2049 > 198.3.138.211.1588078839: reply ok 1472
18:34:44.173491 IP (tos 0x0, ttl 63, id 3645, offset 1480, flags [+], proto UDP (17), length 1500)
    198.3.136.17 > 198.3.138.211: ip-proto-17
18:34:44.173492 IP (tos 0x0, ttl 63, id 3645, offset 2960, flags [+], proto UDP (17), length 1500)
    198.3.136.17 > 198.3.138.211: ip-proto-17
18:34:44.173494 IP (tos 0x0, ttl 63, id 3645, offset 4440, flags [+], proto UDP (17), length 1500)
    198.3.136.17 > 198.3.138.211: ip-proto-17
18:34:44.173496 IP (tos 0x0, ttl 63, id 3645, offset 5920, flags [+], proto UDP (17), length 1500)
    198.3.136.17 > 198.3.138.211: ip-proto-17
18:34:44.173497 IP (tos 0x0, ttl 63, id 3645, offset 7400, flags [none], proto UDP (17), length 908)
    198.3.136.17 > 198.3.138.211: ip-proto-17

>Fix:
Don't run 7.0.1 [sorry folks]  

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.