*BSD News Article 93573


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!dispatch.news.demon.net!demon!arclight.uoregon.edu!news.mathworks.com!europa.clark.net!news.maxwell.syr.edu!frii.com!coop.net!dimensional.com!nova.dimensional.com!not-for-mail
From: mfuhr@dimensional.com (Michael Fuhr)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: ipfw doesn't work??
Date: 14 Apr 1997 18:29:31 -0600
Organization: Dimensional Communications
Message-ID: <5iui5b$df2@nova.dimensional.com>
References: <33526F97.FF964518@indigo.ie>
NNTP-Posting-Host: nova.dimensional.com
X-Newsreader: NN version 6.5.1 (NOV)
Lines: 25
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39080


Marcus Keane <keanem@indigo.ie> writes:

>Just wondering whether anyone has experience of installinf ipfw on
>2.2.1-RELEASE. I've just recompiled the kernel with all the IPFIREWALL
>options. No matter what ipfw command I enter I get a "Usage" message
>even if I enter the example ones in the handbook. One command does work
>however:

There appear to be a few typos in the handbook.  For example:

    # ipfw add accept from any to sup.FreeBSD.ORG 871
    ipfw: ERROR - invalid protocol
    [usage message]

It should be:

    # ipfw add accept tcp from any to sup.FreeBSD.ORG 871
		      ^^^
    00000 allow tcp from any to 205.149.163.30 871

Assuming you want to allow TCP, that is.  According to the manual
page, the protocol is required.
-- 
Michael Fuhr
http://www.dimensional.com/~mfuhr/