AOx0 / adam

Rust eBPF-based toolbox
0 stars 0 forks source link

Minor state issues with IPs #70

Open AOx0 opened 1 day ago

AOx0 commented 1 day ago

Introduced in #67

Adding / Deleting IPs quickly and selecting them causes problems. Maybe a lock maybe desirable to achieve an atomic transaction-like behavior.

Problematic lines may include:

https://github.com/AOx0/adam/blob/b7ec2049fdbcba85fbc67a291cf098112b486236/front/src/ips.rs#L43-L73

https://github.com/AOx0/adam/blob/b7ec2049fdbcba85fbc67a291cf098112b486236/front/src/ips.rs#L153-L177