summaryrefslogtreecommitdiff
path: root/lib/libpcap
AgeCommit message (Collapse)Author
2006-04-18strnvis illegal tokens as well and remove a spurious "i" that crept inOtto Moerbeek
the pattern long ago; ok deraadt@ and markus@ for the "i" removal
2006-04-18vis() illegal characters; ok ottoTheo de Raadt
2006-04-02malloc(x * y) -> calloc(x, y) from adobriyan AT gmail.com, with tweaksDamien Miller
suggested by kjell@; ok otto@ pat@ millert@ jaredy@
2006-03-27MLINK to new man pagesTheo de Raadt
2006-03-26add remaining tcpdump.org libpcap 0.9 APIs, most notablyDamien Miller
pcap_setdirection() (which depends on the kernel-side bpf changes committed yesterday); ok canacar@
2006-03-26scrub can log, so it is a valid pf action to filter onCamiel Dobbelaar
ok dhartmei
2006-01-16malloc fix for bpf interface array allocation (from freebsd). useReyk Floeter
calloc instead of the proposed fix with additional parentheses. ok moritz@ millert@
2006-01-11- check for malloc failureJared Yanovich
- plug some memleaks - avoid close(-1) when open() fails in pcap_open_live() sent upstream where applicable ok djm moritz
2005-11-25Fix syntax error (missing ')') in #ifdef'ed out code. Spotted by lint.Kenneth R Westerback
ok deraadt@
2005-11-24use WANTLINT= (on all architectures)Theo de Raadt
2005-11-19In 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 lineJason McIntyre
- avoid Xr to self - lookup(n.) -> look up(v.)
2005-11-18pull in the good bits of libpcap-0.9.4's API without the cross-platformDamien Miller
cruft. help from deraadt@, mpf@, jmc@; ok mpf@a nb. this will break tcpdump unless it updated too
2005-10-07Add Spanning Tree Protocol support.Marco Pfatschbacher
Bump version to 3.1. OK brad@
2005-09-27accept hostnames 1 char long; spotted by otto, ok ottoTheo de Raadt
2005-06-04Fix description in a comment.Joel Knight
2005-05-26rdr, nat and binat can appear in pflog now, so make them valid argumentsCamiel Dobbelaar
for the "action" keyword ok dhartmei
2005-03-28add some const to ether_*. remove bonus prototypes this brought out.Ted Unangst
ok deraadt@
2005-02-28add DLT_IEEE802_11_RADIO (802.11 + radiotap header)Reyk Floeter
ok jsg@ deraadt@
2004-07-13errno changes, lib major version bumps, and general flag dayMarco 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-24make safe for inclusion in C++ code; ok deraadt@Christian Weisgerber
2004-05-21add DLT_PPP_ETHER supportBrad Smith
ok canacar@ From: Marc Huber <pppoe at pro-bono-publico dot de>
2004-02-06use the kernel default for buf size. no behavior change by default.Ted Unangst
ok canacar@ mcbride@
2004-01-27remove $Header, it was messing up cvs for me. ok deraadt@Ted Unangst
2004-01-26add DLT_IEEE802_11 support; from NetBSD. bump minor.Federico G. Schwindt
deraadt@ ok.
2004-01-21Replace some strncpy() calls with strlcpy()Jean-Francois Brousseau
tested by jose@, ok canacar@ and otto@
2003-11-24prevent double-free; from aldo@nullcube.com; dhartmei@ okMichael Shalayeff
2003-07-18add missing includesDavid Krause
ok tedu@
2003-05-14libpcap and tcpdump now understand the new pflog datalink type.Can Erkin Acar
old datalink type is still recognized. ok henning@ dhartmei@ frantzen@
2003-03-06.Xr typos;Jason McIntyre
ok deraadt@
2003-02-20fix a variety of missing or wrong MLINKSTheo de Raadt
2002-12-03Crank all library major numbers. Needed due to the fact that weTodd C. Miller
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@
2002-11-29tcpdump support for pfsync; henning@ okMichael Shalayeff
2002-08-26must yyrestart after longjmp; moritz@jodeit.orgTheo de Raadt
2002-08-12Swap args to calloc(3) so they are in the correct order; art@ ok.Aaron Campbell
2002-07-09more error checking of memory allocation, from clodder@acm.org. okay deraadt@Niels Provos
2002-05-01under lying -> underlyingTodd C. Miller
2002-05-01o) start new sentence on a new line;Mike Pechkin
o) always close .Bl tags; o) fix usage of .Xr; millert@ ok
2002-03-23language extensions for PF logs. can specify direction, interface, ruleMike Frantzen
number, reason and action. fix the ipv4/ipv6 distinction while I'm here.
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-01-17add pcap_inject back into the header fileEric Jackson
2001-12-17fix memory leak associated with compiled BPF program, sync'd from ↵Dug Song
tcpdump.org. ok itojun@
2001-12-06A FILE * is not a file name, dammit.Todd C. Miller
2001-11-22Broken use of .IMPSRC in non-inference rule contextMarc Espie
2001-10-02change timeval to bpf_timeval; 32 bit in size, permitting much greater ↵Theo de Raadt
portability
2001-07-06#include string.h to get memset() prototypeTodd C. Miller
2001-06-25DLT_PFLOGNiels Provos
2000-12-06use __x__ formats for __attribute__ arguments; guenther@gac.eduTheo de Raadt
2000-06-29remove legacy over-general :{B} match for MAC addresses, fixing filters like ↵Dug Song
'arp[6:2] = 2'. ok angelos@
2000-04-27s/PCAP_ERRBUFF_SIZE/PCAP_ERRBUF_SIZE/ (sync with reality)Jun-ichiro itojun Hagino