Date: Thu, 19 Aug 2004 20:21:42 +0200 From: Andre Oppermann <andre@freebsd.org> To: freebsd-current@freebsd.org Subject: [Fwd: cvs commit: src/sys/netinet ip_fw2.c ip_fw_pfil.c] Message-ID: <4124EFB6.54066E40@freebsd.org>
index | next in thread | raw e-mail
[-- Attachment #1 --]
This should fix the last gotcha in -current with regard to ipfw.
Please test with this and previous change and report back if it fixes your
problems you had before with kld-loading ipfw.
--
Andre
[-- Attachment #2 --]
Return-Path: <owner-src-committers@FreeBSD.org>
Delivered-To: andre@networx.ch
Received: (qmail 16044 invoked from network); 19 Aug 2004 17:59:13 -0000
Received: from mx2.freebsd.org ([216.136.204.119])
(envelope-sender <owner-src-committers@FreeBSD.org>)
by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP
for <andre@networx.ch>; 19 Aug 2004 17:59:13 -0000
Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18])
by mx2.freebsd.org (Postfix) with ESMTP id 74C7D55E98
for <andre@networx.ch>; Thu, 19 Aug 2004 17:59:28 +0000 (GMT)
(envelope-from owner-src-committers@FreeBSD.org)
Received: by hub.freebsd.org (Postfix)
id CB95916A4D5; Thu, 19 Aug 2004 17:59:27 +0000 (GMT)
Delivered-To: andre@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 538)
id B04DF16A4D0; Thu, 19 Aug 2004 17:59:27 +0000 (GMT)
Delivered-To: src-committers@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP
id D5CEA16A4CE; Thu, 19 Aug 2004 17:59:26 +0000 (GMT)
Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115])
by mx1.FreeBSD.org (Postfix) with ESMTP
id CF48E43D3F; Thu, 19 Aug 2004 17:59:26 +0000 (GMT)
(envelope-from andre@FreeBSD.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i7JHxQfG042638;
Thu, 19 Aug 2004 17:59:26 GMT
(envelope-from andre@repoman.freebsd.org)
Received: (from andre@localhost)
by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i7JHxQnC042637;
Thu, 19 Aug 2004 17:59:26 GMT
(envelope-from andre)
Message-Id: <200408191759.i7JHxQnC042637@repoman.freebsd.org>
From: Andre Oppermann <andre@FreeBSD.org>
Date: Thu, 19 Aug 2004 17:59:26 +0000 (UTC)
To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org,
cvs-all@FreeBSD.org
Subject: cvs commit: src/sys/netinet ip_fw2.c ip_fw_pfil.c
X-FreeBSD-CVS-Branch: HEAD
Sender: owner-src-committers@FreeBSD.org
Precedence: bulk
X-Loop: FreeBSD.ORG
X-Mozilla-Status2: 00000000
andre 2004-08-19 17:59:26 UTC
FreeBSD src repository
Modified files:
sys/netinet ip_fw2.c ip_fw_pfil.c
Log:
Do not unconditionally ignore IPDIVERT and IPFIREWALL_FORWARD when building
the ipfw KLD.
For IPFIREWALL_FORWARD this does not have any side effects. If the module
has it but not the kernel it just doesn't do anything.
For IPDIVERT the KLD will be unloadable if the kernel doesn't have IPDIVERT
compiled in too. However this is the least disturbing behaviour. The user
can just recompile either module or the kernel to match the other one. The
access to the machine is not denied if ipfw refuses to load.
Revision Changes Path
1.72 +0 -2 src/sys/netinet/ip_fw2.c
1.3 +0 -2 src/sys/netinet/ip_fw_pfil.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4124EFB6.54066E40>
