From owner-freebsd-isp Sun Jan 13 7:46: 5 2002 Delivered-To: freebsd-isp@freebsd.org Received: from thor.ghim.org (thor.ghim.org [209.249.182.115]) by hub.freebsd.org (Postfix) with ESMTP id CBD4037B416 for ; Sun, 13 Jan 2002 07:46:02 -0800 (PST) Received: from aegle (aegle.nexus [192.168.1.128]) by thor.ghim.org (8.11.3/8.11.3) with SMTP id g0DFiLc24185; Sun, 13 Jan 2002 15:44:21 GMT Received: by aegle (sSMTP sendmail emulation); Sun, 13 Jan 2002 15:44:15 +0000 Date: Sun, 13 Jan 2002 15:44:15 +0000 From: George Lewis To: Len Conrad Cc: Freebsd-isp@FreeBSD.ORG Subject: Re: tuning syslog.conf Message-ID: <20020113154415.GN12373@schvin.net> References: <5.1.0.14.2.20020113090238.01f03ff8@mail.Go2France.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.1.0.14.2.20020113090238.01f03ff8@mail.Go2France.com> User-Agent: Mutt/1.3.24i X-PGP-Fingerprint: 3D79 875A 9E33 E7BE E868 7EFA A703 5DDA A7C0 9E2C Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > 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