Diese Website existiert nur weil wir Werbung mit AdSense ausliefern.
Bitte den AdBlocker daher auf dieser Website ausschalten! Danke.

[gelöst] problem with SQUID acl, help

Alles rund um das Internet, Internet-Anwendungen (E-Mail, Surfen, Cloud usw.) und das Einrichten von Netzwerken einschl. VPN unter Linux

Moderator: Moderatoren

Antworten
4akal
Newbie
Newbie
Beiträge: 2
Registriert: 16. Sep 2005, 16:25

[gelöst] problem with SQUID acl, help

Beitrag von 4akal »

Hi,

I wrote below access control list in squıid proxy server config file but it did not work when i had tried to download a video or audio files, i could download them. I can't find where the problem is. could you send me the solving of that problem please?

Thanks in advance.

##### Downloads
acl download Rely_MIME_Type ^.*video.*
acl download Rely_MIME_Type ^.*audio.*

##Proxy Restriction
http_access deny download
Benutzeravatar
framp
Moderator
Moderator
Beiträge: 4323
Registriert: 6. Jun 2004, 20:57
Wohnort: bei Stuttgart
Kontaktdaten:

Beitrag von framp »

I don't know of any rely_mime_type control statement in squid.

Looks like you want to use

Code: Alles auswählen

 acl aclname rep_mime_type mime-type1 ...

# regex match against the mime type of the reply recieved by
# squid. Can be used to detect file download or some
# types HTTP tunelling requests.
# NOTE: This has no effect in http_access rules. It only has
# effect in rules that affect the reply data stream such as
# http_reply_access.
Zuletzt geändert von framp am 19. Sep 2005, 19:20, insgesamt 1-mal geändert.
4akal
Newbie
Newbie
Beiträge: 2
Registriert: 16. Sep 2005, 16:25

Beitrag von 4akal »

Thanks it works
framp hat geschrieben:I done know of any rely_mime_type control statement in squid.

Looks like you want to use

Code: Alles auswählen

 acl aclname rep_mime_type mime-type1 ...

# regex match against the mime type of the reply recieved by
# squid. Can be used to detect file download or some
# types HTTP tunelling requests.
# NOTE: This has no effect in http_access rules. It only has
# effect in rules that affect the reply data stream such as
# http_reply_access.
Antworten