On 03/31/2015 03:35 PM, Sean DuBois wrote:
> On Tue, Mar 31, 2015 at 09:53:22AM +0200, Yves wrote:
>> 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.

You can also take a look at the output of `fail2ban-client status <jail> 
cymru` for ASN/Country/RIR info

>>
>>> 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
> Hey Rob!
> (Sorry for the self promotion)
>
> I have a fail2ban GUI I work on here
> https://github.com/Sean-Der/fail2web
>
> If you have any suggestions/ideas please throw them my way, would love to 
> improve it!
>
> Also, it is the Debian repo 
> http://anonscm.debian.org/cgit/pkg-go/packages/fail2rest.git/
> It is in a bit of a holding pattern, I think it passes without an errors
> but just never got published.
>
> thanks!
>
> ------------------------------------------------------------------------------
> 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


------------------------------------------------------------------------------
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

Reply via email to