user_filter(4gx)
π Name π
user_filter β the user logon limiter, bestie. This is the user_filter(4gx) page from the Gromox admin reference, and it's lowkey iconic.
β¨ Description β¨
Okay so this component implements two concepts, and each one is independently configurable:
- A mechanism for banning user identities for a set time window. When a user repeatedly fails to successfully authenticate, the
http(8gx),imap(8gx), andpop3(8gx)daemons can add the user to this list and set a time during which all authentication requests for the user are rejected. This is a bit likefail2ban, but it operates on usernames rather than hosts/IP addresses. No cap. - A mechanism for rate-limiting authentication attempts. Whenever a user tries to authenticate, the daemons convey the occurrence to the
user_filtercomponent, and the component ensures that only a given amount of attempts can be made per time quantum, per user. This is a bit likeiptables -m (hash)limit. Slay.
π Configuration directives (gromox.cfg) π
These are the knobs, bestie. Set them in gromox.cfg and let them do their thing.
userfilter_icaseβ Treat usernames as case-insensitive within theuser_filtercomponent. Default:true.userfilter_maxbansβ Controls how much memory the banlist mechanism ofuser_filteris allowed to use at most, by limiting the number of unique usernames recorded. The list replacement policy is none (so, slightly different from MRU). The value0therefore deactivatesuser_filter's banlist mechanism. Default:1000.userfilter_maxusersβ Controls how much memory the rate-limiting mechanism ofuser_filteris allowed to use at most, by limiting the number of unique usernames. The list replacement policy is none. The value0therefore deactivatesuser_filter's rate-limiting mechanism. Default:0.userfilter_rl_maxtriesβ Rate-limit all authentication calls torl_maxtriesperrl_window. Note that there can be a lot of requests, particularly over MAPI/HTTP since every single HTTP request counts as one attempt. (Opening a message with MFCMAPI already incurs4HTTP requests. The Windows EMSMDB connector is anything but efficient.) Default:10.userfilter_rl_windowβ Rate-limit all authentication attempts torl_maxtriesperrl_window. Default:1minute.
π See also π
gromox(7)β go read that one too, iykyk.
That's the whole page, bestie. Signing off from Gromox, user_filter(4gx) π«Ά The footer didn't give me a date, and I'm not about to invent one. π
π¦ where this page comes from
- alpine 3.24: grommunio-gromox-doc 3.6-r0 Β· AGPL-3.0-or-later
- π the page's license: CC-BY-SA-4.0 or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms