bapt
a191ba5195
Convert usr.sbin to LIBADD
...
Reduce overlinking
2014-11-25 16:57:27 +00:00
bapt
c0cd28f928
use .Mt to mark up email addresses consistently (part2)
...
PR: 191174
Submitted by: Franco Fichtner <franco@lastsummer.de>
2014-06-20 09:57:27 +00:00
zeising
97b9555773
Update my e-mail to my FreeBSD one.
...
Approved by: joel (mentor)
2012-07-19 08:56:30 +00:00
ed
e7e5b53bf1
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.
2012-01-03 18:51:58 +00:00
ed
073cafdd42
The last big commit: let usr.sbin/ use WARNS=6 by default.
2010-01-02 11:07:44 +00:00
ed
08ebb1e234
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
2009-05-31 20:59:20 +00:00
csjp
dd1d7df604
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
2007-10-12 14:57:39 +00:00
joel
68445c77f7
Change authors e-mail.
...
Requested by: Niclas Zeising
2006-11-12 21:43:21 +00:00
ru
99849399c0
Revise markup.
2006-09-30 19:07:03 +00:00
sam
6d7a94cfc0
add define's from config.h for pcap-int.h; this is a noop now
...
but will be required for libpcap 0.9.4
2006-09-04 19:30:44 +00:00
joel
04beefe3f7
s/packages/packets/
...
Noticed by: maxim
2006-05-22 07:36:45 +00:00
joel
37ac0ad730
Add manual page for ipfwpcap(8).
...
Reviewed by: phk, brueffer
Submitted by: Niclas Zeising <lothrandil@n00b.apagnu.se>
2006-05-22 07:14:54 +00:00
phk
84406cb935
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>
2005-10-17 20:27:15 +00:00