Menu

Announce timed out

Irfan
2019-06-17
2019-06-23
  • Irfan

    Irfan - 2019-06-17

    any can help with this error

    [root@uftp-server var]# uftpe /opt/text-1-2.txt

    UFTP version 4.5.1 Copyright (C) 2001-2014 Dennis A. Bush
    Starting at Mon Jun 17 05:42:25 2019
    Loaded 2048 bit RSA key with fingerprint 6E:C0:1F:6B:41:65:AB:5E:63:E3:4E:B9:4D:89:6B:C0:1B:C8:57:37
    Transfer rate: 1000 Kbps (125 KB/s)
    Wait between packets: 11031 us
    Using private multicast address 230.5.5.181 Group ID: 034401E6
    Initializing group
    Sending ANNOUNCE 1
    Received REGISTER from client 0xFFFFFFFE
    Received REGISTER+ from client 0xFFFFFFFE
    Received CLIENT_KEY from 0xFFFFFFFE
    Received CLIENT_KEY+ from 0xFFFFFFFE
    Sending KEYINFO 2.1
    Sending ANNOUNCE 2
    Transfer aborted by 0xFFFFFFFE: Decrypt failed for group master
    Received invalid message KEYINFO_ACK from 0xFFFFFFFE
    Received invalid message REGISTER from 0xFFFFFFFE
    Received invalid message CLIENT_KEY from 0xFFFFFFFE
    Sending ANNOUNCE 3
    Received invalid message REGISTER from 0xFFFFFFFE
    Received invalid message CLIENT_KEY from 0xFFFFFFFE
    Sending ANNOUNCE 4
    Sending ANNOUNCE 5
    Received invalid message REGISTER from 0xFFFFFFFE
    Received invalid message CLIENT_KEY from 0xFFFFFFFE
    Sending ANNOUNCE 6
    Received invalid message REGISTER from 0xFFFFFFFE
    Received invalid message CLIENT_KEY from 0xFFFFFFFE
    Sending ANNOUNCE 7
    Sending ANNOUNCE 8
    Received invalid message REGISTER from 0xFFFFFFFE
    Received invalid message CLIENT_KEY from 0xFFFFFFFE
    Sending ANNOUNCE 9
    Received invalid message REGISTER from 0xFFFFFFFE
    Received invalid message CLIENT_KEY from 0xFFFFFFFE
    Sending ANNOUNCE 10
    Received invalid message REGISTER from 0xFFFFFFFE
    Received invalid message CLIENT_KEY from 0xFFFFFFFE
    Sending ANNOUNCE 11
    Sending ANNOUNCE 12
    Received invalid message REGISTER from 0xFFFFFFFE
    Received invalid message CLIENT_KEY from 0xFFFFFFFE
    Sending ANNOUNCE 13
    Received invalid message REGISTER from 0xFFFFFFFE
    Received invalid message CLIENT_KEY from 0xFFFFFFFE
    Sending ANNOUNCE 14
    Sending ANNOUNCE 15
    Received invalid message REGISTER from 0xFFFFFFFE
    Received invalid message CLIENT_KEY from 0xFFFFFFFE
    Sending ANNOUNCE 16
    Received invalid message REGISTER from 0xFFFFFFFE
    Received invalid message CLIENT_KEY from 0xFFFFFFFE
    Sending ANNOUNCE 17
    Received invalid message REGISTER from 0xFFFFFFFE
    Sending ANNOUNCE 18
    Received invalid message CLIENT_KEY from 0xFFFFFFFE
    Sending ANNOUNCE 19
    Received invalid message REGISTER from 0xFFFFFFFE
    Received invalid message CLIENT_KEY from 0xFFFFFFFE
    Sending ANNOUNCE 20
    Received invalid message REGISTER from 0xFFFFFFFE
    Received invalid message CLIENT_KEY from 0xFFFFFFFE
    Announce timed out
    uftp: Finishing at Mon Jun 17 05:42:27 2019

    tq

     
  • Irfan

    Irfan - 2019-06-17

    in client uftpd

    2019/06/17 05:42:25.562133: [034401E6:0]: Received request from C0A8632D
    2019/06/17 05:42:25.562187: [034401E6:0]: Using private multicast address 230.5.5.181
    2019/06/17 05:42:25.562375: [034401E6:0]: REGISTER sent
    2019/06/17 05:42:25.564943: [034401E6:0]: CLIENT_KEY sent
    2019/06/17 05:42:27.063569: [034401E6:0]: Received KEYINFO
    2019/06/17 05:42:27.063664: DecryptFinal failed: error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt
    2019/06/17 05:42:27.063689: [034401E6:0]: Decrypt failed for group master
    2019/06/17 05:42:27.063752: [034401E6:0]: Writing restart file
    2019/06/17 05:42:27.074805: [034401E6:0]: Received request from C0A8632D
    2019/06/17 05:42:27.074840: [034401E6:0]: Using private multicast address 230.5.5.181
    2019/06/17 05:42:27.075028: [034401E6:0]: REGISTER sent
    2019/06/17 05:42:27.077644: [034401E6:0]: CLIENT_KEY sent
    2019/06/17 05:42:27.117372: [034401E6:0]: REGISTER sent
    2019/06/17 05:42:27.119973: [034401E6:0]: CLIENT_KEY sent
    2019/06/17 05:42:27.159705: [034401E6:0]: REGISTER sent
    2019/06/17 05:42:27.162302: [034401E6:0]: CLIENT_KEY sent
    2019/06/17 05:42:27.202097: [034401E6:0]: REGISTER sent
    2019/06/17 05:42:27.204680: [034401E6:0]: CLIENT_KEY sent
    2019/06/17 05:42:27.244459: [034401E6:0]: REGISTER sent
    2019/06/17 05:42:27.247184: [034401E6:0]: CLIENT_KEY sent
    2019/06/17 05:42:27.286796: [034401E6:0]: REGISTER sent
    2019/06/17 05:42:27.289374: [034401E6:0]: CLIENT_KEY sent
    2019/06/17 05:42:27.329175: [034401E6:0]: REGISTER sent
    2019/06/17 05:42:27.332082: [034401E6:0]: CLIENT_KEY sent
    2019/06/17 05:42:27.371526: [034401E6:0]: REGISTER sent
    2019/06/17 05:42:27.374432: [034401E6:0]: CLIENT_KEY sent
    2019/06/17 05:42:27.413893: [034401E6:0]: REGISTER sent
    2019/06/17 05:42:27.416817: [034401E6:0]: CLIENT_KEY sent
    2019/06/17 05:42:27.456218: [034401E6:0]: REGISTER sent
    2019/06/17 05:42:27.458807: [034401E6:0]: CLIENT_KEY sent
    2019/06/17 05:42:27.498568: [034401E6:0]: REGISTER sent
    2019/06/17 05:42:27.501632: [034401E6:0]: CLIENT_KEY sent
    2019/06/17 05:42:27.540915: [034401E6:0]: REGISTER sent
    2019/06/17 05:42:27.544901: [034401E6:0]: CLIENT_KEY sent
    2019/06/17 05:42:27.583271: [034401E6:0]: REGISTER sent
    2019/06/17 05:42:27.586349: [034401E6:0]: CLIENT_KEY sent
    2019/06/17 05:42:27.625632: [034401E6:0]: REGISTER sent
    2019/06/17 05:42:27.628677: [034401E6:0]: CLIENT_KEY sent
    2019/06/17 05:42:27.671239: [034401E6:0]: REGISTER sent
    2019/06/17 05:42:27.674370: [034401E6:0]: CLIENT_KEY sent
    2019/06/17 05:42:27.716921: [034401E6:0]: REGISTER sent
    2019/06/17 05:42:27.719984: [034401E6:0]: CLIENT_KEY sent
    2019/06/17 05:42:27.762510: [034401E6:0]: REGISTER sent
    2019/06/17 05:42:27.765557: [034401E6:0]: CLIENT_KEY sent
    2019/06/17 05:42:27.808089: [034401E6:0]: REGISTER sent
    2019/06/17 05:42:27.811175: [034401E6:0]: CLIENT_KEY sent
    2019/06/17 05:42:27.853746: [034401E6:0]: REGISTER sent
    2019/06/17 05:42:27.856783: [034401E6:0]: CLIENT_KEY sent
    2019/06/17 05:42:27.899339: [034401E6:0]: REGISTER sent
    2019/06/17 05:42:27.902389: [034401E6:0]: CLIENT_KEY sent
    2019/06/17 05:42:27.944948: [034401E6:0]: REGISTER sent
    2019/06/17 05:42:27.947996: [034401E6:0]: CLIENT_KEY sent
    2019/06/17 05:42:27.990565: [034401E6:0]: REGISTER sent
    2019/06/17 05:42:27.993600: [034401E6:0]: CLIENT_KEY sent
    2019/06/17 05:42:28.036157: [034401E6:0]: REGISTER sent
    2019/06/17 05:42:28.039219: [034401E6:0]: CLIENT_KEY sent
    2019/06/17 05:42:28.081658: [034401E6:0]: Registration unconfirmed by server
    2019/06/17 05:42:28.081754: [034401E6:0]: Writing restart file

    tq

     
  • Dennis Bush

    Dennis Bush - 2019-06-17

    A few questions:

    • What OS are you on?
    • What version of OpenSSL did you build with?
    • What is the full command line given to both the client and the server?
     

    Last edit: Dennis Bush 2019-06-17
  • Irfan

    Irfan - 2019-06-17

    i use centos 7 both 2 PC Client and 1 PC Server.
    for OpenSSL
    openssl-libs-1.0.2k-16.el7_6.1.x86_64
    openssl-1.0.2k-16.el7_6.1.x86_64

    for command i'm test
    uftpe /opt/text-1-2.txt

    if send for singel client is work

    [root@uftp-server ~]# uftpe -M 192.168.99.46 /opt/text-1-2.txt

    UFTP version 4.5.1 Copyright (C) 2001-2014 Dennis A. Bush
    Starting at Tue Jun 18 00:02:17 2019
    Loaded 2048 bit RSA key with fingerprint 6E:C0:1F:6B:41:65:AB:5E:63:E3:4E:B9:4D:89:6B:C0:1B:C8:57:37
    Transfer rate: 1000 Kbps (125 KB/s)
    Wait between packets: 11031 us
    Using private multicast address 192.168.99.46 Group ID: 7595FA96
    Initializing group
    Sending ANNOUNCE 1
    Received REGISTER from client 0xFFFFFFFE
    Received CLIENT_KEY from 0xFFFFFFFE
    Sending KEYINFO 2.1
    Sending ANNOUNCE 2
    Received KEYINFO_ACK from 0xFFFFFFFE
    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
    ----- text-1-2.txt -----
    File ID: 0001 Name: text-1-2.txt
    sending as: text-1-2.txt
    Bytes: 0 Blocks: 0 Sections: 0
    Sending FILEINFO 1.1
    Received FILEINFO_ACK from client 0xFFFFFFFE
    Sending file
    Starting pass 1
    Sending DONE 1.1
    Got COMPLETE from client 0xFFFFFFFE
    Transfer status:
    Host: 0xFFFFFFFE Status: Completed time: 0.000 seconds
    Total elapsed time: 0.000 seconds
    Overall throughput: 0.00 KB/s
    -----------------------------
    Finishing group
    Sending DONE 1.1
    Got COMPLETE from client 0xFFFFFFFE
    Late completions:
    Sending DONE_CONF 2.1
    Group complete
    uftp: Finishing at Tue

     

    Last edit: Irfan 2019-06-18
  • Dennis Bush

    Dennis Bush - 2019-06-18

    "uftpe" is not the name of one of the modules. Is this some wrapper script you're calling? It seems that way since the logs show that encryption is enabled but I don't see the -Y option.

     
  • Irfan

    Irfan - 2019-06-18

    if i use
    [root@uftp-server ~]# uftp -Y aes256-cbc -h sha1 /opt/text-1-1.txt /opt/text-1-2.txt

    Sending ANNOUNCE 20
    Transfer aborted by FFFFFFFE: No client key compatible with server key
    Transfer aborted by FFFFFFFE: No client key compatible with server key
    ----- text-1-1.txt -----
    File ID: 0001 Name: text-1-1.txt
    sending as: text-1-1.txt
    Bytes: 0 Blocks: 0 Sections: 0
    Sending FILEINFO 1.1
    Received FILEINFO_ACK from client 0xC0A8632D
    Sending file
    Starting pass 1
    Sending DONE 1.1
    Got COMPLETE from client 0xC0A8632D
    Transfer status:
    Host: 0xC0A8632D Status: Completed time: 0.000 seconds
    Total elapsed time: 0.000 seconds
    Overall throughput: 0.00 KB/s
    ----- text-1-2.txt -----
    File ID: 0002 Name: text-1-2.txt
    sending as: text-1-2.txt
    Bytes: 0 Blocks: 0 Sections: 0
    Sending FILEINFO 1.1
    Received FILEINFO_ACK from client 0xC0A8632D
    Sending file
    Starting pass 1
    Sending DONE 1.1
    Got COMPLETE from client 0xC0A8632D
    Transfer status:
    Host: 0xC0A8632D Status: Completed time: 0.000 seconds
    Total elapsed time: 0.000 seconds
    Overall throughput: 0.00 KB/s
    -----------------------------
    Finishing group
    Sending DONE 1.1
    Got COMPLETE from client 0xC0A8632D
    Late completions:
    Sending DONE_CONF 2.1
    Group complete

    and log from client 1 and 2 :

    2019/06/18 05:17:36.022647: [12EB8C9C:0]: No client key compatible with server key
    2019/06/18 05:17:36.022744: [12EB8C9C:0]: Writing restart file
    2019/06/18 05:17:36.052795: [12EB8C9C:0]: No client key compatible with server key
    2019/06/18 05:17:36.052877: [12EB8C9C:0]: Writing restart file
    2019/06/18 05:17:36.082929: [12EB8C9C:0]: No client key compatible with server key
    2019/06/18 05:17:36.083017: [12EB8C9C:0]: Writing restart file
    2019/06/18 05:17:36.112887: [12EB8C9C:0]: No client key compatible with server key
    2019/06/18 05:17:36.112966: [12EB8C9C:0]: Writing restart file
    2019/06/18 05:17:36.142993: [12EB8C9C:0]: No client key compatible with server key
    2019/06/18 05:17:36.143049: [12EB8C9C:0]: Writing restart file
    2019/06/18 05:17:36.173150: [12EB8C9C:0]: No client key compatible with server key
    2019/06/18 05:17:36.173218: [12EB8C9C:0]: Writing restart file
    2019/06/18 05:17:36.203274: [12EB8C9C:0]: No client key compatible with server key
    2019/06/18 05:17:36.203340: [12EB8C9C:0]: Writing restart file
    2019/06/18 05:17:36.233292: [12EB8C9C:0]: No client key compatible with server key
    2019/06/18 05:17:36.233359: [12EB8C9C:0]: Writing restart file
    2019/06/18 05:17:36.263500: [12EB8C9C:0]: No client key compatible with server key
    2019/06/18 05:17:36.263576: [12EB8C9C:0]: Writing restart file
    2019/06/18 05:17:36.293578: [12EB8C9C:0]: No client key compatible with server key

    or my be i miss for configure.
    and for information i test with VPS for client and server.

     
  • Dennis Bush

    Dennis Bush - 2019-06-18

    The logs say one client got the file successfully and that one didn't, and for the one that didn't that the client and server key are incompatible However, you haven't shown the part of the logs that state what type of keys they are. Please show that part of the log as well.

     
  • Irfan

    Irfan - 2019-06-18

    I am sorry, are means log uftpd ini client.

    clietn 1 :
    2019/06/18 22:30:37.751830: UFTP version 4.5.1 Copyright (C) 2001-2014 Dennis A. Bush
    2019/06/18 22:30:37.751956: Loaded 2048 bit RSA key with fingerprint 85:00:24:AB:65:EA:A7:1F:40:AB:76:38:47:1C:70:A3:0E:21:BC:A6

    client 2:
    2019/06/18 22:34:11.152688: UFTP version 4.5.1 Copyright (C) 2001-2014 Dennis A. Bush
    2019/06/18 22:34:11.152813: Loaded 2048 bit RSA key with fingerprint 85:00:24:AB:65:EA:A7:1F:40:AB:76:38:47:1C:70:A3:0E:21:BC:A6

    server :

    UFTP version 4.5.1 Copyright (C) 2001-2014 Dennis A. Bush
    Starting at Tue Jun 18 22:33:45 2019
    Loaded 512 bit RSA key with fingerprint 3D:31:39:8E:38:06:57:8F:AC:AE:CD:4D:AE:F9:81:C4:BE:75:AF:FC
    Transfer rate: 1000 Kbps (125 KB/s)
    Wait between packets: 10937 us
    Using private multicast address 230.5.5.130 Group ID: 115FBF1E

    or what script if i want to se key in client 1,2 ?

     
  • Dennis Bush

    Dennis Bush - 2019-06-19

    There's your problem. You're using different key sizes between the client and server. They must both be the same size. Also, you should use a different key for each client rather than sharing a key between them.

     
  • Irfan

    Irfan - 2019-06-19

    i use this command

    [root@client2 keys]# uftp_keymgt $HOME/.uftp/uftp.key
    /root/.uftp/uftp.key: RSA, 2048 bits, fingerprint: 6E:A8:BB:D6:39:E7:68:33:EA:97:9E:D5:CE:AC:B9:4A:24:64:AD:4A
    [root@client2 keys]#

    on server PC

    [root@uftp-server ~]# uftp_keymgt $HOME/.uftp/uftp.key
    /root/.uftp/uftp.key: RSA, 2048 bits, fingerprint: 6E:C0:1F:6B:41:65:AB:5E:63:E3:4E:B9:4D:89:6B:C0:1B:C8:57:37
    [root@uftp-server ~]#

     
  • Dennis Bush

    Dennis Bush - 2019-06-20

    So what happens now? Be sure to include the full logs.

     
  • Irfan

    Irfan - 2019-06-20

    I,m sorry Dennis, I have a question whether to install uftp_client in uftp server?

     
  • Dennis Bush

    Dennis Bush - 2019-06-20

    You can install the client component (uftpd) and the server component (uftp) on the same server. That shouldn't have anything to do with your original problem, however.

     
  • Irfan

    Irfan - 2019-06-21

    [root@uftp-server ~]# uftp -Y aes256-cbc -h sha1 -k /var/uftpd/keys/uftpd.key /opt/text_1.txt

    UFTP version 4.5.1 Copyright (C) 2001-2014 Dennis A. Bush
    Starting at Fri Jun 21 00:44:30 2019
    Loaded 2048 bit RSA key with fingerprint 42:1D:74:94:8E:14:40:27:27:15:48:78:1D:F0:8B:22:CE:F7:BE:8F
    Transfer rate: 1000 Kbps (125 KB/s)
    Wait between packets: 10937 us
    Using private multicast address 230.5.5.102 Group ID: 3FC79CE4
    Initializing group
    Sending ANNOUNCE 1
    Received REGISTER from client 0xFFFFFFFE
    Received REGISTER+ from client 0xFFFFFFFE
    Sending KEYINFO 2.1
    Sending ANNOUNCE 2
    Transfer aborted by 0xFFFFFFFE: Decrypt failed for group master
    Received invalid message KEYINFO_ACK from 0xFFFFFFFE
    Received invalid message REGISTER from 0xFFFFFFFE
    Sending ANNOUNCE 3
    Received invalid message REGISTER from 0xFFFFFFFE
    Sending ANNOUNCE 4
    Sending ANNOUNCE 5
    Received invalid message REGISTER from 0xFFFFFFFE
    Sending ANNOUNCE 6
    Received invalid message REGISTER from 0xFFFFFFFE
    Sending ANNOUNCE 7
    Sending ANNOUNCE 8
    Received invalid message REGISTER from 0xFFFFFFFE
    Sending ANNOUNCE 9
    Received invalid message REGISTER from 0xFFFFFFFE
    Sending ANNOUNCE 10
    Received invalid message REGISTER from 0xFFFFFFFE
    Sending ANNOUNCE 11
    Sending ANNOUNCE 12
    Received invalid message REGISTER from 0xFFFFFFFE
    Sending ANNOUNCE 13
    Received invalid message REGISTER from 0xFFFFFFFE
    Sending ANNOUNCE 14
    Sending ANNOUNCE 15
    Received invalid message REGISTER from 0xFFFFFFFE
    Sending ANNOUNCE 16
    Received invalid message REGISTER from 0xFFFFFFFE
    Sending ANNOUNCE 17
    Received invalid message REGISTER from 0xFFFFFFFE
    Sending ANNOUNCE 18
    Sending ANNOUNCE 19
    Received invalid message REGISTER from 0xFFFFFFFE
    Sending ANNOUNCE 20
    Received invalid message REGISTER from 0xFFFFFFFE
    Announce timed out
    uftp: Finishing at Fri Jun 21 00:44:33 2019

    Log uftpd in server ;

    2019/06/21 00:44:30.986367: [3FC79CE4:0]: Received request from C0A8632D
    2019/06/21 00:44:30.986426: [3FC79CE4:0]: Using private multicast address 230.5.5.102
    2019/06/21 00:44:30.986589: [3FC79CE4:0]: REGISTER sent
    2019/06/21 00:44:32.487856: [3FC79CE4:0]: Received KEYINFO
    2019/06/21 00:44:32.488218: [3FC79CE4:0]: KEYINFO_ACK sent
    2019/06/21 00:44:34.030896: [3FC79CE4:0]: Transfer timed out
    2019/06/21 00:44:34.031057: [3FC79CE4:0]: Writing restart file

    client uftpd

    2019/06/21 00:42:17.656362: [63A2EC3A:0]: Received request from C0A8632D
    2019/06/21 00:42:17.656588: [63A2EC3A:0]: Using private multicast address 230.5.5.216
    2019/06/21 00:42:17.656940: [63A2EC3A:0]: REGISTER sent
    2019/06/21 00:42:19.157833: [63A2EC3A:0]: Received KEYINFO
    2019/06/21 00:42:19.158071: DecryptFinal failed: error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt
    2019/06/21 00:42:19.158140: [63A2EC3A:0]: Decrypt failed for group master
    2019/06/21 00:42:19.158218: [63A2EC3A:0]: Writing restart file
    2019/06/21 00:42:19.169295: [63A2EC3A:0]: Received request from C0A8632D
    2019/06/21 00:42:19.169420: [63A2EC3A:0]: Using private multicast address 230.5.5.216
    2019/06/21 00:42:19.169752: [63A2EC3A:0]: REGISTER sent
    2019/06/21 00:42:19.212255: [63A2EC3A:0]: REGISTER sent
    2019/06/21 00:42:19.254768: [63A2EC3A:0]: REGISTER sent
    2019/06/21 00:42:19.297219: [63A2EC3A:0]: REGISTER sent
    2019/06/21 00:42:19.339682: [63A2EC3A:0]: REGISTER sent
    2019/06/21 00:42:19.382052: [63A2EC3A:0]: REGISTER sent
    2019/06/21 00:42:19.424430: [63A2EC3A:0]: REGISTER sent
    2019/06/21 00:42:19.466834: [63A2EC3A:0]: REGISTER sent
    2019/06/21 00:42:19.509214: [63A2EC3A:0]: REGISTER sent
    2019/06/21 00:42:19.551582: [63A2EC3A:0]: REGISTER sent
    2019/06/21 00:42:19.593987: [63A2EC3A:0]: REGISTER sent
    2019/06/21 00:42:19.636405: [63A2EC3A:0]: REGISTER sent
    2019/06/21 00:42:19.678782: [63A2EC3A:0]: REGISTER sent
    2019/06/21 00:42:19.721422: [63A2EC3A:0]: REGISTER sent
    2019/06/21 00:42:19.764052: [63A2EC3A:0]: REGISTER sent
    2019/06/21 00:42:19.806700: [63A2EC3A:0]: REGISTER sent
    2019/06/21 00:42:19.849341: [63A2EC3A:0]: REGISTER sent
    2019/06/21 00:42:19.891913: [63A2EC3A:0]: REGISTER sent
    2019/06/21 00:42:19.934507: [63A2EC3A:0]: REGISTER sent
    2019/06/21 00:42:19.977085: [63A2EC3A:0]: REGISTER sent
    2019/06/21 00:42:20.019655: [63A2EC3A:0]: REGISTER sent
    2019/06/21 00:42:20.062302: [63A2EC3A:0]: REGISTER sent
    2019/06/21 00:42:20.104883: [63A2EC3A:0]: REGISTER sent
    2019/06/21 00:42:20.147390: [63A2EC3A:0]: REGISTER sent
    2019/06/21 00:42:20.189771: [63A2EC3A:0]: Registration unconfirmed by server
    2019/06/21 00:42:20.189853: [63A2EC3A:0]: Writing restart file

     
  • Irfan

    Irfan - 2019-06-21

    how to genert key and register key client in server.

     

    Last edit: Irfan 2019-06-21
  • Dennis Bush

    Dennis Bush - 2019-06-21

    You're showing client logs from two different sessions (look at the group ID in the log). The server log matches the first client log but not the second.

    Are you by any chance starting both clients with the same ID? If so, that can confuse the server. What is the exact command line you use to start each client?

     
  • Irfan

    Irfan - 2019-06-21

    on client i'm use default from uftpd

    [root@client2 ~]# service uftpd status
    â uftpd.service - SYSV: UFTP Encrypted UDP based FTP with multicast Client
    Loaded: loaded (/etc/rc.d/init.d/uftpd; bad; vendor preset: disabled)
    Active: active (running) since Fri 2019-06-21 03:15:35 UTC; 1s ago
    Docs: man:systemd-sysv-generator(8)
    Process: 1280 ExecStop=/etc/rc.d/init.d/uftpd stop (code=exited, status=0/SUCCESS)
    Process: 1439 ExecStart=/etc/rc.d/init.d/uftpd start (code=exited, status=0/SUCCESS)
    Main PID: 1445 (uftpd)
    CGroup: /system.slice/uftpd.service
    ââ1445 /usr/sbin/uftpd -M 230.4.4.1 -U 0xFFFFFFFE -p 1044 -D /var/uftpd/incoming -T /var/uftpd/tmp -L /var/log/uftpd.log -P /var/run/uftpd.pid -E -k /var/uftpd/keys/uftpd.key

    Jun 21 03:15:35 client2.systemd[1]: Starting SYSV: UFTP Encrypted UDP based FTP with multicast Client...
    Jun 21 03:15:35 client2. uftpd[1439]: Starting uftpd: [ OK ]
    Jun 21 03:15:35 client2. systemd[1]: Started SYSV: UFTP Encrypted UDP based FTP with multicast Client.

     

    Last edit: Irfan 2019-06-21
  • Dennis Bush

    Dennis Bush - 2019-06-21

    That shows that one client is using 0xFFFFFFFE as its ID. If the other is also using that value that would explain the problem. You'll need to change the IDs so that they're not the same.

     
  • Irfan

    Irfan - 2019-06-22

    hai deni ho to change ID

    Received REGISTER from client 0xFFFFFFFE
    Sending KEYINFO 2.1
    Sending ANNOUNCE 2
    Received KEYINFO_ACK from 0xFFFFFFFE

    becaus i don't khnow whare i mush change this ID.

     
  • Dennis Bush

    Dennis Bush - 2019-06-22

    The ID is specified with the -U option.

     
  • Irfan

    Irfan - 2019-06-22

    can,t this ID list on 1 file txt in linux

     
  • Irfan

    Irfan - 2019-06-22

    [root@uftpd-cent6 .uftp]# uftp -Y aes256-cbc -h sha1 -k ~/.uftp/uftp.key /opt/centos6.txt

    UFTP version 4.5.1 Copyright (C) 2001-2014 Dennis A. Bush
    Starting at Sat Jun 22 19:48:24 2019
    Loaded 2048 bit RSA key with fingerprint 6D:1D:4B:CA:63:66:46:EF:6A:85:D8:8B:C0:E2:39:CE:5A:8D:D0:A7
    Transfer rate: 1000 Kbps (125 KB/s)
    Wait between packets: 10937 us
    Using private multicast address 230.5.5.118 Group ID: E45103A0
    Initializing group
    Sending ANNOUNCE 1
    Received REGISTER from client 0xC0A86331
    Received REGISTER from client 0xC0A8632E
    Received REGISTER from client 0x00000001
    Sending KEYINFO 2.1
    Sending ANNOUNCE 2
    Received KEYINFO_ACK from 0xC0A86331
    Received KEYINFO_ACK from 0x00000001
    Received KEYINFO_ACK from 0xC0A8632E
    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
    ----- centos6.txt -----
    File ID: 0001 Name: centos6.txt
    sending as: centos6.txt
    Bytes: 0 Blocks: 0 Sections: 0
    Sending FILEINFO 1.1
    Received FILEINFO_ACK from client 0xC0A86331
    Received FILEINFO_ACK from client 0x00000001
    Received FILEINFO_ACK from client 0xC0A8632E
    Sending file
    Starting pass 1
    Sending DONE 1.1
    Got COMPLETE from client 0xC0A86331
    Got COMPLETE from client 0x00000001
    Got COMPLETE from client 0xC0A8632E
    Transfer status:
    Host: 0xC0A86331 Status: Completed time: 0.001 seconds
    Host: 0xC0A8632E Status: Completed time: 0.001 seconds
    Host: 0x00000001 Status: Completed time: 0.001 seconds
    Total elapsed time: 0.001 seconds
    Overall throughput: 0.00 KB/s
    -----------------------------
    Finishing group
    Sending DONE 1.1
    Got COMPLETE from client 0xC0A86331
    Got COMPLETE from client 0xC0A8632E
    Got COMPLETE from client 0x00000001
    Late completions:
    Sending DONE_CONF 2.1
    Group complete
    uftp: Finishing at Sat Jun 22 19:48:26 2019

    i use centos 6 for server and now i can send to 3 pc client and is work.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.