Earlier quoted context omitted.
https://codeberg.org/inetutils/inetutils/commit/fa3245ac8c28...
That's crazy. This is core business critical software but they just YOLO critical changes without any automated tests? this PR would be insta-rejected in the small SAAS shop I work at.
The Day the Telnet Died
51–60 of 414 posts
Re: The Day the Telnet Died
#52Earlier quoted context omitted.
Literally how else is a remote login daemon supposed to work though?
1. Start with root to bind the port below 1024. 2. give up root because you don't need it any further. 3. Only accept non-root logins 4. when a user creates a session, if they need root within the session they can obtain it via sudo or su.
Re: The Day the Telnet Died
#53The design of telnet and ssh where you have a daemon running as root is bad security that as shown here is a liability, a ticking time bomb ready to give attackers root.
Literally how else is a remote login daemon supposed to work though?
Re: The Day the Telnet Died
#54Re: The Day the Telnet Died
#55Earlier quoted context omitted.
Literally how else is a remote login daemon supposed to work though?
1. Start with root to bind the port below 1024. 2. give up root because you don't need it any further. 3. Only accept non-root logins 4. when a user creates a session, if they need root within the session they can obtain it via sudo or su.
Re: The Day the Telnet Died
#56Earlier quoted context omitted.
https://codeberg.org/inetutils/inetutils/commit/fa3245ac8c28...
That's crazy. This is core business critical software but they just YOLO critical changes without any automated tests? this PR would be insta-rejected in the small SAAS shop I work at.
- OpenIndiana
- FreeBSD
- Debian GNU/Linux
So not complete YOLO.
See https://lists.gnu.org/archive/html/bug-inetutils/2015-03/msg...
FWIW, a well known LLM agent, when I asked for a review of the patch, did suggest it was dodgy but didn't pick up the severity of how dodgy it was.
Re: The Day the Telnet Died
#57Why are people still using telnet across the internet in this century? Was this _all_ attack traffic? (OK, I know one ancient talker that uses it - but on a very non-standard port so a port 23 block wouldn't be relevant)
IMHO we need a good telnet replacement that sends signed data. Most people interpret signatures as allowed under FCC rules, just not encryption.
Re: The Day the Telnet Died
#58Earlier quoted context omitted.
Literally how else is a remote login daemon supposed to work though?
1. Start with root to bind the port below 1024. 2. give up root because you don't need it any further. 3. Only accept non-root logins 4. when a user creates a session, if they need root within the session they can obtain it via sudo or su.
You presumably want them to run as any (non root) user. The capability you need for that, to impersonate arbitrary (non-root) users on the system, is pretty damn close to being root.
Re: The Day the Telnet Died
#59Re: The Day the Telnet Died
#60Earlier quoted context omitted.
Literally how else is a remote login daemon supposed to work though?
The remote daemon has its own account and is given a privilege that allows it to connect a network socket to a pseudo terminal.
It doesn't matter what user it is running as.
If this was so easy to deal with, someone would have done it. Instead, we get endless HN comments about people that act like they can do better but never submit a PR.