- From: evma01 AT control.auc.dk
- To: rsplib-discussion AT sctp.de
- Subject: [RSPlib-Discusssion] Help with multicast
- Date: Fri Jul 4 13:52:02 2003
- List-id: RSPlib Discussions <rsplib-discussion.sctp.de>
Hello Michael (and others)
I am working with Marjan Bozinovski on a project using rsplib sctplib and
friends. The project consists of three instances of a server communicating
in
a chain and a client. The client sends requests to one server, and the
message
is passed through the chain to the other end and then back the same way. At
some random point in the chain the communication stops or gets stuck. That is
out main problem. We think that it has to do with the handling of sockets by
the rsplib/socketapi because it is either when receiving data or when
establishing a connection the error occours. That is our biggest problem for
the time being.
One of the formerly mentioned servers should be registered at an r-serpool
nameserver as pool element. This does not happen, we have set up the
nameserver
to run with multicast as specified in the README. The PE recieves the server
announcment but does not recognize it or something. We tried to run the
rsplib
example program on the same machine with the same results. I will add output
from the example program and output from "ifconfig" in the bottom. Our
problem
could be some simple thing like some setup being made in a wrong way. We are
really stuck with theese problems and cannot see how to get on with our work.
So any help would be apreciated...
Thanks in advance, regards Erling Matthiesen
output from ifconfig:
eth0 Link encap:Ethernet HWaddr 00:30:05:10:1B:95
inet addr:192.168.1.4 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::230:5ff:fe10:1b95/10 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:932 (932.0 b) TX bytes:4070 (3.9 Kb)
Interrupt:9 Base address:0x4400 Memory:c9257000-c9257c40
eth1 Link encap:Ethernet HWaddr 00:04:76:27:27:2D
inet addr:192.168.2.4 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::204:76ff:fe27:272d/10 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1768 errors:0 dropped:0 overruns:0 frame:0
TX packets:699 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:131022 (127.9 Kb) TX bytes:62106 (60.6 Kb)
Interrupt:9 Base address:0x4800
Output from examplepe pool -sctp
[92m04-Jul-2003 12:37:18.8704: loglevel.c:122 beginLogging() - [32mLogging
started, log level is 9.
[30m[96m04-Jul-2003 12:37:18.8708: asapinstance.c:163 asapConfigure() -
[36mThere is no ASAP instance configuration file. Using defaults.
[30m[93m04-Jul-2003 12:37:18.8708: asapinstance.c:168 asapConfigure() -
[33mNew ASAP instance configuration:
cache.elementtimeout = 30000000 [µs]
cache.mtinterval = 1000000 [µs]
nameserver.connect.maxtrials = 3
nameserver.connect.timeout = 7500000 [µs]
nameserver.request.maxtrials = 3
nameserver.request.timeout = 5000000 [µs]
nameserver.response.timeout = 4500000 [µs]
nameserver.announce.timeout = 5000000 [µs]
nameserver.announce.mtinterval = 1000000 [µs]
[30m[36m04-Jul-2003 12:37:18.8713: servertable.c:119 joinAnnounceGroups() -
[93mRead string <ipv4-announce 239.0.0.1:9999>
[30m[36m04-Jul-2003 12:37:18.8718: netutilities.c:686 bindplus() -
[93mBinding socket...
[30m[37m04-Jul-2003 12:37:18.8750: netutilities.c:719 bindplus() -
[37mTrying port 19466...
[30m[36m04-Jul-2003 12:37:18.8755: netutilities.c:731 bindplus() -
[93mSuccessfully bound
[30m[37m04-Jul-2003 12:37:18.8760: tagitem.c:98 tagListFind() -
[37mLooking
for tag #1004...
[30m[37m04-Jul-2003 12:37:18.8761: tagitem.c:104 tagListFind() - [37mTag
found
[30m[37m04-Jul-2003 12:37:18.8762: tagitem.c:129 tagListGetData() -
[37mGet
value 1 ($1) for tag #1004
[30m[37m04-Jul-2003 12:37:18.8763: tagitem.c:98 tagListFind() -
[37mLooking
for tag #1005...
[30m[37m04-Jul-2003 12:37:18.8763: tagitem.c:104 tagListFind() - [37mTag
found
[30m[37m04-Jul-2003 12:37:18.8764: tagitem.c:129 tagListGetData() -
[37mGet
value 1 ($1) for tag #1005
[30m[37m04-Jul-2003 12:37:18.8765: tagitem.c:98 tagListFind() -
[37mLooking
for tag #1006...
[30m[37m04-Jul-2003 12:37:18.8766: tagitem.c:104 tagListFind() - [37mTag
found
[30m[37m04-Jul-2003 12:37:18.8767: tagitem.c:129 tagListGetData() -
[37mGet
value 0 ($0) for tag #1006
[30m[37m04-Jul-2003 12:37:18.8768: netutilities.c:422 addresscmp() -
[37mComparing fe80::230:5ff:fe10:1b95:19466 and fe80::204:76ff:fe27:272d:19466
[30m[37m04-Jul-2003 12:37:18.8769: netutilities.c:481 addresscmp() -
[37mResult: greater-than
[30m[37m04-Jul-2003 12:37:18.8770: netutilities.c:422 addresscmp() -
[37mComparing ::1:19466 and fe80::204:76ff:fe27:272d:19466
[30m[37m04-Jul-2003 12:37:18.8772: netutilities.c:445 addresscmp() -
[37mResult: greater-than, s1=999998 s2=999996
[30m[37m04-Jul-2003 12:37:18.8773: netutilities.c:422 addresscmp() -
[37mComparing ::1:19466 and fe80::230:5ff:fe10:1b95:19466
[30m[37m04-Jul-2003 12:37:18.8774: netutilities.c:445 addresscmp() -
[37mResult: greater-than, s1=999998 s2=999996
[30m[37m04-Jul-2003 12:37:18.8775: netutilities.c:422 addresscmp() -
[37mComparing 192.168.1.4:19466 and 192.168.2.4:19466
[30m[37m04-Jul-2003 12:37:18.8776: netutilities.c:481 addresscmp() -
[37mResult: less-than
[30m[37m04-Jul-2003 12:37:18.8777: netutilities.c:422 addresscmp() -
[37mComparing 127.0.0.1:19466 and 192.168.1.4:19466
[30m[37m04-Jul-2003 12:37:18.8778: netutilities.c:445 addresscmp() -
[37mResult: greater-than, s1=999998 s2=999994
[30m[37m04-Jul-2003 12:37:18.8779: netutilities.c:422 addresscmp() -
[37mComparing 127.0.0.1:19466 and 192.168.2.4:19466
[30m[37m04-Jul-2003 12:37:18.8780: netutilities.c:445 addresscmp() -
[37mResult: greater-than, s1=999998 s2=999994
[30m[37m04-Jul-2003 12:37:18.8781: netutilities.c:422 addresscmp() -
[37mComparing fe80::204:76ff:fe27:272d:19466 and 192.168.1.4:19466
[30m[37m04-Jul-2003 12:37:18.8783: netutilities.c:445 addresscmp() -
[37mResult: greater-than, s1=999996 s2=999994
[30m[37m04-Jul-2003 12:37:18.8784: netutilities.c:422 addresscmp() -
[37mComparing fe80::204:76ff:fe27:272d:19466 and 192.168.2.4:19466
[30m[37m04-Jul-2003 12:37:18.8785: netutilities.c:445 addresscmp() -
[37mResult: greater-than, s1=999996 s2=999994
[30m[37m04-Jul-2003 12:37:18.8786: netutilities.c:422 addresscmp() -
[37mComparing fe80::204:76ff:fe27:272d:19466 and 127.0.0.1:19466
[30m[37m04-Jul-2003 12:37:18.8788: netutilities.c:439 addresscmp() -
[37mResult: less-than, s1=999996 s2=999998
[30m[37m04-Jul-2003 12:37:18.8789: netutilities.c:422 addresscmp() -
[37mComparing fe80::230:5ff:fe10:1b95:19466 and 127.0.0.1:19466
[30m[37m04-Jul-2003 12:37:18.8790: netutilities.c:439 addresscmp() -
[37mResult: less-than, s1=999996 s2=999998
[30m[37m04-Jul-2003 12:37:18.8791: netutilities.c:422 addresscmp() -
[37mComparing ::1:19466 and 127.0.0.1:19466
[30m[37m04-Jul-2003 12:37:18.8792: netutilities.c:481 addresscmp() -
[37mResult: less-than
[30m[37m04-Jul-2003 12:37:18.8793: poolelement.c:201
poolElementAddTransportAddress() - [37mAdding address { 192.168.1.4,
192.168.2.4, fe80::204:76ff:fe27:272d, fe80::230:5ff:fe10:1b95, ::1,
127.0.0.1 } 19466/SCTP to pool element $b7d03bea
[30m[94m04-Jul-2003 12:37:18.8796: rsplib.c:238 rspRegister() - [34mTrying
to register Pool Element $b7d03bea:
Home ENRP ID = $00000000
Reg. Lifetime = -1 [s]
Flags = none
UserCounter = 0
Policy = Round-Robin
{ 192.168.1.4, 192.168.2.4, fe80::204:76ff:fe27:272d,
fe80::230:5ff:fe10:1b95, ::1, 127.0.0.1 } 19466/SCTP
[30m[94m04-Jul-2003 12:37:18.8800: asapinstance.c:411 asapRegister() -
[34mTrying to register Pool Element $b7d03bea:
Home ENRP ID = $00000000
Reg. Lifetime = -1 [s]
Flags = none
UserCounter = 0
Policy = Round-Robin
{ 192.168.1.4, 192.168.2.4, fe80::204:76ff:fe27:272d,
fe80::230:5ff:fe10:1b95, ::1, 127.0.0.1 } 19466/SCTP
to pool "pool"
[30m[96m04-Jul-2003 12:37:18.8805: asapinstance.c:342 asapIO() -
[36mRequest
trial #1 - sending request...
[30m[94m04-Jul-2003 12:37:18.8806: servertable.c:650
serverTableFindServer() -
[34mLooking for nameserver...
[30m[36m04-Jul-2003 12:37:18.8808: servertable.c:467 updateStaticEntries()
-
[93mRead string <# Unicast nameserver addresses>
[30m[36m04-Jul-2003 12:37:18.8809: servertable.c:467 updateStaticEntries()
-
[93mRead string <# nameserver 127.0.0.1:9999 tcp>
[30m[36m04-Jul-2003 12:37:18.8810: servertable.c:467 updateStaticEntries()
-
[93mRead string <# nameserver 127.0.0.1:9999 sctp>
[30m[36m04-Jul-2003 12:37:18.8810: servertable.c:467 updateStaticEntries()
-
[93mRead string <# nameserver 10.0.0.1:9999 sctp>
[30m[36m04-Jul-2003 12:37:18.8811: servertable.c:467 updateStaticEntries()
-
[93mRead string <# Multicast nameserver addresses>
[30m[36m04-Jul-2003 12:37:18.8812: servertable.c:467 updateStaticEntries()
-
[93mRead string <#nameserver 239.0.0.1:9999 multicast permanent>
[30m[36m04-Jul-2003 12:37:18.8813: servertable.c:467 updateStaticEntries()
-
[93mRead string <# Unicast nameserver addresses>
[30m[36m04-Jul-2003 12:37:18.8814: servertable.c:467 updateStaticEntries()
-
[93mRead string <#nameserver 192.168.2.3:9999 sctp>
[30m[36m04-Jul-2003 12:37:18.8815: servertable.c:467 updateStaticEntries()
-
[93mRead string <#nameserver 192.168.1.3:9999 sctp>
[30m[36m04-Jul-2003 12:37:18.8816: servertable.c:467 updateStaticEntries()
-
[93mRead string <# Unicast nameserver addresses>
[30m[36m04-Jul-2003 12:37:18.8817: servertable.c:467 updateStaticEntries()
-
[93mRead string <#nameserver 192.168.2.1:9999 sctp>
[30m[36m04-Jul-2003 12:37:18.8818: servertable.c:467 updateStaticEntries()
-
[93mRead string <#nameserver 192.168.1.1:9999 sctp>
[30m[94m04-Jul-2003 12:37:18.8819: servertable.c:683
serverTableFindServer() -
[34mTrial #1...
[30m[93m04-Jul-2003 12:37:18.8820: servertable.c:721
serverTableFindServer() -
[33mselect() with timeout 7500000
[30m[93m04-Jul-2003 12:37:19.6935: servertable.c:727
serverTableFindServer() -
[33mselect() result=1
[30m[96m04-Jul-2003 12:37:19.6936: servertable.c:244
receiveServerAnnounce() -
[36mReading response from socket 1023...
[30m[92m04-Jul-2003 12:37:19.6937: asapparser.c:1257 asapPacket2Message() -
[33mScanning message, size=20...
[30m[94m04-Jul-2003 12:37:19.6938: asapparser.c:1168 scanMessage() -
[34mScanning ServerAnnounce message...
[30m[92m04-Jul-2003 12:37:19.6939: asapparser.c:65 getNextTLV() - [32mTLV:
Type $0003, length 16 at position 8
[30m[92m04-Jul-2003 12:37:19.6941: asapparser.c:65 getNextTLV() - [32mTLV:
Type $0001, length 8 at position 16
[30m[92m04-Jul-2003 12:37:19.6942: asapparser.c:450
scanTransportParameter() -
[33mScanned address 1.
[30m[92m04-Jul-2003 12:37:19.6943: asapparser.c:472
scanTransportParameter() -
[33mNew TransportAddress: { 0.0.0.0 } 9999/SCTP.
[30m[92m04-Jul-2003 12:37:19.6944: asapparser.c:1263 asapPacket2Message() -
[33mMessage successfully scanned!
[30m[92m04-Jul-2003 12:37:19.6945: servertable.c:266
receiveServerAnnounce() -
[33mServerAnnounce from 192.168.2.3:1082 received
[30m[37m04-Jul-2003 12:37:19.6946: servertable.c:200 addServer() - [37mTry
adding ServerAnnounce:
Server Announce:
Last Update = 0.000 [s] ago
Flags = Dynamic
Addresses = { 0.0.0.0 } 9999/SCTP
[30m[96m04-Jul-2003 12:37:19.6949: servertable.c:220 addServer() - [36mNew
ServerAnnounce successfully added:
Server Announce:
Last Update = 0.000 [s] ago
Flags = Dynamic
Addresses = { 0.0.0.0 } 9999/SCTP
[30m[36m04-Jul-2003 12:37:19.6952: servertable.c:467 updateStaticEntries()
-
[93mRead string <# Unicast nameserver addresses>
[30m[36m04-Jul-2003 12:37:19.6953: servertable.c:467 updateStaticEntries()
-
[93mRead string <# nameserver 127.0.0.1:9999 tcp>
[30m[36m04-Jul-2003 12:37:19.6953: servertable.c:467 updateStaticEntries()
-
[93mRead string <# nameserver 127.0.0.1:9999 sctp>
[30m[36m04-Jul-2003 12:37:19.6954: servertable.c:467 updateStaticEntries()
-
[93mRead string <# nameserver 10.0.0.1:9999 sctp>
[30m[36m04-Jul-2003 12:37:19.6955: servertable.c:467 updateStaticEntries()
-
[93mRead string <# Multicast nameserver addresses>
[30m[36m04-Jul-2003 12:37:19.6956: servertable.c:467 updateStaticEntries()
-
[93mRead string <#nameserver 239.0.0.1:9999 multicast permanent>
[30m[36m04-Jul-2003 12:37:19.6957: servertable.c:467 updateStaticEntries()
-
[93mRead string <# Unicast nameserver addresses>
[30m[36m04-Jul-2003 12:37:19.6958: servertable.c:467 updateStaticEntries()
-
[93mRead string <#nameserver 192.168.2.3:9999 sctp>
[30m[36m04-Jul-2003 12:37:19.6959: servertable.c:467 updateStaticEntries()
-
[93mRead string <#nameserver 192.168.1.3:9999 sctp>
[30m[36m04-Jul-2003 12:37:19.6960: servertable.c:467 updateStaticEntries()
-
[93mRead string <# Unicast nameserver addresses>
[30m[36m04-Jul-2003 12:37:19.6961: servertable.c:467 updateStaticEntries()
-
[93mRead string <#nameserver 192.168.2.1:9999 sctp>
[30m[36m04-Jul-2003 12:37:19.6961: servertable.c:467 updateStaticEntries()
-
[93mRead string <#nameserver 192.168.1.1:9999 sctp>
[30m[94m04-Jul-2003 12:37:19.6963: servertable.c:683
serverTableFindServer() -
[34mTrial #2...
[30m[92m04-Jul-2003 12:37:19.6964: servertable.c:584 tryNextBlock() -
[33mConnecting socket 1020 to 0.0.0.0:9999 via SCTP...
[30m[93m04-Jul-2003 12:37:19.6968: servertable.c:721
serverTableFindServer() -
[33mselect() with timeout 7500000
[30m[93m04-Jul-2003 12:37:21.7053: servertable.c:727
serverTableFindServer() -
[33mselect() result=1
[30m[96m04-Jul-2003 12:37:21.7054: servertable.c:244
receiveServerAnnounce() -
[36mReading response from socket 1023...
[30m[92m04-Jul-2003 12:37:21.7055: asapparser.c:1257 asapPacket2Message() -
[33mScanning message, size=20...
[30m[94m04-Jul-2003 12:37:21.7056: asapparser.c:1168 scanMessage() -
[34mScanning ServerAnnounce message...
[30m[92m04-Jul-2003 12:37:21.7057: asapparser.c:65 getNextTLV() - [32mTLV:
Type $0003, length 16 at position 8
[30m[92m04-Jul-2003 12:37:21.7058: asapparser.c:65 getNextTLV() - [32mTLV:
Type $0001, length 8 at position 16
[30m[92m04-Jul-2003 12:37:21.7059: asapparser.c:450
scanTransportParameter() -
[33mScanned address 1.
[30m[92m04-Jul-2003 12:37:21.7060: asapparser.c:472
scanTransportParameter() -
[33mNew TransportAddress: { 0.0.0.0 } 9999/SCTP.
[30m[92m04-Jul-2003 12:37:21.7061: asapparser.c:1263 asapPacket2Message() -
[33mMessage successfully scanned!
[30m[92m04-Jul-2003 12:37:21.7062: servertable.c:266
receiveServerAnnounce() -
[33mServerAnnounce from 192.168.2.3:1082 received
[30m[37m04-Jul-2003 12:37:21.7064: servertable.c:200 addServer() - [37mTry
adding ServerAnnounce:
Server Announce:
Last Update = 0.000 [s] ago
Flags = Dynamic
Addresses = { 0.0.0.0 } 9999/SCTP
[30m[37m04-Jul-2003 12:37:21.7066: netutilities.c:422 addresscmp() -
[37mComparing 0.0.0.0:9999 and 0.0.0.0:9999
[30m[37m04-Jul-2003 12:37:21.7067: netutilities.c:508 addresscmp() -
[37mResult: equal
[30m[93m04-Jul-2003 12:37:21.7068: servertable.c:211 addServer() -
[33mServerAnnounce already in list -> updating timestamp
[30m[93m04-Jul-2003 12:37:21.7069: servertable.c:721
serverTableFindServer() -
[33mselect() with timeout 7500000
[30m[93m04-Jul-2003 12:37:23.7204: servertable.c:727
serverTableFindServer() -
[33mselect() result=1
[30m[96m04-Jul-2003 12:37:23.7206: servertable.c:244
receiveServerAnnounce() -
[36mReading response from socket 1023...
[30m[92m04-Jul-2003 12:37:23.7207: asapparser.c:1257 asapPacket2Message() -
[33mScanning message, size=20...
[30m[94m04-Jul-2003 12:37:23.7208: asapparser.c:1168 scanMessage() -
[34mScanning ServerAnnounce message...
[30m[92m04-Jul-2003 12:37:23.7209: asapparser.c:65 getNextTLV() - [32mTLV:
Type $0003, length 16 at position 8
[30m[92m04-Jul-2003 12:37:23.7209: asapparser.c:65 getNextTLV() - [32mTLV:
Type $0001, length 8 at position 16
[30m[92m04-Jul-2003 12:37:23.7210: asapparser.c:450
scanTransportParameter() -
[33mScanned address 1.
[30m[92m04-Jul-2003 12:37:23.7211: asapparser.c:472
scanTransportParameter() -
[33mNew TransportAddress: { 0.0.0.0 } 9999/SCTP.
[30m[92m04-Jul-2003 12:37:23.7213: asapparser.c:1263 asapPacket2Message() -
[33mMessage successfully scanned!
[30m[92m04-Jul-2003 12:37:23.7214: servertable.c:266
receiveServerAnnounce() -
[33mServerAnnounce from 192.168.2.3:1082 received
[30m[37m04-Jul-2003 12:37:23.7215: servertable.c:200 addServer() - [37mTry
adding ServerAnnounce:
Server Announce:
Last Update = 0.000 [s] ago
Flags = Dynamic
Addresses = { 0.0.0.0 } 9999/SCTP
[30m[37m04-Jul-2003 12:37:23.7217: netutilities.c:422 addresscmp() -
[37mComparing 0.0.0.0:9999 and 0.0.0.0:9999
[30m[37m04-Jul-2003 12:37:23.7218: netutilities.c:508 addresscmp() -
[37mResult: equal
[30m[93m04-Jul-2003 12:37:23.7219: servertable.c:211 addServer() -
[33mServerAnnounce already in list -> updating timestamp
[30m[93m04-Jul-2003 12:37:23.7220: servertable.c:721
serverTableFindServer() -
[33mselect() with timeout 7500000
[30m[93m04-Jul-2003 12:37:25.7356: servertable.c:727
serverTableFindServer() -
[33mselect() result=1
[30m[96m04-Jul-2003 12:37:25.7358: servertable.c:244
receiveServerAnnounce() -
[36mReading response from socket 1023...
[30m[92m04-Jul-2003 12:37:25.7359: asapparser.c:1257 asapPacket2Message() -
[33mScanning message, size=20...
[30m[94m04-Jul-2003 12:37:25.7360: asapparser.c:1168 scanMessage() -
[34mScanning ServerAnnounce message...
[30m[92m04-Jul-2003 12:37:25.7360: asapparser.c:65 getNextTLV() - [32mTLV:
Type $0003, length 16 at position 8
[30m[92m04-Jul-2003 12:37:25.7361: asapparser.c:65 getNextTLV() - [32mTLV:
Type $0001, length 8 at position 16
[30m[92m04-Jul-2003 12:37:25.7362: asapparser.c:450
scanTransportParameter() -
[33mScanned address 1.
[30m[92m04-Jul-2003 12:37:25.7363: asapparser.c:472
scanTransportParameter() -
[33mNew TransportAddress: { 0.0.0.0 } 9999/SCTP.
[30m[92m04-Jul-2003 12:37:25.7365: asapparser.c:1263 asapPacket2Message() -
[33mMessage successfully scanned!
[30m[92m04-Jul-2003 12:37:25.7366: servertable.c:266
receiveServerAnnounce() -
[33mServerAnnounce from 192.168.2.3:1082 received
- [RSPlib-Discusssion] Help with multicast, evma01, 07/04/2003
Archive powered by MHonArc 2.6.19+.