This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Instructions" | |
1) Install index.php to some webserver, and run "latlongudp.pl" on the same server. | |
2) Then feed IPs to the latlongudp.pl server with something like this: | |
tail -F /var/log/nginx/access_log|perl -e '$|=1;while(<>){print "someidentifier,$1\n" if/(\d+\.\d+\.\d+\.\d+)/}'|nc -u somenode.example.com 5001 | |
Modify someidentifier to to fit your needs. |