Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Zero out IPv6 mask before using it. This fixes expressions like | 2009-09-18 | 1 | -1/+2 | |
| | | | | | | 'net 2002::/16', which were previously non-deterministic based on the previous contents of memory. from upstream; ok claudio@ | ||||
* | various MLINK fixes from Alan R. S. Bueno; | 2009-08-13 | 1 | -2/+3 | |
| | |||||
* | teach libpcap about scrub rules | 2009-04-06 | 1 | -2/+4 | |
| | |||||
* | Swap the code for a calling function and what it calls, so that the called | 2008-06-15 | 1 | -14/+14 | |
| | | | | | function is in scope and a pointer is not returned via an int ok dtucker | ||||
* | Import vlan support from upstream libpcap. This allows, eg, "tcpdump vla 3" | 2008-06-11 | 6 | -10/+118 | |
| | | | | to work on a vlan parent interface. ok mcbride@, "commit it" deraadt@ | ||||
* | fix format string | 2007-11-06 | 1 | -2/+2 | |
| | | | | ok ray@ gilles@ | ||||
* | use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg | 2007-09-02 | 2 | -8/+8 | |
| | |||||
* | convert to new .Dd format; | 2007-05-31 | 1 | -2/+2 | |
| | |||||
* | remove extra \n in bpf_error() calls. | 2007-01-02 | 1 | -10/+10 | |
| | | | | figured out by claudio@ | ||||
* | define bpf filters to match address and header fields in IEEE 802.11 | 2007-01-02 | 4 | -18/+300 | |
| | | | | | | | | wlan frames (DLT_IEEE802_11 and DLT_IEEE802_11_RADIO linktypes). see tcpdump(8) for details. "Works for me" claudio@ ok jmc@ deraadt@ | ||||
* | +MLINK pcap.3 pcap_get_selectable_fd.3 | 2006-09-18 | 1 | -3/+3 | |
| | | | | from okan demirmen | ||||
* | document pcap_get_selectable_fd(); MLINK will happen after unlock | 2006-09-09 | 1 | -2/+6 | |
| | | | | | from okan demirmen; ok djm | ||||
* | get rid of arc network support. we have no users of it so this is dead | 2006-07-18 | 2 | -96/+3 | |
| | | | | | | | code. however, it is still cluttering up the kernel namespace a bit. it is better gone. ok claudio@ | ||||
* | strnvis illegal tokens as well and remove a spurious "i" that crept in | 2006-04-18 | 1 | -4/+10 | |
| | | | | the pattern long ago; ok deraadt@ and markus@ for the "i" removal | ||||
* | vis() illegal characters; ok otto | 2006-04-18 | 1 | -3/+9 | |
| | |||||
* | malloc(x * y) -> calloc(x, y) from adobriyan AT gmail.com, with tweaks | 2006-04-02 | 1 | -5/+4 | |
| | | | | suggested by kjell@; ok otto@ pat@ millert@ jaredy@ | ||||
* | MLINK to new man pages | 2006-03-27 | 1 | -2/+5 | |
| | |||||
* | add remaining tcpdump.org libpcap 0.9 APIs, most notably | 2006-03-26 | 8 | -38/+264 | |
| | | | | | pcap_setdirection() (which depends on the kernel-side bpf changes committed yesterday); ok canacar@ | ||||
* | scrub can log, so it is a valid pf action to filter on | 2006-03-26 | 1 | -2/+4 | |
| | | | | ok dhartmei | ||||
* | malloc fix for bpf interface array allocation (from freebsd). use | 2006-01-16 | 1 | -3/+2 | |
| | | | | | | calloc instead of the proposed fix with additional parentheses. ok moritz@ millert@ | ||||
* | - check for malloc failure | 2006-01-11 | 3 | -33/+51 | |
| | | | | | | | | | - plug some memleaks - avoid close(-1) when open() fails in pcap_open_live() sent upstream where applicable ok djm moritz | ||||
* | Fix syntax error (missing ')') in #ifdef'ed out code. Spotted by lint. | 2005-11-25 | 1 | -2/+2 | |
| | | | | ok deraadt@ | ||||
* | use WANTLINT= (on all architectures) | 2005-11-24 | 1 | -1/+2 | |
| | |||||
* | In count_stmts(), make sure to account for long jump instructions as well, | 2005-11-19 | 1 | -2/+2 | |
| | | | | | | | 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 | ||||
* | - new sentence, new line | 2005-11-18 | 1 | -5/+5 | |
| | | | | | - avoid Xr to self - lookup(n.) -> look up(v.) | ||||
* | pull in the good bits of libpcap-0.9.4's API without the cross-platform | 2005-11-18 | 10 | -34/+997 | |
| | | | | | | cruft. help from deraadt@, mpf@, jmc@; ok mpf@a nb. this will break tcpdump unless it updated too | ||||
* | Add Spanning Tree Protocol support. | 2005-10-07 | 7 | -12/+209 | |
| | | | | | Bump version to 3.1. OK brad@ | ||||
* | accept hostnames 1 char long; spotted by otto, ok otto | 2005-09-27 | 1 | -2/+3 | |
| | |||||
* | Fix description in a comment. | 2005-06-04 | 1 | -2/+2 | |
| | |||||
* | rdr, nat and binat can appear in pflog now, so make them valid arguments | 2005-05-26 | 1 | -2/+8 | |
| | | | | | | for the "action" keyword ok dhartmei | ||||
* | add some const to ether_*. remove bonus prototypes this brought out. | 2005-03-28 | 1 | -6/+2 | |
| | | | | ok deraadt@ | ||||
* | add DLT_IEEE802_11_RADIO (802.11 + radiotap header) | 2005-02-28 | 1 | -1/+6 | |
| | | | | ok jsg@ deraadt@ | ||||
* | errno changes, lib major version bumps, and general flag day | 2004-07-13 | 1 | -2/+2 | |
| | | | | | | | 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 | ||||
* | make safe for inclusion in C++ code; ok deraadt@ | 2004-06-24 | 1 | -2/+4 | |
| | |||||
* | add DLT_PPP_ETHER support | 2004-05-21 | 1 | -1/+11 | |
| | | | | | | ok canacar@ From: Marc Huber <pppoe at pro-bono-publico dot de> | ||||
* | use the kernel default for buf size. no behavior change by default. | 2004-02-06 | 1 | -1/+4 | |
| | | | | ok canacar@ mcbride@ | ||||
* | remove $Header, it was messing up cvs for me. ok deraadt@ | 2004-01-27 | 9 | -50/+9 | |
| | |||||
* | add DLT_IEEE802_11 support; from NetBSD. bump minor. | 2004-01-26 | 2 | -3/+8 | |
| | | | | deraadt@ ok. | ||||
* | Replace some strncpy() calls with strlcpy() | 2004-01-21 | 2 | -12/+11 | |
| | | | | tested by jose@, ok canacar@ and otto@ | ||||
* | prevent double-free; from aldo@nullcube.com; dhartmei@ ok | 2003-11-24 | 1 | -7/+16 | |
| | |||||
* | add missing includes | 2003-07-18 | 1 | -2/+3 | |
| | | | | ok tedu@ | ||||
* | libpcap and tcpdump now understand the new pflog datalink type. | 2003-05-14 | 4 | -26/+113 | |
| | | | | | | old datalink type is still recognized. ok henning@ dhartmei@ frantzen@ | ||||
* | .Xr typos; | 2003-03-06 | 1 | -2/+2 | |
| | | | | ok deraadt@ | ||||
* | fix a variety of missing or wrong MLINKS | 2003-02-20 | 1 | -2/+3 | |
| | |||||
* | Crank all library major numbers. Needed due to the fact that we | 2002-12-03 | 1 | -2/+2 | |
| | | | | | | | | now build libraries with propolice enabled. Without this, existing binaries (such as ports/packages) that link with any system library other than libc will fail with an undefined symbol of "___guard" (__guard on ELF). Pointed out by markus@ and discussed with deraadt@ | ||||
* | tcpdump support for pfsync; henning@ ok | 2002-11-29 | 1 | -2/+7 | |
| | |||||
* | must yyrestart after longjmp; moritz@jodeit.org | 2002-08-26 | 1 | -2/+3 | |
| | |||||
* | Swap args to calloc(3) so they are in the correct order; art@ ok. | 2002-08-12 | 1 | -3/+3 | |
| | |||||
* | more error checking of memory allocation, from clodder@acm.org. okay deraadt@ | 2002-07-09 | 2 | -4/+22 | |
| | |||||
* | under lying -> underlying | 2002-05-01 | 1 | -2/+2 | |
| |