Age | Commit message (Collapse) | Author |
|
ok deraadt@
|
|
local addition that has never been part of upstream. No binary change.
feedback from guenther@
|
|
XXX noted by lteo, change proofed & tested as well
|
|
suggested by krw@
|
|
ok deraadt@ florian@
|
|
section to follow traditional man(7) conventions.
man(7) formatting help from jmc@ and schwarze@
feedback/ok jmc@
|
|
|
|
members to 64bit types. Assign new syscall numbers for (almost
all) the syscalls that involve the affected types, including anything
with time_t, timeval, itimerval, timespec, rusage, dirent, stat,
or kevent arguments. Add a d_off member to struct dirent and replace
getdirentries() with getdents(), thus immensely simplifying and
accelerating telldir/seekdir. Build perl with -DBIG_TIME.
Bump the major on every single base library: the compat bits included
here are only good enough to make the transition; the T32 compat
option will be burned as soon as we've reached the new world are
are happy with the snapshots for all architectures.
DANGER: ABI incompatibility. Updating to this kernel requires extra
work or you won't be able to login: install a snapshot instead.
Much assistance in fixing userland issues from deraadt@ and tedu@
and build assistance from todd@ and otto@
|
|
|
|
OK jmc@
|
|
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
|
|
ok claudio@ jsing@
|
|
pflog headers. reported by jmc@, tested by jmc@ and sthen@, ok sthen@
|
|
My problem, canacar@'s fix.
ok sthen@ canacar@
|
|
when generating the filter. This will allow the pflog
header to be extended without adding a new link type.
No change to generated code for other link types.
ok henning@
|
|
ok ryan theo & herr reyksminister
|
|
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms
|
|
'net 2002::/16', which were previously non-deterministic based on
the previous contents of memory.
from upstream; ok claudio@
|
|
|
|
|
|
function is in scope and a pointer is not returned via an int
ok dtucker
|
|
to work on a vlan parent interface. ok mcbride@, "commit it" deraadt@
|
|
ok ray@ gilles@
|
|
|
|
|
|
figured out by claudio@
|
|
wlan frames (DLT_IEEE802_11 and DLT_IEEE802_11_RADIO linktypes). see
tcpdump(8) for details.
"Works for me" claudio@
ok jmc@ deraadt@
|
|
from okan demirmen
|
|
from okan demirmen;
ok djm
|
|
code. however, it is still cluttering up the kernel namespace a bit. it is
better gone.
ok claudio@
|
|
the pattern long ago; ok deraadt@ and markus@ for the "i" removal
|
|
|
|
suggested by kjell@; ok otto@ pat@ millert@ jaredy@
|
|
|
|
pcap_setdirection() (which depends on the kernel-side bpf changes
committed yesterday); ok canacar@
|
|
ok dhartmei
|
|
calloc instead of the proposed fix with additional parentheses.
ok moritz@ millert@
|
|
- plug some memleaks
- avoid close(-1) when open() fails in pcap_open_live()
sent upstream where applicable
ok djm moritz
|
|
ok deraadt@
|
|
|
|
avoiding a memory error that could lead to a crash when a sufficiently complex
bpf filter has been specified. otto@, millert@, djm@ ok
Reference- http://www.tcpdump.org/lists/workers/2000/msg01364.html
|
|
- avoid Xr to self
- lookup(n.) -> look up(v.)
|
|
cruft. help from deraadt@, mpf@, jmc@; ok mpf@a
nb. this will break tcpdump unless it updated too
|
|
Bump version to 3.1.
OK brad@
|
|
|
|
|