Search squid archive

Re: deny uploads acl not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



found out i need to block

application/json

but if i do that it blocks teams aswell as thats a json, maybe i will try this

request body max size

but theres another one i can use called

request header max size

whats the best one to use?

On Thu, 28 Oct 2021 at 17:05, robert k Wild <robertkwild@xxxxxxxxx> wrote:
hi all,

trying to deny uploads but its not working, heres my config below

#deny up MIME types
acl upmime req_mime_type "/usr/local/squid/etc/mimedeny.txt"

#allow special URL paths
acl special_url url_regex "/usr/local/squid/etc/urlspecial.txt"

#deny down MIME types
acl downmime rep_mime_type "/usr/local/squid/etc/mimedeny.txt"

http_access deny upmime
http_reply_access allow special_url
http_reply_access deny downmime

in my mimedeny.txt

application/octet-stream
application/x-msi
application/zip
application/x-7z-compressed
application/vnd.ms-cab-compressed
application/x-msdownload
application/x-iso9660-image
application/x-tar

but the deny upmime isnt working as on when i try to upload an exe on teams website it allows me to upload it

any ideas,

thanks,
rob

--
Regards,

Robert K Wild.


--
Regards,

Robert K Wild.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux