You are not logged in.
Pages: 1
How can i disable network ports, for example telnet, ftp etc. ? In Slackware i can do this through /etc/inetd.conf. How can i achieve this in Arch?
Offline
If you don't start a telnet or ftp server, they're not running, thus there are no ports to "disable". It's that simple.
Offline
That's not true. If i don't disable telnet port then other computers which are in the same network as i am can log on my computer through telnet. Same is with ftp, sftp etc. At least this is the case with Slackware...
Last edited by Caspian (2007-11-02 09:45:07)
Offline
You can explicitly disable these ports via the conf file associated to the service in xinetd, for instance /etc/xinetd.d/telnet for telnet.
Here is a sample file /etc/xinetd.d/telnet which disables telnet :
service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
disable = yes
}
so just put disable = yes to do that.
Offline
Tx baude. I must say that this is solved in Slackware more elegantly... I presume that this is the case for all ports (ftp, sftp, ssl etc..).
Offline
That's not true. If i don't disable telnet port then other computers which are in the same network as i am can log on my computer through telnet. Same is with ftp, sftp etc. At least this is the case with Slackware...
That may be the case with Slackware, but it is not the case with Arch. Arch installs no servers by default. You have to manually install, configure, and start any servers you want to run.
Offline
Pages: 1