Powered by Twitter Tools.
Tweets on 2008-08-05
- Waiting to board plane to Taipei. Tired. Hope they let me carry my camera pack onto the plane cox I think there is a 15 lbs limit. #
- Empty seat next to me ok a full flight. Not bad. No hot girls on flight tho. #
Powered by Twitter Tools.
Tweets on 2008-08-04
- app updates fail http://skitch.com/t/gff #
- damn, I need to get my Jomons repaired too before it’s too late, now this is not as simple, I might consider sending them into 45rpm… #
- At whole foods for lunch and to pick up some spirulina for @sherryberey’s mom. #
Powered by Twitter Tools.
Tweets on 2008-08-03
- It’s Bear’s 1st birthday! Picking up cake later. Paw-ty! #
- should’ve signed up for today’s sf marathon #
- biggest dog ever, english mastiff: http://tinyurl.com/6eflu4 #
- @gpoon yeah if im still here im def doing it #
- uploading pics of Bear’s bday paw-ty… #
- At City Lights to get a book for my flight to TPE. #
Powered by Twitter Tools.
Tweets on 2008-08-02
- Really tired for no reason. Haven’t run or gone to gym for 2 days. Maybe that’s why. #
- 10 miles. #
- @seoulfully try heavier drugs #
- At japantown to pick up men’s non no. #
- @seoulfully crazy #
- @seoulfully would custom insoles help? #
- @JakeFrdlr ya. It’s cool. Take it and eat some lemon. #
Powered by Twitter Tools.
How to patch bind9 in Debian sarge to get DNS cache poisoning exploit patch
UPDATE (8/7/08):
The patch posted below actually does NOT fix the cache poisoning problem, please check out my follow up post instead. The original is included below but please note that it does not fix the security problem.
original blog post:
Most of you have heard about the DNS cache poisoning exploit, it is serious, most operating systems have security updates to get the latest bind9/named package and if you update you’re ok. However, Debian terminated security supports for Sarge/3.1 on March 1st. So if you’re like me still running sarge and don’t have the time to upgrade to etch or something newer, you’re kindda in a bad situation if you need to run a DNS. Luckily, Debian makes it really easy to compile and install custom packages, so here is how you can patch it up manually.
Check what you have installed, yup, it’s vulnerable:
$ dpkg -l | grep bind9 ii bind9 9.2.4-1sarge3 Internet Domain Name Server ii bind9-host 9.2.4-1sarge3 Version of 'host' bundled with BIND 9.X |
Install the source package for BIND9.
$ cd /usr/src && sudo apt-get source bind9 Reading Package Lists... Done Building Dependency Tree... Done Need to get 4667kB of source archives. Get:1 http://ftp.us.debian.org sarge/main bind9 1:9.2.4-1sarge3 (dsc) [741B] Get:2 http://ftp.us.debian.org sarge/main bind9 1:9.2.4-1sarge3 (tar) [4564kB] Get:3 http://ftp.us.debian.org sarge/main bind9 1:9.2.4-1sarge3 (diff) [102kB] Fetched 4667kB in 8s (534kB/s) dpkg-source: extracting bind9 in bind9-9.2.4 |
Go patch it up:
$ cd bind9-9.2.4/ |
Apply this patch, either with patch(1) or manually, I did it manually just to be safe:
Index: inet_network.c diff -u inet_network.c:1.5 inet_network.c:1.6 --- inet_network.c:1.5 Wed Apr 27 04:56:21 2005 +++ inet_network.c Tue Jan 15 04:02:01 2008 @@ -84,9 +84,9 @@ } if (!digit) return (INADDR_NONE); + if (pp >= parts + 4 || val > 0xffU) + return (INADDR_NONE); if (*cp == '.') { - if (pp >= parts + 4 || val > 0xffU) - return (INADDR_NONE); *pp++ = val, cp++; goto again; } |
$ sudo vi lib/bind/inet/inet_network.c |
build the package, this will generate a .deb:
$ cd .. && sudo apt-get -b source bind9 |
install the package:
$ sudo dpkg -i bind9_9.2.4-1sarge3_i386.deb |
Tweets on 2008-08-01
- @seoulfully I took it off since. Like the Contour hard skin more. #
- LOL http://twitpic.com/64ud, btw twitterrific should ask if I wanna take pic or use library. #
- @seoulfully yeah that’s what happened… #
- Dropping off Fullcounts for repair. #
- damnit, i didnt have to see D700 test pics from Ming… http://tinyurl.com/5s6qdc #
- At doggy HH with Bear. #
Powered by Twitter Tools.
Tweets on 2008-07-31
- At blue bottle. http://twitpic.com/610i #
- looking at the Sigma DP-1 #
- get free movie ticket, http://tinyurl.com/64ztq7
, use 800-327-2177 # - nice, My Flickr fb app now has full tab view #
- Anyone know where this PrivateEncryptedDatak keychain comes from? http://skitch.com/t/gbd #
- burrito for lunch, looking at ski cabins #
- looking at using the new fb publisher, http://tinyurl.com/4nu4n4 #
- Trying to decide if I should buy an orange messenger bag from Goyard. #
- Well. Copped. #
Powered by Twitter Tools.
Tweets on 2008-07-30
- Chunky Strawberry #
- 1Password desktop client is amazing, and now syncing with free iPhone app, oh man, fucking great! http://tinyurl.com/5j4mdr #
- the Levi’s ended at $36k… http://tinyurl.com/595r #
- private sale at Goyard tomorrow, anyone going? I’ll stop by… #
- @iamshimone special A/X detergent ftw #
- @defunkt I’ve tried most and I think Jubili on Fillmore is the best by far. #
- @christmascarol like this? http://tinyurl.com/6ddg28 #
- @seoulfully ahhh… #
- @seoulfully nice, where was that? or is that a pic on Flickr of bluebottle? #
- installing the SDK, finally… #
- 2 ways to sync notes on iphone: Evernote.app and 1Password… ‘ #
Powered by Twitter Tools.
Tweets on 2008-07-29
- @gpoon w00t! #
- @christmascarol ec2 ftw lol #
- Trying to decide what to order from Tuk Tuk Thai. #
- WHOA! iTunez crashed while syncing phonez! #
- @seoulfully it is indeed #
- Just applied Martin Fields on @sherryberry’s phn, it’s SO MUCH better than the Power Supply film! sharper & feels much better… #
- was a perfect application too, I haven’t done my phone coz I’m waiting for my IS film to arrive to do it… #
- Just applied Martin Fields on @sherryberry’s phn, it’s SO MUCH better than the Power Support film! WAY sharper & feels much better… #
- It was a perfect application too, I haven’t done my phone coz I’m waiting for my Invisible Shield rear protection skin… #
- latest venture from @rayvinly and yours truly: http://dealistic.com, check it! #
- nice Levi’s: http://tinyurl.com/5lr7yd #
- @christmascarol didn’t get pink? hard case is so asian though, the MBP doesn’t even scratch that easily… #
- i want ical/mail to-do and notes sync to iphonez #
- gonna go for a run even tho im done with july challenge… #
- Got half sole and heels on the F+B. Much better. #
- @bigdirtgarden WOOT! #
- @seoulfully galbi is so good #
- ilounge’s IS review: http://tinyurl.com/54rc55 #
- most difficult to install, very nice, we’ll see how it goes when I get mine… #
- There needs to be a Korean restaurant in North Beach. Like Tuk Tuk Thai but Korean. #
Powered by Twitter Tools.