====== Preparing Test fcast (mcast w acl) ====== ===== Compile fcast ===== ===== Sending/receiving ===== Configure Mcast on all client (refer to other howtos). On receivers: ./fcast -v6 -recv -int -a224.0.0.251 On Sender: ./fcast -send -v6 -a224.0.0.251 -p1024 bigfile ===== Test 1 ====== ==== procedure ==== - Create checksum of a 10M random file and transfer the md5 to receiver. - dd if=/dev/urandom of=10Mbigfile bs=1024 c=10 - md5sum 10Mbigfile > 10Mbigfile.md5 - Sender starts to send 10M file. - Receiver starts after that ==== Observation ==== - checksum fails. - orig file 10240 Kb while received file 10180 Kb ===== Test 2 ===== ==== procedure ==== - Create checksum of a 1108Kb text file (en_US.dic). - cat -n /usr/share/myspell/en_US.dic > n_en_US.dic - Sender starts to send the file. - Receiver starts after that ==== Observation ==== - receiver get the file correctly. ===== Conclusion 1 ===== * some problem with binary files. Maybe the serialization in code. ====== Testing tzi flute (mcast w acl) ====== ===== Compile binaries ===== Binaries are in /mnt/data/src/20_mcast_ws/tzi_flute/papageno-trunk/examples/flute **Attention** They are configured in Automake with noinst_ prefix. ===== Sending/receiving ===== Configure Mcast on all client (refer to other howtos). On receivers: ./flutesender -a 224.0.0.251 -c 5 -e 'rs' n_en_US.dic On Sender: ./fluterecv -a 224.0.0.251 -c 5 -C 'rlc' ===== Test 1 ===== ==== procedure ==== Sender sends directly to receiver's ip: ./flutesender -a 192.168.101.121 -c 1 files/n_en_US.dic [td@localhost test_binary]$ ./flutesender -a 192.168.101.121 -c 1 files/n_en_US.dic Configuration: Base-Address 192.168.101.121 Base-Port 8899 Channels 1 Max-Bandwidth 1024 FEC-Encoding rs Max-Payload-Length 1400 Ordered Delivery 0 TTL 2 Syncpoint-Interval 2.000000 TSI 1 FEC Redundancy Factor 1.500000 FDT-Min-Interval 5 FDT-Max-Interval 120 FDT-Max-BW 10.0% Send files only once 1 SDP-filename Compress-FDT (ZLIB) on Compress-Content (ZLIB) off Files to send: files/n_en_US.dic 2013-05-15 16:57:13.538 [cc_rlc_tx.cc:78] address 192.168.101.121, port 8899, bw 512.00 2013-05-15 16:57:13.539 [alc_sender.cc:59] DEBUG: (TSI 1) Optimal Redundancy Factor is 0.00 cct: channel/state/pkts -> 0/0/0 cct: channel/state/pkts -> 0/0/0 2013-05-15 16:57:13.545 [flute_sender.cc:126] ------------------------------ ------------------------------ 2013-05-15 16:57:13.546 [alc_sender.cc:113] DEBUG: alc::send TSI/TOI 1/1 size 873822 prio 10 sending File files/n_en_US.dic (873822 bytes) 2013-05-15 16:57:14.039 [alc_sender.cc:217] alc::sendPkt TSI/TOI 1/1 2013-05-15 16:57:14.039 [alc_sender.cc:217] alc::sendPkt TSI/TOI 1/1 cct: channel/state/pkts -> 0/0/3 2013-05-15 16:57:16.040 [alc_sender.cc:217] alc::sendPkt TSI/TOI 1/1 cct: channel/state/pkts -> 0/1/3 2013-05-15 16:57:18.042 [alc_sender.cc:217] alc::sendPkt TSI/TOI 1/1 Receiver (ip 192.168.101.121): ./fluterecv -a 192.168.101.121 -c 1 td@mcast64-1:~/workspace/mcast_dev_ws/tzi_flute_bin$ ./fluterecv -a 192.168.101.121 -c 1 Configuration: TransportSessionId 1 Base-Address 192.168.101.121 Base-Port 8899 Channels 1 Congestion-Protocol rlc Deaf-Period 3.000000 2013-05-15 16:57:35.906 [alc_receiver.cc:152] joining channel 0 (TSI 1), Channel 0 192.168.101.121:195 2013-05-15 16:57:35.906 [alc_receiver.cc:157] address 192.168.101.121, port 8899 decoder-status (TSI/TOI/Block: 1/ 1/ 1) Decoder-Status: srcSymbols: 001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ( 1/156) Decoder-Status: encSymbols: 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ( 0/ 78) decoder-status (TSI/TOI/Block: 1/ 1/ 1) Decoder-Status: srcSymbols: 001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ( 1/156) Decoder-Status: encSymbols: 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ( 0/ 78) decoder-status (TSI/TOI/Block: 1/ 1/ 2) Decoder-Status: srcSymbols: 001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ( 1/156) Decoder-Status: encSymbols: 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ( 0/ 78) decoder-status (TSI/TOI/Block: 1/ 1/ 1) Decoder-Status: srcSymbols: 001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ( 1/156) Decoder-Status: encSymbols: 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ( 0/ 78) decoder-status (TSI/TOI/Block: 1/ 1/ 2) Decoder-Status: srcSymbols: 001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ( 1/156) Decoder-Status: encSymbols: 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ( 0/ 78) decoder-status (TSI/TOI/Block: 1/ 1/ 1) ===== Test 2 ===== Using Mcast address 244.0.0.251 **Does not work**