Request: Public IP Evidence Source #204

Open
BrianGilbert opened this Issue Feb 1, 2013 · 5 comments

Comments

Projects
None yet
3 participants

I'd love to see an evidence source based on my public IP address, or if there is a sane way to do this using applescript?

Collaborator

djbe commented Feb 1, 2013

You can get your IP with the following shell command:
curl -s checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'

Should be easy to create a script that compares this value to whatever you want.

Any ideas on how to only trigger it when internal IP changes..? seems overkill to have to run it every [n] seconds..

I'm not sure it's been raised but the concept of chained events would be a great addition

Collaborator

djbe commented Feb 2, 2013

Hmm, not without programming an actual evidence source, only then can you register for network interface events.

I'm not sure I understand your concept of chained events correctly, but maybe you should create a specific issue for it and explain it there.

linickx commented Apr 22, 2013

👍 for this idea.

I had a script which used http://icanhazip.com to check my external IP against a known local list (script array); but this approach became cumbersome to maintain with proxy server authentication (at work, and various customer sites), something inside controlplane with OS integration into locations/keychains/etc would be a nice-to-have 😄

supposedly coming in a future release #205 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment