--952844879-892057831-884307065=:2981
Content-Type: TEXT/PLAIN; charset=US-ASCII
This patch will enable linux to respond to ICMP MASK requests.
I have added this as a compile time option.
It should patch into any 2.0.xx kernel.
Note: Description I have created for "xconfig" could be better worded.
Any sugestions ??
I came across this when using "scotty/tkined" to map our internal network
which is subnetted. Linux is being used as one of the routers and tkined
had real problems mapping the network. It uses the ICMP MASK to discover
the subnet mask of each segment.
Now if I can only get Novell 4.10 to respond, I'll get a nice map of our
network :-)
==========================================================================
|Mark Harvey | Contrary to popular belief, UNIX is user friendly. |
|Technical Support | It just happens to be selective about who it |
|Force Technology | decides to make friends with. |
+------------------------------------------------------------------------+
|Voice: 61-2-94174477, Fax: 61-2-94173881, email: markh@forcetech.com.au |
==========================================================================
--952844879-892057831-884307065=:2981
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="patch.icmp.new"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.3.93.980109115105.2981B@forcetech.com.au>
Content-Description:
ZGlmZiAtdXJOIGxpbnV4LTIuMC4zMy5vcmlnL0RvY3VtZW50YXRpb24vQ29u
ZmlndXJlLmhlbHAgbGludXgvRG9jdW1lbnRhdGlvbi9Db25maWd1cmUuaGVs
cA0KLS0tIGxpbnV4LTIuMC4zMy5vcmlnL0RvY3VtZW50YXRpb24vQ29uZmln
dXJlLmhlbHAJVGh1IERlYyAxMSAxMzoyMTo0NyAxOTk3DQorKysgbGludXgv
RG9jdW1lbnRhdGlvbi9Db25maWd1cmUuaGVscAlGcmkgSmFuICA5IDExOjI4
OjI5IDE5OTgNCkBAIC0xMDQzLDYgKzEwNDMsMjAgQEANCiAgIGRyaXZlcnMv
bmV0L1JFQURNRS5tdWx0aWNhc3QuIElmIHlvdSBoYXZlbid0IGhlYXJkIGFi
b3V0IGl0LCB5b3UNCiAgIGRvbid0IG5lZWQgaXQuDQogDQorSVA6IElDTVAg
TUFTSyByZXBseQ0KK0NPTkZJR19JUF9BRERSX0FHRU5UDQorICBFbmFibGUg
b25l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