[Sunhelp] Very strange telnet/rlogin/ftp error

Doug McLaren dougmc at frenzy.com
Thu Oct 26 15:29:50 CDT 2000


On Thu, Oct 26, 2000 at 07:07:49PM +0800, John Lee wrote:

| I encounted a very strange telnet/rlogin/ftp error today. Here is the
| details:
| 
| (HostA is Solaris2.7, hostB is Solaris2.6)
| 
| hostA$ rlogin hostB
| Protocol error, hostB closed connection.
...
| >From above, we can see user can't rlogin/telnet/ftp to hostB from hostA.
| 
| But user can rlogin/telnet/ftp hostA from hostB. Also user can first
| rlogin/telnet other hosts(not hostB) from hostA, then rlogin/telnet/ftp
| hostB.
| 
| In fact, Yesterday I could rlogin/telnet/ftp hostB from hostA. I don't know
| why I can't today. I want to use snoop to track the problem but failed.

This is what it looks like when tcp wrappers is denying a connection.
The things to check would be -

   - the syslog file on hostB
   - /etc/inetd.conf, where you'll probably see `tcpd' (nothing to change
     here, but you can verify that it IS tcp wrappers.)
   - /etc/hosts.allow and /etc/hosts.deny on hostB
   - that hostB can resolve hostA's ip address to a name, it's name to
    an IP address, and that these all match.

| By the way, My netscape4.51 on hostA always hang up when I click the "New
| Msg" button in the Netscape Mail window.

I won't touch that one with a 10' pole :)

--
Doug McLaren, dougmc at frenzy.com
FORTUNE PROVIDES QUESTIONS FOR THE GREAT ANSWERS:
 #19   A: To be or not to be.
       Q: What is the square root of 4b^2?





More information about the SunHELP mailing list