How to filters MIME types, block audio, video

How to filters MIME types, block audio, video?

Thank you

1 Like

Hi @Ya_Ley in the module content filters you can do.

Regards

1 Like

Hi Jose
Thank you so much
If I add file extension like a .FLV .MPEG .WMV .MOV .mp3 .mp4 and ete… , it means, Block Multimedia Streaming (website movies online ) ?

Indeed if to open a link that plays a video in flv format, mpg and these extensions are blocked should not open.

you’re welcome @Ya_Ley

1 Like

Hi

Here is my list of blocked file extension

exe,vbs,mts,bat,com,sys,avi,flv,mpeg,wmv,mov,mp3,mp4,aac,webm,vorbis,dif,divx,mpv2,ogg,qt,wav,wma,wmf

But I can not block some website video


.

What kind of extension that they used?

Thanks

@Ya_Ley these pages and should be blocked, are pornos pages, I can not find the logic, to leave non-blocking, and only block the extensions of your videos

You check if you have this selected this option in each web content filter?

Regards

Hi

I am edit and add some parameters in file configure squidGuard.conf and
file /var/squidGuard/blacklists/custom/builtin/expressions by manual
and next day the config files were roll back to default as I was configure in Nethserver web interface. How to fix ?

Thanks

Hi Friend,

Before making manual changes, make a backup of the original file. Then it executes:

signal-event nethserver-squidguard-save

Regards

Hi

you mean, first executes the command " signal-event nethserver-squidguard-save" and then making manual changes, after that the config files “squidGuard.conf” and file in “/var/squidGuard/blacklists/custom/builtin/expressions” won’t be rollback again, right?

anyway, about filters file “.mp3” some website can be bypass filters(can listens and download file mp3)
just sample for website, not promote:

http://muzofon.pro/search/Alesso%20I%20Wanna%20Know%20ft%20Nico%20Vinz

Thanks

@Ya_Ley

First edit the file and then execute the command

You are editing the file using vi?

Hi

Yes, vi
For the command “signal-event nethserver-squidguard-save” ,it is not work( I edited the files and run the command and restart services, then checking the files, it is lose all parameters that I added.

You can send us your edits?

vi /var/squidGuard/blacklists/custom/builtin/expressions

Added
(proxy|Proxies|free proxy|vpn|VPN|bypass|web anonymously)

Check this template.

etc/e-smith/templates/var/squidGuard/blacklists/custom/builtin/expressions/10base

2 Likes

Thank you so much

For template. /etc/e-smith/templates/etc/squid/squidGuard.conf/40src
How to edit to external LDAP profile
src src_staffprofile {
ldapusersearch ldap://xx.xx.xx.xx/cn=…)

a question, the case of expressions resolved?

ns joined to an AD?

No, openldap

It is the same topic

Yes , but no one answer with clearly like you

1 Like