linux-sctp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SCTP Association Restart
@ 2009-10-14 11:53 Gregory Waines
  2009-10-14 13:07 ` Vlad Yasevich
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Gregory Waines @ 2009-10-14 11:53 UTC (permalink / raw)
  To: linux-sctp



- ok, so I am using Linux 2.6.14 .
  can someone confirm that association restart should work
  for the SCTP implementation in Linux 2.6.14 .
  i.e. specifically for the side of the association that stays
       up and receives the unexpected INIT and COOKIE_ECHO while
       in the ESTABLISHED state.
       This end should accept the new INIT request as a restart
       (provided ip address and port match), report RESTART to the
       ULP, and reset sequence numbers to zero.
  This all works in 2.6.14 ?


- If I have a Linux process with an established SCTP connection/
  association,
  is there a socket option that prevents the kernel from 
  ABORTing the association if this Linux process fails unexpectedly ?


- I have the following question related to using the one-to-one style
socket 
  interface when trying to do an Association Restart:
     * if my node is typically the server side of the SCTP connections
     * then on a restart of this node,
     * I assume that I could NOT setup my server's listening socket
first,
                    (i.e. socket(), bind(), listen(), accept()...)
       and,
       then try to re-establish old associations by
socket(),bind(),connect() ...
            because the bind() would probably fail due to the listening
socket
            already being bound to the same SCTP IP Address and Port.
     *
     * is this correct ?
     * i.e. if using the one-to-one style interface, and 
               you are the server, and
               you restart, and
               you are trying to recover SCTP Associations,
            then
               the only way you can get around the bind() conflict is to

               recover the SCTP associations first, and then 
               re-setup your listening socket.


thanks in advance for any help,
Greg Waines
Nortel
waines@nortel.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-10-28 13:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-14 11:53 SCTP Association Restart Gregory Waines
2009-10-14 13:07 ` Vlad Yasevich
2009-10-14 13:51 ` Gregory Waines
2009-10-14 15:09 ` Vlad Yasevich
2009-10-28 12:00 ` Gregory Waines
2009-10-28 13:48 ` Vlad Yasevich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).