os-maltrail: FAIL2BAN_REGEX editable by UI
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 1.2k
- Forks
- 863
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 10
Description
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
- I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
- I have searched the existing issues, open and closed, and I'm convinced that mine is new.
- When the request is meant for an existing plugin, I've added its name to the title.
Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
The current FAIL2BAN_REGEX does not match events like "DNS domain (suspicious)". I would appreciate to edit FAIL2BAN_REGEX in UI to change its defaults.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the os-maltrail plugin code that defines FAIL2BAN_REGEX and its UI configuration fields. Trace how the default regex is exposed and persisted, then check the existing plugin tests or validation path if present. Done means the UI permits changing the default and supports matching events such as "DNS domain (suspicious)".
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- security
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100