Skip to content

Instantly share code, notes, and snippets.

View luiseok's full-sized avatar

luiseok luiseok

  • localhost
  • 06:13 (UTC +09:00)
View GitHub Profile
@luiseok
luiseok / mongo-auth.conf
Created August 15, 2017 01:01
mongo-auth.conf
#
# File Path : fail2ban/filter.d/mongo-auth.conf
#
# Fail2Ban filter for unsuccesfull MongoDB authentication attempts
# Tested on fail2ban-client v0.9.3
#
[INCLUDES]
# Read common prefixes. If any customizations available -- read them from
@luiseok
luiseok / jail.local
Created August 15, 2017 00:56
jail.local separated file
#
# File Path : fail2ban/jail.local
#
# Please modify the port and logpath that you configured.
#
[mongo-auth]
enabled = true
filter = mongo-auth
@luiseok
luiseok / jail.local
Last active September 20, 2023 07:16
Fail2ban MongoDB filter.d configuration file
#
# File Path : /etc/fail2ban/jail.local
#
# Please modify the port and logpath that you configured.
#
[mongo-auth]
enabled = true
filter = mongo-auth