Tuesday, January 29, 2013

GNU HTTPTunnel MinGW build

I ended up hacking GNU HTTPTunnel 3.3 sources with gnulib making it compiles in MinGW, so no more cygwin1.dll!

Binary:
httptunnel-3.3-mingw.7z

Source:
httptunnel-3.3-mingw-src.7z

6 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Hello,
    your httptunnel Mingw-port looks very good! It works for us under Windows XP, but we have difficulties to get it working under Windows 7.
    After connecting, the debug output shows the following error message:

    20140319 151655 tunnel_out_setsockopts: non-fatal SO_SNDLOWAT error: Unknown error
    20140319 151655 tunnel_out_setsockopts: non-fatal SO_SNDLOWAT: 1
    20140319 151655 tunnel_out_setsockopts: SO_LINGER: onoff=1 linger=2000
    20140319 151655 tunnel_out_setsockopts: non-fatal TCP_NODELAY: 1
    20140319 151655 tunnel_out_setsockopts: SO_KEEPALIVE: 1
    20140319 151655 http_write_request: POST /index.html?crap=1395238615 HTTP/1.1


    20140319 151655 tunnel_out_connect: output connected
    20140319 151655 tunnel_write_request: TUNNEL_OPEN (1)
    20140319 151655 tunnel_in_connect()


    Do you have any hints?

    Thank you,
    Gerrit.

    ReplyDelete
  3. I want to learn the process from you -> hacking GNU HTTPTunnel 3.3 sources with gnulib making it compiles in MinGW.
    If I want to learn,could you teach me? how much money it's??

    ReplyDelete
    Replies
    1. I'm not good at teaching people. ;)
      But so far I can tell is that, analyze the program what API it tries to use, then think/try if there is compatibility layer/wrapper for the API, then make changes(i.e. general porting process)

      Delete