SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] more than one association: SCTP behavior


Chronological Thread 
  • From: Michael Tuexen <Michael.Tuexen AT micmac.franken.de>
  • To: "Luca Laurenzi" <lucalau123 AT hotmail.com>
  • Cc: discussion AT sctp.de
  • Subject: Re: [SCTP-Discussion] more than one association: SCTP behavior
  • Date: Sat Mar 26 23:12:01 2005
  • List-id: SCTP Discussions <discussion.sctp.de>

Hi Luca,

see my comments in-line.

Best regards
Michael

On Mar 24, 2005, at 15:50 Uhr, Luca Laurenzi wrote:

Hi all...!

I'm working with Mandrake Linux Rel. 10.0 (official), kernel 2.6.3-7 MDK, using SCTP LIB- 1.0.3.

I tried to establish two SCTP associations, running on the same host, between a server process and two client processes.

I opened 1 shell for the server (ECHO_SERVER), and 2 shells for the client (TERMINAL).

Both clients are using the same IP address (127.0.0.1), but different source port number.

Server process use IP address 127.0.0.1, and a source port number.

I used ETHERAL to monitor all the packets generated.
So you use also the -i option, I guess.

When starting the association, between client#1 (C#1) and server (S): ETHERAL sees:

INIT from C#1-->S

INIT ACK from S-->C#1

COOKIE ECHO from C#1-->S

COOKIE ACK from S-->C#1.

When starting the association, beetwen client#2 and server: ETHERAL sees:

INIT from C#2-->S

INIT ACK from S-->C#2

COOKIE ECHO from C#2-->S

COOKIE ACK from S-->C#1.
Did you mean
COOKIE ACK from S-->C#2.
?

All it seems ok....


But: when i tried to do the same thing, between applications running on different hosts (hosts are on the same LAN), i have some problems..!

Server host source IP address=IPA; client host IP source address=IP B;

For the server host (IP A) I opened 1 shell (ECHO_SERVER); for the client host (IP B) i opened 2 shells (TERMINAL).

First, i started the association beetwen client#1 and server: ETHERAL sees:

INIT from IPB (C#1)---> IP A (S);

INIT ACK from IP A (S)--->IP B (C#1);

COOKIE ECHO from IP B (C#1)--->IP A(S)

COOKIE ACK from IP A(S)--->IP B(C#1).

First association successful established!

After, i tried to start a second association, between client #2 and server: ETHERAL sees:


Did you start the clients with the -i option, since multiple clients run
in one host?
INIT from IPB (C#2)---> IP A (S)

INIT ACK from IP A (S)--->IP B (C#2)

ABORT from IP B (C#2)--->IP A (S)

COOKIE ECHO from IP B(C#2)--->IP A(S)

COOKIE ACK from IP A--->IP B(C#2)

HEARTBEAT from IP B(C#1)--->IP A(S)

HEARTBEAT ACK from IP A(S)--->IP B(C#1)

ABORT from IP B (C#1)--->IP A (S)

HEARTBEAT from IP B(C#2)--->IP A(S)

HEARTBEAT ACK from IP A(S)--->IP B(C#2)

ABORT from IP B (C#2)--->IP A (S)

HEARTBEAT from IP B(C#1)--->IP A(S);

and...both associations are terminated!
Please note: If you run multiple instances of the sctplib on a
host you must disable the OOTB handling. For the example programs
this is done with the -i option.

Has someone experienced the same behavior? .. way this strange packets traffic?...

Thank's, LUCA

 



_______________________________________________ discussion mailing list discussion AT sctp.de http://www.sctp.de/mailman/listinfo/discussion




Archive powered by MHonArc 2.6.19+.

Top of page