On a sunny day (Tue, 26 Jun 2018 17:11:04 GMT) it happened Jan Panteltje
wrote in :
>Geo location and the raspberry pie as webserver
>
>As mentioned I coded a new version of ip_to_country.
>
>length 4071407 bytes.
>wget http://panteltje.com/panteltje/newsflex/ip_to_country-0.4.tgz
>
>
>Use tar -zxf ip_to_country-0.4.tgz to unpack it, see README file for compile
and install instructions.
New version available:
http://panteltje.com/panteltje/newsflex/ip_to_country-0.5.tgz
more features,
you can specify words that signal bad entries,
an alarm beep that sounds if your raspi is connected to some amplifier and
speaker,
and it can also tell you what is going on in English if you installed festival
voice syntesizer.
On top of that in can execute any shell commands upon detection of a bad guy:
ip_to_country -t /var/log/apache2/access.log -f 2 -a "phpMyAdmin 404 cgi"
-b "" -e "echo intruder | festival --tts
Now for the Forz guys to code it here...
And the executable is still less than 16 kB in size
rwxr-xr-x 1 root root 15472 Jun 30 15:11 ip_to_country
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|