All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bart Matthaei <bart@dreamflow.nl>
To: netfilter@lists.netfilter.org
Subject: Re: ICMP traffic + iproute + tunnel problems
Date: Thu, 20 May 2004 00:03:42 +0200	[thread overview]
Message-ID: <20040519220342.GA28055@dreamflow.nl> (raw)
In-Reply-To: <200405192233.27254.Antony@Soft-Solutions.co.uk>

On Wed, May 19, 2004 at 10:33:27PM +0100, Antony Stone wrote:
> On Wednesday 19 May 2004 10:11 pm, Bart Matthaei wrote:
> 
> > Hi All,
> >
> > I have the following problem:
> >
> > I have a tunnel between my home router and my colocated machine.
> > I use source routing (iproute) to route all traffic coming from my home
> > network (public ipspace) over the tunnel.
> >
> > Everything works fine. But when a user traceroutes a host in my home
> > network, or sends traffic to an unreachable host, all ICMP replies are
> > coming from the ip address of my cable connection (eth0), which is still
> > the default route on the home router itself.
> 
> I don't see that the result could be any different, since the source of the 
> packets going back to the external address really is your cable connection on 
> eth0 - not an internal address which can be used to match any source-routing 
> rule.
> 
> If someone pings (or telnets, or whatever) an unreachable host on your network 
> (or should that be an unreachable host not on your network...?), then the 
> host itself obviously cannot send back a response - it is the upstream router 
> which does this, and the source address of the response it sends is that of 
> its own external interface.
> 
> Maybe you should block incoming traceroutes (ie don't send back TTL exceeded 
> ICMP responses), and be selective about what other ICMP responses you allow 
> back (such as host / port / network unreachable)?

Ok. So it isn't possible to isolate certain icmp packets (which I already
did with the MARK trick) and send them with an alternative source address?

Cheers,

Bart

-- 
Bart Matthaei                    bart@dreamflow.nl 

Sometimes a cigar is just a cigar.
                -- Sigmund Freud


  reply	other threads:[~2004-05-19 22:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-19 21:11 ICMP traffic + iproute + tunnel problems Bart Matthaei
2004-05-19 21:33 ` Antony Stone
2004-05-19 22:03   ` Bart Matthaei [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-05-19 21:05 Bart Matthaei

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040519220342.GA28055@dreamflow.nl \
    --to=bart@dreamflow.nl \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.