i succeed to test uftpd and uftp between Lan just now , but i face some
problem between two Wan .
our topology graph is linux pc --> routerA-->internet-->routerB-->linux
server
i config Nat ( port mapping for udp 1044 ) between routerA and routerB too
if possible, please give me some advisement , i guess my configuration
is error at some part .
This is linux server config
./uftpproxyd -s 141.155.239.22 fp=sen223
after i runed uftpporxyd at linux server, i found i don't run uftpd
process at linux server
./uftpd
Error binding socket for listener: Address already in use
Error leaving multicast group: Bad file descriptor
Error leaving multicast group: Bad file descriptor
This linux client config
./uftpproxyd -s 208.67.217.88 fp=sen223
./uftp uftp-4.9.1.tar.gz
UFTP version 4.9.1 Copyright (C) 2001-2016 Dennis A. Bush
Starting at Mon Mar 21 16:29:00 2016
Transfer rate: 1000 Kbps (125 KB/s)
Wait between packets: 10562 us
Using private multicast address 230.5.5.152 Group ID: 617E5A4E
Initializing group
Sending ANNOUNCE 1
Invalid function: expected REGISTER or CLIENT_KEY, got ANNOUNCE
Sending ANNOUNCE 2
Invalid function: expected REGISTER or CLIENT_KEY, got ANNOUNCE
Sending ANNOUNCE 3
Invalid function: expected REGISTER or CLIENT_KEY, got ANNOUNCE
Sending ANNOUNCE 4
Invalid function: expected REGISTER or CLIENT_KEY, got ANNOUNCE
Sending ANNOUNCE 5
Invalid function: expected REGISTER or CLIENT_KEY, got ANNOUNCE
Sending ANNOUNCE 6
Invalid function: expected REGISTER or CLIENT_KEY, got ANNOUNCE
Thanks again
John
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After i tranfer a big file via uftp between lan , i found it will be
very slower than tsunami-udp !
client config ./uftp -M 192.168.0.88 large.mp3
server config ./uftpd server
FTP version 4.9.1 Copyright (C) 2001-2016 Dennis A. Bush
Starting at Tue Mar 22 13:00:20 2016
Transfer rate: 1000 Kbps (125 KB/s)
Wait between packets: 10562 us
Using private multicast address 192.168.0.88 Group ID: C6A1C8CC
Initializing group
Sending ANNOUNCE 1
Received REGISTER from client 0xC0A80058
Sending REG_CONF 2.1
Sending ANNOUNCE 2
Sending ANNOUNCE 3
Sending ANNOUNCE 4
Sending ANNOUNCE 5
Sending ANNOUNCE 6
Sending ANNOUNCE 7
Sending ANNOUNCE 8
Sending ANNOUNCE 9
Sending ANNOUNCE 10
Sending ANNOUNCE 11
Sending ANNOUNCE 12
Sending ANNOUNCE 13
Sending ANNOUNCE 14
Sending ANNOUNCE 15
Sending ANNOUNCE 16
Sending ANNOUNCE 17
Sending ANNOUNCE 18
Sending ANNOUNCE 19
Sending ANNOUNCE 20
----- large.mp3 -----
File ID: 0001 Name: large.mp3
sending as: large.mp3
Bytes: 4650828 Blocks: 3578 Sections: 1
Sending FILEINFO 1.1
Received FILEINFO_ACK from client 0xC0A80058
Sending file
Starting pass 1
Sending section 0
Sending DONE 1.1
Got COMPLETE from client 0xC0A80058
Transfer status:
Host: 0xC0A80058 Status: Completed time: 37.794 seconds
Total elapsed time: 37.794 seconds
Overall throughput: 120.17 KB/s
-----------------------------
Finishing group
Sending DONE 1.1
Got COMPLETE from client 0xC0A80058
Late completions:
Sending DONE_CONF 2.1
Group complete
uftp: Finishing at Tue Mar 22 13:01:00 2016
Hello Dear Dennis Bush:
i succeed to test uftpd and uftp between Lan just now , but i face some
problem between two Wan .
our topology graph is linux pc --> routerA-->internet-->routerB-->linux
server
i config Nat ( port mapping for udp 1044 ) between routerA and routerB too
if possible, please give me some advisement , i guess my configuration
is error at some part .
This is linux server config
./uftpproxyd -s 141.155.239.22 fp=sen223
after i runed uftpporxyd at linux server, i found i don't run uftpd
process at linux server
./uftpd
Error binding socket for listener: Address already in use
Error leaving multicast group: Bad file descriptor
Error leaving multicast group: Bad file descriptor
This linux client config
./uftpproxyd -s 208.67.217.88 fp=sen223
./uftp uftp-4.9.1.tar.gz
UFTP version 4.9.1 Copyright (C) 2001-2016 Dennis A. Bush
Starting at Mon Mar 21 16:29:00 2016
Transfer rate: 1000 Kbps (125 KB/s)
Wait between packets: 10562 us
Using private multicast address 230.5.5.152 Group ID: 617E5A4E
Initializing group
Sending ANNOUNCE 1
Invalid function: expected REGISTER or CLIENT_KEY, got ANNOUNCE
Sending ANNOUNCE 2
Invalid function: expected REGISTER or CLIENT_KEY, got ANNOUNCE
Sending ANNOUNCE 3
Invalid function: expected REGISTER or CLIENT_KEY, got ANNOUNCE
Sending ANNOUNCE 4
Invalid function: expected REGISTER or CLIENT_KEY, got ANNOUNCE
Sending ANNOUNCE 5
Invalid function: expected REGISTER or CLIENT_KEY, got ANNOUNCE
Sending ANNOUNCE 6
Invalid function: expected REGISTER or CLIENT_KEY, got ANNOUNCE
Thanks again
John
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i succeed to test uftpd and uftp between Lan just now , but i face some
problem between two Wan .
our topology graph is linux pc --> routerA-->internet-->routerB-->linux
server
i config Nat ( port mapping for udp 1044 ) between routerA and routerB too
if possible, please give me some advisement , i guess my configuration
is error at some part .
This is linux server config
./uftpproxyd -s 141.155.239.22 fp=sen223
after i runed uftpporxyd at linux server, i found i don't run uftpd
process at linux server
./uftpd
Error binding socket for listener: Address already in use
Error leaving multicast group: Bad file descriptor
Error leaving multicast group: Bad file descriptor
This linux client config
./uftpproxyd -s 208.67.217.88 fp=sen223
./uftp uftp-4.9.1.tar.gz
UFTP version 4.9.1 Copyright (C) 2001-2016 Dennis A. Bush
Starting at Mon Mar 21 16:29:00 2016
Transfer rate: 1000 Kbps (125 KB/s)
Wait between packets: 10562 us
Using private multicast address 230.5.5.152 Group ID: 617E5A4E
Initializing group
Sending ANNOUNCE 1
Invalid function: expected REGISTER or CLIENT_KEY, got ANNOUNCE
Sending ANNOUNCE 2
Invalid function: expected REGISTER or CLIENT_KEY, got ANNOUNCE
Sending ANNOUNCE 3
Invalid function: expected REGISTER or CLIENT_KEY, got ANNOUNCE
Sending ANNOUNCE 4
Invalid function: expected REGISTER or CLIENT_KEY, got ANNOUNCE
Sending ANNOUNCE 5
Invalid function: expected REGISTER or CLIENT_KEY, got ANNOUNCE
Sending ANNOUNCE 6
Invalid function: expected REGISTER or CLIENT_KEY, got ANNOUNCE
Thanks again
John
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You're probably trying to run the client proxy and the client on the same machine using the same port. You need to either run the proxy on a different host or have the proxy listen on a different port than the clients and tell the proxy the client's port using the -q option.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Dear Dennis Bush:
i succeed to test uftpd and uftp between Lan just now , but i face some
problem between two Wan .
our topology graph is linux pc --> routerA-->internet-->routerB-->linux
server
i config Nat ( port mapping for udp 1044 ) between routerA and routerB too
if possible, please give me some advisement , i guess my configuration
is error at some part .
This is linux server config
./uftpproxyd -s 141.155.239.22 fp=sen223
after i runed uftpporxyd at linux server, i found i don't run uftpd
process at linux server
./uftpd
Error binding socket for listener: Address already in use
Error leaving multicast group: Bad file descriptor
Error leaving multicast group: Bad file descriptor
This linux client config
./uftpproxyd -s 208.67.217.88 fp=sen223
./uftp uftp-4.9.1.tar.gz
UFTP version 4.9.1 Copyright (C) 2001-2016 Dennis A. Bush
Starting at Mon Mar 21 16:29:00 2016
Transfer rate: 1000 Kbps (125 KB/s)
Wait between packets: 10562 us
Using private multicast address 230.5.5.152 Group ID: 617E5A4E
Initializing group
Sending ANNOUNCE 1
Invalid function: expected REGISTER or CLIENT_KEY, got ANNOUNCE
Sending ANNOUNCE 2
Invalid function: expected REGISTER or CLIENT_KEY, got ANNOUNCE
Sending ANNOUNCE 3
Invalid function: expected REGISTER or CLIENT_KEY, got ANNOUNCE
Sending ANNOUNCE 4
Invalid function: expected REGISTER or CLIENT_KEY, got ANNOUNCE
Sending ANNOUNCE 5
Invalid function: expected REGISTER or CLIENT_KEY, got ANNOUNCE
Sending ANNOUNCE 6
Invalid function: expected REGISTER or CLIENT_KEY, got ANNOUNCE
Thanks again
John
Hello Dear Sir:
After i tranfer a big file via uftp between lan , i found it will be
very slower than tsunami-udp !
client config ./uftp -M 192.168.0.88 large.mp3
server config ./uftpd server
FTP version 4.9.1 Copyright (C) 2001-2016 Dennis A. Bush
Starting at Tue Mar 22 13:00:20 2016
Transfer rate: 1000 Kbps (125 KB/s)
Wait between packets: 10562 us
Using private multicast address 192.168.0.88 Group ID: C6A1C8CC
Initializing group
Sending ANNOUNCE 1
Received REGISTER from client 0xC0A80058
Sending REG_CONF 2.1
Sending ANNOUNCE 2
Sending ANNOUNCE 3
Sending ANNOUNCE 4
Sending ANNOUNCE 5
Sending ANNOUNCE 6
Sending ANNOUNCE 7
Sending ANNOUNCE 8
Sending ANNOUNCE 9
Sending ANNOUNCE 10
Sending ANNOUNCE 11
Sending ANNOUNCE 12
Sending ANNOUNCE 13
Sending ANNOUNCE 14
Sending ANNOUNCE 15
Sending ANNOUNCE 16
Sending ANNOUNCE 17
Sending ANNOUNCE 18
Sending ANNOUNCE 19
Sending ANNOUNCE 20
----- large.mp3 -----
File ID: 0001 Name: large.mp3
sending as: large.mp3
Bytes: 4650828 Blocks: 3578 Sections: 1
Sending FILEINFO 1.1
Received FILEINFO_ACK from client 0xC0A80058
Sending file
Starting pass 1
Sending section 0
Sending DONE 1.1
Got COMPLETE from client 0xC0A80058
Transfer status:
Host: 0xC0A80058 Status: Completed time: 37.794 seconds
Total elapsed time: 37.794 seconds
Overall throughput: 120.17 KB/s
-----------------------------
Finishing group
Sending DONE 1.1
Got COMPLETE from client 0xC0A80058
Late completions:
Sending DONE_CONF 2.1
Group complete
uftp: Finishing at Tue Mar 22 13:01:00 2016
That's because you didn't specify a speed, so it used the default speed of 1000 Kbps. Use the -R option to specify the transmission speed in Kbps.
You can also use the -C option to use TFMCC to determine the speed dynamically.
Hello Dear Dennis Bush:
Thanks you for your advisement really .
i will try again
John
You're probably trying to run the client proxy and the client on the same machine using the same port. You need to either run the proxy on a different host or have the proxy listen on a different port than the clients and tell the proxy the client's port using the -q option.