Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.

hpr0465 :: Failsafe security

Tips on securing your Linux systems, see Episode 431

<< First, < Previous, Latest >>

Host Image
Hosted by Ken Fallon on 2009-10-14 is flagged as Explicit and is released under a CC-BY-NC-SA license.
Tags: security,netstat,hosts file,iptables,Firefox,noscript.
Listen in ogg, spx, or mp3 format. | Comments (0)

WARNING: It's easy to lock yourself out of a system implementing these changes so make sure you have physical access to the console of the system you are securing.

To display all processes listening

  netstat -anp | grep -i listen
Deny all connections to any port from any external IP address

  sshd: # My other pc

IPTables Tutorial:

A good starting point to block all except ssh:

Disable root login via ssh:

Setting up ssh keys and disabling password logins.


Subscribe to the comments RSS feed.

<< First, < Previous, Latest >>

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Anti Spam Question: What does the P in HPR stand for ?
Are you a spammer →
Who hosted this show →
What does HPR mean to you ?