Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Blogs > neonsignal
User Name


Rate this Entry

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:
apt-get autoremove portmap
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:
/etc/init.d/openbsd-inetd stop
/etc/init.d/openbsd-inetd start
Ports can be scanned using nmap:
nmap ip-address
Posted in Uncategorized
Views 337 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 05:25 PM.

Main Menu

Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration