Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jan 2000 11:22:39 -0500 (EST)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        julian.dunn@matrox.com (Julian C. Dunn)
Cc:        cjclark@home.com, freebsd-questions@FreeBSD.ORG
Subject:   Re: can't get syslogd to accept remote datagrams
Message-ID:  <200001071622.LAA23358@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <XFMail.20000107104214.julian.dunn@matrox.com> from "Julian C. Dunn" at "Jan 7, 2000 10:42:14 am"

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




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