From owner-freebsd-questions@FreeBSD.ORG Tue Sep 13 05:15:51 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2B8D16A41F for ; Tue, 13 Sep 2005 05:15:51 +0000 (GMT) (envelope-from rperry@gti.net) Received: from apollo.gti.net (apollo.gti.net [199.171.27.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5661043D45 for ; Tue, 13 Sep 2005 05:15:51 +0000 (GMT) (envelope-from rperry@gti.net) Received: from homey.my.domain (ts6m-pool0-89.gti.net [208.216.115.89]) by apollo.gti.net (mail) with ESMTP id 8F39B35A97 for ; Tue, 13 Sep 2005 01:12:37 -0400 (EDT) From: Bob Perry To: f-q 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> Content-Type: text/plain Date: Tue, 13 Sep 2005 01:14:44 -0400 Message-Id: <1126588484.758.17.camel@homey.my.domain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: Re: Unable to Replace Currently Running IPF Rules With IPF Command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2005 05:15:51 -0000 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