Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Nathaniel Hall <nathaniel.d.hall@gmail.com>
To: "R. DuFresne" <dufresne@sysinfo.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: Change outbound ICMP source
Date: Mon, 10 Apr 2006 15:18:18 -0500	[thread overview]
Message-ID: <443ABD8A.7080002@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0604102004520.26404@darkstar.sysinfo.com>

R. DuFresne wrote:

> On Mon, 10 Apr 2006, Nathaniel Hall wrote:
>
>> I have been trying to figure out how to change the source IP address
of an
>> ICMP packet that originates from the firewall.  Here is my application.
>>
>> Instead of dropping a packet I reject it with ICMP host unreachable
messages.
>> I would like to make it appear that the firewall isn't there, so I
would like to
>> change the source IP address to be that of our upstream router.  How
would
>> I go about doing this?
>
> by blocking the ICMP's at that upstream router.

That doesn't achieve what I want.  If a TCP connection is rejected at
the firewall, then blocking ICMP at the upstream router will block the
host-unreachable from going out, not make it seem as if the router is
the source.

-- 
Nathaniel Hall, GSEC GCFW GCIA



  reply	other threads:[~2006-04-10 20:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-10 18:02 Change outbound ICMP source Nathaniel Hall
2006-04-10 20:05 ` R. DuFresne
2006-04-10 20:18   ` Nathaniel Hall [this message]
2006-04-10 22:12     ` sven
2006-04-10 22:20       ` Nathaniel Hall

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=443ABD8A.7080002@gmail.com \
    --to=nathaniel.d.hall@gmail.com \
    --cc=dufresne@sysinfo.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox