On Fri, Mar 22, 2002 at 08:35:50AM +0100, Peter Bieringer wrote:
> Hi,
>
> a college ask me why the icmp-mask-request support of current Linux
> kernels is no longer available.
>
> Some hints about the "why removed" are in "net/ipv4/icmp.c".
>
> Unfortunately, ANK's comment matches not all cases:
>
> ..."It is wrong, it is obsolete, nobody uses it in any case. --ANK"...
And it should be a runtime sysctl option to turn it on and off.
>
>
> For creating a Jumpstart server for Sun Solaris they are needed.
>
> His scenario:
> IPv4 address range: 10.10.0.0/16
> Booting Solaris sends via rpc.bootparamd a icmp-mask-request which
> isn't answered. Now Solaris is using 10.255.255.255 as broadcast
> address, which isn't nice indeed.
>
>
> Can someone point me to proper patches for current 2.2.x or 2.4.x
> versions.
>
> Or is it possible to catch such requests in user-space (perhaps with
> 2.4.x using netfilter)?
How much are you tied to Linux for bootparamd and the ICMP MASK reply?
The BSDs still seem to offer the option of turning on ICMP MASK
Reply through a sysctl. It *IS* off by default.
(The question becomes do you want to write a program to detect
ICMP MASK requests and form an ICMP MASK replies. Or do you want
to use pre-existing code?)
--
Chris Dukes
"Bert is apparently EEEEVIL, whereas Oscar is just a sysadmin^Wgrouch."
-- gorski
|