Archive for October, 2009

Johnson. Your last name is Joh…

Johnson. Your last name is Johnson. Also, you should probably give Rosetta Stone a try. Clown.

Is it just me or does the iPho…

Is it just me or does the iPhone compass never point north? Hope I never get lost in the wilderness with this thing

Congrats Ashley and Tim!

Congrats Ashley and Tim!

Getting ready for another wedd…

Getting ready for another wedding today. I really hate ironing.

So far today: dentist, oil cha…

So far today: dentist, oil change, fixed car stereo, cleaned car, fixed grill. Now installing new thermostat that I’ve had for a year

Big dog coffee sleeve wallpape…

Big dog coffee sleeve wallpaper progress – Photo: http://bkite.com/22ftf

RT: http://www.humblevoice.com…

RT: http://www.humblevoice.com/ join there (via @imsashko)

There is a fat groundhog perch…

There is a fat groundhog perched at the top of a tree outside. What part of GROUNDhog does he not understand?

Tweetie 2 for iPhone is sweet….

Tweetie 2 for iPhone is sweet. Sorry, TweetDeck. It’s not you, it’s me. OK, fine. It’s because I’ve found someone else. It’s for the best.

Intuit customer support is rea…

Intuit customer support is really good and fast. Just FYI in case anyone is pondering giving Quicken a shot. No questions refund

Couldn’t get my Xbox 360 …

Couldn’t get my Xbox 360 to play any classic games last night, even downloaded ones. Anyone know of a fix? I did all updates when it asked

Fixing slow FTP listing on CentOS 5.3 and safely reloading iptables config

I first went looking for a solution as to why connecting to FTP on my new CentOS 5.3 server was very slow. I found this post that had the answer: http://www.electrictoolbox.com/directory-listing-slow-ftp-server-centos/

The gist of it is to edit /etc/sysconfig/iptables-config and add the following:

IPTABLES_MODULES="ip_conntrack_ftp"

However, the big lesson here is that if you reload your iptables now you may end up losing a lot of your rules. In fact I did this and my website (and every other service) immediately was unable to connect. I was extremely lucky that I was just playing around a few minutes before with how to back up the existing rules. So before you do anything with iptables, run this first to export your currently active rules:

iptables-save -c > /etc/iptables-save

Now proceed to reloading your iptables-config:

/etc/init.d/iptables restart

Then make sure to re-apply the rules you saved with iptables-save by using iptables-restore:

cat /etc/iptables-save | iptables-restore -c

Now I don’t pretend to be any expert on iptables. I’m sure that someone very experienced with iptables will be able to tell that right away and maybe even provide a better solution. I just know that my limited experience tells me that the rules I have set in my iptables config files are less than what’s actually active right now. My guess (and I cannot confirm this) is that Plesk applied many of the rules I had in place. I had also applied a few of my own rules using the iptables command and I didn’t edit any config files so that was my first hint that what is actually running at the moment is not from config files alone.

So unless you are very experienced with iptables, do yourself a favor and use iptables-save before making any changes to your config files and/or restarting iptables.

References:
Directory listings slow with ftp server and CentOS
iptables-save
iptables-restore

RT @HumbleVoice_com: Most new …

RT @HumbleVoice_com: Most new videos are now available within seconds of upload on http://www.humblevoice.com . More at http://tinyurl.com/ybazp78

RT @HumbleVoice_com: New featu…

RT @HumbleVoice_com: New features from all categories have been added to the home page: http://www.humblevoice.com

I predict the number of apps i…

I predict the number of apps in the app store will double within 6 months of this release (for better or worse): http://bit.ly/3RJ6tz

RT @joekromer: oh i love when …

RT @joekromer: oh i love when adobe plays nice with my iphone http://bit.ly/3RJ6tz *happy tear* can’t wait to dev out iphone apps in AS3!!!!

Check out the new art, photogr…

Check out the new art, photography, music and video features at humblevoice.com

Go Steelers! Let’s play until …

Go Steelers! Let’s play until the end this time

RT @dascola: Download Paparazz…

RT @dascola: Download Paparazzi! Its a small app that allows you to takes full screen shots of whole webpages.
http://bit.ly/138O57

Oktoberfest! – Photo: http://b…

Oktoberfest! – Photo: http://bkite.com/0ctbm