[1657] in linux-net channel archive

home help back first fref pref prev next nref lref last post

ICMP redirect messages?

daemon@ATHENA.MIT.EDU (Jens David -DG1KJD-)
Mon Jan 22 08:54:33 1996

Date: 	Fri, 19 Jan 96 21:10:20 est
From: dg1kjd@dg1kjd.ampr.org (Jens David -DG1KJD-)
Reply-To: dg1kjd@dg1kjd-svr.ampr.org (Jens David -DG1KJD-)
To: linux-net@vger.rutgers.edu

Hi all/Alan&co,

I don't neither know wether this is the right place to ask my question nor
if it will arrive on the list since I have no subscription to it.

My problem is the following:
I'm the author of a AX25 managing/IP routing software for linux and OS/2.
It is derived from the KA9Q NET program source code but all TCP/UDP
functions and
on these protocols basing servers are ripped out. You could describe its
function with encaping IP frames into AX25 frames and doing the routing
stuff.

Now what's causing the problems is the following:

Let's say host A wants to send an IP frame to host C via host B which is
his default router. Let's say host B is my system running my WAMPlus AX25
software and a recent linux version.
The problem starts when the IP frame from host A arrives at my station.
WAMPlus is programmed that way that it forwards any incoming IP frame
directly to the linux kernel via an internal SLIP link (this is neccessary
because you should be able to use the IP_FIREWALL and IP_MASQUERADING
features of the new linux versions). So the frame arrives at the linux
system which finds out that it has to send the frame back via the WAMPlus
<-> kernel slip link to WAMPlus.

it looks like this:

host_A -> wamplus@host_B -> linux@host_B -> wamplus@host_B -> host_C

linux@host_B now generates a ICMP_REDIRECT message and sends it to the
originating host, in this case host_A.
Since this behaviour is not only annoying but also causes unneccessary link
load i'd like to suppress it. Is there any possibility to do this? Can I
set a special flag in the slip interface's structure so that the linux
kernel doesn't cause ICMP_REDIRECT messages when a frame is routed out via
it which also came in from it?

hope somebody can help me with this problem.
BTW: How will the BSD-like OS/2 network system react? I didn't check it
until now.

thanks & 73


Jens David, DG1KJD
AMPRnet+global: dg1kjd@dg1kjd-svr.ampr.org -- DieBug: dg1kjd@db0ach.#nrw.deu.eu
Tel.: +49 (0)2251 4421 -- Dial-in V32bis/V42bis: +49 (0)2251 780158
dg1kjd-svr.ampr.org [44.130.21.60] AX25: DG1KJD via DB0ME



home help back first fref pref prev next nref lref last post