netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Henrik Petander <lpetande@tml.hut.fi>
To: "David S. Miller" <davem@redhat.com>
Cc: yoshfuji@linux-ipv6.org, vnuorval@tcs.hut.fi,
	kuznet@ms2.inr.ac.ru, netdev@oss.sgi.com,
	ajtuomin@morphine.tml.hut.fi, lpetande@morphine.tml.hut.fi,
	jagana@us.ibm.com, kumarkr@us.ibm.com
Subject: Re: [patch]: ipv6 tunnel for MIPv6
Date: Wed, 04 Jun 2003 17:30:30 +0300	[thread overview]
Message-ID: <3EDE0286.4000304@tml.hut.fi> (raw)
In-Reply-To: <20030603.213830.85382657.davem@redhat.com>

David S. Miller wrote:

> I am VERY UPSET that there appears to be NO dialogue between USAGI and
> MIPV6 folks to discuss design of MIPV6.  If you do not talk together,
> how can you guys possibly coordinate efforts and not avoid duplicated
> work?

I am sorry about the long delay in the extension header addition
mechanism discussion. The issues involved with interactions between xfrm
stacked destinations and mipv6 were at least to me somewhat fuzzy. To
understand them better we developed a prototype of the mipv6 extension
header addition and processing. This unfortunately took too long, due to
other work.

In any case, I hope we can all work better together from now on. In
hopes of starting a working dialogue, I'll try to summarize the current
situation on our side.

1. Tunnel

The tunneling code should be ready, Ville just sent a  patch without
dependancies on source address based routing. All received and future
comments about that are highly appreciated.

2. Source address based routing

Ville sent the patch. The semantical changes to the original code were
in our opinion necessary to get source address based routing working
more as IPv4 policy routing.  Let's discuss this more.

3. API

We've added kernel support for the API to accept routing header type 2
and to do the additional checks necessary.  Also home address option
API support has been written.  In fact, you can add any destination
option to the new DO position with this.

There is a (sub)group working on MIPv6 extensions to the Advanced Socket
API for IPv6.  To me it seems pointless to add anything other to the
spec than a way to insert a destination option header to the third
possible DO position (i.e. between routing header and fragmentation
header).  This could be done just by adding new type, let's call it
IPV6_NOFRAGDSTOPTS.  Everything else should be doable with the
existing ASA.  We would like to hear comments on this.

Is a rtnetlink extension enough for adding mobility routes or do
we need to support ioctl too?

4. Source address selection

We think adding new home address flag to addresses is the best and
easiest way making the source address selection to work with MIPv6.
I'm sure USAGI will add the relevant checks to their source address
selection code for that.  Dave, Antti already brought this up some weeks
ago, but got no answer. Is the home address bit OK with you?

5. MIPv6 extension header adding

We have been also testing how the mipv6 extension header adding would
work in practice through the development of a prototype for the purpose.
Based on the work it seems (to me) that the use of xfrm for storing the
mipv6 stuff conflicts with its primary use, especially if there are
overlapping entries for IPSec and MIPv6.

Storing of the mipv6 information would in our opinion be achieved more
cleanly by using cached routes which included the mipv6 information (two
extra addresses and flags). The routes would contain modified nexthop
information and mip6_output as the  rt->u.dst.output function.
Mip6_output would add the extension headers based on the information
stored in the route. The routes would have a stacked dst entry, which
would be used for actual output.

Our prototype  currently works with tcp, tcp + ipsec and raw sockets,
but has only a hackish interface through route ioctl for testing. I can
send a preview patch of the code for discussion, if the general approach
makes sense to you. I would like to hear your opinions on this and also
if you (USAGI) have planned something else for storing the mipv6 state.


Henrik

  reply	other threads:[~2003-06-04 14:30 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20030424132559.GA15894@morphine.tml.hut.fi>
2003-05-30 14:34 ` [patch]: CONFIG_IPV6_SUBTREES fix for MIPv6 Ville Nuorvala
2003-05-30 15:00   ` [patch]: ipv6 tunnel " Ville Nuorvala
2003-05-30 15:38     ` YOSHIFUJI Hideaki / 吉藤英明
2003-06-04  4:38       ` David S. Miller
2003-06-04 14:30         ` Henrik Petander [this message]
2003-06-04 15:49           ` YOSHIFUJI Hideaki / 吉藤英明
2003-06-04 17:31             ` Henrik Petander
2003-06-05  8:36               ` Ville Nuorvala
2003-06-05 12:40             ` Ville Nuorvala
2003-06-04  4:34     ` David S. Miller
2003-06-04 12:40       ` Ville Nuorvala
2003-06-07 10:30         ` David S. Miller
2003-06-07 10:41           ` YOSHIFUJI Hideaki / 吉藤英明
2003-06-09 11:43           ` ipv6 tunnel patch (was: Re: [patch]: ipv6 tunnel for MIPv6) Ville Nuorvala
2003-06-09 14:55             ` ipv6 tunnel patch David S. Miller
2003-05-30 15:03   ` [patch]: CONFIG_IPV6_SUBTREES fix for MIPv6 YOSHIFUJI Hideaki / 吉藤英明
2003-05-30 20:38     ` Venkata Jagana
2003-06-03  6:35     ` Ville Nuorvala
2003-06-05 10:12     ` YOSHIFUJI Hideaki / 吉藤英明
2003-06-06  5:38       ` Masahide NAKAMURA
2003-06-06 11:14         ` Henrik Petander
2003-06-06 13:31           ` Masahide NAKAMURA
2003-06-09  9:06             ` Henrik Petander
2003-06-09 11:37               ` Masahide NAKAMURA
2003-06-10 15:25                 ` Henrik Petander
2003-06-10 15:40                   ` Masahide NAKAMURA
2003-06-10 16:56                     ` David S. Miller
2003-06-10 16:51                   ` David S. Miller
2003-06-11  8:48                     ` Henrik Petander
2003-06-12  3:20                       ` David S. Miller
2003-06-12  8:44                         ` Henrik Petander
2003-06-12  8:49                           ` David S. Miller
2003-06-13 11:26                           ` Masahide NAKAMURA
2003-06-13 14:27                             ` Henrik Petander
2003-06-06  8:48       ` Ville Nuorvala
2003-06-06 10:32         ` CONFIG_IPV6_SUBTREES (was [patch]: CONFIG_IPV6_SUBTREES fix for MIPv6) YOSHIFUJI Hideaki / 吉藤英明
2003-06-06 11:16           ` Ville Nuorvala

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=3EDE0286.4000304@tml.hut.fi \
    --to=lpetande@tml.hut.fi \
    --cc=ajtuomin@morphine.tml.hut.fi \
    --cc=davem@redhat.com \
    --cc=jagana@us.ibm.com \
    --cc=kumarkr@us.ibm.com \
    --cc=kuznet@ms2.inr.ac.ru \
    --cc=lpetande@morphine.tml.hut.fi \
    --cc=netdev@oss.sgi.com \
    --cc=vnuorval@tcs.hut.fi \
    --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).