From owner-freebsd-questions Mon Nov 12 16: 4:11 2001 Delivered-To: freebsd-questions@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id 5D53537B405 for ; Mon, 12 Nov 2001 16:04:07 -0800 (PST) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 96B5F2B76D; Tue, 13 Nov 2001 01:04:04 +0100 (CET) Received: by k7.mavetju.org (Postfix, from userid 1001) id 141511FF; Tue, 13 Nov 2001 11:03:56 +1100 (EST) Date: Tue, 13 Nov 2001 11:03:55 +1100 From: Edwin Groothuis To: Aaron Scarisbrick Cc: freebsd-questions@freebsd.org Subject: Re: syslogd bug/feature Message-ID: <20011113110355.C684@k7.mavetju.org> Mail-Followup-To: Edwin Groothuis , Aaron Scarisbrick , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from aaronsca@hotmail.com on Mon, Nov 12, 2001 at 11:41:47PM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Nov 12, 2001 at 11:41:47PM +0000, Aaron Scarisbrick wrote: > I was trying to get syslogd (FreeBSD 4.2-RELEASE) to accept all incoming > messages (no really, I have a good reason why), and couldn't get it to > accept 0.0.0.0/0 as accept from any IP. An IP address of 0.0.0.0 with a > mask of 0 means any IP address to me, but syslogd interprets it as 0.0.0.0 > with a mask of 255.255.255.255: > > [root@test1]# syslogd -d -a 0.0.0.0/0 > allowaddr: rule 0: numeric, addr = 0.0.0.0, mask = 255.255.255.255; port = > 514 > off & running.... > > Is this by design or accident? What is the proper syntax for syslogd to > accept messages from any IP? You can use "syslogd -d -a 0.0.0.0/0.0.0.0" and maybe supply a patch to solve the problem? Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message