santosh nayak | 2 Jun 2011 13:50
Picon

Re: Invalid Stream Identifier err for DATA message

Hi,

I am sending M3UA BEAT message, and ending up the error "Invalid stream identifier". Attaching the pcap for reference.

The capture contain two BEAT message, and one of the responded with the error.

Please let me know why the behavior is like this.


Thanks,
Santosh

On Sat, Feb 26, 2011 at 2:54 PM, Michael Tüxen <Michael.Tuexen <at> lurchi.franken.de> wrote:
On Feb 26, 2011, at 2:26 AM, santosh nayak wrote:

> Hi,
>
> As per RFC 4666  "Invalid Stream Identifier" error is sent if a message is received on an unexpected SCTP stream (e.g., a Management message was received on a stream other than "0"). So the err message only received in response for Management message
>
> But we are receiving the above error message. When we send a DATA message (i.e. SSA) with not the proper stream id.
>
> Is the behavior correct. if yes please explain.
RFC 4666, Section 1.4.7 states: The DATA message MUST NOT be sent on stream 0.

The DATA message (frame 10) was send on stream 0, therefore the ERR.

Best regards
Michael
>
>
> Attaching the pcap for reference
>
> Thanks,
> Santosh
> <err1.pcap>_______________________________________________
> Sigtran mailing list
> Sigtran <at> ietf.org
> https://www.ietf.org/mailman/listinfo/sigtran


Attachment (BEAT_error.pcap): application/octet-stream, 3094 bytes
_______________________________________________
Sigtran mailing list
Sigtran <at> ietf.org
https://www.ietf.org/mailman/listinfo/sigtran
David Laight | 2 Jun 2011 14:11

Re: Invalid Stream Identifier err for DATA message

Look at the packet decode, the INIT requests 'outbound streams 1, inbound 4'.
The BEAT is on stream 1 - which is illegal.
 
It is more likely that you need to negotiate 5 streams in each direction.
Giving you 4 streams for data.
 
    David
 
 

From: sigtran-bounces <at> ietf.org [mailto:sigtran-bounces <at> ietf.org] On Behalf Of santosh nayak
Sent: 02 June 2011 12:50
To: Michael Tüxen
Cc: sigtran <at> ietf.org; gurvinder.ratta <at> gmail.com
Subject: Re: [Sigtran] Invalid Stream Identifier err for DATA message

Hi,

I am sending M3UA BEAT message, and ending up the error "Invalid stream identifier". Attaching the pcap for reference.

The capture contain two BEAT message, and one of the responded with the error.

Please let me know why the behavior is like this.


Thanks,
Santosh

On Sat, Feb 26, 2011 at 2:54 PM, Michael Tüxen <Michael.Tuexen <at> lurchi.franken.de> wrote:
On Feb 26, 2011, at 2:26 AM, santosh nayak wrote:

> Hi,
>
> As per RFC 4666  "Invalid Stream Identifier" error is sent if a message is received on an unexpected SCTP stream (e.g., a Management message was received on a stream other than "0"). So the err message only received in response for Management message
>
> But we are receiving the above error message. When we send a DATA message (i.e. SSA) with not the proper stream id.
>
> Is the behavior correct. if yes please explain.
RFC 4666, Section 1.4.7 states: The DATA message MUST NOT be sent on stream 0.

The DATA message (frame 10) was send on stream 0, therefore the ERR.

Best regards
Michael
>
>
> Attaching the pcap for reference
>
> Thanks,
> Santosh
> <err1.pcap>_______________________________________________
> Sigtran mailing list
> Sigtran <at> ietf.org
> https://www.ietf.org/mailman/listinfo/sigtran



Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)

P Please consider the environment and don't print this e-mail unless you really need to


_______________________________________________
Sigtran mailing list
Sigtran <at> ietf.org
https://www.ietf.org/mailman/listinfo/sigtran
aditi someshwar | 20 Jun 2011 15:30
Picon

Number of streams in SCTP Association

Dear all,


Need one clarification please:


NUMBER OF STREAMS WITHIN AN SCTP ASSOCIATION - In quite a few RFCs, it is mentioned that the NUMBER OF STREAMS within one SCTP Association can be USER DEFINED, & that the two end-nodes NEGOTIATE these at the time "Association Set Up". However, REPEATEDLY, these RFCs also suggest that STREAM 0 shall be used for interchange of CONTROL MESSAGES while STREAM 1 (Note: They call it STREAM-1, & NOT "other than Stream 0") carries Data.

It is NOT very clear if the RFCs THEMSELVES are specifying / suggesting that AT MAX, there should be ONLY TWO STREAMs OR is it more a DEFAULT by most PRODUCT MANUFACTURERS who have (to keep matters less complex) decided to IMPLEMENT only TWO STREAMS.


Thanks and Regards,

Aditi

_______________________________________________
Sigtran mailing list
Sigtran <at> ietf.org
https://www.ietf.org/mailman/listinfo/sigtran
Chris Benson | 20 Jun 2011 23:18

Re: Number of streams in SCTP Association

Aditi,

The first sentence in your email content is correct.
The number of streams in an SCTP association is determined
(negotiated) by the two end-point SCTP users.  A specific
implementation of SCTP may restrict the maximum number of 
streams that it can support, but that number will typically
be MUCH greater than 2 streams in each direction.

One example SCTP-user is M3UA, and its RFC 4666 states in
Section 1.4.7. SCTP Stream Mapping:
   1. The DATA message MUST NOT be sent on stream 0.
   2. The ASPSM, MGMT, RKM classes SHOULD be sent on stream 0 
      (other than BEAT, BEAT ACK and NTFY messages).
   3. The SSNM, ASPTM classes and BEAT, BEAT ACK and NTFY 
      messages can be sent on any stream.

The existence of the MUST NOT words in point 1. means that 
M3UA requires SCTP to support two streams in each direction, 
and it would like quite a few more.

Note that in my example the "user" that decides and negotiates
the number of streams is M3UA (the user of SCTP), and not a
human user.

Typically, SCTP-user protocols might expect that considerably 
more than two SCTP streams will be available if requested.

With thanks, from Chris Benson.

On Mon, 20 Jun 2011, aditi someshwar wrote:

>>  Date: Mon, 20 Jun 2011 19:00:52 +0530
>>  From: aditi someshwar <aditi.someshwar <at> gmail.com>
>>  To:  <sigtran <at> ietf.org>
>>  Subject: [Sigtran] Number of streams in SCTP Association
>>  
>>  Dear all,
>>  
>>  
>>  Need one clarification please:
>>  
>>  
>>  NUMBER OF STREAMS WITHIN AN SCTP ASSOCIATION - In quite a few RFCs, it is
>>  mentioned that the NUMBER OF STREAMS within one SCTP Association can be USER
>>  DEFINED, & that the two end-nodes NEGOTIATE these at the time "Association
>>  Set Up". However, REPEATEDLY, these RFCs also suggest that STREAM 0 shall be
>>  used for interchange of CONTROL MESSAGES while STREAM 1 (Note: They call it
>>  STREAM-1, & NOT "other than Stream 0") carries Data.
>>  
>>  It is NOT very clear if the RFCs THEMSELVES are specifying / suggesting that
>>  AT MAX, there should be ONLY TWO STREAMs OR is it more a DEFAULT by most
>>  PRODUCT MANUFACTURERS who have (to keep matters less complex) decided to
>>  IMPLEMENT only TWO STREAMS.
>>  
>>  
>>  Thanks and Regards,
>>  
>>  Aditi
>>  
aditi someshwar | 21 Jun 2011 05:59
Picon

Re: Number of streams in SCTP Association

Thanks Chris, Thanks Padmalochan.

Would the M2PA also use more than 2 streams, or is there a restriction there?

Regards,
Aditi

On Tue, Jun 21, 2011 at 2:48 AM, Chris Benson <cbenson <at> adax.com> wrote:
Aditi,

The first sentence in your email content is correct.
The number of streams in an SCTP association is determined
(negotiated) by the two end-point SCTP users.  A specific
implementation of SCTP may restrict the maximum number of
streams that it can support, but that number will typically
be MUCH greater than 2 streams in each direction.

One example SCTP-user is M3UA, and its RFC 4666 states in
Section 1.4.7. SCTP Stream Mapping:
  1. The DATA message MUST NOT be sent on stream 0.
  2. The ASPSM, MGMT, RKM classes SHOULD be sent on stream 0
     (other than BEAT, BEAT ACK and NTFY messages).
  3. The SSNM, ASPTM classes and BEAT, BEAT ACK and NTFY
     messages can be sent on any stream.

The existence of the MUST NOT words in point 1. means that
M3UA requires SCTP to support two streams in each direction,
and it would like quite a few more.

Note that in my example the "user" that decides and negotiates
the number of streams is M3UA (the user of SCTP), and not a
human user.

Typically, SCTP-user protocols might expect that considerably
more than two SCTP streams will be available if requested.

With thanks, from Chris Benson.

On Mon, 20 Jun 2011, aditi someshwar wrote:

>>  Date: Mon, 20 Jun 2011 19:00:52 +0530
>>  From: aditi someshwar <aditi.someshwar <at> gmail.com>
>>  To:  <sigtran <at> ietf.org>
>>  Subject: [Sigtran] Number of streams in SCTP Association
>>
>>  Dear all,
>>
>>
>>  Need one clarification please:
>>
>>
>>  NUMBER OF STREAMS WITHIN AN SCTP ASSOCIATION - In quite a few RFCs, it is
>>  mentioned that the NUMBER OF STREAMS within one SCTP Association can be USER
>>  DEFINED, & that the two end-nodes NEGOTIATE these at the time "Association
>>  Set Up". However, REPEATEDLY, these RFCs also suggest that STREAM 0 shall be
>>  used for interchange of CONTROL MESSAGES while STREAM 1 (Note: They call it
>>  STREAM-1, & NOT "other than Stream 0") carries Data.
>>
>>  It is NOT very clear if the RFCs THEMSELVES are specifying / suggesting that
>>  AT MAX, there should be ONLY TWO STREAMs OR is it more a DEFAULT by most
>>  PRODUCT MANUFACTURERS who have (to keep matters less complex) decided to
>>  IMPLEMENT only TWO STREAMS.
>>
>>
>>  Thanks and Regards,
>>
>>  Aditi
>>

_______________________________________________
Sigtran mailing list
Sigtran <at> ietf.org
https://www.ietf.org/mailman/listinfo/sigtran
Brian F. G. Bidulock | 22 Jun 2011 04:00
Favicon

Re: Number of streams in SCTP Association

aditi,

RFC 4165/Page 24:

 The association SHALL contain two sttreams in each direction.  Stream
 0 is designated for Link Status messages.  Stream 1 is designated for
 User Data messages, as well as Link Status messages that must remain
 in sequence with the User Data messages.

It goes on to say which messages are send on which stream.

--brian

aditi someshwar wrote:               (Tue, 21 Jun 2011 09:29:53)
>    Thanks Chris, Thanks Padmalochan.
>    Would the M2PA also use more than 2 streams, or is there a restriction
>    there?
>    Regards,
>    Aditi

--

-- 
Brian F. G. Bidulock
bidulock <at> openss7.org
http://www.openss7.org/

Gmane