SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] Association ID doesn't "rollover"


Chronological Thread 
  • From: Thomas Dreibholz <dreibh AT iem.uni-due.de>
  • To: sctp-discussion AT sctp.de
  • Subject: Re: [SCTP-Discussion] Association ID doesn't "rollover"
  • Date: Mon, 17 Nov 2008 19:11:22 +0100
  • List-archive: <http://lists.franken.de/pipermail/sctp-discussion>
  • List-id: SCTP Discussions <sctp-discussion.sctp.de>
  • Organization: University of Duisburg-Essen, Institute for Experimental Mathematics

On Montag, 17. November 2008, Noam Rathaus wrote:

> Hi,

>

> The SCTP Library apparently has not been built to address more than

> 65,535 connections, after which the association ID should have reset

> itself to 0x0001, instead it goes beyond the 0xFFFF value, which

> causes all subsequent packets to get lost (as they are unassociated

> with anything on the sender side).

>

> I have a patch for this, if you are interested, I might have done

> something wrong which needs to be done to prevent this, but it looks

> like the assocID is always incremented (never decremented).

>

> Another side issue is that if you never "delete" the associated

> records, the port table will get filled, with used ports, and

> subsequent requested to associated a new connection will get stuck in

> an endless loop as it looks for an available position (where there is

> none), this is worth fixing as well (pretty easy if you use a static

> counter to count how many ports are left for use).

Dear Noam,

thank you for your bug report. Of course, we are interested in your patch. Just send them to us, so we can include a fix in the next release. I have never tested with more that 65,535 assocs simultaneously, so there may be some problems in the assoc ID allocation code which need to be fixed.

Do you also have some test programs to reproduce the problem? If possible, also send them to us.

Best regards

--

=======================================================================

Dr. Thomas Dreibholz

University of Duisburg-Essen, Room ES210

Inst. for Experimental Mathematics Ellernstraße 29

Computer Networking Technology Group D-45326 Essen/Germany

-----------------------------------------------------------------------

E-Mail: dreibh AT iem.uni-due.de

Homepage: http://www.iem.uni-due.de/~dreibh

=======================================================================

Attachment: signature.asc
Description: This is a digitally signed message part.




Archive powered by MHonArc 2.6.19+.

Top of page