summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ipfwpcap
Commit message (Collapse)AuthorAgeFilesLines
* Update my e-mail to my FreeBSD one.zeising2012-07-191-2/+2
| | | | Approved by: joel (mentor)
* Replace index() and rindex() calls with strchr() and strrchr().ed2012-01-031-1/+1
| | | | | | | | | | 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.
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-2/+0
|
* Several cleanups to ipfwpcap(8).ed2009-05-312-63/+62
| | | | | | | | | | | | | - 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
* Add a signal handler for SIGINT to make sure that the PID filecsjp2007-10-121-0/+1
| | | | | | | | | | 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
* Change authors e-mail.joel2006-11-121-1/+1
| | | | Requested by: Niclas Zeising
* Revise markup.ru2006-09-301-7/+10
|
* add define's from config.h for pcap-int.h; this is a noop nowsam2006-09-041-0/+4
| | | | but will be required for libpcap 0.9.4
* s/packages/packets/joel2006-05-221-2/+2
| | | | Noticed by: maxim
* Add manual page for ipfwpcap(8).joel2006-05-222-1/+130
| | | | | Reviewed by: phk, brueffer Submitted by: Niclas Zeising <lothrandil@n00b.apagnu.se>
* Add a small tool which captures packets on a DIVERT socket and writesphk2005-10-172-0/+320
them as pcap (tcpdump) format data to a file or pipe. Volunters wanted for: manpage Contributed by: P Kern <pkern@cns.utoronto.ca>
OpenPOWER on IntegriCloud