Ankit Kumar Sharma | 1 Feb 2007 10:43
Picon

Re: Question related with DAUD Message



On 1/31/07, Barry Nagelberg <barryn <at> adax.com> wrote:
Oscar,

There is nothing in the RFC which states that "there is no limit to the number of point codes in the DAUD (or DUNA or
DAVA)".

Max limit could be calculated from the  max value of 'length'  parameter

This is an interoperability bug in the RFC, because obviously there must be some limit - an SGP could run out of
resources if the ASP sends it a DAUD msg with a billion point codes. A limit of 1024 sounds reasonable to me.

Not billion...we could send maximum 16382 point codes in a DAUD

The main point facing us now is that the size of the limit is an implementation decision for each vendor. I suggest that
the RFC be updated to state explicity what the limit is - otherwise this will continue to cause interoperability
problems.

I agree with you...

Barry Nagelberg

-----Original Message-----
From: Colmenares, Oscar (Oscar) [mailto:colmenares <at> alcatel-lucent.com]
Sent: Wednesday, January 31, 2007 12:23 PM
To: Ankit Kumar Sharma; Colmenares, Oscar (Oscar)
Cc: Andrew Booth; sigtran <at> ietf.org
Subject: RE: [Sigtran] Question related with DAUD Message



Ankit

    This part sound better for me, do you have the RFC that mentioned that there is not limit on the number of point
codes in DAUD message, I will need this in order to talk with our SG provider??

    Also can I share your email with people from my company and the customer???? Or this could be a problem for you?

Regards

Oscar
-----Original Message-----
From: Ankit Kumar Sharma [mailto:ankisharma <at> gmail.com]
Sent: Miércoles, 31 de Enero de 2007 01:15 p.m.
To: Colmenares, Oscar (Oscar)
Cc: Andrew Booth; sigtran <at> ietf.org
Subject: Re: [Sigtran] Question related with DAUD Message


I have also faced this problem in past. Some stack vendors limit it on no. of point codes in DAUD message and some on
the length of DAUD message(DAUD message greater than xx limit would get discarded).
If I am not wrong then as per RFC, there isn't any limit on number of Point codes in DAUD. If any vendor is not
following this then its a bug in their stack.
I think there should be some upper limit set on number of Point codes in DAUD for better interworking.

cheers,
Ankit


On 1/31/07, Colmenares, Oscar (Oscar) < colmenares <at> alcatel-lucent.com> wrote:

Andrew

        My concern here is that is multiple ASP and SG providers are having
their own interpretation to the standard and we can have inter-operability
problems in the future.

        So far we as an ASP we are trying to implement multiple point codes
in the same DAUD message and we can support up to 1024 point codes but the
SG interpretation was to set a limit in the numbers of point codes per DAUD
message up to 16, so we are facing some developments problems due different
interpretations.

        I think it will be a good idea to have a recommendation from the
Sigtran expert as how this should work in order to align all the ASP and SG
and define a way to use this kind of message.

        So my answer here will be, this help but not enough due there is no
way to decide who is right or wrong performing this setting in the message.

        Please if you or your team have recomendations in how to set this
(something official) please let us know, because this is very important for
us.

Regards

Oscar

-----Original Message-----
From: Andrew Booth [mailto:abooth <at> pt.com ]
Sent: Miércoles, 31 de Enero de 2007 12:18 p.m.
To: Colmenares, Oscar (Oscar)
Cc: sigtran <at> ietf.org
Subject: Re: [Sigtran] Question related with DAUD Message


I think the ASP can send DAUD in any way it sees fit, according to the RFC.

The following comments are my own and are not specified in the RFC.

I think assuming that state is always synchronized is a dangerous
assumption.  For instance, what if the SG is in overload and discards a
DAVA?  What if there's a bug on one end or the other?  What if the ASP
is connected to two SGPs and receives DUNA + DAVA from SGP1 and DUNA +
association loss from SGP2, in that order?
The main risk would probably be a missing DAVA, since a missing DUNA
would get discovered by a response DUNA if traffic is sent to the
destination.

>From an operational standpoint I'd be careful sending DAUD with a big
wildcard, since it's difficult to estimate how many responses you might
get and how fast, so it's hard to avoid potential overloads.  Also, you
won't necessarily know when you have all the responses (if you care).

Other than that, it's more bandwidth efficient to send multiple affected
PCs in one message, but that's only a concern if you're running over
bandwidth constrained networks or auditing many PCs.  So, take your pick.

Does that help?
Andrew

Colmenares, Oscar (Oscar) wrote:
> Sigtran Experts
>
>       I was looking for some help related with how to set the DAUD
> message, I was reading some message from HS Jang related when the ASP need
> to use the DAUD message, explain as follow
>
> Let me summarize about DAUD in SUA ASP with your postings and my
> understanding. first of all,
>  1) ASP does not need to send DAUD in normal situation. because SCCP in SG
> cares it with its mechanism and inform the ASP of the changes in DPC/SSN
> with SSNM message. i.e. the state information about destinations are
> synchronized all the time.
>  2) the only time ASP needs to send DAUD is when the ASP is recovered from
> isolation because ASP has no state information about destinations now. (
but
> this is also not necessary for normal operation of data transfer. it is
only
> necessary when ASP really wants to know the state information of
> destinations for example, in the respect of OAM or something )
> 3) there are mentions about sending DAUD periodically in RFC but it is
> somewhat wrong.
>
>       Now base on these explanation and related with point 2, send DAUD
> message when the ASP is recovered from isolation, my question is there is
> any rules in other to how to send these point codes?? do we have or must
> send multiple messages with one point code information per message, or
send
> just one message with all the point codes information???
>
>       The main idea here is understand if I have a system with multiple
> point codes, for example 25 point codes, how the standard said we need to
> send the DAUD message, just one message with all the point codes inside or
> 25 single messages with just one point code per message.
>
> I really appreciate your help on this question
>
> Best regards
>
> Oscar


_______________________________________________
Sigtran mailing list
Sigtran <at> ietf.org
https://www1.ietf.org/mailman/listinfo/sigtran

_______________________________________________
Sigtran mailing list
Sigtran <at> ietf.org
https://www1.ietf.org/mailman/listinfo/sigtran
Brian F. G. Bidulock | 1 Feb 2007 12:51
Favicon

Re: Question related with DAUD Message

Ankit,

Ankit Kumar Sharma wrote:                                                            (Thu, 01 Feb 2007 09:43:08)
> 
>    On 1/31/07, Barry Nagelberg <[1]barryn <at> adax.com> wrote:
> 
>      Oscar,
>      There is nothing in the RFC which states that "there is no limit to
>      the number of point codes in the DAUD (or DUNA or
>      DAVA)".
> 
>    Max  limit  could  be  calculated  from  the   max  value  of 'length'
>    parameter
> 
>      This is an interoperability bug in the RFC, because obviously there
>      must be some limit - an SGP could run out of
>      resources  if  the  ASP  sends  it  a DAUD msg with a billion point
>      codes. A limit of 1024 sounds reasonable to me.
> 
>    Not billion...we could send maximum 16382 point codes in a DAUD
> 
>      The  main  point  facing us now is that the size of the limit is an
>      implementation decision for each vendor. I suggest that
>      the RFC be updated to state explicity what the limit is - otherwise
>      this will continue to cause interoperability
>      problems.
> 
>    I agree with you...
> 

And so, to conform nicely to your limit, the ASP sends 1 billion DAUDs with
1 point code in each...  (Perhaps each with an all-ones mask.)  How can
your limit help this poorly designed SG?

An SG design that cannot handle an ASP with the "Babbling Idiot" syndrome
will always be vulnerable in such situations.  A more robust design would
not allow an ASP to usurp resources critical to other tasks.

--brian

--

-- 
Brian F. G. Bidulock
bidulock <at> openss7.org
http://www.openss7.org/
Ankit Kumar Sharma | 1 Feb 2007 14:59
Picon

Re: Question related with DAUD Message


Brian,
On 2/1/07, Brian F. G. Bidulock <bidulock <at> openss7.org> wrote:
Ankit,

Ankit Kumar Sharma wrote:                                                            (Thu, 01 Feb 2007 09:43:08)
>
>    On 1/31/07, Barry Nagelberg <[1]barryn <at> adax.com > wrote:
>
>      Oscar,
>      There is nothing in the RFC which states that "there is no limit to
>      the number of point codes in the DAUD (or DUNA or
>      DAVA)".
>
>    Max  limit  could  be  calculated  from  the   max  value  of 'length'
>    parameter
>
>      This is an interoperability bug in the RFC, because obviously there
>      must be some limit - an SGP could run out of
>      resources  if  the  ASP  sends  it  a DAUD msg with a billion point
>      codes. A limit of 1024 sounds reasonable to me.
>
>    Not billion...we could send maximum 16382 point codes in a DAUD
>
>      The  main  point  facing us now is that the size of the limit is an
>      implementation decision for each vendor. I suggest that
>      the RFC be updated to state explicity what the limit is - otherwise
>      this will continue to cause interoperability
>      problems.
>
>    I agree with you...
>

And so, to conform nicely to your limit, the ASP sends 1 billion DAUDs with
1 point code in each...  (Perhaps each with an all-ones mask.)  How can
your limit help this poorly designed SG?

Blacklist the vendor who fails in above scenario....;-)...but here, if I am not wrong, we are discussing about resource exhaution of SG when it has recieved a big DAUD message with thousands of Point codes in it.
Most of the vendors limit the maxmimum buffer length in which they receive lower layer indication. On the basis of buffer length they advertise in their release that we support only xxx point codes in a DAUD.
 Although a well designed SG should be able to handle this situation but still I think, there should be some 'sensible' upper limit on the number of point codes in such messages.

An SG design that cannot handle an ASP with the "Babbling Idiot" syndrome
will always be vulnerable in such situations.  A more robust design would
not allow an ASP to usurp resources critical to other tasks.

--brian

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


cheers,
Ankit


_______________________________________________
Sigtran mailing list
Sigtran <at> ietf.org
https://www1.ietf.org/mailman/listinfo/sigtran
Luke Cai | 1 Feb 2007 20:55

Re: Question related with DAUD Message

The problem is if the ASP totally depends on SG for the destination status, the SG has to have a way to
guarantee that:
1) DAVA and DUNA won't get lost unless there is a bug in SG, however, although it is unlikely, we do need to have
a "plan B", if it did happen. (It is possible that SG drops some messages due to defected overload
management but does manage to recover without reset the link) 
2) After a association restarts, ASP would probably reset all the destination status that associated with
this M3UA link to "unknown", and SG will have to send all the destination status to the ASP; the problem is if
the SG uses some kind of default route, there is no way SG would know which destination status needs to
report to ASP, in this case, ASP should probably send the DAUD to find out the status of destinations it cares.

So my personal opinion is for ASP to send the DAUD whenever it feels necessary (such as link restart). It is a
safe way to make sure the ASP always know the most recent destination status with a little bit overhead,
because if you have an ASP, you probably don't want to totally rely on the external NEs, especially there
are third-party's products.
Luke

-----Original Message-----
From: sigtran-request <at> ietf.org [mailto:sigtran-request <at> ietf.org] 
Sent: Thursday, February 01, 2007 1:43 AM
To: sigtran <at> ietf.org
Subject: Sigtran Digest, Vol 34, Issue 1

Send Sigtran mailing list submissions to
	sigtran <at> ietf.org

To subscribe or unsubscribe via the World Wide Web, visit
	https://www1.ietf.org/mailman/listinfo/sigtran
or, via email, send a message with subject or body 'help' to
	sigtran-request <at> ietf.org

You can reach the person managing the list at
	sigtran-owner <at> ietf.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Sigtran digest..."

Today's Topics:

   1. Re: Question related with DAUD Message (Brian F. G. Bidulock)
   2. Re: Question related with DAUD Message (Brian F. G. Bidulock)
   3. Re: Question related with DAUD Message (Ankit Kumar Sharma)

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

Message: 1
Date: Wed, 31 Jan 2007 12:35:26 -0700
From: "Brian F. G. Bidulock" <bidulock <at> openss7.org>
Subject: Re: [Sigtran] Question related with DAUD Message
To: Andrew Booth <abooth <at> pt.com>
Cc: sigtran <at> ietf.org
Message-ID: <20070131123526.A30302 <at> openss7.org>
Content-Type: text/plain; charset=us-ascii

Andrew,

I am a little confused by your statements.  A couple of comments:

Andrew Booth wrote:                        (Wed, 31 Jan 2007 11:17:54)
> I think the ASP can send DAUD in any way it sees fit, according to the RFC.
> 
> The following comments are my own and are not specified in the RFC.
> 
> I think assuming that state is always synchronized is a dangerous
> assumption.  For instance, what if the SG is in overload and discards a
> DAVA?

SCTP is a reliable transport.  DAVAs don't go missing without
loss of the association.

> What if there's a bug on one end or the other?

Bugs can cause failures: serious bugs, serious failures.
Rigorous software test and field testing comes to mind ;)

> What if the ASP is connected to two SGPs and receives DUNA + DAVA from SGP1
> and DUNA + association loss from SGP2, in that order?

The concensus of the designers of the M3UA and SUA protocols
long ago (at about m3ua-06) was that SNMM are to be interpreted
by the ASP on a per-SG basis rather than a per-SGP basis.  For
example, when an AS receives DUNA from any SGP in the SG, it
means DUNA for the entire SG, not just the SGP that sent the
message.

> The main risk would probably be a missing DAVA, since a missing DUNA
> would get discovered by a response DUNA if traffic is sent to the
> destination.

The easier test instead of DAUD is to have the SCCP-User send
traffic.  ITU specs require a DUNA every 8 or 10 messages for
N-PCSTATE.  Nevertheless, back to the first question, why would
an SG "miss" a DAVA?

I do not understand why the SG would be designed in such way
that it gets a positive response to an SST and yet somehow
"discards" the DAVA.

If it is going to lose simple management state it certainly
cannot provide service and the better course of action would be
sending ASP Inactive Ack, ASP Down Ack, or dropping the SCTP
association.

You see, if it cannot issue the DAVA message, how can it expect
to be able to handle data traffic for the AS?  If it cannot
issue the DAVA message, how is it to issue a DAUD response?

> >From an operational standpoint I'd be careful sending DAUD with a big
> wildcard, since it's difficult to estimate how many responses you might
> get and how fast, so it's hard to avoid potential overloads.  Also, you
> won't necessarily know when you have all the responses (if you care).

If an SGP cannot handle sending DAUD responses for, say, 1024
point codes, how could it expect to handle traffic for same?
(E.g, 80 messages per second for each of the 1024 point codes.)
Management message are rare compared to the data traffic and
only represent a very small percentage of the engineered
bandwidth use between SGP and ASP.  If there is insufficient
bandwidth for an SGP to send management messages, there is
insufficient bandwidth for normal operation.  In that case,
"delaying" (I don't agree with discarding) a DAVA message is a
good thing.

> 
> Other than that, it's more bandwidth efficient to send multiple affected
> PCs in one message, but that's only a concern if you're running over
> bandwidth constrained networks or auditing many PCs.  So, take your pick.

Again, management messages is a very small fraction of the
engineered bandwidth for data traffic.  If management messages
cannot be exchanged, neither can normal traffic.  Both the SGP
and ASP have all the protocol means necessary for indicating
same (ASP Inactive procedures, ASP Down procedures, and SCTP
communications lost procedures.)

--brian

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

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

Message: 2
Date: Wed, 31 Jan 2007 13:05:53 -0700
From: "Brian F. G. Bidulock" <bidulock <at> openss7.org>
Subject: Re: [Sigtran] Question related with DAUD Message
To: "Colmenares, Oscar (Oscar)" <colmenares <at> alcatel-lucent.com>
Cc: sigtran <at> ietf.org
Message-ID: <20070131130553.B30302 <at> openss7.org>
Content-Type: text/plain; charset=us-ascii

Oscar,

Some implementations of SCCP provide local management primitives
that permit the SCCP-User to query the local SCCP-provider to
determine the state of subsystems and SCCP for associated point
codes.  For SUA ASP-SG operation, the SCCP-provider is at the SG
and the SCCP-User at the ASP.  DAUD provides a mechanism that
can be used by SCCP-Users at the ASP using legacy management
interfaces to peform a like function.

Other implementation of SCCP use the normal responsive method
described by ITU specifications.  Under the method when the
SCCP-User requests transfer of traffic (N-DATA-Request,
N-UNITDATA-Request) to unavailable subsystems, it is informed on
a responsive basis (N-INFORM-Indication) every 8 or 10 requests.
In this way the SCCP-User does not have to maintain state but
can blindly send messages.

Some SUA implementations might prefer to maintain SCCP-Provider
management state at the ASP.  Others might leave it at the SCCP
layer in the SG (where I think it belongs).  The DUNA procedures
provide a protocol mechanism to accomplish this.  An SUA
implementation that choses to maintain SCCP-Provider management
state at the ASP can use the explicit and periodic DAUD
procedures to keep that management state synchronized with the
SCCP-Provider at the SG.  An SUA implementation that chooses to
leave SCCP-Provider management state at the SG has little need
for periodic DAUD procedures.

As to whether multiple responses should be grouped into one
message or not, it is pretty much up to the SGP.  The form of
the response is usable.

At any point in time in the SS7 network, subsystems and remote
SCCPs are mostly available.  The easiest way to reduce the size
of SNMM messages sent in response to DAUD is to send SCON for
listing congested subsystems, then DAVA(*) indicating all
subsystems are available,  immediately followed by DUNA listing
only the unavailable subsystems/point codes (all sent ordered on
SCTP stream 0).  This should result in only two or three really
small messages.  Note also that subsystems are only informed of
the N-STATE and N-PCSTATE of subsystems and point codes for
which they are concerned (as indicated by the RC in the DAUD
message), which is also a short list.  SGs do not need to limit
the size of responses as management messages are rare compated
to traffic.  An ASP might want to somehow limit the rate at which
it sends DAUD(*) to better utilize the SCTP association, however,
it is up to the ASP how it wishes to utilize its available
bandwidth and the SG simply responds to any request.

IMO is not not up to the SG to limit sending the responses
either in size or frequency.  The ASP that wishes to avoid
inefficient use of the available bandwidth is welcome to send
fewer DAUD messages, or to send DAUD messages with a narrower
response (i.e. DAUD(5-5-5) instead of DAUD(*)).

I hope that addresses your questions with regard to DAUD.

--brian

Colmenares, Oscar (Oscar) wrote:             (Wed, 31 Jan 2007 08:43:55)
> 
> Sigtran Experts
> 
> 	I was looking for some help related with how to set the DAUD
> message, I was reading some message from HS Jang related when the ASP need
> to use the DAUD message, explain as follow
> 
> Let me summarize about DAUD in SUA ASP with your postings and my
> understanding. first of all,
>  1) ASP does not need to send DAUD in normal situation. because SCCP in SG
> cares it with its mechanism and inform the ASP of the changes in DPC/SSN
> with SSNM message. i.e. the state information about destinations are
> synchronized all the time.
>  2) the only time ASP needs to send DAUD is when the ASP is recovered from
> isolation because ASP has no state information about destinations now. ( but
> this is also not necessary for normal operation of data transfer. it is only
> necessary when ASP really wants to know the state information of
> destinations for example, in the respect of OAM or something ) 
> 3) there are mentions about sending DAUD periodically in RFC but it is
> somewhat wrong. 
> 	
> 	Now base on these explanation and related with point 2, send DAUD
> message when the ASP is recovered from isolation, my question is there is
> any rules in other to how to send these point codes?? do we have or must
> send multiple messages with one point code information per message, or send
> just one message with all the point codes information???
> 
> 	The main idea here is understand if I have a system with multiple
> point codes, for example 25 point codes, how the standard said we need to
> send the DAUD message, just one message with all the point codes inside or
> 25 single messages with just one point code per message.
> 
> I really appreciate your help on this question
> 
> Best regards
> 
> Oscar
> 
> _______________________________________________
> Sigtran mailing list
> Sigtran <at> ietf.org
> https://www1.ietf.org/mailman/listinfo/sigtran

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

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

Message: 3
Date: Thu, 1 Feb 2007 09:43:08 +0000
From: "Ankit Kumar Sharma" <ankisharma <at> gmail.com>
Subject: Re: [Sigtran] Question related with DAUD Message
To: "Barry Nagelberg" <barryn <at> adax.com>
Cc: SIGTRAN Mailing List <sigtran <at> ietf.org>
Message-ID:
	<6dbbbf160702010143x1d6c2ec0wc43390fb4fddc7a2 <at> mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

On 1/31/07, Barry Nagelberg <barryn <at> adax.com> wrote:
>
> Oscar,
>
> There is nothing in the RFC which states that "there is no limit to the
> number of point codes in the DAUD (or DUNA or
> DAVA)".

Max limit could be calculated from the  max value of 'length'  parameter

This is an interoperability bug in the RFC, because obviously there must be
> some limit - an SGP could run out of
> resources if the ASP sends it a DAUD msg with a billion point codes. A
> limit of 1024 sounds reasonable to me.

Not billion...we could send maximum 16382 point codes in a DAUD

The main point facing us now is that the size of the limit is an
> implementation decision for each vendor. I suggest that
> the RFC be updated to state explicity what the limit is - otherwise this
> will continue to cause interoperability
> problems.

I agree with you...

Barry Nagelberg
>
> -----Original Message-----
> From: Colmenares, Oscar (Oscar) [mailto:colmenares <at> alcatel-lucent.com]
> Sent: Wednesday, January 31, 2007 12:23 PM
> To: Ankit Kumar Sharma; Colmenares, Oscar (Oscar)
> Cc: Andrew Booth; sigtran <at> ietf.org
> Subject: RE: [Sigtran] Question related with DAUD Message
>
>
>
> Ankit
>
>     This part sound better for me, do you have the RFC that mentioned that
> there is not limit on the number of point
> codes in DAUD message, I will need this in order to talk with our SG
> provider??
>
>     Also can I share your email with people from my company and the
> customer???? Or this could be a problem for you?
>
> Regards
>
> Oscar
> -----Original Message-----
> From: Ankit Kumar Sharma [mailto:ankisharma <at> gmail.com]
> Sent: Miércoles, 31 de Enero de 2007 01:15 p.m.
> To: Colmenares, Oscar (Oscar)
> Cc: Andrew Booth; sigtran <at> ietf.org
> Subject: Re: [Sigtran] Question related with DAUD Message
>
>
> I have also faced this problem in past. Some stack vendors limit it on no.
> of point codes in DAUD message and some on
> the length of DAUD message(DAUD message greater than xx limit would get
> discarded).
> If I am not wrong then as per RFC, there isn't any limit on number of
> Point codes in DAUD. If any vendor is not
> following this then its a bug in their stack.
> I think there should be some upper limit set on number of Point codes in
> DAUD for better interworking.
>
> cheers,
> Ankit
>
>
> On 1/31/07, Colmenares, Oscar (Oscar) <colmenares <at> alcatel-lucent.com>
> wrote:
>
> Andrew
>
>         My concern here is that is multiple ASP and SG providers are
> having
> their own interpretation to the standard and we can have inter-operability
> problems in the future.
>
>         So far we as an ASP we are trying to implement multiple point
> codes
> in the same DAUD message and we can support up to 1024 point codes but the
> SG interpretation was to set a limit in the numbers of point codes per
> DAUD
> message up to 16, so we are facing some developments problems due
> different
> interpretations.
>
>         I think it will be a good idea to have a recommendation from the
> Sigtran expert as how this should work in order to align all the ASP and
> SG
> and define a way to use this kind of message.
>
>         So my answer here will be, this help but not enough due there is
> no
> way to decide who is right or wrong performing this setting in the
> message.
>
>         Please if you or your team have recomendations in how to set this
> (something official) please let us know, because this is very important
> for
> us.
>
> Regards
>
> Oscar
>
> -----Original Message-----
> From: Andrew Booth [mailto:abooth <at> pt.com ]
> Sent: Miércoles, 31 de Enero de 2007 12:18 p.m.
> To: Colmenares, Oscar (Oscar)
> Cc: sigtran <at> ietf.org
> Subject: Re: [Sigtran] Question related with DAUD Message
>
>
> I think the ASP can send DAUD in any way it sees fit, according to the
> RFC.
>
> The following comments are my own and are not specified in the RFC.
>
> I think assuming that state is always synchronized is a dangerous
> assumption.  For instance, what if the SG is in overload and discards a
> DAVA?  What if there's a bug on one end or the other?  What if the ASP
> is connected to two SGPs and receives DUNA + DAVA from SGP1 and DUNA +
> association loss from SGP2, in that order?
> The main risk would probably be a missing DAVA, since a missing DUNA
> would get discovered by a response DUNA if traffic is sent to the
> destination.
>
> >From an operational standpoint I'd be careful sending DAUD with a big
> wildcard, since it's difficult to estimate how many responses you might
> get and how fast, so it's hard to avoid potential overloads.  Also, you
> won't necessarily know when you have all the responses (if you care).
>
> Other than that, it's more bandwidth efficient to send multiple affected
> PCs in one message, but that's only a concern if you're running over
> bandwidth constrained networks or auditing many PCs.  So, take your pick.
>
> Does that help?
> Andrew
>
> Colmenares, Oscar (Oscar) wrote:
> > Sigtran Experts
> >
> >       I was looking for some help related with how to set the DAUD
> > message, I was reading some message from HS Jang related when the ASP
> need
> > to use the DAUD message, explain as follow
> >
> > Let me summarize about DAUD in SUA ASP with your postings and my
> > understanding. first of all,
> >  1) ASP does not need to send DAUD in normal situation. because SCCP in
> SG
> > cares it with its mechanism and inform the ASP of the changes in DPC/SSN
> > with SSNM message. i.e. the state information about destinations are
> > synchronized all the time.
> >  2) the only time ASP needs to send DAUD is when the ASP is recovered
> from
> > isolation because ASP has no state information about destinations now. (
> but
> > this is also not necessary for normal operation of data transfer. it is
> only
> > necessary when ASP really wants to know the state information of
> > destinations for example, in the respect of OAM or something )
> > 3) there are mentions about sending DAUD periodically in RFC but it is
> > somewhat wrong.
> >
> >       Now base on these explanation and related with point 2, send DAUD
> > message when the ASP is recovered from isolation, my question is there
> is
> > any rules in other to how to send these point codes?? do we have or must
> > send multiple messages with one point code information per message, or
> send
> > just one message with all the point codes information???
> >
> >       The main idea here is understand if I have a system with multiple
> > point codes, for example 25 point codes, how the standard said we need
> to
> > send the DAUD message, just one message with all the point codes inside
> or
> > 25 single messages with just one point code per message.
> >
> > I really appreciate your help on this question
> >
> > Best regards
> >
> > Oscar
>
>
> _______________________________________________
> Sigtran mailing list
> Sigtran <at> ietf.org
> https://www1.ietf.org/mailman/listinfo/sigtran
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www1.ietf.org/pipermail/sigtran/attachments/20070201/24080de3/attachment.html

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

_______________________________________________
Sigtran mailing list
Sigtran <at> ietf.org
https://www1.ietf.org/mailman/listinfo/sigtran

End of Sigtran Digest, Vol 34, Issue 1
**************************************
Brian F. G. Bidulock | 1 Feb 2007 22:31
Favicon

Re: Re: Question related with DAUD Message

Luke,

Luke Cai wrote:                                 (Fri, 02 Feb 2007 03:55:32)
> The problem is if the ASP totally depends on SG for the destination status,
> the SG has to have a way to guarantee that:

> 1) DAVA and DUNA won't get lost unless there is a bug in SG, however,
> although it is unlikely, we do need to have a "plan B", if it did happen.
> (It is possible that SG drops some messages due to defected overload
> management but does manage to recover without reset the link) 

An intelligent M3UA or SUA user at the ASP can protect against loss
by simply marking unavailable destinations as available ever so
often.

However, a legacy MTP- or SCCP-User will expect that the MTP or SCCP
is indeed reliable in what it reports.  That is simply the nature of
the MTP/MTP-User and SCCP/SCCP-User interface as defined by the
Standards and for which M3UA and SUA claim transparency.

The existing audit procedures provide the ASP with the means to
query the status of destinations.  Their precise use in relation to
the MTP- or SCCP-User at the ASP is a local implementation specific
matter.

> 2) After a association restarts, ASP would probably reset all the
> destination status that associated with this M3UA link to "unknown", and SG
> will have to send all the destination status to the ASP; the problem is if
> the SG uses some kind of default route, there is no way SG would know which
> destination status needs to report to ASP, in this case, ASP should probably
> send the DAUD to find out the status of destinations it cares.

Well, to follow SS7 and appropriate M3UA procedures, the ASP should
reset all the destination status to "available/uncongested/unrestricted"
(because this is the normal state of all destinations in the SS7
network).  If the ASP wishes, it can audit, or it can allow users to
blindly send messages to any destination.  If the SG does not want
to receive blindly sent messages, it can send status to newly
available ASPs per RFC4666/4.5.1:

   For the particular case that an ASP becomes active for an AS and
   destinations normally accessible to the AS are inaccessible,
   restricted, or congested, the SG MAY send DUNA, DRST, or SCON
   messages for the inaccessible, restricted, or congested destinations
   to the ASP newly active for the AS to prevent the ASP from sending
   traffic for destinations that it might not otherwise know that are
   inaccessible, restricted, or congested.  For the newly activating ASP
   from which the SGP has received an ASP Active message, these DUNA,
   DRST, and SCON messages MAY be sent before sending the ASP Active Ack
   that completes the activation procedure.

There is nothing in RFC 3868 precluding this behaviour of the SUA SG.
(Note that ASP Active Ack can be sent on stream 0 but SNMM and DATA
are not sent on stream 0, so even SNMM and DATA sent after ASP
Active Ack can arrive before ASP Active Ack.)

> So my personal opinion is for ASP to send the DAUD whenever it feels
> necessary (such as link restart). It is a safe way to make sure the ASP
> always know the most recent destination status with a little bit overhead,
> because if you have an ASP, you probably don't want to totally rely on the
> external NEs, especially there are third-party's products.

As the SG is actually connected to the SS7 network and must conform
to strict and rigorous standards, conformance and compliance
certification I would think it highly unlikely that a fielded SG would
be as unreliable as you portray.

--brian

--

-- 
Brian F. G. Bidulock
bidulock <at> openss7.org
http://www.openss7.org/
Andrew Booth | 1 Feb 2007 23:44
Favicon

Re: Question related with DAUD Message

Hi Brian,

Here's an attempt at clarification.

My previous comments were made while wearing my "paranoid ASP developer
hat".  While I'm wearing that hat I don't like to make too many
assumptions about the behaviour of the SG, where I can easily avoid it. 
Obviously, some bugs are not worth working around.

I find it interesting to note that the behaviour of an SG during
overload is not specified.  This is different than the SS7
specifications which explicitly tell you how to deal with many kinds of
congestion.  Maybe it's worth putting some recommendations together (or
maybe I missed the guidance that was there).  In the absence of such
guidance an ASP will have to be pretty conservative about its
assumptions, or delve into non-portability by discussing with SG
vendors.  That's a bit of an aside from this thread, so I'll leave it
for you to decide whether to spin it into a separate thread.  I'll just
say that I agree that delaying a DAVA is better than discarding it. 
Whether closing an association is better than discarding a DAVA seems to
me to depends a bit on the network architecture.  In some cases (such as
when we know the ASP will audit), it may be better to discard the DAVA. 
In other cases it's probably worse.

More comments inline.

Brian F. G. Bidulock wrote:
> Andrew,
>
> I am a little confused by your statements.  A couple of comments:
>
> Andrew Booth wrote:                        (Wed, 31 Jan 2007 11:17:54)
>   
>> I think the ASP can send DAUD in any way it sees fit, according to the RFC.
>>
>> The following comments are my own and are not specified in the RFC.
>>
>> I think assuming that state is always synchronized is a dangerous
>> assumption.  For instance, what if the SG is in overload and discards a
>> DAVA?
>>     
>
> SCTP is a reliable transport.  DAVAs don't go missing without
> loss of the association.
>
>   
>> What if there's a bug on one end or the other?
>>     
>
> Bugs can cause failures: serious bugs, serious failures.
> Rigorous software test and field testing comes to mind ;)
>   
Sure, but sometimes bugs slip through anyway.  Some types of bugs are
notoriously difficult to detect even with rigorous testing.  Bugs that
require an overload condition then a DAVA probably fall into that
category.  The first 100 times you do the test you might not have a full
buffer (of whatever kind) when the DAVA should go out.
>   
>> What if the ASP is connected to two SGPs and receives DUNA + DAVA from SGP1
>> and DUNA + association loss from SGP2, in that order?
>>     
>
> The concensus of the designers of the M3UA and SUA protocols
> long ago (at about m3ua-06) was that SNMM are to be interpreted
> by the ASP on a per-SG basis rather than a per-SGP basis.  For
> example, when an AS receives DUNA from any SGP in the SG, it
> means DUNA for the entire SG, not just the SGP that sent the
> message.
>   
Exactly.  So, in the race condition described above, the ASP is left
believing that the destination is inaccessible to the SG (incorrectly). 
This will persist until manual intervention, or the ASP audits.

Whatever the reason for a mismatch in destination state, it's easy to
improve your chances of recovery by periodically auditing.

>   
>> The main risk would probably be a missing DAVA, since a missing DUNA
>> would get discovered by a response DUNA if traffic is sent to the
>> destination.
>>     
>
> The easier test instead of DAUD is to have the SCCP-User send
> traffic.  ITU specs require a DUNA every 8 or 10 messages for
> N-PCSTATE.  
If the ASP has another SG available, the DAUD may be a better choice.

> Nevertheless, back to the first question, why would
> an SG "miss" a DAVA?
>
> I do not understand why the SG would be designed in such way
> that it gets a positive response to an SST and yet somehow
> "discards" the DAVA.
>
> If it is going to lose simple management state it certainly
> cannot provide service and the better course of action would be
> sending ASP Inactive Ack, ASP Down Ack, or dropping the SCTP
> association.
>
> You see, if it cannot issue the DAVA message, how can it expect
> to be able to handle data traffic for the AS?  If it cannot
> issue the DAVA message, how is it to issue a DAUD response?
>   
It might, or it might not.  I think the odds of recovery are better if
you send the DAUD.  For instance, possibly the nodal congestion will
have abated by the time the DAUD comes in.
>   
>> >From an operational standpoint I'd be careful sending DAUD with a big
>> wildcard, since it's difficult to estimate how many responses you might
>> get and how fast, so it's hard to avoid potential overloads.  Also, you
>> won't necessarily know when you have all the responses (if you care).
>>     
>
> If an SGP cannot handle sending DAUD responses for, say, 1024
> point codes, how could it expect to handle traffic for same?
> (E.g, 80 messages per second for each of the 1024 point codes.)
> Management message are rare compared to the data traffic and
> only represent a very small percentage of the engineered
> bandwidth use between SGP and ASP.  If there is insufficient
> bandwidth for an SGP to send management messages, there is
> insufficient bandwidth for normal operation.  In that case,
> "delaying" (I don't agree with discarding) a DAVA message is a
> good thing.
>   
I was concerned more with DAUD(*), which could require a lot more
responses.  Also, management traffic and user traffic have different
models.  Management traffic can be quite bursty, and can for short
periods outstrip the expected user traffic.

Does that make any more sense?
Andrew
>   
>> Other than that, it's more bandwidth efficient to send multiple affected
>> PCs in one message, but that's only a concern if you're running over
>> bandwidth constrained networks or auditing many PCs.  So, take your pick.
>>     
>
> Again, management messages is a very small fraction of the
> engineered bandwidth for data traffic.  If management messages
> cannot be exchanged, neither can normal traffic.  Both the SGP
> and ASP have all the protocol means necessary for indicating
> same (ASP Inactive procedures, ASP Down procedures, and SCTP
> communications lost procedures.)
>
> --brian
>
>   
Brian F. G. Bidulock | 2 Feb 2007 01:35
Favicon

Re: Question related with DAUD Message

Andrew,

Andrew Booth wrote:                         (Thu, 01 Feb 2007 17:44:31)

> vendors.  That's a bit of an aside from this thread, so I'll leave it
> for you to decide whether to spin it into a separate thread.  I'll just
> say that I agree that delaying a DAVA is better than discarding it. 

IMO discarding an indication to the MTP- or SCCP-User is a defect in
design and implementation.

> Sure, but sometimes bugs slip through anyway.  Some types of bugs are
> notoriously difficult to detect even with rigorous testing.  Bugs that
> require an overload condition then a DAVA probably fall into that
> category.  The first 100 times you do the test you might not have a full
> buffer (of whatever kind) when the DAVA should go out.

I used to do crush and destroy testing for the Telco.  They have ways:
proper load testing and field trials

> >   
> >> What if the ASP is connected to two SGPs and receives DUNA + DAVA from SGP1
> >> and DUNA + association loss from SGP2, in that order?
> >>     
> >
> > The concensus of the designers of the M3UA and SUA protocols
> > long ago (at about m3ua-06) was that SNMM are to be interpreted
> > by the ASP on a per-SG basis rather than a per-SGP basis.  For
> > example, when an AS receives DUNA from any SGP in the SG, it
> > means DUNA for the entire SG, not just the SGP that sent the
> > message.
> >   
> Exactly.  So, in the race condition described above, the ASP is left
> believing that the destination is inaccessible to the SG (incorrectly). 
> This will persist until manual intervention, or the ASP audits.
> 
> Whatever the reason for a mismatch in destination state, it's easy to
> improve your chances of recovery by periodically auditing.

There should not be a race conditions.  SNMM should be delivered
once per SG and once per ASP.  As I said, we agreed that they are
per-SG and not per-SGP.  Avoiding race conditions between SGP was
one of the reasons that we considered back at M3UA-07 for doing
this.  So in your example, either SGP1 or SGP2 should send the SNMM
to ASP1, but not both as you describe.

If ASP1 receives DUNA + association failure from SGP2 (and nothing
from SGP1 per above), it is welcome to audit the AS.  Auditing the
AS on association failure to the SG  (as reliability of message
passing may have been compromised)  might be an idea; however, bear
in mind that the responds to the DAUD can equally be mangled by
association failure.  CORID provides procedures in this situation to
also avoid the missequencing of messages (both DATA and SNMM).

Nevertheless, the Audit procedure is there for ASP designers to use
as they see fit.  I never asked for it to be removed, and even
defended keeping it.  However, how that ASP uses the DAUD procedure
with relation to the local MTP- or SCCP-Users is implementation
specific.  The specs provide general audit procedures that allow
ASP designers great freedom in this respect.

> 
> >   
> >> The main risk would probably be a missing DAVA, since a missing DUNA
> >> would get discovered by a response DUNA if traffic is sent to the
> >> destination.
> >>     
> >
> > The easier test instead of DAUD is to have the SCCP-User send
> > traffic.  ITU specs require a DUNA every 8 or 10 messages for
> > N-PCSTATE.  
> If the ASP has another SG available, the DAUD may be a better choice.

True.

> It might, or it might not.  I think the odds of recovery are better if
> you send the DAUD.  For instance, possibly the nodal congestion will
> have abated by the time the DAUD comes in.

IMO SG should not be designed to discard SNMM messages.  ASPT
messages are for traffic management.  Unsolicited ASP Inactive Ack
is appropriate.  For finer grained conditions, see the ASPCONG
draft.

> >   
> I was concerned more with DAUD(*), which could require a lot more
> responses.  Also, management traffic and user traffic have different
> models.  Management traffic can be quite bursty, and can for short
> periods outstrip the expected user traffic.

As they should.  So, managements messages are sent with the highest
priority in the SS7 network.

Equal attention should be given to DAUD and its response.  However,
SNMM should take priority over traffic only to the ASP requesting
the audit.  Failure to enforce that results in a system that cannot
properly support multiple users.

--brian

--

-- 
Brian F. G. Bidulock
bidulock <at> openss7.org
http://www.openss7.org/
Brian F. G. Bidulock | 2 Feb 2007 14:09
Favicon

Re: R: testing Sigtran protocols

Troiano,

On Fri, 02 Feb 2007, Troiano Marco wrote:

> Hi Brian,
> thank u for your informations. I would like to get more info about counters,
> measurements in Sigtran. Is there some standard about this issue? I mean
> something similar to Q.752 ITU in which there are all the measurements for
> SS7.

Unfortunately MIBs for the SIGTRAN protocols were never completed.  There is
an old MIB document for M3UA (draft-ietf-sigtran-m3ua-mib-08.txt) but it
is dead.

For M2UA, M3UA and SUA, the full set of Q.752 operational measurements are
applicable to the SS7 protocol stack at the entity providing the SS7 protocol
level.  Additional managed objects an operational measurements should appear
in MIBs but the WG was been lax on completing them.

For M2PA much of the Q.752 operational measurements for signalling links are
applicable.  The OpenSS7 open source implementation of M2PA implements the
following measurements from Q.752 with the following modifications:

Q.752/Table 1

1.1  - Duration of link in the In-service state
     - same as Q.703
1.2  - SL failure - All reasons
     - same as Q.703
1.3  - SL failure - Abnormal FIBR/BSNR
     - same as Q.703 but only for BSNR (there is no FIBR in M2PA so I use
       abnormal FSNR instead of FIBR)
1.4  - SL failure - Excessive delay of ack
     - same as Q.703 (on T7 expiry)
1.5  - SL failure - Excessive error rate
     - M2PA has no SUERM/EIM, so I map SCTP association failures are mapped
       to excessive error rate
1.6  - SL failure - Excessive duration of Congestion
     - same as Q.703 (on T6 expiry)
1.7  - SL alignment or proving failure
     - same as Q.703, but as M2PA has no AERM/EIM, SCTP association failure
       during the proving period is mapped to AERM/EIM failure
1.8  - Number of signal units received in error
     - not counted for M2PA (has no AERM/SUERM)
1.9  - Number of negative ack. Received
     - not counted for M2PA (has no negative ack)

Q.752/Table 2

2.1  - Duration of SL unavailability (for any reason)
     - same as Q.703
2.5  - Duration of SL unavailability due to local management actions
     - same as Q.703 but at MTP3 level
2.6  - Duration of SL unavailability due to remote management actions
     - same as Q.703 but at MTP3 level
2.7  - Duration of SL unavailability due to link failure
     - same as Q.703
2.9  - Duration of SL unavailability due to remote processor outage
     - same as Q.703
2.10 - Start of remote processor outage
     - same as Q.703
2.11 - Stop of remote processor outage
     - same as Q.703
2.15 - Duration of local busy
     - same as Q.703

Q.752/Table 3

3.1  - Number of SIF and SIO octets transmitted
     - same as Q.703
3.2  - Octets retransmitted
     - not applicable to M2PA (but see the SCTP MIB)
3.3  - Number of MSUs transmitted
     - same as Q.703
3.4  - Number of SIF and SIO octets receive
     - same as Q.703
3.5  - Number of MSUs received
     - same as Q.703
3.6  - SL congestion indications
     - same as Q.703
3.7  - Cumulative duration of SL congestion
     - same as Q.703
3.11 - Number of congestion events resulting in loss of MSUs
     - same as Q.703

I hope that helps.

--brian

> 
> Thanks in advance
> 
> Marco 
> 

--

-- 
Brian F. G. Bidulock    ¦ The reasonable man adapts himself to the ¦
bidulock <at> openss7.org    ¦ world; the unreasonable one persists in  ¦
http://www.openss7.org/ ¦ trying  to adapt the  world  to himself. ¦
                        ¦ Therefore  all  progress  depends on the ¦
                        ¦ unreasonable man. -- George Bernard Shaw ¦
Erickson, Mark | 2 Feb 2007 19:47

RE: Question related with DAUD Message

All:

This thread started out with the number of APCs in a DAUD an SG should
be required to support, since the M3UA RFC (and SUA RFC as well) don't
specify any details.  The discussion included limiting factors and
various scenarios, but no clear conclusion seems to have been reached.

So, how about limiting the APCs in this fashion and requiring the SG to
support (at a minimum) this:
1.	The SG shall be required to support at least 128 APCs in the
DAUD.
2.	If RC is included in the message, only 1 RC shall be supported.
3.	If more than one RC is included in the message, the DAUD will be
discarded and an error ('parm length exceeded') returned.
4.	If the SG cannot process all APCs in the DAUD, it will discard
the DAUD and an error ('mgmt blocking') will be returned to indicate its
DAUD handling capacity is being exceeded.  The ASP can/should retry the
DAUD after delaying to allow the SG to process outstanding audits.

Mark
Brian F. G. Bidulock | 4 Feb 2007 12:44
Favicon

Re: Query regarding handling of ASP_ACTIVE_ACK message at ASP

Magesh,

The RFC does not say what to do.  Here's what I do: when an RC is
always sent (by the ASP) in an ASP Active message,  and the receives
an ASP Active Ack with no RC, it is a protocol error and I send
ERR("Protocol Error"), inform management and fall back on T(ack) if an
ASP Active message is still pending.

If you ever send an ASP Active message with no RC, then you need to
consider it as a (possibly delayed) response to such a request rather
than the current request, in which case you should consider that the
SGP considers all AS configured for the ASP to be in the ASP Active
state and go about returning each AS to the state intended by the ASP
(i.e, if all AS are marked active or activating, consider then still
active, but if any AS is inactive or deactivating, send ASP Inactive
for them to return them to the inactive state, inform management and
possibly send ERR("Unexpected Message")).

The reason that I chose ERR("Protocol Error") in the first case
instead of ERR("Missing Parameter") is because ERR("Missing
Parameter") is for a missing mandatory parameter (and RC is not a
mandatory parameter in this message).  The error ERR("Protocol Error")
seems more appropriate to me.  Another possibility would be ERR("No
configured AS") I suppose, but that error appears to be reserved for
SGP to send.

To avoid the second situation, I always send RC in the ASP Active.

I hope that helps.

--brian

Magesh Shanmugam wrote:                        (Sun, 04 Feb 2007 14:10:30)
> 
>    Hi
> 
>    As  per  the  M3UA,  it is mentioned that when a ASP_ACTIVE message is
>    sent  with Routing Context, then the ASP_ACTIVE_ACK "MUST" contain the
>    RC parameter.
> 
>    My query here is, if RC parameter is not present in the ASP_ACTIVE_ACK
>    message, what kind of decision are we going to take?
> 
>    Are  we  going  to  send  an ERROR message with Error Code as "Missing
>    Parameter" and stop processing DATA messages or Send an ERROR message
> 
>    with  error  code  as  "Missing  Parameter",  but process all the Data
>    messages.
> 
> 
>    Thanks
> 
>    S Magesh

--

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

Gmane