Imported without history from https://falling-sky.googlecode.com/svn/trunk/mod_ip revision 1511