Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Monitor on OS X #486

Open
usmcguy opened this issue Dec 13, 2013 · 1 comment
Open

File Monitor on OS X #486

usmcguy opened this issue Dec 13, 2013 · 1 comment

Comments

@usmcguy
Copy link

usmcguy commented Dec 13, 2013

I see fail2ban has options to select the backend monitoring. Gamin, pyinotify, and polling. On OS X, gamin & pyinotify are not options. From what I can find, gamin seems to no longer be developed. OS X uses FS Events (see http://en.wikipedia.org/wiki/FSEvents). Is there any chance fail2ban will expand this capability? As it stands, using polling on my OS X machine, there is a delay between when an attack occurs and when fail2ban blocks the attack. Most of the time it's upwards of a minute or more. This is huge when the attacker is using a brute force attack.

@grooverdan
Copy link
Contributor

http://blog.philippklaus.de/2011/08/use-the-python-module-macfsevents-to-monitor-directories-for-changes-on-mac-os-x/ seems easy enough.

Want to have a go at implementing it? It should be very similar to server/filterpyinotify.py.

@kwirk kwirk modified the milestones: 0.9.2, 0.9.1 May 7, 2014
@yarikoptic yarikoptic modified the milestone: 0.9.2 Jan 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants