| Age | Commit message (Collapse) | Author | Files | Lines |
|
conversion suggested by deraadt, as well as renaming
from section 7 to section 5;
ok deraadt
|
|
mostly cobbled together from a pre-mandoc tcpdump manual page, and desperately
needs some loving. First step is to name it right.
Discussed with jmc
|
|
this page should be called by one of the functions, so i chose the first
one: pcap_open_live(3)
|
|
okay millert@
(forgot the obvious scanner.l tweak in my diff)
|
|
correctly - logically complete that now by removing MLINKS from base;
authors need only to ensure there is an entry in NAME for any function/
util being added. MLINKS will still work, and remain for perl to ease
upgrades;
ok nicm (curses) bcook (ssl)
ok schwarze, who provided a lot of feedback and assistance
ok tb natano jung
|
|
header (pointed out by matthew@). Let only pflogd and tcpdump include
pcap-int.h directly since they need it for privilege separation.
"looks good" sthen
feedback/ok deraadt matthew millert
|
|
ok guenther@
|
|
help from lteo@, claudio, jmc@
ok jmc@
|
|
local changes: strncpy() -> strlcpy(), malloc(x * y) -> calloc(x, y),
exclude cross-platform cruft, etc.
The new functions are pcap_create(), pcap_set_snaplen(),
pcap_set_promisc(), pcap_can_set_rfmon(), pcap_set_rfmon(),
pcap_set_timeout(), pcap_set_buffer_size(), pcap_activate(), and
pcap_statustostr().
This diff was tested on amd64, i386, macppc, and sparc64, where
regression tests were done on various pcap-based ports (especially amd64
and i386 where regression tests were run on all pcap-based ports).
Testers also tried running pcap-based ports that they are familiar with
to ensure that there is no behavioral change. tcpdump and pflogd in
base were also tested by different testers. The new pcap_* functions
were tested with a proof-of-concept Snort 2.9 port for many months.
Thank you to everyone who helped test this diff and provided feedback:
haesbaert@, sthen@, matthew@, gonzalo@, brett@, Rodolfo Gouveia,
Aaron Bieber, Markus Lude, and Ray Percival.
ok haesbaert sthen henning
|
|
|
|
from okan demirmen
|
|
|
|
|
|
cruft. help from deraadt@, mpf@, jmc@; ok mpf@a
nb. this will break tcpdump unless it updated too
|
|
|
|
|
|
add support for INET6 (kame)
|
|
|
|
|
|
|
|
|
|
This fixes namespace problems where STRIP is sometimes used as
the name of the strip(1) to use and other times used as
the flag to send install(1) when stripping (or not).
COPY doesn't have this problem (yet) but was poorly named.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|