Skip to content

[Enhancement]: Persist blocked ip in the CLI Metadata #149

@LorenzoTettamanti

Description

@LorenzoTettamanti

Is your feature request related to a problem?

  • Yes

    Problem Description:

    When creating a blocklist, the IP addresses are stored in a BPF HashMap shared between the kernel space and the user space. However, since BPF maps are in-memory, this approach doesn't persist any data and the blocked IP are lost after every restart, leaving this feature incomplete.

    Solution:

    The solution can leverage the CLI metadata to save the blocked IP. This also requires an update to the init_bpf_maps function to load the IP from the blocklist.

    Additional info

    metadata-config
    bpf map handlers


Metadata

Metadata

Labels

cortexflow cliCLI related issuesenhancementNew feature or requestrustPull requests that update Rust code

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions