Home | History | Annotate | only in /src/dist/pf/sbin/pfctl
History log of /src/dist/pf/sbin/pfctl
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.3 01-Dec-2009  martti Import PF from OpenBSD 4.2
 1.1.1.2 14-Nov-2004  yamt branches: 1.1.1.2.26; 1.1.1.2.28;
import pf from OpenBSD 3.6. (userland part)
 1.1.1.1 22-Jun-2004  itojun PF from openbsd 3.5
 1.1.1.2.28.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.1.1.2.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.12 16-Jun-2009  minskim Reduce diff with OpenBSD. No functional change.
 1.11 18-Jun-2008  yamt merge yamt-pf42 branch.
(import newer pf from OpenBSD 4.2)

ok'ed by peter@. requested by core@
 1.10 15-May-2008  dyoung Note NSF support.
 1.9 20-Feb-2008  matt branches: 1.9.4; 1.9.6;
infile is const char *, not char *
 1.8 10-May-2007  dyoung branches: 1.8.4;
pfctl: extend pf.conf(5) syntax. Let the operator supply an optional
"state lock" flag (if-bound, gr-bound, floating) at the end of a
NAT rule. The new syntax is backwards-compatbile with the old
syntax.

PF (kernel): change the macro BOUND_IFACE() to the inline function
bound_iface(), and add a new argument, the applicable NAT rule.
Use both the flags on the applicable filter rule and on the applicable
NAT rule to decide whether or not to bind a state to the interface
or the group where it is created.
 1.7 27-Sep-2006  christos Coverity CID 3498: Don't return after yyerror(); cleanup first.
 1.6 01-Jul-2005  peter Resolve conflicts (pf from OpenBSD 3.7, userland part).
 1.5 14-Nov-2004  yamt merge after importing pf from openbsd 3.6. (userland part)

some files were imported to the different places from the previous version.
v3_5:
etc/pf.conf
etc/pf.os
etc/spamd.conf
share/man/man4/pf.4
share/man/man4/pflog.4
share/man/man5/pf.conf.5
share/man/man5/pf.os.5
share/man/man5/spamd.conf.5
v3_6:
dist/pf/etc/pf.conf
dist/pf/etc/pf.os
dist/pf/etc/spamd.conf
dist/pf/share/man/man4/pf.4
dist/pf/share/man/man4/pflog.4
dist/pf/share/man/man5/pf.conf.5
dist/pf/share/man/man5/pf.os.5
dist/pf/share/man/man5/spamd.conf.5
 1.4 29-Oct-2004  dsl Add (unsigned char) cast to ctype functions
 1.3 23-Jun-2004  itojun escape from old-ALTQ and new-ALTQ difference
 1.2 22-Jun-2004  itojun PF from openbsd 3.5
massage pfctl to compile/run on netbsd. put reachover makefile for pfctl
into src/sbin.
reviewed by matt, perry, christos
 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.8.4.1 23-Mar-2008  matt sync with HEAD
 1.9.6.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.9.4.2 18-May-2008  yamt sync with head.
 1.9.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.4 18-Jun-2008  yamt 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 22-Jun-2004  itojun PF from openbsd 3.5
massage pfctl to compile/run on netbsd. put reachover makefile for pfctl
into src/sbin.
reviewed by matt, perry, christos
 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.2 04-Jun-2008  joerg Add some explicit casts to make it build on AMD64.
 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.9 22-Mar-2009  perry add missing commas to .Dd fix, pointed out by wiz
 1.8 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.7 18-Jun-2008  yamt branches: 1.7.6;
merge yamt-pf42 branch.
(import newer pf from OpenBSD 4.2)

ok'ed by peter@. requested by core@
 1.6 07-Aug-2005  peter branches: 1.6.20; 1.6.22;
Fix a few Xrefs.
 1.5 01-Jul-2005  peter Resolve conflicts (pf from OpenBSD 3.7, userland part).
 1.4 14-Nov-2004  yamt branches: 1.4.2;
merge after importing pf from openbsd 3.6. (userland part)

some files were imported to the different places from the previous version.
v3_5:
etc/pf.conf
etc/pf.os
etc/spamd.conf
share/man/man4/pf.4
share/man/man4/pflog.4
share/man/man5/pf.conf.5
share/man/man5/pf.os.5
share/man/man5/spamd.conf.5
v3_6:
dist/pf/etc/pf.conf
dist/pf/etc/pf.os
dist/pf/etc/spamd.conf
dist/pf/share/man/man4/pf.4
dist/pf/share/man/man4/pflog.4
dist/pf/share/man/man5/pf.conf.5
dist/pf/share/man/man5/pf.os.5
dist/pf/share/man/man5/spamd.conf.5
 1.3 25-Jun-2004  wiz Add RCS Id.
 1.2 25-Jun-2004  wiz \*[Lt]\*[Gt] instead of "<>". Use ftp.NetBSD.org as example host.
 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.2.1 15-Aug-2005  tron Pull up revision 1.6 (requested by peter in ticket #659):
Fix a few Xrefs.
 1.6.22.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.6.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.7.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 22-Apr-2020  joerg Externalize variables owned logically by pf_ruleset.c
 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 01-Jul-2005  peter branches: 1.4.20; 1.4.22;
Resolve conflicts (pf from OpenBSD 3.7, userland part).
 1.3 14-Nov-2004  yamt merge after importing pf from openbsd 3.6. (userland part)

some files were imported to the different places from the previous version.
v3_5:
etc/pf.conf
etc/pf.os
etc/spamd.conf
share/man/man4/pf.4
share/man/man4/pflog.4
share/man/man5/pf.conf.5
share/man/man5/pf.os.5
share/man/man5/spamd.conf.5
v3_6:
dist/pf/etc/pf.conf
dist/pf/etc/pf.os
dist/pf/etc/spamd.conf
dist/pf/share/man/man4/pf.4
dist/pf/share/man/man4/pflog.4
dist/pf/share/man/man5/pf.conf.5
dist/pf/share/man/man5/pf.os.5
dist/pf/share/man/man5/spamd.conf.5
 1.2 22-Jun-2004  itojun PF from openbsd 3.5
massage pfctl to compile/run on netbsd. put reachover makefile for pfctl
into src/sbin.
reviewed by matt, perry, christos
 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.22.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.4.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.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 01-Jul-2005  peter branches: 1.4.20; 1.4.22;
Resolve conflicts (pf from OpenBSD 3.7, userland part).
 1.3 14-Nov-2004  yamt merge after importing pf from openbsd 3.6. (userland part)

some files were imported to the different places from the previous version.
v3_5:
etc/pf.conf
etc/pf.os
etc/spamd.conf
share/man/man4/pf.4
share/man/man4/pflog.4
share/man/man5/pf.conf.5
share/man/man5/pf.os.5
share/man/man5/spamd.conf.5
v3_6:
dist/pf/etc/pf.conf
dist/pf/etc/pf.os
dist/pf/etc/spamd.conf
dist/pf/share/man/man4/pf.4
dist/pf/share/man/man4/pflog.4
dist/pf/share/man/man5/pf.conf.5
dist/pf/share/man/man5/pf.os.5
dist/pf/share/man/man5/spamd.conf.5
 1.2 22-Jun-2004  itojun PF from openbsd 3.5
massage pfctl to compile/run on netbsd. put reachover makefile for pfctl
into src/sbin.
reviewed by matt, perry, christos
 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.22.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.4.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.11 24-Jul-2021  andvar Fix all remaining typos, mainly in comments but also in few definitions and log messages, reported by me in PR kern/54889.
Also fixed some additional typos in comments, found on review of same files or typos.
 1.10 04-Feb-2018  mrg fix two issues found by GCC 6.4:
- cbq_compute_idletime() had a fprintf() not in the intended missing {}.
- skip_cmp_dst_addr() compared a vs a instead of a vs b.
 1.9 01-Mar-2010  joerg Use HUGE_VAL instead of INFINITY as positive infinity (or maximum value)
is good enough and the side effects of ISO C99 7.12 (4) are not desired.
 1.8 18-Jun-2008  yamt branches: 1.8.4; 1.8.10;
merge yamt-pf42 branch.
(import newer pf from OpenBSD 4.2)

ok'ed by peter@. requested by core@
 1.7 12-Oct-2006  peter branches: 1.7.16; 1.7.18;
Merge the peter-altq branch.

(sync with KAME & add support for using ALTQ with pf(4)).
 1.6 21-Mar-2006  christos Coverity CID 577: remove dead code; minburst can never be 0 at this point.
 1.5 01-Jul-2005  peter branches: 1.5.2;
Resolve conflicts (pf from OpenBSD 3.7, userland part).
 1.4 14-Nov-2004  yamt merge after importing pf from openbsd 3.6. (userland part)

some files were imported to the different places from the previous version.
v3_5:
etc/pf.conf
etc/pf.os
etc/spamd.conf
share/man/man4/pf.4
share/man/man4/pflog.4
share/man/man5/pf.conf.5
share/man/man5/pf.os.5
share/man/man5/spamd.conf.5
v3_6:
dist/pf/etc/pf.conf
dist/pf/etc/pf.os
dist/pf/etc/spamd.conf
dist/pf/share/man/man4/pf.4
dist/pf/share/man/man4/pflog.4
dist/pf/share/man/man5/pf.conf.5
dist/pf/share/man/man5/pf.os.5
dist/pf/share/man/man5/spamd.conf.5
 1.3 23-Jun-2004  itojun escape from old-ALTQ and new-ALTQ difference
 1.2 22-Jun-2004  itojun PF from openbsd 3.5
massage pfctl to compile/run on netbsd. put reachover makefile for pfctl
into src/sbin.
reviewed by matt, perry, christos
 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.5.2.2 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.5.2.1 18-Mar-2006  peter Fix a small difference: ioctl SIOCGIFDATA takes a different struct on NetBSD.
 1.7.18.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.7.16.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.10.1 21-Apr-2010  matt sync to netbsd-5
 1.8.4.1 06-Mar-2010  sborrill Pull up the following revisions(s) (requested by joerg in ticket #1328):
usr.sbin/altq/libaltq/qop_hfsc.c: revision 1.9
dist/pf/sbin/pfctl/pfctl_altq.c: revision 1.9
gnu/dist/binutils/libiberty/floatformat.c: patch
gnu/dist/gcc4/libiberty/floatformat.c: revision 1.2
gnu/dist/gdb6/libiberty/floatformat.c: revision 1.2

Fix standard-violating use of INFINITY in build of NetBSD/vax.
Use HUGE_VAL instead of INFINITY as positive infinity (or maximum value)
is good enough and the side effects of ISO C99 7.12 (4) are not desired.
 1.8 04-Feb-2018  mrg fix two issues found by GCC 6.4:
- cbq_compute_idletime() had a fprintf() not in the intended missing {}.
- skip_cmp_dst_addr() compared a vs a instead of a vs b.
 1.7 30-May-2016  dholland PR 50709 David Binderman: memory leak
 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 01-Jul-2005  peter branches: 1.5.20; 1.5.22;
Resolve conflicts (pf from OpenBSD 3.7, userland part).
 1.4 02-Jun-2005  lukem appease gcc -Wuninitialized
 1.3 19-Dec-2004  yamt a bug fix from OPENBSD_3_6.

> revision 1.2.2.1
> date: 2004/12/17 02:51:35; author: brad; state: Exp; lines: +2 -2
> MFC:
> Fix by frantzen@
>
> &&/|| inversion would try to merge IP addresses with non-addresses into a
> single table causing a ruleset load error and eventually a double-free.
>
> ok deraadt@ mcbride@ henning@ frantzen@ dhartmei@
 1.2 14-Nov-2004  yamt merge after importing pf from openbsd 3.6. (userland part)

some files were imported to the different places from the previous version.
v3_5:
etc/pf.conf
etc/pf.os
etc/spamd.conf
share/man/man4/pf.4
share/man/man4/pflog.4
share/man/man5/pf.conf.5
share/man/man5/pf.os.5
share/man/man5/spamd.conf.5
v3_6:
dist/pf/etc/pf.conf
dist/pf/etc/pf.os
dist/pf/etc/spamd.conf
dist/pf/share/man/man4/pf.4
dist/pf/share/man/man4/pflog.4
dist/pf/share/man/man5/pf.conf.5
dist/pf/share/man/man5/pf.os.5
dist/pf/share/man/man5/spamd.conf.5
 1.1 14-Nov-2004  yamt 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 14-Nov-2004  yamt import pf from OpenBSD 3.6. (userland part)
 1.5.22.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.5.20.2 26-Apr-2008  peter - Comment out more of the interface groups code.
- Reduce diff with openbsd.
 1.5.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.8 03-Feb-2019  mrg - enlarge buffer to avoid snprintf() truncation
 1.7 18-Jun-2008  yamt branches: 1.7.62;
merge yamt-pf42 branch.
(import newer pf from OpenBSD 4.2)

ok'ed by peter@. requested by core@
 1.6 21-Mar-2006  christos branches: 1.6.18; 1.6.20;
Coverity CID 2057: Don't forget to free tcpopts when you are done.
 1.5 01-Jul-2005  peter branches: 1.5.2;
Resolve conflicts (pf from OpenBSD 3.7, userland part).
 1.4 14-Nov-2004  yamt merge after importing pf from openbsd 3.6. (userland part)

some files were imported to the different places from the previous version.
v3_5:
etc/pf.conf
etc/pf.os
etc/spamd.conf
share/man/man4/pf.4
share/man/man4/pflog.4
share/man/man5/pf.conf.5
share/man/man5/pf.os.5
share/man/man5/spamd.conf.5
v3_6:
dist/pf/etc/pf.conf
dist/pf/etc/pf.os
dist/pf/etc/spamd.conf
dist/pf/share/man/man4/pf.4
dist/pf/share/man/man4/pflog.4
dist/pf/share/man/man5/pf.conf.5
dist/pf/share/man/man5/pf.os.5
dist/pf/share/man/man5/spamd.conf.5
 1.3 29-Oct-2004  dsl Add (unsigned char) cast to ctype functions
 1.2 22-Jun-2004  itojun PF from openbsd 3.5
massage pfctl to compile/run on netbsd. put reachover makefile for pfctl
into src/sbin.
reviewed by matt, perry, christos
 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.5.2.1 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.6.20.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.6.18.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.62.1 10-Jun-2019  christos Sync with HEAD
 1.11 17-Oct-2011  mbalmer There is no doubt whether whether should have a 'h' after the 'w'.
 1.10 18-Jun-2008  yamt merge yamt-pf42 branch.
(import newer pf from OpenBSD 4.2)

ok'ed by peter@. requested by core@
 1.9 03-Jul-2006  peter branches: 1.9.18; 1.9.20;
Revert previous and fix properly.
- The array must be NULL terminated because other code depends on it.
- Use this terminator to check if we're at the end of the array instead
of doing sizeof(pf_timeouts) / sizeof(pf_timeouts[0]).
 1.8 21-Mar-2006  christos Coverity CID 1514: Don't access static array beyond the end of it.
In this case PFTM_MAX == 20 and sizeof(pf_timeouts) / sizeof(pf_timeouts[0])
== 21, using a loop with the size of the array and checking for reaching the
end of the loop via j == PFTM_MAX does not work. Change the loop to use
PFTM_MAX as the upper bound and add an assertion in the code to make sure
that pf_timeouts is large enough. Finally remove last NULL element of the
array so that the array has 20 elements again.
 1.7 01-Jul-2005  peter branches: 1.7.2;
Resolve conflicts (pf from OpenBSD 3.7, userland part).
 1.6 21-Nov-2004  peter Apply a patch from the OPENBSD_3_6 branch, ok itojun.

MFC:
Fix by dhartmei@

do not assume entries in pf_timeouts[] are ordererd like PFTM_* in pfvar.h
reported by Alexey E. Suslikov
 1.5 14-Nov-2004  yamt merge after importing pf from openbsd 3.6. (userland part)

some files were imported to the different places from the previous version.
v3_5:
etc/pf.conf
etc/pf.os
etc/spamd.conf
share/man/man4/pf.4
share/man/man4/pflog.4
share/man/man5/pf.conf.5
share/man/man5/pf.os.5
share/man/man5/spamd.conf.5
v3_6:
dist/pf/etc/pf.conf
dist/pf/etc/pf.os
dist/pf/etc/spamd.conf
dist/pf/share/man/man4/pf.4
dist/pf/share/man/man4/pflog.4
dist/pf/share/man/man5/pf.conf.5
dist/pf/share/man/man5/pf.os.5
dist/pf/share/man/man5/spamd.conf.5
 1.4 29-Oct-2004  dsl Add (unsigned char) cast to ctype functions
 1.3 24-Jun-2004  hannken Resolve printf arg/type conflict on sparc64.

Fix PR #26030 and part of #26012
 1.2 22-Jun-2004  itojun PF from openbsd 3.5
massage pfctl to compile/run on netbsd. put reachover makefile for pfctl
into src/sbin.
reviewed by matt, perry, christos
 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.7.2.2 25-Sep-2006  peter sync with head.
 1.7.2.1 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.9.20.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.9.18.3 04-Jun-2008  joerg Add some explicit casts to make it build on AMD64.
 1.9.18.2 26-Apr-2008  peter - Comment out more of the interface groups code.
- Reduce diff with openbsd.
 1.9.18.1 19-Apr-2008  yamt Peter Postma's work-in-progress pf import from OpenBSD 4.2.
updated to NetBSD-current by me.
 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 01-Jul-2005  peter branches: 1.4.20; 1.4.22;
Resolve conflicts (pf from OpenBSD 3.7, userland part).
 1.3 14-Nov-2004  yamt merge after importing pf from openbsd 3.6. (userland part)

some files were imported to the different places from the previous version.
v3_5:
etc/pf.conf
etc/pf.os
etc/spamd.conf
share/man/man4/pf.4
share/man/man4/pflog.4
share/man/man5/pf.conf.5
share/man/man5/pf.os.5
share/man/man5/spamd.conf.5
v3_6:
dist/pf/etc/pf.conf
dist/pf/etc/pf.os
dist/pf/etc/spamd.conf
dist/pf/share/man/man4/pf.4
dist/pf/share/man/man4/pflog.4
dist/pf/share/man/man5/pf.conf.5
dist/pf/share/man/man5/pf.os.5
dist/pf/share/man/man5/spamd.conf.5
 1.2 22-Jun-2004  itojun PF from openbsd 3.5
massage pfctl to compile/run on netbsd. put reachover makefile for pfctl
into src/sbin.
reviewed by matt, perry, christos
 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.22.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.4.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.5 12-Oct-2006  peter branches: 1.5.16;
Merge the peter-altq branch.

(sync with KAME & add support for using ALTQ with pf(4)).
 1.4 14-Nov-2004  yamt branches: 1.4.6;
merge after importing pf from openbsd 3.6. (userland part)

some files were imported to the different places from the previous version.
v3_5:
etc/pf.conf
etc/pf.os
etc/spamd.conf
share/man/man4/pf.4
share/man/man4/pflog.4
share/man/man5/pf.conf.5
share/man/man5/pf.os.5
share/man/man5/spamd.conf.5
v3_6:
dist/pf/etc/pf.conf
dist/pf/etc/pf.os
dist/pf/etc/spamd.conf
dist/pf/share/man/man4/pf.4
dist/pf/share/man/man4/pflog.4
dist/pf/share/man/man5/pf.conf.5
dist/pf/share/man/man5/pf.os.5
dist/pf/share/man/man5/spamd.conf.5
 1.3 23-Jun-2004  itojun escape from old-ALTQ and new-ALTQ difference
 1.2 22-Jun-2004  itojun PF from openbsd 3.5
massage pfctl to compile/run on netbsd. put reachover makefile for pfctl
into src/sbin.
reviewed by matt, perry, christos
 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.4.6.1 15-Jul-2006  peter Remove #ifdef __OpenBSD__ to enable stats.
 1.5.16.1 19-Apr-2008  yamt Peter Postma's work-in-progress pf import from OpenBSD 4.2.
updated to NetBSD-current by me.
 1.6 01-Aug-2023  mrg fix simple mis-matched function prototype and definitions.

most of these are like, eg

void foo(int[2]);

with either of these

void foo(int*) { ... }
void foo(int[]) { ... }

in some cases (such as stat or utimes* calls found in our header files),
we now match standard definition from opengroup.

found by GCC 12.
 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 14-Nov-2004  yamt branches: 1.4.26; 1.4.28;
merge after importing pf from openbsd 3.6. (userland part)

some files were imported to the different places from the previous version.
v3_5:
etc/pf.conf
etc/pf.os
etc/spamd.conf
share/man/man4/pf.4
share/man/man4/pflog.4
share/man/man5/pf.conf.5
share/man/man5/pf.os.5
share/man/man5/spamd.conf.5
v3_6:
dist/pf/etc/pf.conf
dist/pf/etc/pf.os
dist/pf/etc/spamd.conf
dist/pf/share/man/man4/pf.4
dist/pf/share/man/man4/pflog.4
dist/pf/share/man/man5/pf.conf.5
dist/pf/share/man/man5/pf.os.5
dist/pf/share/man/man5/spamd.conf.5
 1.3 29-Oct-2004  dsl Add (unsigned char) cast to ctype functions
 1.2 22-Jun-2004  itojun PF from openbsd 3.5
massage pfctl to compile/run on netbsd. put reachover makefile for pfctl
into src/sbin.
reviewed by matt, perry, christos
 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.4.28.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.4.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.7 18-Jun-2008  yamt merge yamt-pf42 branch.
(import newer pf from OpenBSD 4.2)

ok'ed by peter@. requested by core@
 1.6 01-Jul-2005  peter branches: 1.6.20; 1.6.22;
Resolve conflicts (pf from OpenBSD 3.7, userland part).
 1.5 02-Jun-2005  lukem appease gcc -Wuninitialized
 1.4 14-Nov-2004  yamt merge after importing pf from openbsd 3.6. (userland part)

some files were imported to the different places from the previous version.
v3_5:
etc/pf.conf
etc/pf.os
etc/spamd.conf
share/man/man4/pf.4
share/man/man4/pflog.4
share/man/man5/pf.conf.5
share/man/man5/pf.os.5
share/man/man5/spamd.conf.5
v3_6:
dist/pf/etc/pf.conf
dist/pf/etc/pf.os
dist/pf/etc/spamd.conf
dist/pf/share/man/man4/pf.4
dist/pf/share/man/man4/pflog.4
dist/pf/share/man/man5/pf.conf.5
dist/pf/share/man/man5/pf.os.5
dist/pf/share/man/man5/spamd.conf.5
 1.3 29-Oct-2004  dsl Add (unsigned char) cast to ctype functions
 1.2 22-Jun-2004  itojun PF from openbsd 3.5
massage pfctl to compile/run on netbsd. put reachover makefile for pfctl
into src/sbin.
reviewed by matt, perry, christos
 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.6.22.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.6.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