Home | History | Annotate | only in /src/dist/pf/sbin/pflogd
History log of /src/dist/pf/sbin/pflogd
RevisionDateAuthorComments
 1.2 18-Jun-2008  yamt merge yamt-pf42 branch.
(import newer pf from OpenBSD 4.2)

ok'ed by peter@. requested by core@
 1.1 22-Jun-2004  itojun branches: 1.1.1;
Initial revision
 1.1.1.2 01-Dec-2009  martti Import PF from OpenBSD 4.2
 1.1.1.1 22-Jun-2004  itojun branches: 1.1.1.1.26; 1.1.1.1.28;
PF from openbsd 3.5
 1.1.1.1.28.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.1.1.1.26.1 19-Apr-2008  yamt Peter Postma's work-in-progress pf import from OpenBSD 4.2.
updated to NetBSD-current by me.
 1.9 07-Aug-2018  sevan Escape Dx which otherwise gets interpreted as DragonFly.
via r1.49 in OpenBSD.
 1.8 18-Mar-2014  riastradh branches: 1.8.24; 1.8.26;
Merge riastradh-drm2 to HEAD.
 1.7 20-Jul-2013  wiz Use Mt for email addresses.
 1.6 22-Mar-2009  perry branches: 1.6.6; 1.6.12; 1.6.16;
add missing commas to .Dd fix, pointed out by wiz
 1.5 21-Mar-2009  perry OpenBSD uses a custom CVS hack to handle Dd fields ($Mdocdate$) which
we don't have. Replace ".Dd $Mdocdate" with ".Dd Month Day Year" so
that the date comes out right when man pages get built. This will
doubtless need hand conflict resolution whenever these pages are
re-imported.

Note that it would be interesting to have some similar facility for
NetBSD, but I don't think a custom rcs keyword is the right thing --
maybe we can teach groff to parse $Date$
 1.4 18-Jun-2008  yamt branches: 1.4.6;
merge yamt-pf42 branch.
(import newer pf from OpenBSD 4.2)

ok'ed by peter@. requested by core@
 1.3 01-Jul-2005  peter branches: 1.3.20; 1.3.22;
Resolve conflicts (pf from OpenBSD 3.7, userland part).
 1.2 25-Jun-2004  wiz Add RCS Id.
 1.1 22-Jun-2004  itojun branches: 1.1.1;
Initial revision
 1.1.1.3 01-Dec-2009  martti Import PF from OpenBSD 4.2
 1.1.1.2 01-Jul-2005  peter Import pf from OpenBSD 3.7 (userland part).
 1.1.1.1 22-Jun-2004  itojun PF from openbsd 3.5
 1.3.22.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.3.20.1 19-Apr-2008  yamt Peter Postma's work-in-progress pf import from OpenBSD 4.2.
updated to NetBSD-current by me.
 1.4.6.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.6.16.1 23-Jul-2013  riastradh sync with HEAD
 1.6.12.1 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.8.26.1 10-Jun-2019  christos Sync with HEAD
 1.8.24.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 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
 1.5 29-Feb-2012  joerg Fix format string usage.
 1.4 18-Jun-2008  yamt branches: 1.4.2; 1.4.20;
merge yamt-pf42 branch.
(import newer pf from OpenBSD 4.2)

ok'ed by peter@. requested by core@
 1.3 01-Jul-2005  peter branches: 1.3.20; 1.3.22;
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.2 01-Dec-2009  martti Import PF from OpenBSD 4.2
 1.1.1.1 22-Jun-2004  itojun PF from openbsd 3.5
 1.3.22.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.3.20.1 19-Apr-2008  yamt Peter Postma's work-in-progress pf import from OpenBSD 4.2.
updated to NetBSD-current by me.
 1.4.20.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.4.2.1 17-Apr-2012  yamt sync with head
 1.8 03-Feb-2019  mrg - enlarge buffer to avoid snprintf() truncation
 1.7 13-Dec-2010  christos branches: 1.7.48;
warns=4
 1.6 18-Jun-2008  yamt merge yamt-pf42 branch.
(import newer pf from OpenBSD 4.2)

ok'ed by peter@. requested by core@
 1.5 20-Feb-2008  matt branches: 1.5.4; 1.5.6;
errbuf is [], not *.
 1.4 28-May-2007  tls branches: 1.4.4;
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.4.1 23-Mar-2008  matt sync with HEAD
 1.5.6.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.5.4.1 19-Apr-2008  yamt Peter Postma's work-in-progress pf import from OpenBSD 4.2.
updated to NetBSD-current by me.
 1.7.48.1 10-Jun-2019  christos Sync with HEAD
 1.2 01-Jul-2005  peter branches: 1.2.20;
Resolve conflicts (pf from OpenBSD 3.7, userland part).
 1.1 22-Jun-2004  itojun branches: 1.1.1;
Initial revision
 1.1.1.3 01-Dec-2009  martti Import PF from OpenBSD 4.2
 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.2.20.1 19-Apr-2008  yamt Peter Postma's work-in-progress pf import from OpenBSD 4.2.
updated to NetBSD-current by me.

RSS XML Feed