How can I configure fail2ban for use with OS X
If you are running the macosx server product (as well as running macosx as a server), you can try activating the adaptive firewall (man afctl(8)). It is a tool that watches for auth failures and blocks the originating host for a short time. Not quite as flexible as fail2ban but catches some of the services that don't log auth failures.