Date: Sat, 8 Aug 1998 01:02:13 +0200 From: Rocco Lucia <rlucia@utopianet.net> To: "Timothy R. Platt" <tplatt@nethampton.com> Cc: freebsd-security@FreeBSD.ORG Subject: Re: Sysloging to a remote host Message-ID: <19980808010213.A18953@utopianet.net> In-Reply-To: <v04003a00b1f1c739e9eb@[204.141.112.245]>; from Timothy R. Platt on Fri, Aug 07, 1998 at 06:20:05AM -0700 References: <v04003a00b1f1c739e9eb@[204.141.112.245]>
index | next in thread | previous in thread | raw e-mail
On Fri, Aug 07, 1998 at 06:20:05AM -0700, Timothy R. Platt wrote: > Should be simple enough, but I just can't get this to work. > > In syslog.conf on 192.168.2.1: > > *.notice;kern.debug;mail.cri /var/log/messages > *.notice;kern.debug;mail.cri @192.168.2.2 > > And on 192.168.2.2: > > syslogd -a 192.168.2.1/255.255.255.0 > > > > > Is there anything required in the syslog.conf file on 192.168.2.2? The > syslogd/syslog.conf man pages make no mention of it. Once I do get it > working, I would like all the messages from the remote machine in a > separate file, if syslog doesn't take care of that by default. > > TIA, > > Tim > syslogd -a 192.168.2.1/32:* this should work, allowing just .1 host to be logged by .2 I don't know if it is possible to filter directly from syslogd incoming messages, but you can easily do it 'cause you got the ip address of the host who sent the message in the logfile rocco -- Rocco Lucia Iscanet Internet Services rlucia@utopianet.net System and Network Admin Free unices for a free world. Support *BSD. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe security" in the body of the messagehelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980808010213.A18953>
