Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Sep 2005 01:14:44 -0400
From:      Bob Perry <rperry@gti.net>
To:        f-q <freebsd-questions@freebsd.org>
Subject:   Re: Unable to Replace Currently Running IPF Rules With IPF Command
Message-ID:  <1126588484.758.17.camel@homey.my.domain>
In-Reply-To: <20050913042444.GA2856@holestein.holy.cow>
References:  <1126485205.806.27.camel@homey.my.domain> <20050912075459.GB85219@holestein.holy.cow> <1126584170.758.8.camel@homey.my.domain> <20050913042444.GA2856@holestein.holy.cow>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2005-09-13 at 00:24 -0400, Parv wrote:
> in message <1126584170.758.8.camel@homey.my.domain>, wrote Bob Perry
> thusly...
> >
> > On Mon, 2005-09-12 at 03:54 -0400, Parv wrote:
> > > in message <1126485205.806.27.camel@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1126588484.758.17.camel>