LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > neonsignal
User Name
Password

Notices


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

Comments

 

  



All times are GMT -5. The time now is 08:17 PM.

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