All of lore.kernel.org
 help / color / mirror / Atom feed
From: kuznet@ms2.inr.ac.ru
To: mika.liljeberg@welho.COM (Mika Liljeberg)
Cc: netdev@oss.sgi.com
Subject: Re: [PATCH] IPv6: Fix broken anycast usage
Date: Tue, 15 Jul 2003 04:29:44 +0400 (MSD)	[thread overview]
Message-ID: <200307150029.EAA06610@dub.inr.ac.ru> (raw)
In-Reply-To: <1057997590.1142.31.camel@hades> from "Mika Liljeberg" at éÀÌ 12, 2003 12:45:01

Hello!

> this doesn't need to be policed. In general, there is no reliable way to
> check if a remote address is anycast, anyway. From RFC2461:
> 
>                  Note that an anycast address is syntactically
>                  indistinguishable from a unicast address.

This is right. (Well, except for the fact that reserved anycasts
are very well syntactically distinguished. :-)) But this does not matter,
the patch is correct, ANYCAST is an additional attribute on unicast
addresses and it should be checked only in contexts where _this_ host
is a member of this anycast.

BTW it is an addendum to my previous mail. You were right complaining
about EINVAL for anycast nexthop. However:

Nexthop address is unique identifier of nexthop router. We do not enforce
this policy (see comments in route.c), hence it is bug to reject such routes
and you are right, but this does not make your example more reasonable.
Any non-unicast non-linklocal address used as nexthop is bad idea,
this policy is not enforced to allow use of global nexthops on BGP routers,
where it is convenient to use global addresses for nexthop resolution and
where it is legal because they are not expected to receive redirects
This is legal in your case of PtP link too, however, this is still nasty.

Alexey

      reply	other threads:[~2003-07-15  0:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-12  8:13 [PATCH] IPv6: Fix broken anycast usage Mika Liljeberg
2003-07-15  0:29 ` kuznet [this message]

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=200307150029.EAA06610@dub.inr.ac.ru \
    --to=kuznet@ms2.inr.ac.ru \
    --cc=mika.liljeberg@welho.COM \
    --cc=netdev@oss.sgi.com \
    /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.