Date: Fri, 15 Jan 1999 12:41:26 -0500 From: Tod Luginbuhl <tod@science-guy.npt.nuwc.navy.mil> To: freebsd-stable@FreeBSD.ORG Subject: Problem with telnetd and gettytab if capability Message-ID: <369F7DC6.9CB54B6C@science-guy.npt.nuwc.navy.mil>
next in thread | raw e-mail | index | archive | help
Hi, Several months ago I noticed that when I telneted to my FreeBSD machine, telnetd responded normally, but then kick me off just prior to getting a logic prompt. I've looked into the problem on and off, but didn't really understand what was going on. Since I didn't see anything in the mail archives on this problem, I figured I had configured something incorrectly. Finally, I got desperate and did a new installed 2.2.8-STABLE from the CDs. The telnet problem was still there, so I dug into it. I guessed that my /etc/issue file was too long and experimented with a test file. I found that the /etc/issue file must contain no more than 1011 bytes for telnetd to work. telnetd sort of works when /etc/issue contains 1012 bytes but generates alot of ptyflush char errors. If the /etc/issue files contains more than 1012 bytes, telnetd kicks out just before giving a login prompt. I briefly looked at the source for telnetd, but didn't see anything obvious. This problem does not exist in 3.0-RELEASE, and I haven't done a diff between telnetd.c in 2.2.8 and 3.0 to see what is different in handling the if capability. But having gotten this far, I thought I'd inform the list. Tod ------------------------------------------------------------------------ Tod Luginbuhl email: t.e.luginbuhl@ieee.org Code 2121 luginbuhl@npt.nuwc.navy.mil Naval Undersea Warfare Center 1176 Howell Street Telephone: (401) 832-8241 Newport, Rhode Island FAX: (401) 832-7453 02841-1708 USA "Don't argue with drunks and fanatics!" -- Sun Wolf (Barbara Hambly) ------------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?369F7DC6.9CB54B6C>