Re: notion of a local address [was: Re: ioctl SIOCGIFNETMASK: ip alias

Matthias Andree (matthias.andree@stud.uni-dortmund.de)
Thu, 6 Sep 2001 22:11:52 +0200


On Thu, 06 Sep 2001, Alan Cox wrote:

> If you accept 10.0.0.1 from the outside you are leaking information. It

No, if you accept 10.*.*.* from the outside, your routers are broken.

> user configured data isnt a solution. For the 99.9% of normal cases
> SIOCGIFCONF is going to give the right data. People doing clever things
> will have to set up config files. simple easy - hard possible.

Alan, SIOCGIFCONF is working sufficiently, it's SIOCGIFNETMASK that
we're talking about. SIOCGIFNETMASK works properly on any other system
or - as far as I can currently test - with my patch.

-- 
Matthias Andree
Outlook (Express) users: press Ctrl+F3 for the full source code of this post.
begin  dont_click_this_virus.exe
end
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/