Brad's Blog

web dev, django, running, food, or whatever

Published: 2007-01-03

Blocking outgoing UDP traffic using iptables

Linux networking

Since rebuilding my server (after having it used to propogate a UDP flood DoS attack), I’ve been advised that I should set up iptables to block any unnecessary outbound UDP traffic. So, how do I do this?Well, the first thing I’ll do is update my apt repository, and install iptables using the following two commands:apt-get updateapt-get install iptablesNow, the quick and dirty solution is to just add append a rule that blocks all outgoing UDP packets from my ...


Published: 2006-12-31

Building a Debian-Based Webserver

Linux

Well, my server was recently compromised and used to perform a UPD flood Denial of Service attack (or so my provider claimed), so I’ve had to rebuild my server from scratch. Now, this seems like a daunting task, but it has actually been quite easy. I started out with a minimal Debian Linux system, and after a few apt-get install commands, and a few hours of uploading backups, I’m up and running again.How’d I do it? Well, i just ...


Published: 2006-12-23

My Wife's New Laptop

Hardware

Well, the semester has ended, so I've been working from home (trying to catch up on all of the "extra work", and, while out to the gym, My wife gives me a call and starts asking about laptop specs!? It turns out she's got her eye on a nice little bundle at Radio Shack!It seems they had an HP Pavilion dv2000 notebook (Turion 64 - 2Ghz/512Mb Ram/100Gb HD/nvidia Geforce go 6150) with a bundled 6 ...


Published: 2006-12-17

Spammers never die!

Programming Spam

I've recently received a lot of spam through my contact form, and it's starting to get on my nerves. Apparently the spammers have noticed that many developers are trying to thwart their attempts to sneak extra header information into PHP's mail function, so they've resorted to spamming websites directly! (or am I the only one?)The messages I've been getting actually include a long list of URLs of the form: [URL=http:www.whatever.com ...


Published: 2006-12-02

That's Amazing

Family Fun Girls The

'Tiz the season... so today I went to Wal-Mart to get a Pre-Lit Christmas Tree. I'm still a little amazed at how easy this thing was to assemble when compared to a real tree of the same size. Sure it doesn't smell like a real tree, but I don't have to worry about watering it so that it doesn't become a fire hazard. Besides, the girls really liked it, and that's all that counts! In ...


Published: 2006-11-09

Voice Observation

Programming

Apparently, I haven't quite beat the flu... or whatever it is that's making me cough. So head over to my local Medical Practitioner and get a nice pharmaceutical conglomeration injected into my hip. Apparently, I could also use some antibiotics, too... so I head over to walgreens and drop off the magical note that lets them know it's OK to give me drugs. I wait several hours, and then I discover that my insurance has rejected a ...


Published: 2006-11-01

DiskWarrior Rocks!

Apps OS X

...the title says it all. For just less than $90 USD, I've now recovered all of my priceless data for which I did not have the foresight (or time, or means, or whatever) to back up. If you're a Mac user, and you ever have a drive that stops working (or a problem like mine), head over to http://www.alsoft.com/DiskWarrior/ and purchase a copy.


Published: 2006-10-23

Flu + HDD crash

Backup OS X

If having the flu wasn't bad enough, I've also had the hard drive in my Mac mini crash... well, not crash exactly, it's just the drive has A Bad Super block, which is enough for tools like Disk Utility and fsck to be useless. Apparently there's a product called Disk Warrior that could do the trick... I may have to try it out.The real tragedy here, though, is that of course, there's data on ...


Published: 2006-10-15

Torque

Games Programming

Well, I finally bought an Indie Game License for the Torque Game Engine. Like many young men over the past decade or so, I got into Computer Science thinking I'd like to create video games. Maybe I'll finally get that chance!My initial impressions with Torque are a little mixed though. I can immediately see huge potention in the sort of things you can do without even touching the Engine itself... thanks to the built-in scripting language and ...


Published: 2006-10-02

Pink for October

Fun

If you visit my site often (or even occasionally), you may have noticed a slight change. Well, it's sorta Pink for October, in honor of National Breast Cancer Awareness Month. Also, my Mom's running in the Little Rock Race for the Cure... Good Luck!