Unable to Replace Currently Running IPF Rules With IPF Command

Bob Perry rperry at gti.net
Mon Sep 12 22:15:51 PDT 2005


On Tue, 2005-09-13 at 00:24 -0400, Parv wrote:
> in message <1126584170.758.8.camel at homey.my.domain>, wrote Bob Perry
> thusly...
> >
> > On Mon, 2005-09-12 at 03:54 -0400, Parv wrote:
> > > in message <1126485205.806.27.camel at homey.my.domain>, wrote Bob
> > > Perry thusly...
> > > >
> > > > I notice that when I attempt to replace the currently running
> > > > ruleset, my system (FreeBSD 5.4 RELEASE) is unable to
> > > > recognize the file name.  For instance, the command, "ipf -Fa
> > > > -f /etc/ipf.rules" results in "26: unknown words at end: [/],
> > > > ipf: /etc/ipf.rules: parse error (1), quitting."
> ...
> > > The error seems to be w/ the (rule on) line 26 of
> > > /etc/ipf.rules.
> ...
> > I placed the / at the end of a line thinking it was needed to
> > continue the rule on the next line.  Guess you don't need it using
> > ascii text.
> 
> As i put a rule completely on one line, i cannot comment whethere
> splitting is possible or if there will not be any errors after
> splittling.
> 
> 
>   - Parv
> 
I'm certainly no expert with vi, but I didn't receive the error once I
removed the / at the end of the line.  I just continued typing as if the
screen would never end.  Whatever didn't fit on a line simply continued
through on the next line.

Bob



More information about the freebsd-questions mailing list