A ruby port of my old ip-fixer.  Requires a rails server of course.