telnet server by default is controlled by xinetd server. Go in /etc/xineted.d/ and look for telnet file and change "port = 23" to another unused port. This will help for obscurity but won't fool a good portscanning tool if its looking for Telnet services.
then run:
killall -HUP xinetd
nestat -pan | grep tcp
hopefully your newly defined port shows up
also I would add an "only_from = Ip address" in /etc/xinetd.d/telnet
or in /etc/hosts.allow "telnetd:IP's or hostnames"
Last edited by doublejoon; 02-15-2006 at 09:45 AM.
|