Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Phil Oester <kernel@linuxace.com>
To: Jim Mellander <jmellander@lbl.gov>
Cc: netfilter@vger.kernel.org
Subject: Re: iptables as landmine subnet rejector
Date: Tue, 19 Nov 2013 08:23:57 -0800	[thread overview]
Message-ID: <20131119162357.GA13678@home> (raw)
In-Reply-To: <CADju=b5v+BhTrqXm1gm5h8Q6vB-ufV_FLRcg8cjA75zV9rfvgQ@mail.gmail.com>

On Thu, Nov 14, 2013 at 09:12:07AM -0800, Jim Mellander wrote:
> tcpdump output:
> 1384448210.669303 IP bad_host.23870 > landmine_host.61871: UDP, length 20
> 1384448210.669325 IP myip > bad_host ICMP bad_host udp port 61871
> unreachable, length 56
> 
> Note that the ICMP port unreachable didn't come from landmine_host, as expected.

That is how the REJECT target works.  The ICMP will come from the gateway.

Phil

  reply	other threads:[~2013-11-19 16:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-07 23:14 iptables as landmine subnet rejector Jim Mellander
2013-11-13 17:58 ` Jim Mellander
2013-11-13 22:17   ` Phil Oester
2013-11-14 17:12     ` Jim Mellander
2013-11-19 16:23       ` Phil Oester [this message]
2013-11-19 19:33         ` Jim Mellander

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=20131119162357.GA13678@home \
    --to=kernel@linuxace.com \
    --cc=jmellander@lbl.gov \
    --cc=netfilter@vger.kernel.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