The keycode file you're compiling has nothing to do with UFTP and is therefore not being used.
The problem which is now apparent from the logs is that this copy of UFTP was not compiled with encryption support, and as I mentioned in a prior post encryption support is currently required to use a response proxy. The UFTP code would need to be recompiled to use OpenSSL for encryption.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Denis
Issue in Response-Proxy.
Below are the command synopsis used.
Server:- ./uftp -M 232.66.66.66 -R 99999 -B 7355555 -p 9094 -t 16 <file path=""></file>
Response Proxy:- ./uftpproxyd -r -t 16 -d -M 232.66.66.66 -B 7355555 -p 9094
Client:- ./uftpd -M 232.66.66.66 -R <response-proxy ip=""> -B 7355555 -p 9094 -d -D /tmp/dest -T /tmp/receiving</response-proxy>
Getting an error message in Response-Proxy
C02T60BAGG7N:uftp-4.9.8 mapsadmin$ ./uftpproxyd -r -t 16 -d -M 232.66.66.66 -B 7355555 -p 9094
2019/06/12 14:49:33.764223: UFTP version 4.9.8 Copyright (C) 2001-2018 Dennis A. Bush
2019/06/12 14:49:38.589384: Received KEY_REQ from <client ip="" address="">
2019/06/12 14:49:38.590027: Error exporting public key
2019/06/12 14:49:43.593890: Received KEY_REQ from <client ip="" address=""></client></client>
2019/06/12 14:49:43.593917: Error exporting public key
2019/06/12 14:49:48.595409: Received KEY_REQ from <client ip="" address=""></client>
2019/06/12 14:49:48.595431: Error exporting public key
2019/06/12 14:49:53.595877: Received KEY_REQ from <client ip="" address=""></client>
2019/06/12 14:49:53.595894: Error exporting public key
This is What have I get when I run the command in Client.
Steps followed for compiling a Public Key.
I created a main.c file from Xcode application in Desktop.
The main.c looks like this.
Then I complied main.c to a file name "keycode" by using below command.
gcc main.c -o keycode
The keycode is complied and saved in desktop.
I move the keycode in UPTP folder where I have other compiled file.
Not sure what wrong I’m doing.
The keycode file you're compiling has nothing to do with UFTP and is therefore not being used.
The problem which is now apparent from the logs is that this copy of UFTP was not compiled with encryption support, and as I mentioned in a prior post encryption support is currently required to use a response proxy. The UFTP code would need to be recompiled to use OpenSSL for encryption.