marcus67 / little_brother

Parental Control Application implemented in Python 3 packaged for Debian and Ubuntu to monitor and limit kids' play time on Linux hosts
GNU General Public License v3.0
58 stars 9 forks source link

Firewall rules are duplicated and not deleted #204

Open marcus67 opened 2 months ago

marcus67 commented 2 months ago

Current state: In some (currently unknown) situations the firewall rule entries blocking traffic for a client are not deleted. Instead, there is a growing number of entries which will stay indefinitely, basically permanently blocking the user's PC. Even a restart of LittleBrother will not help since upon exit only one entry will be deleted.

Desired state: The mechanism should be more robust with respect to duplicated entries in the firewall rule table. When the restriction for a client is removed, ALL existing entries should be removed and not just one.