All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vlad Yasevich <vyasevich@gmail.com>
To: linux-sctp@vger.kernel.org
Subject: Re: wrong family for IP addresses given by sctp library
Date: Wed, 03 Dec 2014 15:36:10 +0000	[thread overview]
Message-ID: <547F2DEA.3060609@gmail.com> (raw)
In-Reply-To: <B8F3375A902A0648BD5D9A5ADDE687B00569F8CC@cadine.france.prosodie.local>

On 12/03/2014 10:30 AM, Michael Tuexen wrote:
> On 03 Dec 2014, at 14:27, Boiteux Frederic <fboiteux@prosodie.com> wrote:
> 
>> 	Hello Ivan, Michael, Daniel,
>>
>>> Isn't the returned address simply a IPv6-mapped IPv4 address (::ffff:1.2.3.4) ? You can test it with IN6_IS_ADDR_V4MAPPED.
>>
>> Yes, it is (I've verified with the provided macro) ! I'll use this macro to detect and update provided addresses, thanks !
> Not sure if LKSCTP supports it, but you can use
> https://tools.ietf.org/html/rfc6458#section-8.1.15
> to control if the addresses should be provided as IPv4 addresses or mapped IPv6 ones.

Yes it's supported, but there was an issue that was recently fixed.

-vlad

> 
> Best regards
> Michael
>>
>>
>> Daniel, I'll try to test it on a recent kernel, but it will take some time to set up... thanks for the commit's reference !
>>
>> 	Regards,
>> 		Fred.
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


  parent reply	other threads:[~2014-12-03 15:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-03 10:50 wrong family for IP addresses given by sctp library Boiteux Frederic
2014-12-03 11:03 ` Ivan Skytte Jørgensen
2014-12-03 11:25 ` Michael Tuexen
2014-12-03 11:30 ` Daniel Borkmann
2014-12-03 13:27 ` Boiteux Frederic
2014-12-03 15:30 ` Michael Tuexen
2014-12-03 15:36 ` Vlad Yasevich [this message]
2014-12-03 15:41 ` Boiteux Frederic

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=547F2DEA.3060609@gmail.com \
    --to=vyasevich@gmail.com \
    --cc=linux-sctp@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.