From owner-freebsd-questions Fri Jan 7 8:21:59 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 210661575C for ; Fri, 7 Jan 2000 08:21:56 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id LAA23358; Fri, 7 Jan 2000 11:22:39 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <200001071622.LAA23358@cc942873-a.ewndsr1.nj.home.com> Subject: Re: can't get syslogd to accept remote datagrams In-Reply-To: from "Julian C. Dunn" at "Jan 7, 2000 10:42:14 am" To: julian.dunn@matrox.com (Julian C. Dunn) Date: Fri, 7 Jan 2000 11:22:39 -0500 (EST) Cc: cjclark@home.com, freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Julian C. Dunn wrote, > On 07-Jan-2000 Crist J. Clark wrote: > > % man syslogd > > . > > . > > . > > ipaddr/masklen[:service] Accept datagrams from ipaddr (in the > > usual dotted quad notation) with > > masklen bits being taken into > > account > > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > when doing the address comparision. > > . > > . > > . > > > > To get the effect of masking to a class C, you would want, > > > ># syslogd -a 192.168.5.0/24 > > Oh, okay, my stupidity... I see "masklen" means "number of bits to compare" as > opposed to being "bitmask". However, I also tried, at one point, > > # syslogd -a 192.168.5.5 > > Should this not have worked, since the masklen is missing and would have been > assumed to be 24? According to the docs, it should work. Actually, if you want to limit it to _just_ that machine, # syslogd -a 192.168.5.5/32 Should do it. If you are still having problems, you wouldn't happen to have a firewall on the machine accepting the syslog packets? -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message