From owner-freebsd-questions Sat Mar 15 11:12:52 2003 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 55A1437B401 for ; Sat, 15 Mar 2003 11:12:51 -0800 (PST) Received: from chimera.noanet.net (chimera.noanet.net [66.119.192.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBB9D43FB1 for ; Sat, 15 Mar 2003 11:12:50 -0800 (PST) (envelope-from mksmith@noanet.net) Received: from chimera.noanet.net (localhost [127.0.0.1]) by chimera.noanet.net (8.12.8/8.12.2) with ESMTP id h2FJCo8t024780; Sat, 15 Mar 2003 11:12:50 -0800 (PST) Received: from localhost (mksmith@localhost) by chimera.noanet.net (8.12.8/8.12.8/Submit) with ESMTP id h2FJCoxN024777; Sat, 15 Mar 2003 11:12:50 -0800 (PST) X-Authentication-Warning: chimera.noanet.net: mksmith owned process doing -bs Date: Sat, 15 Mar 2003 11:12:50 -0800 (PST) From: "Michael K. Smith" To: wease Cc: freebsd-questions@FreeBSD.ORG Subject: Re: syslogd_flags for multiple allowed peers In-Reply-To: <000001c2eb1e$038306a0$8d00000a@thinknova.com> Message-ID: <20030315111116.Q22862-100000@chimera.noanet.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Sat, 15 Mar 2003, wease wrote: > Hello all, > > I am setting up a multi-homed loghost using FreeBSD 4.5. This machine > will > be logging for a Linux server and a black box firewall, both on > different > subnets. I can only seem to get one ip working with the allowed peer > argument to syslogd_flags in rc.conf. The man page for syslogd says > that > multiple -a options may be specified but does not give the delimiter nor > does it give an example. I am not using -s as this will negate the -a > argument. I have tried the following. > > syslogd_flags="-a 172.16.0.29 -a 172.16.0.51" > If you just want those two hosts, try: syslogd_flags="-a 172.16.0.29/32:* -a 172.16.0.51/32:*" or, if you want something that will pick them both up, use: syslogd_flags="-a 172.16.0.0/26:*" which will allow from anything on .0 - .63. Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message