How to block webpage on keyword?

137 views
Skip to first unread message

ZakHooi

unread,
Jan 30, 2021, 2:47:58 PM1/30/21
to e2guardian
Hi,
I thought e2guardian could do this out of the box but apparently it doesn't.
I want to block a page when a certain keyword is on it, for instance 'porn'.
I tried the bannedphraselist but that only will trigger URL's where the keyword is in, not on the page content.
Then there is the weightedphraselist and when I put '<porn><100>' in there and the 'naughtynesslimit = 50' in the config. It still will not block a page where the word 'porn' is on.
I also set 'weightedphrasemode = 1' (but tried '2' as well).

Please advise howto enable blocking webpages based on keywords in the text on that page.

Thanks in advance.

Josh Henrie

unread,
Jan 30, 2021, 9:37:21 PM1/30/21
to ZakHooi, e2guardian
I am having the same issue

--
E2guardian:
https://groups.google.com/d/forum/e2guardian
Github:
https://github.com/e2guardian/e2guardian
Follow us on twitter:
https://twitter.com/e2guardian
---
You received this message because you are subscribed to the Google Groups "e2guardian" group.
To unsubscribe from this group and stop receiving emails from it, send an email to e2guardian+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/e2guardian/726954ee-bae8-48b4-924e-025c81bef65dn%40googlegroups.com.

ZakHooi

unread,
Jan 31, 2021, 5:40:15 AM1/31/21
to e2guardian
What hardware are you running e2guardian on?

FredB

unread,
Jan 31, 2021, 6:40:42 AM1/31/21
to ZakHooi, e2guardian
With sslmitm enabled ?
--
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.

ZakHooi

unread,
Jan 31, 2021, 7:28:17 AM1/31/21
to e2guardian
sslmitm on or off makes no difference.
It's just not 'looking' at the page content

Could you advise how to get this to work?

Josh Henrie

unread,
Jan 31, 2021, 9:10:00 AM1/31/21
to ZakHooi, e2guardian
I am using a Xeon workstation with pfsense.

FredB

unread,
Jan 31, 2021, 9:49:04 AM1/31/21
to ZakHooi, e2guardian
Ok, without sslmitm it can't filter any keywords in almost all websites now.

Can you try with a more large maxcontentfiltersize value (X 2 at least) ?

ZakHooi

unread,
Feb 2, 2021, 1:35:32 AM2/2/21
to e2guardian
I have to correct myself, sslmitm is on but I have no certs configured.
I've tried to do so but with no luck, I can't find the proper instructions how to setup e2guarding with sslenbled=on and sslmitm=on.
Can you please advise?
Thanks in advance

FredB

unread,
Feb 2, 2021, 2:54:55 AM2/2/21
to e2guardian
Reply all
Reply to author
Forward
0 new messages