Pre-Submission Checklist
Type Of Change
Checklist:
Description
Summary
This update introduces new functionality to the secfilter
module, enabling the removal of entries from both the Blacklist and Whitelist. It also includes automatic detection and removal of duplicate values from these lists.
Details
- Users can now remove specific entries from the Blacklist or Whitelist based on type (e.g., IP, domain, user) and a given value.
- Supports removal of single or multiple matching entries in one operation.
Benefits
- Improves the usability and flexibility of the
secfilter
module by allowing fine-grained control over list management.
- Ensures that the Blacklist and Whitelist are kept clean and free from redundant entries.
- Enhances performance by reducing unnecessary duplication in the lists.
Testing
This feature was tested using kmcmd
commands in various scenarios:
- Removing the first element in the list.
- Removing an element from the middle of the list.
- Removing the last element in the list.
- Removing all matching elements in the list.
In all cases, the commands worked correctly, and the lists were updated and cleaned as expected.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/4089
Commit Summary
- 8ed44ad secfilter‌: support remove rule in Whitelist and Blacklist
File Changes
(4 files)
Patch Links:
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/4089@github.com>