telnet to fixed port
hi how can i restrict remote users to telnet,rlogin,ssh only to the specified port. i mean, i dont want anyone to telnet to #25 or #80. is it possible ? regards cheedu -- ***** cogito cogito ergo cogito sum: i think that i think, therefore i think that i am. --Devils Dictionary --
omicron@symonds.net wrote:
hi how can i restrict remote users to telnet,rlogin,ssh only to the specified port. i mean, i dont want anyone to telnet to #25 or #80. is it possible ?
You can disable telnet by editing /etc/inetd.conf or you can put rules in /etc/hosts.allow and /etc/hosts.deny Hope this helps you Andres
Hello,
how can i restrict remote users to telnet,rlogin,ssh only to the specified port. i mean, i dont want anyone to telnet to #25 or #80. is it possible ?
Sorry, but this isn't possible. Telnet is a program which transports characters between an client/server configuration. You can use telnet to send e-Mails directly (on Port 25) oder see a Webpage by requesting on Port 80. Telnet can connect to every open Port (see "netstat -an"). It only depends on the server-daemon who is listening to the port, what happened. Of cource you can: 1. disable "Telnet" (a very good choice!) (Access via Telnet to all other ports is possible!) 2. restrict the access by editing /etc/hosts.allow or hosts.deny (Access to all ports and Services not listed in "man tcpd" is possible!) But you can not prevent the access to all your open ports via telnet from other systems. Greetings, Oliver Grube --------------------------------------------- --IT-Secure - Mit Sicherheit gute Lösungen.-- --------------------------------------------- Security Support * oliver.grube@it-secure.de +49 2161 6897-180 * http://www.it-secure.de
participants (3)
-
Andres Tarallo
-
Oliver Grube
-
omicron@symonds.net