> On Mon, 2 Jul 2001 12:25:42 -0700
> Kris Kennaway <[EMAIL PROTECTED]> said:
kris> This doesn't seem to work with IPv6. Isn't there a libc function
kris> which can be used to do this?
Yup, there is no api for masking address ether libc nor standard.
I'll commit the following patch for
On Mon, Jul 02, 2001 at 09:38:42AM +0100, David Malone wrote:
> On Sun, Jul 01, 2001 at 09:20:44PM -0700, Crist J. Clark wrote:
> > Hmmm... Looks like,
> >
> > # syslogd -a 192.168.1.0/29
> >
> > Will work and,
> >
> > # syslogd -a 192.168.1.1/29
> >
> > Won't.
>
> That's the standard beh
> On Mon, 2 Jul 2001 08:25:38 -0700
> "Crist J. Clark" <[EMAIL PROTECTED]> said:
cristjc> That's exactly what happens in the syslogd(8) code. However, I think
cristjc> that should be,
cristjc> n &= m
cristjc> .
cristjc> .
cristjc> .
cristjc> ((h & m) == n)
I think it should be
On Mon, 2 Jul 2001 09:38:42 +0100
David Malone <[EMAIL PROTECTED]> wrote:
> On Sun, Jul 01, 2001 at 09:20:44PM -0700, Crist J. Clark wrote:
> > Hmmm... Looks like,
> >
> > # syslogd -a 192.168.1.0/29
> >
> > Will work and,
> >
> > # syslogd -a 192.168.1.1/29
> >
> > Won't.
>
> That's the
On Mon, Jul 02, 2001 at 09:38:42AM +0100, David Malone wrote:
> On Sun, Jul 01, 2001 at 09:20:44PM -0700, Crist J. Clark wrote:
> > Hmmm... Looks like,
> >
> > # syslogd -a 192.168.1.0/29
> >
> > Will work and,
> >
> > # syslogd -a 192.168.1.1/29
> >
> > Won't.
>
> That's the standard beh
On Sun, Jul 01, 2001 at 09:20:44PM -0700, Crist J. Clark wrote:
> Hmmm... Looks like,
>
> # syslogd -a 192.168.1.0/29
>
> Will work and,
>
> # syslogd -a 192.168.1.1/29
>
> Won't.
That's the standard behaviour of a netmask, isn't it? The usual
way to check if host h is in network/netmask
On 02-Jul-01 (04:20:44/GMT) Crist J. Clark wrote:
>> It seems the -a option for syslogd does not work 100%.
> Hmmm... Looks like,
> # syslogd -a 192.168.1.0/29
> Will work and,
> # syslogd -a 192.168.1.1/29
> Won't.
Under 4.3-STABLE is the same. To capure log from router I
added (in rc.con
On Sun, Jul 01, 2001 at 11:41:25PM -0400, David Hill wrote:
> Hello -
>
> It seems the -a option for syslogd does not work 100%.
> I need to log from hosts from 192.168.1.1-.6
>
> doing "/usr/sbin/syslogd -a 192.168.1.1/29" does not work (nothing gets logged)
>
> but, if i do
>
> /usr/sbin/sys
Hello -
It seems the -a option for syslogd does not work 100%.
I need to log from hosts from 192.168.1.1-.6
doing "/usr/sbin/syslogd -a 192.168.1.1/29" does not work (nothing gets logged)
but, if i do
/usr/sbin/syslogd -a 192.168.1.1/32 -a 192.168.1.2/32, etc... that works
can anyone try this