Bug#972854: seems not to work

2020-11-05 Thread Francisco Vilmar Cardoso Ruviaro
Hi,

The tty-server is now deprecated, and tty-proxy (I would like to packaging it, I
don't think I will be able to make it before the freeze for bullseye) should be
used instead.

[0]: https://github.com/elisescu/tty-proxy

[1]:
https://github.com/elisescu/tty-server/blob/50b9367cd19c07017b9578adca5e8d15db2382b0/README.md

[2]:
https://github.com/elisescu/tty-server/commit/50b9367cd19c07017b9578adca5e8d15db2382b0

[3]:
https://github.com/elisescu/tty-share/blob/93cdfa0e887c210d097c891ffaaf5e3ccd8f35d8/doc/old-version.md

I'm preparing golang-github-moby-term (one of the Build-Depends for tty-share)
to upload the new release of tty-share.

[4]: https://bugs.debian.org/973820

Regards,
-- 
Francisco Vilmar Cardoso Ruviaro 
4096R: 1B8C F656 EF3B 8447 2F48 F0E7 82FB F706 0B2F 7D00



Bug#972854: seems not to work

2020-11-04 Thread Francisco
Hi Daniel,

I'm sorry for the late reply,

> 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
>
> On the server, I did:
>
>  # tty-server -url http://tty.example.net
>  INFO[] Listening on address: http://:80, and TCP://:6543
>
> On the client, I've been using:
>  # tty-share -server tty.example.net:6543 -useTLS false

please, try:
$ 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.

hmm, very good, I didn't realize it, thanks a lot,
as a new release has just come out, I will confirm if it remains.

>
>  * 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.

Yes, it is the way the server was configured,
"use nginx as reverse proxy for the web interface at port 5000 (listen at 443,
terminate the TLS, and redirect to localhost:5000)
TLS endpoint at port 7654, and redirect to localhost:6543"

https://github.com/elisescu/tty-server/blob/56e269830bd98411b18f6299761f56ab3a87f82a/README.md

>
>  * 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.

Yes, it is one of the things that are on my To-Do list.

>
> Regards,
> Daniel

Thanks,
-- 
Francisco Vilmar Cardoso Ruviaro 
4096R: 1B8C F656 EF3B 8447 2F48 F0E7 82FB F706 0B2F 7D00



Bug#972854: seems not to work

2020-10-25 Thread Daniel Baumann
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

On the server, I did:

  # tty-server -url http://tty.example.net
  INFO[] 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