Use this application to sniff incoming packets on a local IPv4 interface and port, and if the source ip of the packet has not yet been detected, it will execute the defined program. Once you restart this program the cache of previous detected ip's is cleared.
You can run any program using any parameters you choose.