NetBSD-Bugs archive

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

bin/51699: Tcpdump doesn't correctly print UDP port numbers



>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]  



Home | Main Index | Thread Index | Old Index