Page 1 of 1

ability to alter telnet url

Posted: Tue Mar 31, 2020 2:28 pm
by ostapus
Hello,

requesting the followin feature - ability to alter/customize "click to node" url for node access.. Currently (ie for telnet) the url has followin form: telnet://1.2.3.4:5678. The probles is, under the linux - when i click and open terminal to the node, terminal window has no proper title (like "R1"... i am using konsole as terminal). I can assign script as uri handler, howere it is not help as there is no way to pass router's name to url.
as POC i modified community version of eve-ng to construct uri as telnet://1.2.3.4:5678@ROUTER_NAME, however, i can't modify prof. version because of encrypted files.

thanks

Ostap

Re: ability to alter telnet url

Posted: Wed Apr 01, 2020 3:27 pm
by ecze
The root cause is the telnet client Used...

EVE send back Console name but some client are just unable to handle such information !

E.

Re: ability to alter telnet url

Posted: Wed Apr 01, 2020 5:23 pm
by ostapus
Hello,

thanks for the answer. Do you mind to point me how exactly EVE sents info back ? i couldn't find anything in telnet specification and looking at the connection dump (with tcpdump) i don't see remote device name either.
Either way, another use case is when you have to use jump/bastion host and do ssh tunnel to telnet because of firewalls - ie: ssh eve-ng-host telnet localhost 60685, you have to pass remote device name to change window/tab title.

thanks

Re: ability to alter telnet url

Posted: Thu Apr 02, 2020 2:12 pm
by ecze
It is a sequence handled by xterm type terminals

E.