History log of /freebsd-10.1-release/usr.sbin/ipfwpcap/
Revision Date Author Comments
272461 03-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


238612 19-Jul-2012 zeising

Update my e-mail to my FreeBSD one.

Approved by: joel (mentor)


229403 03-Jan-2012 ed

Replace index() and rindex() calls with strchr() and strrchr().

The index() and rindex() functions were marked LEGACY in the 2001
revision of POSIX and were subsequently removed from the 2008 revision.
The strchr() and strrchr() functions are part of the C standard.

This makes the source code a lot more consistent, as most of these C
files also call into other str*() routines. In fact, about a dozen
already perform strchr() calls.


201390 02-Jan-2010 ed

The last big commit: let usr.sbin/ use WARNS=6 by default.


193188 31-May-2009 ed

Several cleanups to ipfwpcap(8).

- Enable WARNS?=6.
- Include missing headers.
- Mark prog and pidfile as static. Remove unneeded initializer.
- Use ANSI prototypes.
- Remove unneeded fp variable.
- snprintf() guarantees the buffer to be null terminated. Remove
unneeded - 1 and bzero call.
- Remove unneeded casting.

Submitted by: Pawel Worach, Christoph Mallon


172581 12-Oct-2007 csjp

Add a signal handler for SIGINT to make sure that the PID file
gets cleaned up upon receiving SIGINT. This un-breaks subsequent
executions of ipfwpcap and helps when debugging network/divert
issues like this:

ipfwpcap -r 6000 - | tcpdump -r -

MFC after: 1 week


164228 12-Nov-2006 joel

Change authors e-mail.

Requested by: Niclas Zeising


162893 30-Sep-2006 ru

Revise markup.


162011 04-Sep-2006 sam

add define's from config.h for pcap-int.h; this is a noop now
but will be required for libpcap 0.9.4


158822 22-May-2006 joel

s/packages/packets/

Noticed by: maxim


158821 22-May-2006 joel

Add manual page for ipfwpcap(8).

Reviewed by: phk, brueffer
Submitted by: Niclas Zeising <lothrandil@n00b.apagnu.se>


151427 17-Oct-2005 phk

Add a small tool which captures packets on a DIVERT socket and writes
them as pcap (tcpdump) format data to a file or pipe.

Volunters wanted for: manpage
Contributed by: P Kern <pkern@cns.utoronto.ca>