Le 2015-03-31 09:23, Rob Snow a écrit :
Hi
I was following threads on the main page for a download and found
Macports.
I installed this, but there doesn't seem to be any interface like that
on the
screenshots for Fail2Ban.
I would like to see what countries are/maybe trying to access my
computer.
Any advise on getting Fail2Ban to install and have a GUI would be
great!
Have an action fill an access.log-like file, with commands such as:
TS=$(echo <time> | sed 's/\..*//')
printf '%s - - [%s] "GET / HTTP/1.0" 200 %d "%s" "fail2ban"\n' \
"<ip>" \
"$(date "+%Y/%m/%d:%H:%M:%S %z" -d "1970-01-01 00:00:00 +$TS
second")" \
"<failures>" \
"<name>" >>/var/log/fail2ban-access.log
Then any log analyser you’re comfortable with should be able to tell you
about the countries, and much more.
Thanks
Rob
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users