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.
2001-6-15 -05:00

回到话题: Can someone tell me how to block telnet from untrusted IP?

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论