From owner-cvs-src@FreeBSD.ORG Wed Feb 25 18:34:13 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4814016A4CF; Wed, 25 Feb 2004 18:34:13 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 432CB43D1F; Wed, 25 Feb 2004 18:34:13 -0800 (PST) (envelope-from mlaier@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i1Q2YDGe014241; Wed, 25 Feb 2004 18:34:13 -0800 (PST) (envelope-from mlaier@repoman.freebsd.org) Received: (from mlaier@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i1Q2YDx1014240; Wed, 25 Feb 2004 18:34:13 -0800 (PST) (envelope-from mlaier) Message-Id: <200402260234.i1Q2YDx1014240@repoman.freebsd.org> From: Max Laier Date: Wed, 25 Feb 2004 18:34:13 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/contrib/pf/net if_pflog.c if_pflog.h if_pfsync.c if_pfsync.h pf.c pf_ioctl.c pf_norm.c pf_osfp.c pf_table.c pfvar.h src/sys/contrib/pf/netinet in4_cksum.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2004 02:34:13 -0000 mlaier 2004/02/25 18:34:12 PST FreeBSD src repository Modified files: sys/contrib/pf/net if_pflog.c if_pflog.h if_pfsync.c if_pfsync.h pf.c pf_ioctl.c pf_norm.c pf_osfp.c pf_table.c pfvar.h sys/contrib/pf/netinet in4_cksum.c Log: Bring diff from the security/pf port. This has code been tested as a port for a long time and is run in production use. This is the code present in portversion 2.03 with some additional tweaks. The rather extensive diff accounts for: - locking (to enable pf to work with a giant-free netstack) - byte order difference between OpenBSD and FreeBSD for ip_len/ip_off - conversion from pool(9) to zone(9) - api differences etc. Approved by: bms(mentor) (in general) Revision Changes Path 1.2 +164 -1 src/sys/contrib/pf/net/if_pflog.c 1.2 +4 -0 src/sys/contrib/pf/net/if_pflog.h 1.2 +199 -0 src/sys/contrib/pf/net/if_pfsync.c 1.2 +8 -0 src/sys/contrib/pf/net/if_pfsync.h 1.2 +831 -39 src/sys/contrib/pf/net/pf.c 1.2 +1137 -3 src/sys/contrib/pf/net/pf_ioctl.c 1.2 +185 -2 src/sys/contrib/pf/net/pf_norm.c 1.2 +42 -3 src/sys/contrib/pf/net/pf_osfp.c 1.2 +326 -2 src/sys/contrib/pf/net/pf_table.c 1.2 +141 -0 src/sys/contrib/pf/net/pfvar.h 1.2 +168 -0 src/sys/contrib/pf/netinet/in4_cksum.c