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.
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.
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:
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!
Has someone experienced the same behavior? .. way this strange packets traffic?...
Thank's, LUCA
Archive powered by MHonArc 2.6.19+.