Menu

EC curves not working in Response Proxy

2019-05-24
2019-06-06
  • Vincent Boidyo

    Vincent Boidyo - 2019-05-24

    Hello Dennis,
    I'm trying now concept with Server, Reponse-proxy and Client.
    Bewlo the commands :-
    Sever:- ./uftp -M 232.X.X.X -R 99999 -B 7355555 -p 9094 -t 10 (path)
    Response Proxy:- ./uftpproxyd -r -t 10 -e sect163k1 -d -M 232.X.X.X -C (Clientfile_list) B 7355555 -p 9094
    Client:- ./uftpd -B 7355555 -S (Serverfile_list) -R (Response-proxy IP) -p 9094 -d -D /tmp/dir1 -T /tmp/dir2
    Server-->> Response-Proxy it works fine.
    Response-Proxy to Client, it dosen't work.
    Running cmd in Client:-
    Say, Sent KEY_REQ to (Response-proxy IP):9094
    Runing cmd in Response proxy:-
    Recieved KEY_REQ from (Client IP)
    error exporting public key

    And as sugested for prime256v1 but still the same error.....

    I've tried all EC curves: prime256v1, secp384r1, and secp521r1.
    But still I get the same error message.
    Not sure what is missing and where I'm making a mistake.
    Please help me figure this out.
    Thank you.

     
  • Dennis Bush

    Dennis Bush - 2019-05-24

    What OS and version are you running?

     
  • Vincent Boidyo

    Vincent Boidyo - 2019-05-24

    I'm using Mojave 10.14.4 version.

    thank you.

     
  • Dennis Bush

    Dennis Bush - 2019-05-24

    I don't have a Mac handy so I can't reproduce the issue. You should still be able to use the proxy without encryption support. Remove the -e option from the proxy and see if you can get that working.

     
  • Dennis Bush

    Dennis Bush - 2019-05-28

    Did you compile with encryption support disabled? If so that would explain the error as there's no key to export. Currently, using a response proxy requires encryption to be enabled but not necessarily used.

     
    • Vincent Boidyo

      Vincent Boidyo - 2019-05-30

      Hello Denis,

      How do I compile with encryption support disabled?
      I'm not sure how to do it.

      Please help me the steps

      Thank you.

       
      • Dennis Bush

        Dennis Bush - 2019-05-30

        If you don't know how then you probably didn't disable encryption, which means it still doesn't explain the issue. Did you compile the code yourself or did you download executables from someplace?

         
        • Vincent Boidyo

          Vincent Boidyo - 2019-05-31

          I've generated an ssh-keygen and saved in default location. The Ecurve I got it from the website which was listed. I haven't compile any code.

          how do I got from here, please help me.

           
  • Vincent Boidyo

    Vincent Boidyo - 2019-06-06

    Hello Dennis,

    Please let me know if any addition informatrion required.

    Cos, I'm stuck and awaiting for your response.

    Thank you.

     
  • Dennis Bush

    Dennis Bush - 2019-06-06

    It sounds like you got the code precompiled from some external source which you didn't specify. Whoever compiled it may not have enabled encryption. If that's the case then you need to compile the code yourself, and you need to download the OpenSSL libraries which are needed for encryption.

     

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.