Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Jonathan Tripathy <jonnyt@abpni.co.uk>
To: netfilter@vger.kernel.org
Subject: Re: IPv6 routing
Date: Mon, 30 Aug 2010 12:10:26 +0100	[thread overview]
Message-ID: <4C7B91A2.50707@abpni.co.uk> (raw)
In-Reply-To: <4C7B8BD2.1060009@abpni.co.uk>


>
> On 30/08/10 11:43, Jan Engelhardt wrote:
>> On Monday 2010-08-30 12:37, Jonathan Tripathy wrote:
>>> 06:29:37.241590 IP6 2001:470:1f09:dc5::1>  ff02::1:ff00:2: ICMP6, 
>>> neighbor
>>> solicitation, who has 2001:470:1f09:dc5::2, length 32
>>> 06:29:37.241800 IP6 2001:470:1f09:dc5::2>  2001:470:1f09:dc5::1: ICMP6,
>>> neighbor advertisement, tgt is 2001:470:1f09:dc5::2, length 32
>>>
>>> It seems like netfilter isn't marking the advertisements as 
>>> "related" to the
>>> solicitation request. I think that this is becuase the request was 
>>> sent to
>>> ff02::1:ff00:2, but the reply came from 2001:470:1f09:dc5::2.
>> advertisements need not strictly be a reply to a solicit.
>
> So how would I go about adding rules then that allows this?
>
Ok everyone, I think I found the answer. Just allow -p icmpv6

Does that sound safe enough?

On a side note: netfilter currently has arptables to stop arp cache 
poisoning. Is there any similar thing for NDP poisoning? I can prevent 
the actual flow of non-icmpv6 IP traffic to a host by using ip6tables on 
my bridge device (which sits in the middle of all hosts), however this 
won't stop DOS attacks..

Cheers

  reply	other threads:[~2010-08-30 11:10 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-30 10:26 IPv6 routing Jonathan Tripathy
2010-08-30 10:37 ` Jonathan Tripathy
2010-08-30 10:43   ` Jan Engelhardt
2010-08-30 10:45     ` Jonathan Tripathy
2010-08-30 11:10       ` Jonathan Tripathy [this message]
2010-08-30 12:24         ` Thomas Jacob
2010-08-30 12:33           ` Jonathan Tripathy
2010-08-30 12:42             ` Jozsef Kadlecsik
2010-08-30 12:54               ` Thomas Jacob
2010-08-30 13:18                 ` Jozsef Kadlecsik
2010-08-30 13:43                   ` Thomas Jacob
2010-08-30 12:47             ` Thomas Jacob
2010-08-30 12:48               ` Jonathan Tripathy
2010-08-30 17:17           ` Pascal Hambourg
2010-08-30 12:07       ` Jan Engelhardt
2010-08-30 12:08         ` Jonathan Tripathy

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=4C7B91A2.50707@abpni.co.uk \
    --to=jonnyt@abpni.co.uk \
    --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