closing ports
Posted 05-22-2011 at 06:10 AM by neonsignal
The default debian installation only has a few daemons listening on ports. These can be also closed if desired (assuming they are not being used).
The rpcbind port (111) can be closed by removing the portmap package. Since it is used by nfs, this facility will also be removed:
The auth port (113) can be closed by commenting out the ident line in the server configuration database /etc/inetd.conf. The daemon is stopped (and if necessary, restarted), by:
Ports can be scanned using nmap:
The rpcbind port (111) can be closed by removing the portmap package. Since it is used by nfs, this facility will also be removed:
Code:
apt-get autoremove portmap
Code:
/etc/init.d/openbsd-inetd stop /etc/init.d/openbsd-inetd start
Code:
nmap ip-address
Total Comments 0