Skip to content

pw_poller: ban_file: support email regexes - #132

Merged
matttbe merged 1 commit into
linux-netdev:mainfrom
matttbe:poller-ban-regex
Nov 6, 2026
Merged

matttbe merged 1 commit into
linux-netdev:mainfrom
matttbe:poller-ban-regex

Conversation

@matttbe

@matttbe matttbe commented Nov 6, 2026

Copy link
Copy Markdown
Member

If the first field of a ban_file line is not a number, treat it as a case-insensitive regex and match it against the submitter's email address, instead of comparing user IDs. This allows banning a whole domain or several addresses at once.

If multiple lines match, the latest date is used. Lines with an invalid regex or date are (still) logged and ignored.

If the first field of a ban_file line is not a number, treat it as a
case-insensitive regex and match it against the submitter's email
address, instead of comparing user IDs. This allows banning a whole
domain or several addresses at once.

If multiple lines match, the latest date is used. Lines with an invalid
regex or date are (still) logged and ignored.

Signed-off-by: Matthieu Baerts <matttbe@kernel.org>
@matttbe

matttbe commented Nov 6, 2026

Copy link
Copy Markdown
Member Author

issues can be fixed later on if any.

@matttbe
matttbe merged commit c1f2161 into linux-netdev:main Nov 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant