Skip to content

Conversation

@swhite2
Copy link
Member

@swhite2 swhite2 commented Dec 23, 2025

This allows more visibility into the blocklist hit, more control over which blocklist should act on a given domain and improves the dnsbl update time for such quick updates by introducing the dnsblquick configd action.

@swhite2 swhite2 requested a review from AdSchellevis December 23, 2025 09:14
@swhite2 swhite2 self-assigned this Dec 23, 2025
Copy link
Member

@fichtner fichtner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it, thanks!

title: "{{ lang._('Quick action') }}",
classname: 'fa fa-cogs',
sequence: 100,
filter: function(cell) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note to reviewer: this code utilizes d25a8ac, which is currently only on master.

Copy link
Member

@AdSchellevis AdSchellevis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@swhite2 a couple of small remarks, but looks good. thanks!

parser_obj = BlocklistParser()

if args.command == "modify":
parser_obj.modify_blocklist(args.uuid, args.domain, args.action)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the "quick" update option is quite nice, but likely needs locking to prevent two instances updating the list at the same time.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is already handled through the BlocklistParser constructor. However, error handling in this case may be improved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants