Package: tty-server
Version: 0.0~git20201003.5fcfdf5+ds-1

Hi,

I've tried tty-server out, but it seems not to work for me.

I'm using "example.net" in the following commands, but have been using a
proper dns entry in reality of course.

Also, before making it work "properly" behind an apache reverse proxy
with proper ssl, I thought I'd just try it out quick&dirty..

On the server, I did:

  # tty-server -url http://tty.example.net
  INFO[0000] Listening on address: http://:80, and TCP://:6543

On the client, I've been using:
  # tty-share -server tty.example.net:6543 -useTLS false

Which gives me the following output on the server:

  WARN[0655] Cannot create session with 1.2.3.4:35688. Error:
  Cannot decode message: invalid character '\x16' looking for beginning
  of value

And the following output on the client:

  Cannot connect (TLS) to the server (tty.example.net:6543): EOF

Disabling TLS doesn't work then.

Furhter observations:

  * neither '-useTLS false' nor '-useTLS no' work at all when
    being 'reordered', so when calling:

    tty-share -useTLS false -server tty.example.net:6543

    then all commandline options are ignored entirely and
    a normal session to go.tty-share.com is established,
    eventhough -server has been specified.

  * the default ports from the server and the client don't seem
    to match; the server by default starts on 6543, the client
    tries by default 7654.

  * it would be nice to have systemd unit files and apache configs
    integrated into the package, so that a 'apt install tty-server'
    works out of the box.

Regards,
Daniel

Reply via email to