lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] Re: [lwip] lwip-cvs-20020108 errors


From: leon . woestenberg
Subject: [lwip-users] Re: [lwip] lwip-cvs-20020108 errors
Date: Wed, 08 Jan 2003 22:14:26 -0000

Hello people,

> > Your function ip_addr_isbroadcast() works correct but it is ANDed with
> > ip_addr_maskcmp() - why? Only local broadcasts are recognized in that
way.
> > General Broadcasts (255.255.255.255) are dropped!
> > Without ip_addr_maskcmp() general broadcasts are recognized too.

> Just removing the ip_addr_maskcmp() would introduce problems since this
would
> mean that broadcasts to other networks would be let through. A packet to
> 192.168.255.255 would pass even if "our" network was 10.0.255.255, which
we
> don't want. Instead an additional check should be added:
> ip_addr_cmp(&(iphdr->dest), IP_ADDR_BROADCAST). This would explicitly
check
> for packets to 255.255.255.255.
>
Does someone know what the 255.255.255.255 broadcast address is expected to
address?

When sending to 255.255.255.255, does it mean sending out on all
interfaces?
In developing my own IP stack, I could not find a clear RFC reference on
this.

Regards, Leon.

[This message was sent through the lwip discussion list.]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]