/32 subnet

Thomas Liske liske at ibh.de
Wed Feb 4 10:03:39 UTC 2009


Hi,

the basic idea behind the attached patch is the following:

On a hotspot, normaly you don't want to allow client to client 
communication (everybody should have access to the internet and be somehow 
protected from other hotspot users) - especially for the windows dhows.

This patch adds a new configuration option "noc2c" (no client 2 client 
communcation). With this option enabled, the DHCP offers supplies a /32 
netmask. Doing this would prevent any hotspot client to communcate with 
anybody, even the default gateway. Therefore it adds a static route for 
the default gw as an connected route. This prevents (windows) clients 
doing any broadcasts on the hotspot network and reach any other hotspot 
client (default gateway must not route any pakets coming from a hotspot 
client to any other hotspot client). It would be great if somebody could 
test it with additional clients, Win XP works as expected.

Any comments on the patch are welcome ;)


Regards,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coovachilli-noc2c.diff
Type: text/x-diff
Size: 9140 bytes
Desc: 
URL: <http://lists.coova.org/pipermail/chilli/attachments/20090204/f35a352e/attachment.diff>


More information about the Chilli mailing list