iOS & Goliath app to track the IP address of your iOS device and poke firewall holes accordingly

Clone this repo:

Branches

  1. 6141cb5 Update README by Frank Denis · 10 years ago master
  2. 437d71b Import the server-side (Goliath) code. by Frank Denis · 10 years ago
  3. 1f74f63 Initial import by Frank Denis · 10 years ago
  4. 3ed0db6 Initial commit by Frank Denis · 10 years ago

knockknock

iOS and Goliath app to track the IP address of an iOS device and poke firewall holes automagically.

This is just quick and super dirty code for my own use.

Server-side, this is a super simple server that accepts client HTTP connections to "/knock". A super dumb token based on the current time and a shared secret key is verified before calling a script that temporarily whitelists the current client IP address.

Client-side, a HTTP query with the magic token is made when the app starts, resumes, and when you switch to a new 3G cell tower. So that you can just launch it and forget it. It has no impact on the battery.

I wrote that thing to use a custom APN proxy. Super ugly, but it does the trick.