Home | History | Annotate | Download | only in net
History log of /src/sys/dist/pf/net/pf_norm.c
RevisionDateAuthorComments
 1.30  07-Aug-2023  mrg fix indentation issues.

found by GCC 12.
 1.29  08-Mar-2021  christos Adjust for fewer args in calling functions
 1.28  13-Apr-2015  riastradh branches: 1.28.30;
<sys/rnd.h> not needed for pf_norm.c.
 1.27  20-Oct-2013  christos branches: 1.27.6;
fix compiler warnings
 1.26  28-Nov-2011  tls branches: 1.26.8; 1.26.12;
Remove arc4random() and arc4randbytes() from the kernel API. Replace
arc4random() hacks in rump with stubs that call the host arc4random() to
get numbers that are hopefully actually random (arc4random() keyed with
stack junk is not). This should fix some of the currently failing anita
tests -- we should no longer generate duplicate "random" MAC addresses in
the test environment.
 1.25  29-Aug-2011  jmcneill branches: 1.25.2;
build pf module with WARNS=3, and remove the need for -Wno-shadow
 1.24  01-Jul-2011  mrg fix an uninitialised variable problem. large-ish function, but i
couldn't see how GCC 4.5 isn't wrong about this one.
 1.23  05-Nov-2010  rmind ip_randomid: make mechanism MP-safe and more modular.

OK matt@
 1.22  12-Apr-2010  ahoka - Make the pf and pflog driver able to detach.
- Add code for module support.

Original patch from Jared McNeill
 1.21  28-Jul-2009  minskim branches: 1.21.2; 1.21.4;
Remove LKM code from pf.
 1.20  11-Jan-2009  cegger make this compile
 1.19  18-Jun-2008  yamt branches: 1.19.4;
merge yamt-pf42 branch.
(import newer pf from OpenBSD 4.2)

ok'ed by peter@. requested by core@
 1.18  07-Feb-2008  matt branches: 1.18.6; 1.18.8; 1.18.10; 1.18.12; 1.18.14;
Pass 0 to ip_randomid since we don't know the salt.
 1.17  11-Dec-2007  lukem use __KERNEL_RCSID()
 1.16  12-Mar-2007  ad branches: 1.16.14; 1.16.20; 1.16.22; 1.16.24; 1.16.26;
Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
the pool's lock.
 1.15  16-Nov-2006  christos branches: 1.15.4; 1.15.8;
__unused removal on arguments; approved by core.
 1.14  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.13  11-May-2006  mrg branches: 1.13.8; 1.13.10;
caddr_t -> u_char *, to match the variable type
 1.12  08-Mar-2006  lukem branches: 1.12.2;
Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
Add a space between numbers and Hz unit.
 1.11  25-Jan-2006  peter branches: 1.11.2; 1.11.4; 1.11.6; 1.11.8;
apply a fix from OpenBSD:

> revision 1.104
> date: 2006/01/18 22:03:21; author: dhartmei; state: Exp; lines: +2 -2
> fix a bug in the fragment cache (used for 'scrub fragment crop/drop-ovl',
> but not 'fragment reassemble'), which can cause some fragments to get
> inserted into the cache twice, thereby violating an invariant, and panic-
> ing the system subsequently. ok deraadt@
 1.10  11-Dec-2005  christos branches: 1.10.2;
merge ktrace-lwp.
 1.9  01-Jul-2005  peter branches: 1.9.2;
Resolve conflicts (pf from OpenBSD 3.7, kernel part).
 1.8  08-Jun-2005  yamt pf_reassemble: clear stale csum_flags.
 1.7  04-Dec-2004  peter branches: 1.7.10;
Improve the cleanup routines for detachment. Fixes PR 28132.

Reviewed by yamt.
 1.6  14-Nov-2004  yamt resolve conflicts. (pf from OpenBSD 3.6, kernel part)
 1.5  13-Nov-2004  yamt backout whitespace changes to make further import easier.
 1.4  08-Sep-2004  yamt remove no longer needed caddr_t casts to reduce diffs from openbsd.
 1.3  29-Jun-2004  itojun branches: 1.3.2;
make PF lkm working. from Peter Postma and Joel Wilsson.

remove pf_ioctl_head/pf_newif_head, which was never used.
 1.2  22-Jun-2004  itojun PF from openbsd 3.5. missing features:
- pfsync (due to protocol # assignment issues)
- carp (not really a PF portion, but thought important to mention)
- PF and ALTQ are mutually-exclusive. this will be sorted out when
kjc@csl.sony.co.jp updates ALTQ and PF (and API inbetween)

reviewed by matt, christos, perry

torture-test is very welcomed.
 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 (kernel part).
 1.1.1.2  14-Nov-2004  yamt import pf from OpenBSD 3.6. (kernel part)
 1.1.1.1  22-Jun-2004  itojun PF from OpenBSD 3.5
 1.3.2.7  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.3.2.6  18-Dec-2004  skrll Sync with HEAD.
 1.3.2.5  29-Nov-2004  skrll Sync with HEAD.
 1.3.2.4  21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.2.3  18-Sep-2004  skrll Sync with HEAD.
 1.3.2.2  03-Aug-2004  skrll Sync with HEAD
 1.3.2.1  29-Jun-2004  skrll file pf_norm.c was added on branch ktrace-lwp on 2004-08-03 10:52:23 +0000
 1.7.10.2  28-Jan-2006  tron Pull up following revision(s) (requested by peter in ticket #1139):
sys/dist/pf/net/pf_norm.c: revision 1.11
apply a fix from OpenBSD:
revision 1.104
date: 2006/01/18 22:03:21; author: dhartmei; state: Exp; lines: +2 -2
fix a bug in the fragment cache (used for 'scrub fragment crop/drop-ovl',
but not 'fragment reassemble'), which can cause some fragments to get
inserted into the cache twice, thereby violating an invariant, and panic-
ing the system subsequently. ok deraadt@
 1.7.10.1  17-Jun-2005  tron branches: 1.7.10.1.2;
Pull up revision 1.8 (requested by yamt in ticket #469):
pf_reassemble: clear stale csum_flags.
 1.7.10.1.2.1  28-Jan-2006  tron Pull up following revision(s) (requested by peter in ticket #1139):
sys/dist/pf/net/pf_norm.c: revision 1.11
apply a fix from OpenBSD:
revision 1.104
date: 2006/01/18 22:03:21; author: dhartmei; state: Exp; lines: +2 -2
fix a bug in the fragment cache (used for 'scrub fragment crop/drop-ovl',
but not 'fragment reassemble'), which can cause some fragments to get
inserted into the cache twice, thereby violating an invariant, and panic-
ing the system subsequently. ok deraadt@
 1.9.2.5  11-Feb-2008  yamt sync with head.
 1.9.2.4  21-Jan-2008  yamt sync with head
 1.9.2.3  03-Sep-2007  yamt sync with head.
 1.9.2.2  30-Dec-2006  yamt sync with head.
 1.9.2.1  21-Jun-2006  yamt sync with head.
 1.10.2.1  01-Feb-2006  yamt sync with head.
 1.11.8.2  11-May-2006  elad sync with head
 1.11.8.1  19-Apr-2006  elad sync with head.
 1.11.6.2  24-May-2006  yamt sync with head.
 1.11.6.1  13-Mar-2006  yamt sync with head.
 1.11.4.2  01-Jun-2006  kardel Sync with head.
 1.11.4.1  22-Apr-2006  simonb Sync with head.
 1.11.2.1  09-Sep-2006  rpaulo sync with head
 1.12.2.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.13.10.2  10-Dec-2006  yamt sync with head.
 1.13.10.1  22-Oct-2006  yamt sync with head
 1.13.8.1  18-Nov-2006  ad Sync with head.
 1.15.8.1  13-Mar-2007  ad Sync with head.
 1.15.4.1  24-Mar-2007  yamt sync with head.
 1.16.26.1  13-Dec-2007  bouyer Sync with HEAD
 1.16.24.1  11-Dec-2007  yamt sync with head.
 1.16.22.1  26-Dec-2007  ad Sync with head.
 1.16.20.1  18-Feb-2008  mjf Sync with HEAD.
 1.16.14.2  23-Mar-2008  matt sync with HEAD
 1.16.14.1  09-Jan-2008  matt sync with HEAD
 1.18.14.1  18-Jun-2008  simonb Sync with head.
 1.18.12.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.18.10.3  11-Aug-2010  yamt sync with head.
 1.18.10.2  19-Aug-2009  yamt sync with head.
 1.18.10.1  04-May-2009  yamt sync with head.
 1.18.8.2  23-Apr-2008  peter Putting bpfilter.h/pf.h/pflog.h under _KERNEL_OPT was a mistake, revert this.
 1.18.8.1  19-Apr-2008  yamt Peter Postma's work-in-progress pf import from OpenBSD 4.2.
updated to -current by me.
 1.18.6.2  17-Jan-2009  mjf Sync with HEAD.
 1.18.6.1  29-Jun-2008  mjf Sync with HEAD.
 1.19.4.1  19-Jan-2009  skrll Sync with HEAD.
 1.21.4.2  05-Mar-2011  rmind sync with head
 1.21.4.1  30-May-2010  rmind sync with head
 1.21.2.2  06-Nov-2010  uebayasi Sync with HEAD.
 1.21.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.25.2.2  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.25.2.1  17-Apr-2012  yamt sync with head
 1.26.12.1  18-May-2014  rmind sync with head
 1.26.8.2  03-Dec-2017  jdolecek update from HEAD
 1.26.8.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.27.6.1  06-Jun-2015  skrll Sync with HEAD
 1.28.30.1  03-Apr-2021  thorpej Sync with HEAD.

RSS XML Feed