[Top] [All Lists]

Re: Support of icmp-mask-requests gone in current Linux kernels

To: Peter Bieringer <pb@xxxxxxxxxxxx>
Subject: Re: Support of icmp-mask-requests gone in current Linux kernels
From: Chris Dukes <pakrat@xxxxxxxxxxxxxxxx>
Date: Fri, 22 Mar 2002 16:16:05 +0000
Cc: Maillist netdev <netdev@xxxxxxxxxxx>
In-reply-to: <15450000.1016782550@localhost>; from on Fri, Mar 22, 2002 at 08:35:50AM +0100
References: <15450000.1016782550@localhost>
Sender: owner-netdev@xxxxxxxxxxx
User-agent: Mutt/
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:
> Booting Solaris sends via rpc.bootparamd a icmp-mask-request which
> isn't answered. Now Solaris is using 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

<Prev in Thread] Current Thread [Next in Thread>