×

Loading...

What I mean is that if you can give us the content of those files, then we can have more details to help diagnosing your problem.

dennis2 (Dennis)
As long as you have the following in *both* /etc/hosts.equiv and $HOME/.rhosts you should be able to block those r-commands:

-<your IP> [<your username>]

Notice that those 2 files only control r-commands and have nothing to do with controlling in.telnetd. Other daemons (telnetd, ftpd, etc.) can be controlled by /etc/hosts.{allow|deny} through the use of tcp_wrapper.
(#102320@0)
2001-6-15 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: Can someone tell me how to block telnet from untrusted IP?

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论