Skip to content

Add option to list, update and remove cidre iptables rules #3

@matteganau

Description

@matteganau

It would be great if cidre could list the iptables rules created by cidre (and only the cidre create rules) and also to be able to delete them. This might prevent users from using iptables directly to do this and accidentally deleting the wrong rule (I confess).

Also when running something like cidre pull --merge and then updating existing rules with cidre deny ... iptables cidre will create a duplicate rule if it's the same country. Perhaps some way of asking the user if they want to 'update' (delete and recreate) the existing rule (or set) if it exists.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions