>Easy.  Make a configuration options like this:
>
># Set to "yes" to allow your node to cache private addresses.  Most people=
>=20
># do not need to change this.
>#
>allowPrivateAddress =3D no
>
>If set to "no", the node dumps any private IP addresses it receives.

I don't see a strong reason to configure it on or off. Private address 
should always be ok. Nodes should just deal with them correctly. A node 
should never accept a private address from a non-private addressed node, 
and a node should never send a private address to a non-private addressed 
node. This would contain the private addresses within private networks.

No node should _ever_ accept private address from a node with a public 
address, even if you have configured "allowPrivateAddress=yes". That would 
be broken.

If your machine is on a public network and a private network and you want 
to make sure that your node only connects to public network nodes then 
maybe you should just bind the node to the public interface.

I totally a lurker on this list and just felt like adding my two cents. 
Flame away.

- Gabriel


_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to