Non-admin users should not be allowed to configure or use the globally loaded fail2ban module. Currently a non-admin user can change the parameters, and can also use the commands to ban/unban hosts.
znc@znc.in (EFNet)
22:09:31 -!- Irssi: Starting query in EFNet with ef*fail2ban
22:09:32 <jockek> help
22:09:32 <ef*fail2ban> ------
22:09:32 <ef*fail2ban> Command: Attempts [count]
22:09:32 <ef*fail2ban> Description: The number of allowed failed login attempts.
22:09:32 <ef*fail2ban> ------
22:09:32 <ef*fail2ban> Command: Ban <hosts>
22:09:32 <ef*fail2ban> Description: Ban the specified hosts.
22:09:32 <ef*fail2ban> ------
22:09:32 <ef*fail2ban> Command: Help search
22:09:32 <ef*fail2ban> Description: Generate this output
22:09:32 <ef*fail2ban> ------
22:09:32 <ef*fail2ban> Command: List
22:09:32 <ef*fail2ban> Description: List banned hosts.
22:09:32 <ef*fail2ban> ------
22:09:32 <ef*fail2ban> Command: Timeout [minutes]
22:09:32 <ef*fail2ban> Description: The number of minutes IPs are blocked after a failed login.
22:09:32 <ef*fail2ban> ------
22:09:32 <ef*fail2ban> Command: Unban <hosts>
22:09:32 <ef*fail2ban> Description: Unban the specified hosts.
22:09:32 <ef*fail2ban> ------
22:11:37 <jockek> ban 127.0.0.2
22:11:37 <ef*fail2ban> Banned: 127.0.0.2
22:11:37 <jockek> list
22:11:37 <ef*fail2ban> ------
22:11:37 <ef*fail2ban> Host: 127.0.0.2
22:11:37 <ef*fail2ban> Attempts: 0
22:11:37 <ef*fail2ban> ------
22:11:42 <jockek> unban 127.0.0.2
22:11:42 <ef*fail2ban> Unbanned: 127.0.0.2
22:10:01 <jockek> timeout 5
22:10:01 <ef*fail2ban> Timeout: 5 min
Hi,
Non-admin users should not be allowed to configure or use the globally loaded fail2ban module. Currently a non-admin user can change the parameters, and can also use the commands to ban/unban hosts.
```
znc@znc.in (EFNet)
22:09:31 -!- Irssi: Starting query in EFNet with ef*fail2ban
22:09:32 <jockek> help
22:09:32 <ef*fail2ban> ------
22:09:32 <ef*fail2ban> Command: Attempts [count]
22:09:32 <ef*fail2ban> Description: The number of allowed failed login attempts.
22:09:32 <ef*fail2ban> ------
22:09:32 <ef*fail2ban> Command: Ban <hosts>
22:09:32 <ef*fail2ban> Description: Ban the specified hosts.
22:09:32 <ef*fail2ban> ------
22:09:32 <ef*fail2ban> Command: Help search
22:09:32 <ef*fail2ban> Description: Generate this output
22:09:32 <ef*fail2ban> ------
22:09:32 <ef*fail2ban> Command: List
22:09:32 <ef*fail2ban> Description: List banned hosts.
22:09:32 <ef*fail2ban> ------
22:09:32 <ef*fail2ban> Command: Timeout [minutes]
22:09:32 <ef*fail2ban> Description: The number of minutes IPs are blocked after a failed login.
22:09:32 <ef*fail2ban> ------
22:09:32 <ef*fail2ban> Command: Unban <hosts>
22:09:32 <ef*fail2ban> Description: Unban the specified hosts.
22:09:32 <ef*fail2ban> ------
22:11:37 <jockek> ban 127.0.0.2
22:11:37 <ef*fail2ban> Banned: 127.0.0.2
22:11:37 <jockek> list
22:11:37 <ef*fail2ban> ------
22:11:37 <ef*fail2ban> Host: 127.0.0.2
22:11:37 <ef*fail2ban> Attempts: 0
22:11:37 <ef*fail2ban> ------
22:11:42 <jockek> unban 127.0.0.2
22:11:42 <ef*fail2ban> Unbanned: 127.0.0.2
22:10:01 <jockek> timeout 5
22:10:01 <ef*fail2ban> Timeout: 5 min
```
<!-- github-sync-id:154095732 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Hi,
Non-admin users should not be allowed to configure or use the globally loaded fail2ban module. Currently a non-admin user can change the parameters, and can also use the commands to ban/unban hosts.