elementary / switchboard-plug-parental-controls

Switchboard Screen Time & Limits Plug
https://elementary.io
GNU General Public License v3.0
11 stars 14 forks source link

Jeremypw/awissu fix #137 #180

Open jeremypw opened 6 months ago

jeremypw commented 6 months ago

Fixes #137

Based on #156 by merging master and fixing lint

Pushing here as the original author has not shown any Github activity for the last two years (and little before that)

jeremypw commented 6 months ago

Needs reviewing by someone with expertise in firewalls, iptables etc. It seems to do what is intended. You need to reboot the system after adding a new rule though - the interface does not inform the user of that.

jeremypw commented 6 months ago

I have discovered that this does not work if ufw is enabled - presumably because ufw puts rules with a higher priority than this PR and accepts the url before it reaches this app's rules??