kwakubiney / inferno

Firewall built with eBPF
MIT License
0 stars 0 forks source link

Batch update/deletion of IP addresses? #5

Open kwakubiney opened 7 months ago

kwakubiney commented 7 months ago

This is so we can load a bunch of IP addresses at once so we do not have to deal with it one by one. IP addresses are stored in a CSV file

kwakubiney commented 7 months ago

I am thinking about an API design for both single updates and batch updates but can't seem to come up with a clean one. I might revert to a design which only involves batch updates from a file. But deletions can be done on a one to one basis. Ultimately, my aim is to design a deamon which watches the file and based on any new noticed diffs, updates or deletes from the map accordingly.