Bug 32473 - Parental controls "Block all network traffic" option does not work
Summary: Parental controls "Block all network traffic" option does not work
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-31 12:45 CET by Jose Manuel López
Modified: 2024-09-13 10:24 CEST (History)
2 users (show)

See Also:
Source RPM: drakguard-1.8-2.mga9
CVE:
Status comment:


Attachments

Description Jose Manuel López 2023-10-31 12:45:07 CET
Description of problem: Well, Here in Mageia we have a very good tool for kids users of Mageia. Parental controls of Mageia Control Center is a good tool for control the kids users about applications that they can use and network access, and webs access. But this tool don't work fine. I have created a new user and I have configured Parental Controls for the user has a limit access to some applications and webs.

The option "Block all network traffic" don't work and the user can navigate from all webs of internet from Firefox that is the predeterminate browser on Mageia 9 Plasma.


Version-Release number of selected component (if applicable): Parental Controls of Mageia Control Center


How reproducible: Configurar Parental controls and click on "Block all network access"

The user can navigate for all webs with Firefox.
Comment 1 Marja Van Waes 2023-10-31 13:48:13 CET
Confirming the issue, using drakguard-1.8-2.mga9 and blocking everything with it doesn't work. 

*If* that was caused by not rebooting (I didn't), then it would be nice to make drakguard inform the user that a reboot is needed.


The versions/releases of the other needed packages in cauldron were:

perl-Convert-ASN1-0.340.0-1.mga10.noarch.rpm
squid-5.9-1.mga9.x86_64.rpm
lib64ecap3-1.0.1-5.mga9.x86_64.rpm
e2guardian-5.5.2r-1.mga9.x86_64.rpm
perl-Crypt-OpenSSL-X509-1.915.0-1.mga10.x86_64.rpm


/etc/e2guardian/e2guardian.conf
and
/etc/squid/squid.conf

were both rewritten when changing the setting in drakguard, but I did not manage to find anything in them that could match the "block all network traffic" setting.


Assigning to the Mageia tools maintainers.

Source RPM: Mageia Control Center => drakguard-1.8-2.mga9
CC: (none) => marja11
Assignee: bugsquad => mageiatools
Summary: Parental controls not working correctly => Parental controls "Block all network traffic" option does not work

Comment 2 papoteur 2023-11-13 14:32:19 CET
Hello,
For what I see in the code, the option should affect the file 
/etc/e2guardian/lists/bannedsitelist
and affect line(s) with ** inside
The option is also kept in /etc/e2guardian/e2guardianf1.conf

CC: (none) => yvesbrungard

Comment 3 papoteur 2023-11-16 17:01:06 CET
Does the manually edition of /etc/e2guardian/lists/bannedsitelist work, adding:
**
on one line in said file?
Comment 4 Jose Manuel López 2024-09-13 10:18:17 CEST
I have configured the Bannedsitelist file with the two ** as commented on comment 3, but the user with parental control continues to access all the Internet sites.

 I do not know if then you have to put room on the blacklist. But this would be a very tedious and complicated task.

 If anyone can confirm if Edguardian does some type of automatic filter?
Comment 5 Jose Manuel López 2024-09-13 10:24:56 CEST
I have also tried to include the user in the Edguardian group and does not work either.

Note You need to log in before you can comment on or make changes to this bug.