Home Theatre Revision

I always had plans to do a home theatre in my house, but it was going to be a bedroom that was turned into a home theatre. Well, I was finally talked into reversing that stance. It’s now going to be a home theatre that could be turned into a bedroom (if really needed).

So this…


is going to become this…

Prevent DoS Attacks Via DNS (BIND)

A malformed UDP packet to your DNS server can cause it to respond to an IP address that never made the request (with the response being being more bytes than the request). So someone malicious could use one of your name servers to throw unwanted traffic at a 3rd IP address. Annoying… but pretty easy to solve. You can setup BIND to only answer DNS queries that it’s authoritative for except for specific blocks of IPs which it will do recursive lookups for (basically internal IPs that could use the DNS server as it’s name server for lookups).

Besides your server becoming part of a DoS attack, it can suck a ton of your own bandwidth (I was seeing cases where short-lived attacks were saturating 3Mbit worth of my bandwidth). Not any more! 🙂 I figured out what was causing the bandwidth spikes with my friend, tcpdump.

I’m too tired to get into more details (that’s what Google is good for), but you can basically add something along these lines to your /etc/named.conf file:

allow-recursion {192.168.1.0/24; 216.9.35.0/24;};

That will ignore DNS requests from any IP (except those 2 subnets) when the IP makes a request about any domain that the DNS server not an authoritative server for.

Restless Leg Syndrome

I saw a commercial for some drug to help combat “restless leg syndrome” where you have a tingling feeling in your legs, and you have the urge to move/shift your legs. Is this a real thing?

Why do I feel like maybe a drug manufacturer made up this “disease”?

Maybe if your body is telling you to move your legs, you should move your legs, rather than take a drug to suppress the urge… But hey, what do I know? I’m not a doctor. 🙂

It seems like there are so many commercials for drugs these days. Most to help combat stuff you didn’t even know you had. Maybe we should leave prescriptions to doctors, rather than people going to the doctor to tell them what you need to take. eh?