RE: Supporting 4 way connections in LKSCTP

From: David Laight
Date: Wed Dec 04 2013 - 11:13:51 EST


> > There are some network configurations that do cause problems.
> > Consider 4 systems with 3 LAN segments:
> > A) 10.10.10.1 on LAN X and 192.168.1.1 on LAN Y.
> > B) 10.10.10.2 on LAN X and 192.168.1.2 on LAN Y.
> > C) 10.10.10.3 on LAN X.
> > D) 10.10.10.4 on LAN X and 192.168.1.2 on LAN Z.
> > There are no routers between the networks (and none of the systems
> > are running IP forwarding).
> >
> > If A connects to B everything is fine - traffic can use either LAN.
> >
> > Connections from A to C are problematic if C tries to send anything
> > (except a HB) to 192.168.1.1 before receiving a HB response.
> > One of the SCTP stacks we've used did send messages to an
> > inappropriate address, but I've forgotten which one.
>
> I guess that would be problematic if A can not receive traffic for
> 192.168.1.1 on the interface connected to LAN X. I shouldn't
> technically be a problem for C as it should mark the path to 192.168.1.1
> as down. For A, as long as it doesn't decide to ABORT the association,
> it shouldn't be a problem either. It would be interesting to know more
> about what problems you've observed.

It was a long time ago, we don't actually do much SCTP testing even though
our product (SS7 M3UA) uses it. Mostly because we don't want to find
bugs that are hard to fix!

What we saw was C using the 192.x address (as supplied in the INIT) and
these not being routable to A (and not getting a response from a 3rd system).
So the application layer immediately timed everything out.

What I can't remember is whether this was Linux, Solaris or the SCTP stack
we took from freebsd and rammed into the windows kernel.

David

¢éì®&Þ~º&¶¬–+-±éÝ¥Šw®žË±Êâmébžìdz¹Þ)í…æèw*jg¬±¨¶‰šŽŠÝj/êäz¹ÞŠà2ŠÞ¨è­Ú&¢)ß«a¶Úþø®G«éh®æj:+v‰¨Šwè†Ù>Wš±êÞiÛaxPjØm¶Ÿÿà -»+ƒùdš_