From owner-freebsd-hackers Fri Oct 6 7:39:51 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from virtual-voodoo.com (virtual-voodoo.com [204.120.165.254]) by hub.freebsd.org (Postfix) with ESMTP id 6B48337B502 for ; Fri, 6 Oct 2000 07:39:49 -0700 (PDT) Received: (from steve@localhost) by virtual-voodoo.com (8.11.1/8.11.1) id e96Edli53619 for freebsd-hackers@FreeBSD.ORG; Fri, 6 Oct 2000 09:39:47 -0500 (EST) (envelope-from steve) Date: Fri, 6 Oct 2000 09:39:47 -0500 From: Steve Ames To: freebsd-hackers@FreeBSD.ORG Subject: Re: IPFW quirk Message-ID: <20001006093947.A53426@virtual-voodoo.com> References: <200010060819.e968JLM47254@virtual-voodoo.com> <20001006112841.A80260@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001006112841.A80260@sunbay.com>; from ru@sunbay.com on Fri, Oct 06, 2000 at 11:28:41AM +0300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Oct 06, 2000 at 11:28:41AM +0300, Ruslan Ermilov wrote: > On Fri, Oct 06, 2000 at 03:19:21AM -0500, Steve Ames wrote: > > > > Hey... I just type 'ipfw -a list' on the command line and got back an > > invalid argument error. That confused me for a bit so I poked around > > for a while and then it just started working again. A bit more poking > > and I discovered that it fails if there is a file called 'list' in > > the directory the command is being executed from. > > > > Seems ipfw checks for a file containing commands before it checks to > > see if you've issued a valid command? > > > > A bit of experimenting ('touch flush', 'ipfw flush') seems to indicate > > that its true for most commands. Perhaps this is intentional but its > > behavior confused me a bit... And it means I can't leave a file called > > 'list' laying around as then /etc/security output is wrong. > > > Also known as PR 16179. I was planning on looking at it today :-) Yep. That'd be it. My bad for not checking PRs first. Thank you for looking into this. -Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message