netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hannes Frederic Sowa <hannes@stressinduktion.org>
To: "François-Xavier Le Bail" <fx.lebail@yahoo.com>,
	netdev@vger.kernel.org, "David S. Miller" <davem@davemloft.net>,
	"Alexey Kuznetsov" <kuznet@ms2.inr.ac.ru>,
	"James Morris" <jmorris@namei.org>,
	"Hideaki Yoshifuji" <yoshfuji@linux-ipv6.org>,
	"Patrick McHardy" <kaber@trash.net>
Subject: Re: [PATCH net-next v2] IPv6: add option to use Subnet-Router anycast addresses as source addresses
Date: Fri, 3 Jan 2014 08:09:09 +0100	[thread overview]
Message-ID: <20140103070909.GM22494@order.stressinduktion.org> (raw)
In-Reply-To: <20140103070426.GL22494@order.stressinduktion.org>

On Fri, Jan 03, 2014 at 08:04:26AM +0100, Hannes Frederic Sowa wrote:
> On Thu, Jan 02, 2014 at 10:49:02PM -0800, François-Xavier Le Bail wrote:
> > On Fri, 1/3/14, Hannes Frederic Sowa <hannes@stressinduktion.org> wrote:
> > 
> > On Thu, Jan 02, 2014 at 10:19:24PM  -0800, François-Xavier Le Bail wrote:
> > 
> > >> Some setup may use a ping to Subnet-Router anycast
> > >> address and expect a reply to discover a unicast address
> > >> (not very secure, but ...).
> > >>
> > >> It is the reason why, I want to keep existing default.
> >  
> > > Yep, with pre-defined anycast address I actually meant the
> > > subnet router
> > > anycast address. We currently don't need to deal with more
> > > than that one:
> > > https://www.iana.org/assignments/ipv6-anycast-addresses/ipv6-anycast-addresses.xhtml
> >  
> > > As soon as this patch gets applied, we have to keep the knob stable
> > > in its semantic.  So my proposal would be to change the knob to just
> > > control the behaviour of ping replies and also change its
> > > name to reflect this.
> >  
> > > Leave datagram sending with specific anycast address as
> > > source just open and
> > > don't protect it with this knob. Would that be a plan?
> >  
> > But service discovery may be done also with UDP, so I see the knob as a router policy:
> > It enable or not anycast source.
> 
> Wouldn't distributions just enable this unconditionally and no one will ever
> look at this option again?
> 
> IMHO it would be better if it could be controlled per application, because
> they ultimately know how their discovery protocol works. In case of ping, it
> is ok, because applications cannot control the source address here.

And actually, my preferred setup would be to use anycast addresses as source
addresses, but still have ping use the unicast address. This current patch
does not allow that?

Greetings,

  Hannes

  reply	other threads:[~2014-01-03  7:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-02 18:56 [PATCH net-next v2] IPv6: add option to use Subnet-Router anycast addresses as source addresses François-Xavier Le Bail
2014-01-02 23:17 ` Hannes Frederic Sowa
2014-01-02 23:19   ` Hannes Frederic Sowa
2014-01-03  5:58     ` François-Xavier Le Bail
2014-01-03  6:19       ` François-Xavier Le Bail
2014-01-03  6:30         ` Hannes Frederic Sowa
2014-01-03  6:49           ` François-Xavier Le Bail
2014-01-03  7:04             ` Hannes Frederic Sowa
2014-01-03  7:09               ` Hannes Frederic Sowa [this message]
2014-01-03  9:38                 ` François-Xavier Le Bail
  -- strict thread matches above, loose matches on Subject: below --
2014-01-02 15:53 Francois-Xavier Le Bail
2014-01-02 17:17 ` Hannes Frederic Sowa

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=20140103070909.GM22494@order.stressinduktion.org \
    --to=hannes@stressinduktion.org \
    --cc=davem@davemloft.net \
    --cc=fx.lebail@yahoo.com \
    --cc=jmorris@namei.org \
    --cc=kaber@trash.net \
    --cc=kuznet@ms2.inr.ac.ru \
    --cc=netdev@vger.kernel.org \
    --cc=yoshfuji@linux-ipv6.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;
as well as URLs for NNTP newsgroup(s).