Archive for the ‘General’ Category
Babies, Cameras.
Thursday, July 31st, 2008As most of you know, my wife and i are expecting in a few weeks, which to be honest i'm excited :). However i wanted a camera to take loads of pictures. My current camera is a single shot wait 5 mins then take another type [yes i'm exagerating a little] so i decided to move to the next level, a digital SLR.
What type? Well a few friends and a lot of reviews have told me about the Nikon D60 and to be honest this looks like it's a nice camera. I was a little worried about the images it produces until i looked on google and most of them are stunning for what i need it for, then i noticed this page, it was exactly what i wanted to see, family images using the D60, after all that's mostly what i'll be using it for.....Thanks mate....sold :) [oh great he's a Architect Evangelist for Microsoft:)]
Easy Configuration
Monday, July 28th, 2008One of the projects i've noticed and liked the look of is the rapache project, to quote from the site
Ubuntu + Video Editing
Thursday, July 24th, 2008At the moment my main machine is a 1.75ghz laptop running heron, i had a DVD to make from a movie on my camcorder, not a hard job at all, but my god, don't do it on a laptop it takes aaaaaaaaaaaaaaages :).
1, use dvgrab to grab the video from the camcorder
2, import movie into kino and add a few text items
3, Encode the video using the DVD settings which output it to an mpeg file [this took 3 hours]
4, use dvdauthor to make the vob files and various other things.
5, use mkisofs to make the dvd into an .iso file to burn with your fave application.
Did all that and 3.5!!!! hours later had a dvd to watch, surely, apart from the obvious and get a faster machine, there has to be a better way? I'm seriously looking into macs.
Vmware console
Wednesday, July 23rd, 2008Mental note, don't try to install the windows version of the vmware server console under wine it b0rks your system. Well it did mine :( Always try and go with the native install no matter how rubbish the installer is.
Create Tomboy notes from Firefox
Tuesday, July 22nd, 2008Discovered this today, thanks to John M Anderson for the heads up ![]()
Car Drivers and the Rain
Thursday, July 17th, 2008Dear Lazy web
To the prick that cut me up this morning, "fuck you" and don't ever let me find you.....
Ubuntu - CLI
Sunday, July 13th, 2008I've been playing with a minimal interface on my Ubuntu Laptop lately. I've been using the ion2 window manager, and becuase of this i've wanted to find decent command line applications.
The first one ive found is Opheus, it's a command line audio player, take a look here for a screen shot [apologies to the author, if you let me know your name, i'll credit you with the link]
To read more about it, check out the website
The hunt continues.....
No longer using twitter
Sunday, July 6th, 2008Just for your updates, i'm no longer using twitter, you can now follow me at http://identi.ca/moodoo
Ubuntu Firewalls [iptables]
Friday, June 27th, 2008I've had rather a large amount of connections to my FTP server lately trying to login with the username of administrator, it turns out that they are all ip's from china. I've known about iptables for awhile, but never really learned about them. My first instinct was to just drop the IP with the command
sudo iptables -A INPUT -s xxx.xxx.xxx.xxx -j DROP
This worked a treat and is all well and good but i didn't fancy typing in that line for every IP that tried to bugger my connections so here's what i did
1, sudo touch /etc/iptables.sav
2, sudo chmod 777 /etc/iptables.sav
3, sudo iptables-save > /etc/iptables.sav
4, vim /etc/iptables.sav and add these lines into it. The lines with DROP at the end are IP ranges from china and surrounding areas. The last 4 lines tell the system to drop the ip after 3 failed connections for 120 seconds.
-A INPUT -s 222.0.0.0/255.0.0.0 -j DROP
-A INPUT -s 220.0.0.0/254.0.0.0 -j DROP
-A INPUT -s 218.0.0.0/254.0.0.0 -j DROP
-A INPUT -s 210.0.0.0/254.0.0.0 -j DROP
-A INPUT -s 202.0.0.0/254.0.0.0 -j DROP
-A INPUT -s 124.0.0.0/254.0.0.0 -j DROP
-A INPUT -s 120.0.0.0/252.0.0.0 -j DROP
-A INPUT -s 116.0.0.0/252.0.0.0 -j DROP
-A INPUT -s 114.0.0.0/254.0.0.0 -j DROP
-A INPUT -s 60.0.0.0/254.0.0.0 -j DROP
-A INPUT -s 58.0.0.0/254.0.0.0 -j DROP
-A INPUT -s 200.0.0.0/254.0.0.0 -j DROP
-A INPUT -s 188.0.0.0/254.0.0.0 -j DROP
-A INPUT -s 186.0.0.0/254.0.0.0 -j DROP
-A INPUT -i eth1 -p tcp -m tcp --dport 22 -m state --state NEW -m recent --set --name DEFAULT --rsource
-A INPUT -i eth1 -p tcp -m tcp --dport 22 -m state --state NEW -m recent --update --seconds 120 --hitcount 3 --name DEFAULT --rsource -j DROP
-A INPUT -i eth1 -p tcp -m tcp --dport 21 -m state --state NEW -m recent --set --name DEFAULT --rsource
-A INPUT -i eth1 -p tcp -m tcp --dport 21 -m state --state NEW -m recent --update --seconds 120 --hitcount 3 --name DEFAULT --rsource -j DROP
5, save the file and run sudo iptables-restore < /etc/iptables.sav
6, run sudo iptables -L and make sure all your rules are added [please note if you've a big list this can take awhile as it does do DNS lookups.