From owner-freebsd-doc@FreeBSD.ORG Thu Feb 23 19:20:05 2006 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFDD016A420 for ; Thu, 23 Feb 2006 19:20:05 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2ED1043D4C for ; Thu, 23 Feb 2006 19:20:05 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k1NJK5Ic030495 for ; Thu, 23 Feb 2006 19:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1NJK4tk030494; Thu, 23 Feb 2006 19:20:04 GMT (envelope-from gnats) Resent-Date: Thu, 23 Feb 2006 19:20:04 GMT Resent-Message-Id: <200602231920.k1NJK4tk030494@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Daniel Gerzo Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F306516A420 for ; Thu, 23 Feb 2006 19:16:29 +0000 (GMT) (envelope-from danger@tomas.elvandar.org) Received: from tomas.elvandar.org (tomas.elvandar.org [217.148.169.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id A52B343D45 for ; Thu, 23 Feb 2006 19:16:26 +0000 (GMT) (envelope-from danger@tomas.elvandar.org) Received: by tomas.elvandar.org (Postfix, from userid 1002) id 9620D483F6A; Thu, 23 Feb 2006 19:16:20 +0000 (UTC) Message-Id: <20060223191620.9620D483F6A@tomas.elvandar.org> Date: Thu, 23 Feb 2006 19:16:20 +0000 (UTC) From: Daniel Gerzo To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: docs/93764: [patch] addition to firewalls section - ipfw X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Gerzo List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2006 19:20:05 -0000 >Number: 93764 >Category: docs >Synopsis: [patch] addition to firewalls section - ipfw >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 23 19:20:04 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Daniel Gerzo >Release: FreeBSD 6.1-PRERELEASE i386 >Organization: rulez.sk >Environment: System: FreeBSD 6.1-PRERELEASE #0: Wed Feb 15 02:22:30 CET 2006 root@redqueen.elvandar.org:/usr/obj/usr/src/sys/REDQUEEN i386 >Description: >How-To-Repeat: >Fix: --- ipfw.diff begins here --- --- /usr/home/danger/doc/en_US.ISO8859-1/books/handbook/firewalls/chapter.sgml.orig Wed Feb 15 18:10:07 2006 +++ /usr/home/danger/doc/en_US.ISO8859-1/books/handbook/firewalls/chapter.sgml Wed Feb 22 10:00:23 2006 @@ -2283,7 +2283,50 @@ Set the script to run to activate your rules: - firewall_script="/etc/ipfw.rules" + firewall_script="/etc/rc.firewall" + + Set the type of firewall. This enables a simple pre-set + ruleset for IPFW: + + firewall_type="open" + + Available values for this setting are: + + + + open — allow anyone in. + + + client — will protect only this + machine. + + + simple — protect the whole + network. + + + closed — entirely disables IP + services except via lo0 interface. + + + UNKNOWN — disables the loading + of firewall rules. + + + filename — will load the rules + in the given filename (full path required). + + + + + If firewall_type is set either to + client or simple, the + default rules found in /etc/rc.firewall + should be reviewed to fit to the setup of the given machine. + Also note, that the examples used in this chapter expect that + the firewall_type is set to + /etc/ipfw.rules. + Enable logging: --- ipfw.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: