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!howland.erols.net!cam-news-hub1.bbnplanet.com!cam-news-feed2.bbnplanet.com!news.bbnplanet.com!news.indigo.ie!not-for-mail From: Marcus Keane <keanem@indigo.ie> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: ipfw doesn't work?? Date: Tue, 15 Apr 1997 18:01:03 +0100 Organization: Indigo Lines: 115 Message-ID: <3353B44F.C207115E@indigo.ie> References: <33526F97.FF964518@indigo.ie> <5iui5b$df2@nova.dimensional.com> NNTP-Posting-Host: marcus.lan.indigo.ie Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------B657C119843E863F31B608FF" X-Mailer: Mozilla 4.0b3 [en] (WinNT; I) X-Priority: 3 (Normal) Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39106 --------------B657C119843E863F31B608FF Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Michael Fuhr wrote: > 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/ Hi! The only thing is that *anything* I enter is rejected. e.g. /sbin/ipfw add 1000 pass all from 127.0.0.1 to 127.0.0.1 gives the "usage" error. Marcus. -- ======================================================================= Marcus Keane / Indigo Helpdesk URL:http://www.indigo.ie/ email: keanem@indigo.ie phone: Intl-353-1-6046913 ======================================================================= --------------B657C119843E863F31B608FF Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <HTML><BODY> Michael Fuhr wrote: <BLOCKQUOTE TYPE=CITE>Marcus Keane <keanem@indigo.ie> writes: <BR> <BR><I>>Just wondering whether anyone has experience of installinf ipfw on</I> <BR><I>>2.2.1-RELEASE. I've just recompiled the kernel with all the IPFIREWALL</I> <BR><I>>options. No matter what ipfw command I enter I get a "Usage" message</I> <BR><I>>even if I enter the example ones in the handbook. One command does work</I> <BR><I>>however:</I> <BR> <BR>There appear to be a few typos in the handbook. For example: <BR> <BR> # ipfw add accept from any to sup.FreeBSD.ORG 871 <BR> ipfw: ERROR - invalid protocol <BR> [usage message] <BR> <BR>It should be: <BR> <BR> # ipfw add accept tcp from any to sup.FreeBSD.ORG 871 <BR> ^^^ <BR> 00000 allow tcp from any to 205.149.163.30 871 <BR> <BR>Assuming you want to allow TCP, that is. According to the manual <BR>page, the protocol is required. <BR>-- <BR>Michael Fuhr <BR><A HREF="http://www.dimensional.com/~mfuhr/">http://www.dimensional.com/~mfuhr/</A> </BLOCKQUOTE> Hi! <BR> <BR>The only thing is that *anything* I enter is rejected. <BR>e.g. <BR>/sbin/ipfw add 1000 pass all from 127.0.0.1 to 127.0.0.1 <BR> <BR>gives the "usage" error. <BR> <BR>Marcus. <BR> <BR> <BR> <BR>-- <BR> <BR>======================================================================= <BR> Marcus Keane / Indigo Helpdesk URL:<A HREF="http://www.indigo.ie/">http://www.indigo.ie/</A> <BR> email: keanem@indigo.ie phone: Intl-353-1-6046913 <BR>======================================================================= </BODY> </HTML> --------------B657C119843E863F31B608FF--