7

I am watching web traffic to one of my sites via Google Analytics. I have created a filter to exclude data from my ipaddress.

I'm pretty sure my ISP will change that address from time to time; making the filter no good.

Is there a little app (or script) that can run in the background and notify me when my external IP Address changes?

ray023
  • 1,597
  • 2
  • 17
  • 28
  • 1
    If you are using a router then what you want is not possible because your computer is never actually assigned a new ipaddress your modem is ( which your router is aware of ). – Ramhound Mar 08 '12 at 17:59
  • 1
    Using a filter from within Google Analytics is the wrong approach, in my opinion. The filter should be on your computer or browser to block the GA script from running when you visit your site. – iglvzx Mar 08 '12 at 18:05
  • 1
    @Ramhound -1 :P "External IP Address" If your theory were correct, then visiting http://ipchicken.com/ would show me nothing. I'm looking for something that wraps that functionality into some kind of windows program that will notify me. Even it if were some hacky program that loaded http://ipchicken.com/ in the background to keep track of it, I would not care. I just want to save the time and trouble of writing it myself. – ray023 Mar 08 '12 at 20:31
  • @iglvzx Not in my opinion. There are periods of development (maybe hours, maybe days) where I will be testing on 3 PCs and 2 smart phones. It's easier for me to create filter that blocks all devices in my house. – ray023 Mar 09 '12 at 03:30
  • @iglvzx would a simple block in adblocker do the trick? – Ooker Dec 04 '20 at 06:04
  • @ray023 in my understanding, uBlock Origin can be installed in Firefox on Android – Ooker Dec 04 '20 at 06:04

2 Answers2

5

There's a project on CodePlex that does this: http://ipchangeinformer.codeplex.com

It notifies via email and can be configured to use a custom webserver for the public IP checks using a PHP file you upload to the desired site. There is also a default site (probably managed by the app author).

Also, DynDNS has a service that does this using an app resident on your computer that checks with DynDNS at regular intervals and updates your DynDNS account if you're trying to host something locally.

music2myear
  • 40,472
  • 44
  • 86
  • 127
  • 1
    DiogoRocha: I prefer to leave my links completely visible so there's less chance of obfuscation and less reason to fear a hijacked destination page. Thanks for the edit though. – music2myear Mar 08 '12 at 18:13
  • 1
    Is that not the purpose of the browser's status bar/popup? URLs alone are not descriptive. See [To hide links or not to hide links](http://meta.superuser.com/questions/3559/to-hide-links-or-not-to-hide-links-that-is-the-question) on Meta.Superuser. – iglvzx Mar 09 '12 at 03:44
  • @iglvzx: Yes, but even the browser's status bar can be spoofed on non-current browsers. And you'll note in the linked Meta Q, there was no decided standard. I have decided that for myself I will leave visible links. Further, some people prefer not to have a status bar visible. Please leave the answer as I posted it. The edits made on this answer are neither substantive or desired unless there is a significant error in the details or a spelling or grammatical mistake I have overlooked. – music2myear Mar 09 '12 at 14:17
  • how do I run the program? I download the archive and it's just a bunch of folders and code, no executable file – Ooker Dec 04 '20 at 05:55
0

As an alternative option that might help you, I've written a python script designed to monitor for external IP address changes. Since it's python it should work on Windows just fine after setting up the appropriate Python environment (although I've only tested it under Linux). It currently saves the "current" external IP address to a file and, when run, grabs a new IP address and then checks it against the old one. It is design to email you with this change.

It's designed to run as a cronjob (Linux) or scheduled task (Windows) and does not run as a background daemon on its own.

Here's the link to the github repository: https://github.com/begleysm/ipwatch

Hopefully it helps!

begleysm
  • 1
  • 1