Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jan 2002 15:44:15 +0000
From:      George Lewis <schvin@schvin.net>
To:        Len Conrad <LConrad@Go2France.com>
Cc:        Freebsd-isp@FreeBSD.ORG
Subject:   Re: tuning syslog.conf
Message-ID:  <20020113154415.GN12373@schvin.net>
In-Reply-To: <5.1.0.14.2.20020113090238.01f03ff8@mail.Go2France.com>
References:  <5.1.0.14.2.20020113090238.01f03ff8@mail.Go2France.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 2.  For a little ACL, when I add an "allowed peer" option ( 
> ipaddr/masklen[:service] ) to the above syslog command "-a 
> 212.73.210.73/24", the -d output becomes:
> 
> # syslogd -d -4 -a 212.73.210.73
> allowaddr: rule 0: numeric, addr = 212.73.210.0, mask = 255.255.255.0; port 
> = 514
> listening on inet and/or inet6 socket
> sending on inet and/or inet6 socket
> off & running....
> 
> and all syslog messages from 212.73.210.73 get this treatment:
> 
> cvthname(212.73.210.73)
> validate: dgram from IP 212.73.210.73, port 3506, name ms1.meiway.com;
> rejected in rule 0 due to port mismatch.
> 
> ok, so we use "-a 212.73.210.73/24:*" and get:
> 
> # syslogd -d -4 -a 212.73.210.73:*
> syslogd: No match.
> 
> I've been all over man 3 and man 8 for syslogd, syslog, syslcon.conf and 
> can't figure out what we're doing wrong in 2., or how to do 1.

Perhaps your shell is expanding the * for you? Have you by chance
tried:

	syslogd -d -4 -a 212.73.210.73:\*

HTH,

George

> 
> Thanks
> Len
> 
> 
> http://MenAndMice.com/DNS-training
> http://BIND8NT.MEIway.com : ISC BIND 8.2.4 for NT4 & W2K
> http://IMGate.MEIway.com  : Build free, hi-perf, anti-abuse mail gateways
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message

-- 
http://schvin.net/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




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