View Single Post
Old 04-12-2008, 7:46 AM   #6
graham.myers graham.myers is online now
Assured Advertiser
 
graham.myers's Avatar
Join Date: Mar 2003
Location: Leeds
Experience Points:
15,546, Level: 30
Points: 15,546, Level: 30 Points: 15,546, Level: 30 Points: 15,546, Level: 30
Activity: 32.2%
Activity: 32.2% Activity: 32.2% Activity: 32.2%
Thanks: Gave 160, Got 556
Posts: 4,456
Re: Setting up a Linux Home Server from scratch

I setup a server using fedora linux and think its great. I've also a WHS server too as that backs up the desktops. My Linux server runs twonky for video, music, and photos, but the whs is going to take over the video share. My linux server also runs my security system and I can dial-in and look at the cameras and captured footage when I am on site.

with security you can never be too careful. As far as I can tell my box is locked down tight (famous last works). Despite nobody really knowing my static name the number of hits I get with people trying to log in as root or other standard usernames is amazing - upwards of 1/2 dozen per day every day.

I use a good little tool called denyhosts which holds a central list of naughty IPs and it tweaks your hosts.deny file to not allowing connections from those IPs. Also it uploads any attempts to your server onto thier database for other people to deny too.

I email myself the security log every morning and just keep an eye out....

--------------------- Denyhosts Begin ------------------------

new denied hosts: 200.35.149.160

---------------------- Denyhosts End -------------------------


--------------------- pam_unix Begin ------------------------

sshd:
Authentication Failures:
root (200.35.149.160): 2 Time(s)
root (cpc1-fare5-0-0-cust648.cos2.cable.ntl.com): 1 Time(s)
unknown (cpc1-fare5-0-0-cust648.cos2.cable.ntl.com): 1 Time(s)
Invalid Users:
Unknown Account: 1 Time(s)


[root@xxxxxxxxxx ~]# ./show_hackers
5426 hackers

this is the number of IPs that is in my hosts.deny specifically blocked by denyhosts
  Quote