Re: SCTP ABORT Issue

"Brian F. G. Bidulock" <[email protected]> Thu, 3 Feb 2011 21:54:23 -0700
Newsgroups gmane.ietf.sigtran
Organization http://www.openss7.org/
Message-ID <[email protected]>
komal.l,

A couple of points.

- A client is one that intiates a connection to a server.  Your "server"
  (10.2.110.40) is initiating connections to your "client"
  (10.2.110.19).

- Servers do not sent ASPUP, clients do.  But since you have your terms
  reversed, I suppose that is ok.

- An abort without an error value means that the ULP disconnected.

- Linger option only lingers when messages are awaiting transmission.
  In this case the server (what you call "client") is not transmitting
  anything, so a close(2) of the socket without a shutdown(2) first will
  result in an ABORT being sent (just as with TCP it results in a RST).

It appears that the server (your "client") does not like being sent
ASPUP messages from the client, it does not respond to them in any way,
then it disconnects after a certain number of messages.  The
disconnection is a close(2) and no messages are awaiting transmission,
so the ABORT without error is sent.  When the client attempts to connect
again, the server simply ABORTS the association immediately upon receipt
of the INIT.  Sounds like the server really does not like the client and
refuses to communicate further with it.  Are you sure it is even a
SIGTRAN server?  Also, is the client authorized to connect to the
server?  Is the server reading the socket at any point in time?

You can certainly take these types of first-year level programming
issues up on another forum.

--brian

[email protected] wrote:                        (Fri, 28 Jan 2011 17:18:33)
>    Hello Sir,
>    I am facing an issue wherein the client application is getting closed
>    suddenly in run time . In the wireshark traces, we can see that the
>    client (10.2.110.19) is sending an "ABORT" message (frame 800 and 801)
>     to the server (IPs 10.2.110.40 and 10.2.110.104). But there is no
>    cause code in the "ABORT" (frame 800 and 801) message. Also, I observe
>    many "ASPUP" messages coming from the server side before "ABORT" was
>    sent.
>    As I am new to the SCTP usage, kindly help me in understanding why is
>    the ABORT going. Also, please not that in the client application, the
>    socket LINGER option is disabled by default.Please find the traces
>    attached.
>    Thanks & Regards,
>    Komal Lakhotiya
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you

> Archive:  /home/brian/tmp/%.zip   66759 bytes   1 file
> -rw-a--     2.0 fat  1834859 b- defN 28-Jan-11 17:07 ABORT_traces
> 1 file, 1834859 bytes uncompressed, 66637 bytes compressed:  96.4%

> _______________________________________________
> Sigtran mailing list
> [email protected]
> https://www.ietf.org/mailman/listinfo/sigtran


-- 
Brian F. G. Bidulock
[email protected]
http://www.openss7.org/