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 between a
server process and two client processes.
Im working on a single PC, so I opened a 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 is using IP address 127.0.0.1, and a
source port number.
I used ETHERAL to monitor all the
traffic.
When the association starts, between client#1 (C#1) and
server (S), ETHERAL shows:
INIT from C#1-->S
INIT ACK from S-->C#1
COOKIE ECHO from C#1-->S
COOKIE ACK from S-->C#1.
When the second association starts, between 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.
It works right..
But when I try to do the same thing, between applications
running on different hosts (the hosts are on the same LAN), I have encountered
some problems..!
The configuration is as
following:
Server host source IP address=IPA; client host IP source
address=IP B;
For the server host (IP A) I opened a shell
(ECHO_SERVER); for the client host (IP B) I opened 2 shells
(TERMINAL).
First, I started the association between 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 is 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 the associations are
terminated!
Has someone experienced the same behavior? Why is there
this strange packets traffic?...
Could someone help me
please?Best
regards, LUCA.
|
Archive powered by MHonArc 2.6.19+.