From: Piero B. <bo...@cs...> - 2005-02-23 14:32:56
|
Actually I've 1.0.1 version. I try SCTP_GET_PEER_ADDR_INFO and=20 SCTP_PEER_ADDR_CHANGE but they didn't seem to work.. Quoting Sridhar Samudrala <sr...@us...>: > Piero, > > You should receive SCTP_PEER_ADDR_CHANGE notifications if they are enab= led > when there is any change in the status of the transport addresses. > SCTP_GET_PEER_ADDR_INFO socket option also should work. Are you using a > recent version of lksctp? > > -Sridhar > > On Tue, 8 Feb 2005, Piero Borello wrote: > > > I've had the same problem as yours. > > when the primary interface becomes UNREACHABLE my client-server waits > > about 1minute (too much for my real time voice application). > > The only solution I found is to count the non-ACKed TSN and, if this = value > is > > too > > high, I try another interface as soon as possible signaling error to > > the upper layer. (see STRUCT sctp_status -> sstat_unackdata in SCTP = API > draft). > > Now I change the interface about 1 or 2 seconds after the primary pat= h > falls > > down.Perhaps this is not the right way but it is the best one I found= . > > I don't know very well LKSCTP; I use PWLib with my SCTP patch for SCT= P API > > and I made this correction in my SCTP-write function. > > If anybody is interested in this issue, maybe I could upload > > some stuff as soon as I can. > > > > Regards > > Piero > > > > > >> > >> Message: 1 > >> From: "Anatoly Khusid" <ana...@ul...> > >> To: <lks...@li...> > >> Cc: "'Sridhar Samudrala'" <sr...@us...> > >> Subject: RE: [Lksctp-developers] SCTP Event - SCTP_ADDR_UNREACHABLE > >> Date: Mon, 7 Feb 2005 10:38:42 -0500 > >> > >> I am wondering how LKSCTP is implemented to discover that the curren= t > >> destination path is faulty and that it needs to attempt sending data= on > the > >> alternative path. > >> > >> I have a client and server talking to each other through two private= LANs. > >> The client keeps sending data messages in a tight loop. While clien= t is > >> sending data messages, I do 'ifconfig' on a primary interface (the o= ne > that > >> is currently used to send data). I'd expect sending to continue thr= ough > the > >> alternative LAN without noticing any obvious delay. Well, it takes = 1 > minute > >> before sending of data starts going through the other interface. > Meanwhile > >> (during this one minute interval), sendmsg() on a client side pretty > quickly > >> gets blocked. Then nothing happens for 1 minute, and then the data = starts > >> going to the other interface. > >> I thought the best thing to try another interface as soon as SCTP de= tects > >> that it did not receive an ACK. Does LKSCTP wait until MAX RTO befo= re it > >> tries to use another interface? If thats the case, this needs to be > >> optimized. > >> > >> Thanks, > >> > >> Anatoly > >> > >> > >> > >> -----Original Message----- > >> From: lks...@li... > >> [mailto:lks...@li...]On Behalf Of > >> Anatoly Khusid > >> Sent: Friday, February 04, 2005 12:02 PM > >> To: lks...@li... > >> Subject: [Lksctp-developers] SCTP Event - SCTP_ADDR_UNREACHABLE > >> > >> > >> It takes a VERY long time before I get an event SCTP_ADDR_UNREACHABL= E > after > >> I disconnect the remote IP address. > >> I have two machines with two private lans. I am sending traffic, an= d when > I > >> disonect a cable on the remote side, the local side takes forever be= fore > >> sending SCTP_ADDR_UNREACHABLE event. > >> I would think this should be a very quick?! I am using the default > >> provisioning values. > >> > >> Anyone has any idea whats going on? > >> > >> I am also using SuSe Linux 2.6.5-7.111.19-smp > >> > >> > >> > >> ------------------------------------------------------- > >> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Report= ing > >> Tool for open source databases. Create drag-&-drop reports. Save tim= e > >> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, et= c. > >> Download a FREE copy at http://www.intelliview.com/go/osdn_nl > >> _______________________________________________ > >> Lksctp-developers mailing list > >> Lks...@li... > >> https://lists.sourceforge.net/lists/listinfo/lksctp-developers > >> > >> > >> > >> > >> --__--__-- > >> > >> _______________________________________________ > >> Lksctp-developers mailing list > >> Lks...@li... > >> https://lists.sourceforge.net/lists/listinfo/lksctp-developers > >> > >> > >> End of Lksctp-developers Digest > >> > >> > >> > > > > > > > > > > ---------------------------------------------------------------- > > This message was sent using IMP, the Internet Messaging Program. > > > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real use= rs. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=CCk > > _______________________________________________ > > Lksctp-developers mailing list > > Lks...@li... > > https://lists.sourceforge.net/lists/listinfo/lksctp-developers > > > > > > -- ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |