tcpdump: updated to 4.99.1
Summary for 4.99.1 tcpdump release:
Source code:
Squelch some compiler warnings
ICMP: Update the snapend for some nested IP packets.
MACsec: Update the snapend thus the ICV field is not payload
for the caller.
EIGRP: Fix packet header fields
SMB: Disable printer by default in CMake builds
OLSR: Print the protocol name even if the packet is invalid
MSDP: Print ": " before the protocol name
ESP: Remove padding, padding length and next header from the buffer
DHCPv6: Update the snapend for nested DHCPv6 packets
OpenFlow 1.0: Get snapend right for nested frames.
TCP: Update the snapend before decoding a MPTCP option
Ethernet, IEEE 802.15.4, IP, L2TP, TCP, ZEP: Add bounds checks
ForCES: Refine SPARSEDATA-TLV length check.
ASCII/hex: Use nd_trunc_longjmp() in truncation cases
GeoNet: Add a ND_TCHECK_LEN() call
Replace ND_TCHECK_/memcpy() pairs with GET_CPY_BYTES().
BGP: Fix overwrites of global 'astostr' temporary buffer
ARP: fix overwrites of static buffer in q922_string().
Frame Relay: have q922_string() handle errors better.
Building and testing:
Rebuild configure script when building release
Fix "make clean" for out-of-tree autotools builds
CMake: add stuff from CMAKE_PREFIX_PATH to PKG_CONFIG_PATH.
Documentation:
man: Update a reference as www.cifs.org is gone. [skip ci]
man: Update DNS sections
Solaris:
Fix a compile error with Sun C
Summary for 4.99.0 tcpdump release
Improve the contents, wording and formatting of the man page.
Print unsupported link-layer protocol packets in hex.
Add support for new network protocols and DLTs: Arista, Autosar SOME/IP,
Broadcom LI and Ethernet switches tag, IEEE 802.15.9, IP-over-InfiniBand
(IPoIB), Linux SLL2, Linux vsockmon, MACsec, Marvell Distributed Switch
Architecture, OpenFlow 1.3, Precision Time Protocol (PTP), SSH, WHOIS,
ZigBee Encapsulation Protocol (ZEP).
Make protocol-specific updates for: AH, DHCP, DNS, ESP, FRF.16, HNCP,
ICMP6, IEEE 802.15.4, IPv6, IS-IS, Linux SLL, LLDP, LSP ping, MPTCP, NFS,
NSH, NTP, OSPF, OSPF6, PGM, PIM, PPTP, RADIUS, RSVP, Rx, SMB, UDLD,
VXLAN-GPE.
User interface:
Make SLL2 the default for Linux "any" pseudo-device.
Add --micro and --nano shorthands.
Add --count to print a counter only instead of decoding.
Add --print, to cause packet printing even with -w.
Add support for remote capture if libpcap supports it.
Display the "wireless" flag and connection status.
Flush the output packet buffer on a SIGUSR2.
Add the snapshot length to the "reading from file ..." message.
Fix local time printing (DST offset in timestamps).
Allow -C arguments > 2^31-1 GB if they can fit into a long.
Handle very large -f files by rejecting them.
Report periodic stats only when safe to do so.
Print the number of packets captured only as often as necessary.
With no -s, or with -s 0, don't specify the snapshot length with newer
versions of libpcap.
Improve version and usage message printing.
Building and testing:
Install into bindir, not sbindir.
autoconf: replace --with-system-libpcap with --disable-local-libpcap.
Require the compiler to support C99.
Better detect and use various C compilers and their features.
Add CMake as the second build system.
Make out-of-tree builds more reliable.
Use pkg-config to detect libpcap if available.
Improve Windows support.
Add more tests and improve the scripts that run them.
Test both with "normal" and "x87" floating-point.
Eliminate dependency on libdnet.
FreeBSD:
Print a proper error message about monitor mode VAP.
Use libcasper if available.
Fix failure to capture on RDMA device.
Include the correct capsicum header.
Source code:
Start the transition to longjmp() for packet truncation handling.
Introduce new helper functions, including GET_*(), nd_print_protocol(),
nd_print_invalid(), nd_print_trunc(), nd_trunc_longjmp() and others.
Put integer signedness right in many cases.
Introduce nd_uint*, nd_mac_addr, nd_ipv4 and nd_ipv6 types to fix
alignment issues, especially on SPARC.
Fix many C compiler, Coverity, UBSan and cppcheck warnings.
Fix issues detected with AddressSanitizer.
Remove many workarounds for older compilers and OSes.
Add a sanity check on packet header length.
Add and remove plenty of bounds checks.
Clean up pcap_findalldevs() call to find the first interface.
Use a short timeout, rather than immediate mode, for text output.
Handle DLT_ENC files *not* written on the same OS and byte-order host.
Add, and use, macros to do locale-independent case mapping.
Use a table instead of getprotobynumber().
Get rid of ND_UNALIGNED and ND_TCHECK().
Make roundup2() generally available.
Resync SMI list against Wireshark.
Fix many typos.
2021-11-16 17:19:40 +01:00
|
|
|
# $NetBSD: Makefile,v 1.52 2021/11/16 16:19:40 adam Exp $
|
2001-01-14 00:29:28 +01:00
|
|
|
|
tcpdump: updated to 4.99.1
Summary for 4.99.1 tcpdump release:
Source code:
Squelch some compiler warnings
ICMP: Update the snapend for some nested IP packets.
MACsec: Update the snapend thus the ICV field is not payload
for the caller.
EIGRP: Fix packet header fields
SMB: Disable printer by default in CMake builds
OLSR: Print the protocol name even if the packet is invalid
MSDP: Print ": " before the protocol name
ESP: Remove padding, padding length and next header from the buffer
DHCPv6: Update the snapend for nested DHCPv6 packets
OpenFlow 1.0: Get snapend right for nested frames.
TCP: Update the snapend before decoding a MPTCP option
Ethernet, IEEE 802.15.4, IP, L2TP, TCP, ZEP: Add bounds checks
ForCES: Refine SPARSEDATA-TLV length check.
ASCII/hex: Use nd_trunc_longjmp() in truncation cases
GeoNet: Add a ND_TCHECK_LEN() call
Replace ND_TCHECK_/memcpy() pairs with GET_CPY_BYTES().
BGP: Fix overwrites of global 'astostr' temporary buffer
ARP: fix overwrites of static buffer in q922_string().
Frame Relay: have q922_string() handle errors better.
Building and testing:
Rebuild configure script when building release
Fix "make clean" for out-of-tree autotools builds
CMake: add stuff from CMAKE_PREFIX_PATH to PKG_CONFIG_PATH.
Documentation:
man: Update a reference as www.cifs.org is gone. [skip ci]
man: Update DNS sections
Solaris:
Fix a compile error with Sun C
Summary for 4.99.0 tcpdump release
Improve the contents, wording and formatting of the man page.
Print unsupported link-layer protocol packets in hex.
Add support for new network protocols and DLTs: Arista, Autosar SOME/IP,
Broadcom LI and Ethernet switches tag, IEEE 802.15.9, IP-over-InfiniBand
(IPoIB), Linux SLL2, Linux vsockmon, MACsec, Marvell Distributed Switch
Architecture, OpenFlow 1.3, Precision Time Protocol (PTP), SSH, WHOIS,
ZigBee Encapsulation Protocol (ZEP).
Make protocol-specific updates for: AH, DHCP, DNS, ESP, FRF.16, HNCP,
ICMP6, IEEE 802.15.4, IPv6, IS-IS, Linux SLL, LLDP, LSP ping, MPTCP, NFS,
NSH, NTP, OSPF, OSPF6, PGM, PIM, PPTP, RADIUS, RSVP, Rx, SMB, UDLD,
VXLAN-GPE.
User interface:
Make SLL2 the default for Linux "any" pseudo-device.
Add --micro and --nano shorthands.
Add --count to print a counter only instead of decoding.
Add --print, to cause packet printing even with -w.
Add support for remote capture if libpcap supports it.
Display the "wireless" flag and connection status.
Flush the output packet buffer on a SIGUSR2.
Add the snapshot length to the "reading from file ..." message.
Fix local time printing (DST offset in timestamps).
Allow -C arguments > 2^31-1 GB if they can fit into a long.
Handle very large -f files by rejecting them.
Report periodic stats only when safe to do so.
Print the number of packets captured only as often as necessary.
With no -s, or with -s 0, don't specify the snapshot length with newer
versions of libpcap.
Improve version and usage message printing.
Building and testing:
Install into bindir, not sbindir.
autoconf: replace --with-system-libpcap with --disable-local-libpcap.
Require the compiler to support C99.
Better detect and use various C compilers and their features.
Add CMake as the second build system.
Make out-of-tree builds more reliable.
Use pkg-config to detect libpcap if available.
Improve Windows support.
Add more tests and improve the scripts that run them.
Test both with "normal" and "x87" floating-point.
Eliminate dependency on libdnet.
FreeBSD:
Print a proper error message about monitor mode VAP.
Use libcasper if available.
Fix failure to capture on RDMA device.
Include the correct capsicum header.
Source code:
Start the transition to longjmp() for packet truncation handling.
Introduce new helper functions, including GET_*(), nd_print_protocol(),
nd_print_invalid(), nd_print_trunc(), nd_trunc_longjmp() and others.
Put integer signedness right in many cases.
Introduce nd_uint*, nd_mac_addr, nd_ipv4 and nd_ipv6 types to fix
alignment issues, especially on SPARC.
Fix many C compiler, Coverity, UBSan and cppcheck warnings.
Fix issues detected with AddressSanitizer.
Remove many workarounds for older compilers and OSes.
Add a sanity check on packet header length.
Add and remove plenty of bounds checks.
Clean up pcap_findalldevs() call to find the first interface.
Use a short timeout, rather than immediate mode, for text output.
Handle DLT_ENC files *not* written on the same OS and byte-order host.
Add, and use, macros to do locale-independent case mapping.
Use a table instead of getprotobynumber().
Get rid of ND_UNALIGNED and ND_TCHECK().
Make roundup2() generally available.
Resync SMI list against Wireshark.
Fix many typos.
2021-11-16 17:19:40 +01:00
|
|
|
DISTNAME= tcpdump-4.99.1
|
2011-02-11 13:13:13 +01:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://www.tcpdump.org/release/
|
2001-01-14 00:29:28 +01:00
|
|
|
|
2011-02-11 13:13:13 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2020-01-26 18:30:40 +01:00
|
|
|
HOMEPAGE= https://www.tcpdump.org/
|
2011-02-11 13:13:13 +01:00
|
|
|
COMMENT= Network monitoring tool
|
|
|
|
LICENSE= modified-bsd
|
2001-01-14 00:29:28 +01:00
|
|
|
|
2011-02-11 13:13:13 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2016-03-08 13:53:34 +01:00
|
|
|
CONFIGURE_ARGS.Darwin+= --disable-universal
|
Update tcpdump to version 3.7.1.
Enable IPv6 support if /usr/include/netinet/ip6.h exists.
Now IPv6 support works for Solaris 8 at least.
Strongly buildlink'ify.
I did not find a way to have a changes summary for version 3.6.2.
Summary for 3.7 release:
- keyword "ipx" added.
- Better OSI/802.2 support on Linux.
- IEEE 802.11 support, from clenahan@fortresstech.com, achirica@ttd.net.
- LLC SAP support for FDDI/token ring/RFC-1483 style ATM
- BXXP protocol was replaced by the BEEP protocol;
- improvements to SNAP demux.
- Changes to "any" interface documentation.
- Documentation on pcap_stats() counters.
- Fix a memory leak found by Miklos Szeredi - pcap_ether_aton().
- Added MPLS encapsulation decoding per RFC3032.
- DNS dissector handles TKEY, TSIG and IXFR.
- adaptive SLIP interface patch from Igor Khristophorov <igor@atdot.org>
- SMB printing has much improved bounds checks
- OUI 0x0000f8 decoded as encapsulated ethernet for Cisco-custom bridging
- Zephyr support, from Nickolai Zeldovich <kolya@MIT.EDU>.
- Solaris - devices with digits in them. Stefan Hudson <hudson@mbay.net>
- IPX socket 0x85be is for Cisco EIGRP over IPX.
- Improvements to fragmented ESP handling.
- SCTP support from Armando L. Caro Jr. <acaro@mail.eecis.udel.edu>
- Linux ARPHDR_ATM support fixed.
- Added a "netbeui" keyword, which selects NetBEUI packets.
- IPv6 ND improvements, MobileIP dissector, 2292bis-02 for RA option.
- Handle ARPHDR_HDLC from Marcus Felipe Pereira <marcus@task.com.br>.
- Handle IPX socket 0x553 -> NetBIOS-over-IPX socket, "nwlink-dgm"
- Better Linux libc5 compat.
- BIND9 lwres dissector added.
- MIPS and SPARC get strict alignment macros (affects print-bgp.c)
- Apple LocalTalk LINKTYPE_ reserved.
- New time stamp formats documented.
- DHCP6 updated to draft-22.txt spec.
- ICMP types/codes now accept symbolic names.
- Add SIGINFO handler from LBL
- encrypted CIPE tunnels in IRIX, from Franz Schaefer <schaefer@mond.at>.
- now we are -Wstrict-prototype clean.
- NetBSD DLT_PPP_ETHER; adapted from Martin Husemann <martin@netbsd.org>.
- PPPoE dissector cleaned up.
- Support for LocalTalk hardware, from Uns Lider <unslider@miranda.org>.
- In dissector, now the caller prints the IP addresses rather than proto.
- cjclark@alum.mit.edu: print the IP proto for non-initial fragments.
- LLC frames with a DSAP and LSAP of 0xe0 are IPX frames.
- Linux cooked frames with a type value of LINUX_SLL_P_802_3 are IPX.
- captures on the "any" device won't be done in promiscuous mode
- Token Ring support on DLPI - Onno van der Linden <onno@simplex.nl>
- ARCNet support, from NetBSD.
- HSRP dissector, from Julian Cowley <julian@lava.net>.
- Handle (GRE-encapsulated) PPTP
- added -C option to rotate save file every optarg * 1,000,000 bytes.
- support for "vrrp" name - NetBSD, by Klaus Klein <kleink@netbsd.org>.
- PPTP support, from Motonori Shindo <mshindo@mshindo.net>.
- IS-IS over PPP support, from Hannes Gredler <hannes@juniper.net>.
- CNFP support for IPv6,format. Harry Raaymakers <harryr@connect.com.au>.
- ESP printing updated to RFC2406.
- HP-UX can now handle large number of PPAs.
- MSDP printer added.
- L2TP dissector improvements from Motonori Shindo.
2002-02-13 16:50:35 +01:00
|
|
|
|
2017-02-22 20:05:44 +01:00
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
OWN_DIRS= ${VARBASE}/tcpdump
|
2017-03-09 04:01:54 +01:00
|
|
|
PKG_GROUPS= _tcpdump
|
|
|
|
PKG_USERS= _tcpdump:_tcpdump
|
2017-02-22 20:05:44 +01:00
|
|
|
|
|
|
|
# drop privileges when running
|
|
|
|
CONFIGURE_ARGS+= --with-user=_tcpdump
|
|
|
|
CONFIGURE_ARGS+= --with-chroot=${VARBASE}/tcpdump
|
|
|
|
|
2005-06-12 21:41:45 +02:00
|
|
|
.include "options.mk"
|
2001-01-14 00:29:28 +01:00
|
|
|
|
2020-06-14 21:35:38 +02:00
|
|
|
BUILDLINK_API_DEPENDS.libpcap+= libpcap>=1.9.1
|
2004-04-18 09:30:16 +02:00
|
|
|
.include "../../net/libpcap/buildlink3.mk"
|
2001-01-14 00:29:28 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|