Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Mar 2003 11:12:50 -0800 (PST)
From:      "Michael K. Smith" <mksmith@noanet.net>
To:        wease <wease@thinknova.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: syslogd_flags for multiple allowed peers
Message-ID:  <20030315111116.Q22862-100000@chimera.noanet.net>
In-Reply-To: <000001c2eb1e$038306a0$8d00000a@thinknova.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030315111116.Q22862-100000>