Home | History | Annotate | Download | only in pflogd
History log of /src/dist/pf/sbin/pflogd/pflogd.c
RevisionDateAuthorComments
 1.13  03-Sep-2024  rin pflogd: Work around fallout from libpcap 1.10.5

struct pcap_timeval and pcap_sf_pkthdr are no longer exposed. Add local
declarations as done for racoon/dump.c.

Note that pcap_timeval:tv_{,u}sec are converted to unsigned for 1.10.5,
without changing header magic number. These are already unsigned for
racoon/dump.c somehow...

XXX
There's no ATF/regress test for pf, and this patch is totally untested.
 1.12  19-Aug-2023  christos branches: 1.12.2;
Don't write random data to the header.
 1.11  19-Aug-2023  rjs pflogd: adapt to new libpcap API.
 1.10  28-Aug-2015  joerg Fix obviously broken condition.
 1.9  29-Feb-2012  joerg Fix format string usage.
 1.8  13-Dec-2010  christos branches: 1.8.6; 1.8.8;
warns=4
 1.7  07-Aug-2009  minskim Correct the #ifdef test for struct ifdatareq.
 1.6  15-Jul-2009  christos use the proper structure to get interface data. We depend on having the
NetBSD-specific ZIFDATA call to do the selection of the ioctl style.
From Patrick Welche.
 1.5  18-Jun-2008  yamt merge yamt-pf42 branch.
(import newer pf from OpenBSD 4.2)

ok'ed by peter@. requested by core@
 1.4  28-May-2007  tls branches: 1.4.10; 1.4.12;
Do not include internal header files from libpcap without setting the
feature-test macros they use. Really, of course, this code should not
include such header files at all.
 1.3  01-Jul-2005  peter Resolve conflicts (pf from OpenBSD 3.7, userland part).
 1.2  15-Mar-2005  peter Changes to build on NetBSD:

* #ifdef out some things we don't have or do differently.
* Write struct "pcap_sf_pkthdr" instead of "pcap_pkthdr".
Fixes an LP64 specific problem with reading the pflog with tcpdump(8).
(OpenBSD fixed this by changing the structs to always use 32-bit fields)

Reviewed by yamt@.
 1.1  22-Jun-2004  itojun branches: 1.1.1;
Initial revision
 1.1.1.4  01-Dec-2009  martti Import PF from OpenBSD 4.2
 1.1.1.3  01-Jul-2005  peter Import pf from OpenBSD 3.7 (userland part).
 1.1.1.2  14-Nov-2004  yamt import pf from OpenBSD 3.6. (userland part)
 1.1.1.1  22-Jun-2004  itojun PF from openbsd 3.5
 1.4.12.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.4.10.1  19-Apr-2008  yamt Peter Postma's work-in-progress pf import from OpenBSD 4.2.
updated to NetBSD-current by me.
 1.8.8.1  05-Mar-2012  sborrill Pull up the following revisions(s) (requested by joerg in ticket #75):
usr.sbin/cpuctl/arch/i386.c: revision 1.28
usr.bin/unifdef/unifdef.c: revision 1.21
usr.bin/ktruss/dump.c: revision 1.40
usr.bin/error/error.h: revision 1.19
usr.bin/error/touch.c: revision 1.27
libexec/httpd/dir-index-bozo.c: revision 1.14
games/dab/algor.cc: revision 1.5
games/dab/board.h: revision 1.4
dist/pf/sbin/pflogd/pflogd.c: revision 1.9
dist/pf/sbin/pflogd/pflogd.h: revision 1.5

Fix various format string mismatches
 1.8.6.1  17-Apr-2012  yamt sync with head
 1.12.2.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed