tcpshow reads a tcpdump(1) savefile and provides a reasonably complete
decode of Ethernet, IP, ICMP, UDP and TCP headers. Boolean expressions
may also be specified for packet selection. Data within the packets are
displayed in ASCII.
tcpshow's output is simular to Sun Solaris's snoop(1M) command for
network packet capture and inspection.
net/tcpshow: fix parsing TSO-enabled "cooked" capture
Modern tcpdump may issue zero for octets encoding length of IP datagramm
that contains TCP packet captured with TCP Segmentation Offload enabled.
tcpshow breaks due to signed underflow in such case.
Fix it by using total length of captured packet from "length:" field
instead of zero value from packet data.
Fix ports that confused the meaning of WRKDIR and WRKSRC.
PR: 204056
Submitted by: mat
Reviewed by: bapt
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D2735
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
The vast majority of pkg-descr files had the following format when they
had both lines:
Author: ...
WWW: ....
So standardize on that, and move them to the end of the file when necessary.
Also fix some more whitespace, and remove more "signature tags" of varying
forms, like -- name, etc.
s/AUTHOR/Author/
A few other various formatting issues
unbreak net/tcpshow for recent tcpdump
tcpdump(1) has changed its output format since version 3.7.4,
so ports/net/tcpshow cannot parse it since then.
PR: ports/113620
Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru>