Rob Austein | 1 Oct 2006 06:00
Favicon

Weekly posting summary for ipv6 <at> ietf.org

    Messages   |      Bytes        | Who
--------+------+--------+----------+------------------------
 11.11% |    1 | 30.13% |    21813 | arvindsaproo <at> huawei.com
 22.22% |    2 | 16.09% |    11651 | timbeck04 <at> verizon.net
 11.11% |    1 | 14.28% |    10336 | fred.l.templin <at> boeing.com
 11.11% |    1 |  9.76% |     7064 | pars.mutaf <at> int-evry.fr
 11.11% |    1 |  9.53% |     6896 | chkuo <at> zyxel.com.tw
 11.11% |    1 |  8.69% |     6290 | elwynd <at> dial.pipex.com
 11.11% |    1 |  5.86% |     4245 | sra+ipng <at> hactrn.net
 11.11% |    1 |  5.66% |     4099 | pilishandianxia <at> hotmail.com
--------+------+--------+----------+------------------------
100.00% |    9 |100.00% |    72394 | Total

Grunchweather Associates provides this automatic summary on an at-whim
basis at the request of the IPv6 WG chairs.  Your mileage may vary.
We decline responsibilities, all shapes, all sizes, all colors.
If this script produces broken output, you get to keep both pieces.

--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6 <at> ietf.org
Administrative Requests: https://www1.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------

Amrit Soni | 1 Oct 2006 20:36
Favicon

want same behavior as ipv4(scope_id)

Hi,

I've ported my application to IPv6. I open socket/bind to ethernet interface(scope id=2,eth0) but it doesn't work if i run two instances of my application on the same machine. I'm using redhat9 linux.

If i assign scope_id to 0(loopback i/f) then it works only on my machine. But in IPv4 there is no field as scope id, it works on local host as well as on network. I want the same behaviour as IPv4. Pls let me know what should i do to make my application scope independent. Is it a bug in linux kernal?


Thanks In Advance,
-Amit



--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6 <at> ietf.org
Administrative Requests: https://www1.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------
Rémi Denis-Courmont | 1 Oct 2006 20:54

Re: want same behavior as ipv4(scope_id)

N.B.: I think it would be more appropriate to discuss this on 
usagi-users than an IETF mailing list...

Le dimanche 1 octobre 2006 21:36, Amrit Soni a écrit :
> I've ported my application to IPv6. I open socket/bind to ethernet
> interface(scope id=2,eth0) but it doesn't work if i run two instances
> of my application on the same machine. I'm using redhat9 linux.

Why the heck do you bind to a specific interface at all? That should not 
be necessary for usual socket/bind/listen/accept and 
socket/bind/recvmsg/sendmsg code paths.

> If i assign scope_id to 0(loopback i/f)

0 is certainly not the lo(opback) scope ID. That would be in direct 
violation of the relevant POSIX and IETF standards, as 0 is the error 
return value of the if_nametoindex() API.

If you put 0 in a sockaddr_in6, you don't bind to any specific 
interface. This indeed leaves the scope ID undefined, and that's what 
pretty much every IPv6-aware applications do.

> then it works only on my machine. But in IPv4 there is no field as
> scope id, it works on local host as well as on network. I want the
> same behaviour as IPv4.

That's precisely what sin6_scope_id=0 does.

> Pls let me know what should i do to make my 
> application scope  independent. Is it a bug in linux kernal?

I don't think so.

--

-- 
Rémi Denis-Courmont
http://www.remlab.net/
--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6 <at> ietf.org
Administrative Requests: https://www1.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------
Amrit Soni | 1 Oct 2006 21:16
Favicon

Re: Re: want same behavior as ipv4(scope_id)

Thanks for the prompt reply.

sorry it was 1 for loopback interface.

But when i keep scope_id as 0, it returns error while binding.
What should i assign to scope id so that it can work for both loopback as well as for ethernet interface. I'm not using getaddrinfo() api.



On Mon, 02 Oct 2006 Rémi Denis-Courmont wrote :
>N.B.: I think it would be more appropriate to discuss this on
>usagi-users than an IETF mailing list...
>
>Le dimanche 1 octobre 2006 21:36, Amrit Soni a écrit :
> > I've ported my application to IPv6. I open socket/bind to ethernet
> > interface(scope id=2,eth0) but it doesn't work if i run two instances
> > of my application on the same machine. I'm using redhat9 linux.
>
>Why the heck do you bind to a specific interface at all? That should not
>be necessary for usual socket/bind/listen/accept and
>socket/bind/recvmsg/sendmsg code paths.
>
> > If i assign scope_id to 0(loopback i/f)
>
>0 is certainly not the lo(opback) scope ID. That would be in direct
>violation of the relevant POSIX and IETF standards, as 0 is the error
>return value of the if_nametoindex() API.
>
>If you put 0 in a sockaddr_in6, you don't bind to any specific
>interface. This indeed leaves the scope ID undefined, and that's what
>pretty much every IPv6-aware applications do.
>
> > then it works only on my machine. But in IPv4 there is no field as
> > scope id, it works on local host as well as on network. I want the
> > same behaviour as IPv4.
>
>That's precisely what sin6_scope_id=0 does.
>
> > Pls let me know what should i do to make my
> > application scope  independent. Is it a bug in linux kernal?
>
>I don't think so.
>
>--
>Rémi Denis-Courmont
>http://www.remlab.net/



--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6 <at> ietf.org
Administrative Requests: https://www1.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------
Rob Austein | 8 Oct 2006 06:00
Favicon

Weekly posting summary for ipv6 <at> ietf.org

    Messages   |      Bytes        | Who
--------+------+--------+----------+------------------------
 40.00% |    2 | 49.48% |    14107 | amsoni_hss <at> rediffmail.com
 20.00% |    1 | 21.77% |     6208 | rdenis <at> simphalempin.com
 20.00% |    1 | 14.88% |     4242 | mailman-owner <at> ietf.org
 20.00% |    1 | 13.87% |     3955 | sra+ipng <at> hactrn.net
--------+------+--------+----------+------------------------
100.00% |    5 |100.00% |    28512 | Total

Grunchweather Associates provides this automatic summary on an at-whim
basis at the request of the IPv6 WG chairs.  Your mileage may vary.
We decline responsibilities, all shapes, all sizes, all colors.
If this script produces broken output, you get to keep both pieces.

--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6 <at> ietf.org
Administrative Requests: https://www1.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------

Internet-Drafts | 9 Oct 2006 21:50
Picon
Favicon

I-D ACTION:draft-ietf-ipv6-privacy-addrs-v2-05.txt

A New Internet-Draft is available from the on-line Internet-Drafts 
directories.
This draft is a work item of the IP Version 6 Working Group Working Group of the IETF.

	Title		: Privacy Extensions for Stateless Address Autoconfiguration in IPv6
	Author(s)	: T. Narten, et al.
	Filename	: draft-ietf-ipv6-privacy-addrs-v2-05.txt
	Pages		: 28
	Date		: 2006-10-9
	
Nodes use IPv6 stateless address autoconfiguration to generate
   addresses using a combination of locally available information and
   information advertised by routers.  Addresses are formed by combining
   network prefixes with an interface identifier.  On interfaces that
   contain embedded IEEE Identifiers, the interface identifier is

   typically derived from it.  On other interface types, the interface
   identifier is generated through other means, for example, via random
   number generation.  This document describes an extension to IPv6
   stateless address autoconfiguration for interfaces whose interface
   identifier is derived from an IEEE identifier.  Use of the extension
   causes nodes to generate global scope addresses from interface
   identifiers that change over time, even in cases where the interface
   contains an embedded IEEE identifier.  Changing the interface
   identifier (and the global scope addresses generated from it) over
   time makes it more difficult for eavesdroppers and other information
   collectors to identify when different addresses used in different
   transactions actually correspond to the same node.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ipv6-privacy-addrs-v2-05.txt

To remove yourself from the I-D Announcement list, send a message to 
i-d-announce-request <at> ietf.org with the word unsubscribe in the body of 
the message. 
You can also visit https://www1.ietf.org/mailman/listinfo/I-D-announce 
to change your subscription settings.

Internet-Drafts are also available by anonymous FTP. Login with the 
username "anonymous" and a password of your e-mail address. After 
logging in, type "cd internet-drafts" and then 
"get draft-ietf-ipv6-privacy-addrs-v2-05.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt

Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv <at> ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-ipv6-privacy-addrs-v2-05.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.
Attachment: message/external-body, 145 bytes
--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6 <at> ietf.org
Administrative Requests: https://www1.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------
Tony Hain | 10 Oct 2006 00:35

RE: [Fwd: Re: humid IPv6 addresses]

I am not sure the collision approach is practical, and even if it is the
description needs more detail. This approach assumes that an implementation
will know that the wrong node has been reached when there are multiple
systems that are trying to create the same string, then back off and try
again on the incremented IID. I am not aware of any system that will retry
256 times before giving up, and even if they did it is not clear how they
know they reached the wrong node. As long as the dst port is open the only
way would be a higher layer crypto check, or a user recognized error.
Neither will cause the stack to retry.

The entire discussion about making this work over distance needs to be
removed. The collision section should be simplified to just have the user
change the hash input string when there is a collision. This is practical
when the use case is local ad-hoc. The logic for having part of the address
be typed in as hex and part as a string is just broken, so all references to
remote use need to go. 

Tony

> -----Original Message-----
> From: Pars Mutaf [mailto:pars.mutaf <at> int-evry.fr]
> Sent: Friday, September 29, 2006 8:13 AM
> To: ipv6 <at> ietf.org
> Subject: [Fwd: Re: humid IPv6 addresses]
> 
> Dear IPv6,
> 
> FYI, I have received the following comments on
> the human-regenerable IPv6 interface IDs and
> addresses (from the DNSEXT WG).
> 
> I've also been told that humid addresses may
> be helpful when L2 multicast isn't supported,
> in Wimax for example
> (other mechanisms e.g. IPv6 Node Information
> Queries need L2 multicast for name resolution
> UIMS).
> 
> With humid, there is also the possibility of
> searching a mobile host in multiple subnets.
> 
> Regards,
> pars
> 

--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6 <at> ietf.org
Administrative Requests: https://www1.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------

Pars Mutaf | 10 Oct 2006 18:29
Picon

RE: [Fwd: Re: humid IPv6 addresses]

Hi and thank you for your comments. You have two issues:

1/ how to detect that wrong node has been reached
2/ the logic of remote use is broken

In this mail I'm responding to the 1st one. I take note of 
2nd one but I'll reply later in a separate mail. I'm not 
against removing all references to remote use of HUMIDs, 
but I'd would like to try once more before giving up ;-)

In this mail: 

Below, please find the new text on 
how to detect that wrong node has been reached. 
For the old parts of the I-D, click:
http://www.ietf.org/internet-drafts/draft-mutaf-ipv6humid-01.txt

pars

------------------- 8<   cut here   --------------------

4. Reaching a host at its human-regenerable address

When attempting to contact a host at its human-regenerated
address, the initiator SHOULD first try a target address with
a collision count set to 0. Upon each failure (if any), the
collision count SHOULD be incremented by 1, before retrying.

A "failure" is defined as the case where a host with the 
same NAME is reached or detected but it is not the intended
destination. I.e., the source has chosen a collision count 'i',
the intended destination's address was configured with a 
collision count 'j'. However, the collision counts 'i' and 'j'
do not match.

This document describes two possible approaches to failure 
detection (or, searching the intended destination). 

   
4.1 One by one

This mode of operation is suitable for interactive
voice/video applications, where users can recognize each other.
This protocol is currently being used when for example multiple
occurrences of the same human name are found in a phone book 
(e.g. white pages). The session initiating user needs to call
different numbers until the intended destination is reached.

The same user-level protocol can be used with human-regenerable
addresses. Upon failure, the session initiating 
user can close the session and tell the application to try the 
next address. As described above, the application will increment 
the collision count and call the next address.

The choice of the number of attempts are left to the user.

It can also be noted that there is a non-negligible chance 
factor with human name collisions. Some "favored" users have a
human name that is likely to be very rare (if not globally
unique), while others have very common names. This issue is
orthogonal to this document.

4.2 All at once

Some applications may adopt the following protocol to find 
out the intended destination:

The session initiating application can generate a query packet
to the first 'n' addresses constructed with collision counts
0,1,2, ..., n. Upon receipt of the query, each contacted 
host can return detailed information on the host and/or 
user, e.g. a certificate. With this protocol, the initiator 
will receive m (where, m <= n) different replies prior to 
communication. The user or application will select one of 
the destinations and the session will be established.

The specification of the protocol to achieve this mode 
(i.e., query/reply packets and port number if any) is out 
of this document's scope.

------------------- 8<    cut here --------------------

On Mon, 2006-10-09 at 15:35 -0700, Tony Hain wrote:
> I am not sure the collision approach is practical, and even if it is the
> description needs more detail. This approach assumes that an implementation
> will know that the wrong node has been reached when there are multiple
> systems that are trying to create the same string, then back off and try
> again on the incremented IID. I am not aware of any system that will retry
> 256 times before giving up, and even if they did it is not clear how they
> know they reached the wrong node. As long as the dst port is open the only
> way would be a higher layer crypto check, or a user recognized error.
> Neither will cause the stack to retry.
> 
> The entire discussion about making this work over distance needs to be
> removed. The collision section should be simplified to just have the user
> change the hash input string when there is a collision. This is practical
> when the use case is local ad-hoc. The logic for having part of the address
> be typed in as hex and part as a string is just broken, so all references to
> remote use need to go. 
> 
> Tony
> 
> > -----Original Message-----
> > From: Pars Mutaf [mailto:pars.mutaf <at> int-evry.fr]
> > Sent: Friday, September 29, 2006 8:13 AM
> > To: ipv6 <at> ietf.org
> > Subject: [Fwd: Re: humid IPv6 addresses]
> > 
> > Dear IPv6,
> > 
> > FYI, I have received the following comments on
> > the human-regenerable IPv6 interface IDs and
> > addresses (from the DNSEXT WG).
> > 
> > I've also been told that humid addresses may
> > be helpful when L2 multicast isn't supported,
> > in Wimax for example
> > (other mechanisms e.g. IPv6 Node Information
> > Queries need L2 multicast for name resolution
> > UIMS).
> > 
> > With humid, there is also the possibility of
> > searching a mobile host in multiple subnets.
> > 
> > Regards,
> > pars
> > 
> 
> 

--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6 <at> ietf.org
Administrative Requests: https://www1.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------

Amrit Soni | 11 Oct 2006 19:51
Favicon

unknown behaviour with ipv6

Hi,

I'm doing testing of my ipv6 ported application on Fedora Core4.0(kernel 2.6.11). I'm using two ipv6 enabled hosts connected with a hub. And both of my hosts are having two addresses, link-local and global addresses.

I assign global address explictly and then i run my application on both the hosts. I bind all sockets with in6addr_any.  When my first host sends a packet to other host, it sends with the link-local address. And the second host dicards that packet because it expects the packet from global address. But after sometime around 5-10mins later, the first host starts sending packets on global ip and everything starts working. I don't understand this behavious.

I wanted to know why i'm getting this kind of behavious. Is it beacuse it takes time to make the entry of global address somewhere.


Thanks & Regards,
-Amrit



--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6 <at> ietf.org
Administrative Requests: https://www1.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------
Lawrence Zou | 13 Oct 2006 08:45
Favicon

RE: unknown behaviour with ipv6

do you have ever done some packet interaction analysis?
 


Best regards,

Lawrence

 

From: Amrit Soni [mailto:amsoni_hss <at> rediffmail.com]
Sent: Thursday, October 12, 2006 1:51 AM
To: ipv6 <at> ietf.org
Cc: usagi-users <at> linux-ipv6.org
Subject: unknown behaviour with ipv6

Hi,

I'm doing testing of my ipv6 ported application on Fedora Core4.0(kernel 2.6.11). I'm using two ipv6 enabled hosts connected with a hub. And both of my hosts are having two addresses, link-local and global addresses.

I assign global address explictly and then i run my application on both the hosts. I bind all sockets with in6addr_any.  When my first host sends a packet to other host, it sends with the link-local address. And the second host dicards that packet because it expects the packet from global address. But after sometime around 5-10mins later, the first host starts sending packets on global ip and everything starts working. I don't understand this behavious.

I wanted to know why i'm getting this kind of behavious. Is it beacuse it takes time to make the entry of global address somewhere.


Thanks & Regards,
-Amrit



--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6 <at> ietf.org
Administrative Requests: https://www1.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------

Gmane