Commit graph

14 commits

Author SHA1 Message Date
Simon L. B. Nielsen
84cf2c81f7 Fix infinite loop DoS vulnerabilities.
Security:	FreeBSD-SA-05:10.tcpdump
Security:	http://vuxml.FreeBSD.org/9fae0f1f-df82-11d9-b875-0001020eed82.html
Security:	CAN-2005-1267, CAN-2005-1278, CAN-2005-1279, CAN-2005-1280
Approved by:	bms (maintainer)
2005-06-20 08:12:35 +00:00
Kris Kennaway
76e77890ce BROKEN on 5.x: Broken dependency
Approved by:    portmgr (self)
2005-03-26 22:07:43 +00:00
Bruce M Simpson
883a606b6f Build against libpcap from ports instead of the base system by default.
Unbreak on -CURRENT.
2005-01-29 19:47:02 +00:00
Bruce M Simpson
4656244420 Mega-commit fixing several outstanding issues with the port.
Fix inconsistent configure-time behaviour. Previously, the tcpdump port
would look at the base system pcap, then attempt to link against the port.
This caused spurious link failures, and should fix build on IA64.

Add a new switch, WITH_LIBPCAP_PORT, to force the use of libpcap
from ports.
Rototile the build-time options for the port, and document them.

Fix detection of the OpenSSL libraries; 0.9.7d and later renamed the
des_cbc_encrypt function to DES_cbc_encrypt, so deal with this by
rebuilding configure after patching configure.in.

Incorporate fix for PR bin/76497 suggested by keramida@ (logic error
in the PPP IPV6CP parser).

Make some stylistic fixes while we're at it, and improve comments.
Mark as unbroken on -CURRENT.
Bump PORTREVISION.

PR:	bin/76497 (possibly others)
2005-01-23 00:39:01 +00:00
Kris Kennaway
2b1963649c BROKEN on 6.x: Build fails 2004-12-17 06:40:45 +00:00
Bruce M Simpson
4dd4d21412 Add optional tcp-md5 verification (crufted from tcpdump CVS) in the
interim, turned on with the WITH_TCPMD5 build-time knob.
Note that this stuff is in tcpdump CVS but isn't in any releases yet.
2004-08-03 01:51:24 +00:00
Bruce M Simpson
636cf71163 Update WITH_RADIOTAP patches to new endian-aware version. DLT 127 is to
be treated as little-endian.

Submitted by:	Sam Leffler
2004-04-03 06:24:17 +00:00
Bruce M Simpson
4c753cd394 Update tcpdump/libpcap ports for new releases 3.8.3/0.8.3. Reset PORTREVISION.
Update radiotap patches as radiotap is not yet in tcpdump release branch
due to endianness issues.
2004-03-31 00:14:06 +00:00
Bruce M Simpson
4087d11027 SIZE update jumbo-commit.
Submitted by:	trevor
2004-03-25 03:13:15 +00:00
Bruce M Simpson
4b70245024 Decouple ${PORTREVISION} from ${DISTNAME}.
Submitted by:	nectar
Pointy hat to:	bms, edwin
2004-01-19 19:52:25 +00:00
Bruce M Simpson
86e6d5ec1e Update tcpdump port to latest beta with fixes for security vulnerabilities
in tandem with vendor branch in src tree.
Add an option to overwrite the base system tcpdump.

PR:		ports/61103
Submitted by:	edwin
2004-01-13 17:57:36 +00:00
Bruce M Simpson
64b3fe8cd6 Add a new option, WITH_RADIOTAP. Import David Young's patches for using the
new net80211 radiotap interface. This can be activated once the tcpdump port
is built and installed using the datalink type IEEE802_11_RADIO. Tested with
a wi(4), OEM PRISM2, 1.4.9 STA firmware.

Submitted by:	David Young
Sponsored by:	consume.net
2003-12-11 14:03:35 +00:00
Bruce M Simpson
6256c4e256 Fix pcap dependency. Previously tcpdump 3.8.1 would be linked against the
system libpcap.a. Create a symlink farm in the ${WRKDIR} so that tcpdump's
configure script will use the installed libpcap-0.8.1 package.

Noticed by:	Andrzej Tobola
2003-12-11 13:49:52 +00:00
Bruce M Simpson
b834286aa9 Add a port of tcpdump 3.8.1. Some work is being done around tcpdump and
libpcap right now, in the areas of wireless and mesh networking. Import         this port so as not to disturb the vendor branch, and bring the bleeding
edge stuff to a wider audience.

I will merge in optional radiotap patches later.

Sponsored by:	consume.net
2003-12-10 19:14:20 +00:00