From: Hannes Frederic Sowa <hannes@stressinduktion.org>
To: Marc Haber <mh+netdev@zugschlus.de>, netdev@vger.kernel.org
Subject: Re: IPv6 route to gateway on fe80::1%eth0 when I have fe80::1%br0 locally
Date: Tue, 22 Dec 2015 22:50:04 +0100 [thread overview]
Message-ID: <5679C58C.2090308@stressinduktion.org> (raw)
In-Reply-To: <20151222212843.GE4424@torres.zugschlus.de>
Hi Marc,
On 22.12.2015 22:28, Marc Haber wrote:
> Hi Hannes,
>
> thanks for your mail.
>
> On Tue, Dec 22, 2015 at 04:15:14PM +0100, Hannes Frederic Sowa wrote:
>> On 12.12.2015 20:58, Marc Haber wrote:
>>> Any hints would be appreciated.
>>
>> This sysctl should help:
>>
>> accept_ra_from_local - BOOLEAN
>> Accept RA with source-address that is found on local machine
>> if the RA is otherwise proper and able to be accepted.
>> Default is to NOT accept these as it may be an un-intended
>> network loop.
>>
>> Functional default:
>> enabled if accept_ra_from_local is enabled
>> on a specific interface.
>> disabled if accept_ra_from_local is disabled
>> on a specific interface.
>>
>> Anyway, this has to be fixed up in a clean way and should work by default.
>
> The clean way would be:
>
> accept_ra_from_local=0: never accept RA with source-address that is
> found on local machine
> accept_ra_from_local=1: always accept RA with source-address that is
> found on local machine. Dangerous.
> accept_ra_from_local=2: only accept RA with link local source-address
> that is found on local machine, and not if received RA points to an
> address that is locally configured on the same interface. Default.
>
> Shall I file a bug for this in bugzilla?
Thanks but no need to do that, I already cooked a patch and will submit
tomorrow after some testing. We don't need to enhance the sysctl,
default should be to simply check the interface too if a route with
link-local address is received.
Bye,
Hannes
next prev parent reply other threads:[~2015-12-22 21:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-12 19:58 IPv6 route to gateway on fe80::1%eth0 when I have fe80::1%br0 locally Marc Haber
2015-12-22 15:15 ` Hannes Frederic Sowa
2015-12-22 21:28 ` Marc Haber
2015-12-22 21:50 ` Hannes Frederic Sowa [this message]
2016-02-22 15:04 ` Marc Haber
2016-02-22 15:12 ` Hannes Frederic Sowa
2016-02-22 15:47 ` Marc Haber
2016-02-22 16:15 ` Hannes Frederic Sowa
2016-02-22 19:20 ` Marc Haber
2016-02-23 9:03 ` Hannes Frederic Sowa
2016-02-23 10:47 ` Marc Haber
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=5679C58C.2090308@stressinduktion.org \
--to=hannes@stressinduktion.org \
--cc=mh+netdev@zugschlus.de \
--cc=netdev@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 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.