Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-08-02 | remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets. | Okan Demirmen | |
ok guenther@ | |||
2012-07-16 | Add a man page describing pcap grammar | giovanni | |
help from lteo@, claudio, jmc@ ok jmc@ | |||
2012-05-25 | tweak previous; ok sthen lteo | Jason McIntyre | |
2012-05-25 | Import a number of core functions from libpcap-1.2.0 while preserving | Lawrence Teo | |
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 | |||
2011-03-28 | Add icmptype and tcpflags support to the grammar | giovanni | |
ok claudio@ jsing@ | |||
2010-10-09 | Fix typo in pflog header size computation. Fixes filtering with the new | Can Erkin Acar | |
pflog headers. reported by jmc@, tested by jmc@ and sthen@, ok sthen@ | |||
2010-09-08 | Make tcpdump of pflog interfaces work with 'net <net>' expression. | Kenneth R Westerback | |
My problem, canacar@'s fix. ok sthen@ canacar@ | |||
2010-07-27 | Properly handle the size field in pflog link header | Can Erkin Acar | |
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@ | |||
2010-06-26 | remove support for the old pflog format, replaced in 2003 | Henning Brauer | |
ok ryan theo & herr reyksminister | |||
2009-10-28 | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | Theo de Raadt | |
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 | |||
2009-09-18 | Zero out IPv6 mask before using it. This fixes expressions like | Alexander Bluhm | |
'net 2002::/16', which were previously non-deterministic based on the previous contents of memory. from upstream; ok claudio@ | |||
2009-08-13 | various MLINK fixes from Alan R. S. Bueno; | Jason McIntyre | |
2009-04-06 | teach libpcap about scrub rules | Henning Brauer | |
2008-06-15 | Swap the code for a calling function and what it calls, so that the called | Theo de Raadt | |
function is in scope and a pointer is not returned via an int ok dtucker | |||
2008-06-11 | Import vlan support from upstream libpcap. This allows, eg, "tcpdump vla 3" | Darren Tucker | |
to work on a vlan parent interface. ok mcbride@, "commit it" deraadt@ | |||
2007-11-06 | fix format string | Charles Longeau | |
ok ray@ gilles@ | |||
2007-09-02 | use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg | Theo de Raadt | |
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-01-02 | remove extra \n in bpf_error() calls. | Reyk Floeter | |
figured out by claudio@ | |||
2007-01-02 | define bpf filters to match address and header fields in IEEE 802.11 | Reyk Floeter | |
wlan frames (DLT_IEEE802_11 and DLT_IEEE802_11_RADIO linktypes). see tcpdump(8) for details. "Works for me" claudio@ ok jmc@ deraadt@ | |||
2006-09-18 | +MLINK pcap.3 pcap_get_selectable_fd.3 | Jason McIntyre | |
from okan demirmen | |||
2006-09-09 | document pcap_get_selectable_fd(); MLINK will happen after unlock | Jason McIntyre | |
from okan demirmen; ok djm | |||
2006-07-18 | get rid of arc network support. we have no users of it so this is dead | David Gwynne | |
code. however, it is still cluttering up the kernel namespace a bit. it is better gone. ok claudio@ | |||
2006-04-18 | strnvis illegal tokens as well and remove a spurious "i" that crept in | Otto Moerbeek | |
the pattern long ago; ok deraadt@ and markus@ for the "i" removal | |||
2006-04-18 | vis() illegal characters; ok otto | Theo de Raadt | |
2006-04-02 | malloc(x * y) -> calloc(x, y) from adobriyan AT gmail.com, with tweaks | Damien Miller | |
suggested by kjell@; ok otto@ pat@ millert@ jaredy@ | |||
2006-03-27 | MLINK to new man pages | Theo de Raadt | |
2006-03-26 | add remaining tcpdump.org libpcap 0.9 APIs, most notably | Damien Miller | |
pcap_setdirection() (which depends on the kernel-side bpf changes committed yesterday); ok canacar@ | |||
2006-03-26 | scrub can log, so it is a valid pf action to filter on | Camiel Dobbelaar | |
ok dhartmei | |||
2006-01-16 | malloc fix for bpf interface array allocation (from freebsd). use | Reyk Floeter | |
calloc instead of the proposed fix with additional parentheses. ok moritz@ millert@ | |||
2006-01-11 | - check for malloc failure | Jared Yanovich | |
- plug some memleaks - avoid close(-1) when open() fails in pcap_open_live() sent upstream where applicable ok djm moritz | |||
2005-11-25 | Fix syntax error (missing ')') in #ifdef'ed out code. Spotted by lint. | Kenneth R Westerback | |
ok deraadt@ | |||
2005-11-24 | use WANTLINT= (on all architectures) | Theo de Raadt | |
2005-11-19 | In count_stmts(), make sure to account for long jump instructions as well, | Aaron Campbell | |
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 | |||
2005-11-18 | - new sentence, new line | Jason McIntyre | |
- avoid Xr to self - lookup(n.) -> look up(v.) | |||
2005-11-18 | pull in the good bits of libpcap-0.9.4's API without the cross-platform | Damien Miller | |
cruft. help from deraadt@, mpf@, jmc@; ok mpf@a nb. this will break tcpdump unless it updated too | |||
2005-10-07 | Add Spanning Tree Protocol support. | Marco Pfatschbacher | |
Bump version to 3.1. OK brad@ | |||
2005-09-27 | accept hostnames 1 char long; spotted by otto, ok otto | Theo de Raadt | |
2005-06-04 | Fix description in a comment. | Joel Knight | |
2005-05-26 | rdr, nat and binat can appear in pflog now, so make them valid arguments | Camiel Dobbelaar | |
for the "action" keyword ok dhartmei | |||
2005-03-28 | add some const to ether_*. remove bonus prototypes this brought out. | Ted Unangst | |
ok deraadt@ | |||
2005-02-28 | add DLT_IEEE802_11_RADIO (802.11 + radiotap header) | Reyk Floeter | |
ok jsg@ deraadt@ | |||
2004-07-13 | errno changes, lib major version bumps, and general flag day | Marco S Hyman | |
To build you must: cd /usr/src && make obj && make includes cd lib/libc && make depend && make && NOMAN=1 sudo make install cd /usr/src && make build | |||
2004-06-24 | make safe for inclusion in C++ code; ok deraadt@ | Christian Weisgerber | |
2004-05-21 | add DLT_PPP_ETHER support | Brad Smith | |
ok canacar@ From: Marc Huber <pppoe at pro-bono-publico dot de> | |||
2004-02-06 | use the kernel default for buf size. no behavior change by default. | Ted Unangst | |
ok canacar@ mcbride@ | |||
2004-01-27 | remove $Header, it was messing up cvs for me. ok deraadt@ | Ted Unangst | |
2004-01-26 | add DLT_IEEE802_11 support; from NetBSD. bump minor. | Federico G. Schwindt | |
deraadt@ ok. | |||
2004-01-21 | Replace some strncpy() calls with strlcpy() | Jean-Francois Brousseau | |
tested by jose@, ok canacar@ and otto@ | |||
2003-11-24 | prevent double-free; from aldo@nullcube.com; dhartmei@ ok | Michael Shalayeff | |