* sctp client not binding to all available addresses
@ 2013-03-06 17:14 Jon Leighton
2013-03-06 17:42 ` Vlad Yasevich
2013-03-07 2:01 ` Vlad Yasevich
0 siblings, 2 replies; 3+ messages in thread
From: Jon Leighton @ 2013-03-06 17:14 UTC (permalink / raw)
To: linux-sctp
I'm almost certain that calling connect() on an unbound socket used to
result in an INIT being sent with all available IP addresses advertised,
but that's not happening with the code I'm running right now. Has there
been a change in the default behaviour, or do I misremember it? Thanks.
- Jon
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: sctp client not binding to all available addresses
2013-03-06 17:14 sctp client not binding to all available addresses Jon Leighton
@ 2013-03-06 17:42 ` Vlad Yasevich
2013-03-07 2:01 ` Vlad Yasevich
1 sibling, 0 replies; 3+ messages in thread
From: Vlad Yasevich @ 2013-03-06 17:42 UTC (permalink / raw)
To: linux-sctp
On 03/06/2013 12:14 PM, Jon Leighton wrote:
> I'm almost certain that calling connect() on an unbound socket used to
> result in an INIT being sent with all available IP addresses advertised,
> but that's not happening with the code I'm running right now. Has there
> been a change in the default behaviour, or do I misremember it? Thanks.
>
It will list all available addresses that are of a scope that is larger
or the same as the destination. You can control selection with the
scope_policy sysctl. Check to see what it is set to on your system.
Otherwise, no changes have been made recently to this code. For
any more help, we'll need more information.
-vlad.
> - Jon
> --
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: sctp client not binding to all available addresses
2013-03-06 17:14 sctp client not binding to all available addresses Jon Leighton
2013-03-06 17:42 ` Vlad Yasevich
@ 2013-03-07 2:01 ` Vlad Yasevich
1 sibling, 0 replies; 3+ messages in thread
From: Vlad Yasevich @ 2013-03-07 2:01 UTC (permalink / raw)
To: linux-sctp
On 03/06/2013 02:38 PM, Jonathan T. Leighton wrote:
> On 03/06/13 12:42, Vlad Yasevich wrote:
>> On 03/06/2013 12:14 PM, Jon Leighton wrote:
>>> I'm almost certain that calling connect() on an unbound socket used to
>>> result in an INIT being sent with all available IP addresses advertised,
>>> but that's not happening with the code I'm running right now. Has there
>>> been a change in the default behaviour, or do I misremember it? Thanks.
>>>
>>
>> It will list all available addresses that are of a scope that is larger
>> or the same as the destination. You can control selection with the
>> scope_policy sysctl. Check to see what it is set to on your system.
>
> Thanks. Does addr_scope_policy=1 implement the policy described in
> draft-stewart-tsvwg-sctp-ipv4-00, or is there a more recent reference?
> And does addr_scope_policy=0 imply all available addresses are
> advertised (previous behavior)?
The sysctl description is the documentation. You can find it here:
ttps://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/networking/ip-sysctl.txt
Around line 1590.
-vlad
>
> - Jon
>
>> Otherwise, no changes have been made recently to this code. For
>> any more help, we'll need more information.
>>
>> -vlad.
>>> - Jon
>>> --
>>> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-03-07 2:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-06 17:14 sctp client not binding to all available addresses Jon Leighton
2013-03-06 17:42 ` Vlad Yasevich
2013-03-07 2:01 ` Vlad Yasevich
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.