- Recently, a work came to me which needs to set telnet on linemode.so i install telnetd with
apt install telnetd, which is controlled byinetd, and this operation will add new linetelnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetdin/etc/inetd.conf - after install telnetd by this way, i tried many ways to enable linemode in telnet service yet all failed ,so i removed telnetd by
apt remove telnetd - then i reinstall
telnetdbyapt install inetutils-telnetd, this operation also add new line in/etc/inetd.confwhich istelnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/telnetd.after doing this, i add a-loption in this line and restarttelnetd. in this way, line mode is enabled and works well. - althrough work is finished, but still can't i figure out why these two ways are different. what's the difference between these packages
telnetdandinetutils-telnetd
Asked
Active
Viewed 853 times
2
1 Answers
2
telnetd provides the netkit implementation of telnetd, whereas inetutils-telnetd provides the GNU Inetutils implementation. The latter supports the -l option to force line mode, whereas the former relies on negotiation with the client.
In most (if not all) cases, the Inetutils version of telnetd is more appropriate than the netkit version (within the limitations of the protocol).
See also What are the differences between iputils-ping and inetutils-ping?
Stephen Kitt
- 411,918
- 54
- 1,065
- 1,164
-
thanks for replying, i get it. it's a treasure for me to know why it behaves like this. – zzsuki Jan 21 '21 at 10:13
-
is there any way to enable line mode through telnetd? – zzsuki Jan 21 '21 at 10:14
-
What client are you using to connect to `telnetd`? – Stephen Kitt Jan 21 '21 at 12:50
-
telnet client from windows features on win10 – zzsuki Jan 22 '21 at 01:41