From owner-freebsd-hackers Fri Oct 6 1:29: 5 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id B8E2437B66C for ; Fri, 6 Oct 2000 01:28:59 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.0/8.11.0) id e968Sf080499; Fri, 6 Oct 2000 11:28:41 +0300 (EEST) (envelope-from ru) Date: Fri, 6 Oct 2000 11:28:41 +0300 From: Ruslan Ermilov To: Steve Ames Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: IPFW quirk Message-ID: <20001006112841.A80260@sunbay.com> Mail-Followup-To: Steve Ames , freebsd-hackers@FreeBSD.ORG References: <200010060819.e968JLM47254@virtual-voodoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200010060819.e968JLM47254@virtual-voodoo.com>; from steve@virtual-voodoo.com on Fri, Oct 06, 2000 at 03:19:21AM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 :-) -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message