Posts about Personal

Happy New Year – Resolution #1, Network & Data

January 1st, 2011

It’s a new year and time to start getting new years resolutions into action. I’ve moved into my new area in the study so I’ve started setting it up how I like.

The first step is to get my router set up. The router I’m using is a little ‘fit-pc’ box with two ethernet cables. As you can see, it’s pretty tiny but doesn’t pack much in terms of power.


I’ve put my router in bridge mode (so it just acts as a layer two modem/bridge) and let my router then establish a pppoe session with my ISP and do all the routing with iptables (I’ve got to update my firewall script and services running on the box and post up the how-to’s later on for that.) Now the little crappy d-link thing doesn’t fall over and die when torrenting (the router will do all the routing and torrenting without hogging up entries in the NAT table is always a good thing)

One of my new years resolutions is to digitise everything (and make it reliable to do so) so I don’t have to worry about any paper floating around in my life (I HATE paperwork). To do this, I want to add a few more features in my home network, whilst improving security (especially after my VoIP was hacked a while ago)

I’m splitting my network into ‘trusted’ and ‘not so trusted’ zones. The beauty is because my router now has two nicks, putting a small 8 port switch into the equation will allow me to route traffic between these zones in a nice firewalled way.

I’d generally be lazy and put WPA-PSK security on the access point.

I feel safe doing this, from a zdnet article

All you need to do is use WPA-PSK security with a random alpha-numeric pass-phrase that has a minimum of 10 characters. I estimated that a truly random alpha-numeric 10-character pass-phrase using modern single-core computers will take one thousand PCs working in parallel 500 years to crack

I lol’d a bit where it says “.. you could run WEP (104 bit AKA 128) security, which might take a semi-skilled script kiddy using two PCs in an active attack configuration 10 minutes to break.

At the moment, my wireless is secured by only a 64 bit WEP key (shock horror!) Why? Because I’ve got damn devices like the Nintendo DS sitting on here which I’ve been wasting a bit of time on lately that don’t support WPA.

I could hide my SSID, do MAC filtering and not run DHCP, all that jazz, but the end of the story is that this can all be hacked by people who know what they’re doing (Mac addresses can be spoofed, if you’re using your wireless network then you’re still broadcasting stuff.)

I’m not terribly worried at the moment if someone hacks in, they can steal some of my crappy 1.5Mbit internet, they can print to my printer (have fun). My workstations themselves are to some degree protected, but what about when I build my file server and start storing bank statements, tax file numbers? all that stuff? The more layers of security the better! (I learnt this the hard way, trust me)

As I’ve already said, the way I’m lessening my fear of these security problems is by splitting my network into trusted and not so trusted zones.

User Isolation security means that the wireless clients won’t be able to see each other on the network. I’ll allow traffic too and from certain devices on the trusted network (the printer for instance.) but to gain access to any of my secure boxes (Fileserver, other workstations) then wireless clients will have to first connect through WEP, then establish a secured VPN connection into the trusted zone. With this setup, even if someone breaks into my WiFi, good on them, they get crippled net (I might cripple WiFi net bandwidth to the net, not decided yet) and access to.. well, my printer again *sigh*

Network stack lol!


New upgdate

November 21st, 2010

So.. my router/firewall is due for an upgrade (from Lenny to Squeze)

Big upgrade…

The following packages will be REMOVED: libdatrie0 libept0 libtorrent10 libxcb-xlib0 mysql-server mysql-server-5.0The following NEW packages will be installed: apache2.2-bin apt-xapian-index autopoint cpp-4.4 dash dbconfig-common diffutils dmsetup firmware-linux-free g++-4.4 gcc-4.4 gcc-4.4-base gconf2 gconf2-common geoip-database gnupg-curl grub-pc insserv install-info isc-dhcp-client isc-dhcp-common iso-codes javascript-common libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libaprutil1-dbd-sqlite3 libaprutil1-ldap libasound2 libavahi-client3 libavahi-common-data libavahi-common3 libbind9-60 libboost-iostreams1.42.0 libbsd0 libc-bin libc-dev-bin libc6-i686 libcanberra-gtk-module libcanberra-gtk0 libcanberra0 libcroco3 libdatrie1 libdb4.7 libdb4.8 libdbus-glib-1-2 libdns66 libdpkg-perl libdrm-intel1 libdrm-radeon1 libdrm2 libept1 liberror-perl libevent-1.4-2 libfile-copy-recursive-perl libfont-freetype-perl libgconf2-4 libgeoip1 libgl1-mesa-dri libgl1-mesa-glx libgpgme11 libgssapi-krb5-2 libice6 libidl0 libisc60 libisccc60 libisccfg60 libjasper1 libjs-mootools libk5crypto3 libkrb5-3 libkrb5support0 libltdl7 liblwres60 liblzma2 libmpfr4 libmysqlclient16 libnfnetlink0 libnotify1 libogg0 libonig2 liborbit2 libpth20 libqdbm14 libreadline6 libsasl2-modules libsm6 libstartup-notification0 libstdc++6-4.4-dev libtdb1 libtest-pod-perl.. it goes on and on like this
351 upgraded, 139 newly installed, 6 to remove and 1 not upgraded.
Need to get 270MB of archives.
After this operation, 261MB of additional disk space will be used.


A dawn of a new Scott

November 7th, 2010

More blogging to come. I saw a movie last night with Rebecca and one of her friends Kat. It was pretty good, we got to see Mark Zuckerberg‘s portrayal in The Social Network.

It has made me realise a few things though. I mean, this guy is using open source tools to create some amazing things. I don’t code half as much as I’d like to any more.. this is going to change. I have never used emacs before.. This is going to change. I need a new computer, that’s the truth and that’s pretty much it for now


A new blog

October 9th, 2010

Hello everyone. Ok, so this is a brand new blog. What happened to all my old content? I’d like to say I just wanted to start fresh, but truth is, I was lazy and didn’t back up any data from my hosting company before my term ended with them.. so I lost my database and content. I’ll re-post the good stuff, hopefully more in-depth on this site though. Stay tuned.

This blog is going to be a lot more personal then my last. It’s going to have technical and personal posts where I’ll post about anything and everything that takes my fancy. Good times :)