opnsense / opnsense/plugins

os-maltrail: FAIL2BAN_REGEX editable by UI

Open
#5,490 0 comments 0 reactions 0 assignees View on GitHub

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:

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.