Re: Broadcast

From: Dennis Bjorklund (dennisb@cs.chalmers.se)
Date: Wed Nov 01 2000 - 15:05:00 EST


On Wed, 1 Nov 2000, William T Wilson wrote:

> If rwhod doesn't have an option as to which address to bind to, your only
> choice is to block its communication with ipchains.

I don't think you can specify the addresses. It looks at the interfaces
and sends to the ones that can broadcast.

I have solved it with ipchains but then rwhod fills my /var/log/messages
with lines like:

Nov 1 20:40:28 x rwhod[650]: sendto(192.168.0.1): Operation not permitted
Nov 1 20:43:28 x rwhod[650]: sendto(192.168.0.1): Operation not permitted
Nov 1 20:46:28 x rwhod[650]: sendto(192.168.0.1): Operation not permitted

It's a lot of messages...

So if you cant turn of broadcast why does ifconfig have an option that
says it turns of broadcast.

 [-]broadcast [addr]
    If the address argument is given, set the protocol broadcast
    address for this interface. Otherwise, set (or clear) the
    IFF_BROADCAST flag for the interface.

And rwhod looks at the IFF_BROADCAST flag.

/Dennis

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Nov 07 2000 - 21:00:09 EST