From owner-freebsd-questions Tue Aug 1 7:42:44 2000 Delivered-To: freebsd-questions@freebsd.org Received: from rm-rstar.sfu.ca (rm-rstar.sfu.ca [142.58.120.21]) by hub.freebsd.org (Postfix) with ESMTP id B5F6637B6D5 for ; Tue, 1 Aug 2000 07:42:40 -0700 (PDT) (envelope-from vanepp@sfu.ca) Received: from fraser.sfu.ca (vanepp@fraser.sfu.ca [142.58.101.25]) by rm-rstar.sfu.ca (8.10.1/8.10.1/SFU-5.0H) with ESMTP id e71Egd305883; Tue, 1 Aug 2000 07:42:39 -0700 (PDT) From: Peter Van Epp Received: (from vanepp@localhost) by fraser.sfu.ca (8.9.2/8.9.2/SFU-5.0C) id HAA28728; Tue, 1 Aug 2000 07:42:39 -0700 (PDT) Message-Id: <200008011442.HAA28728@fraser.sfu.ca> Subject: Re: syslogd -s -a xxx on 4.1-RELEASE? To: cjclark@alum.mit.edu Date: Tue, 1 Aug 2000 07:42:39 -0700 (PDT) Cc: questions@FreeBSD.ORG In-Reply-To: <20000801005609.C35074@184.215.6.64.reflexcom.com> from "Crist J . Clark" at Aug 01, 2000 12:56:09 AM X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > I'm guessing maybe a bit of both. Why are you using -s and -a > together? Those two flags seem almost mutually exclusive to me. I > don't really understand what you are actually trying to do. Why is > '-s' there? > -- > Crist J. Clark cjclark@alum.mit.com > -s is the new default in 4.1-RELEASE (and a desirable one). It stops general access via the network to syslog to prevent floods. The -a flag is supposed to specify which IP addresses can syslog to this host, and I had assumed (perhaps incorrectly when I read the man page again) that it operates in conjunction with the -s, but it doesn't actually say that, as you point out -s says it stops all network access (which it seems to be doing) nor does it say if I specify -a by itself that only those hosts specified will be allowed to syslog (although that would make sense). I'll try without the -s. Nope that still doesn't seem to work. Setting syslogd -a 142.58.47.0/24 off doesn't get log information from a 142.58.47 host on the box which syslogd without flags does (just tried syslogd alone to make sure ...). Oh well, I guess I'll leave all the flags off and look at the syslogd code later. Thanks for the help! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message