aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid-reverse
diff options
context:
space:
mode:
authorAlexander Wilke <nachtfalkeaw@web.de>2013-04-11 23:04:04 +0300
committerAlexander Wilke <nachtfalkeaw@web.de>2013-04-11 23:04:04 +0300
commit545a02ea3951d37c3e3c0463d3a6564674b37865 (patch)
tree802c67559c372166328d1bc1d47eb51c2c1ad36c /config/squid-reverse
parent81dabcbf979957672bf61269f2d80ebb98103781 (diff)
downloadpfsense-packages-545a02ea3951d37c3e3c0463d3a6564674b37865.tar.gz
pfsense-packages-545a02ea3951d37c3e3c0463d3a6564674b37865.tar.bz2
pfsense-packages-545a02ea3951d37c3e3c0463d3a6564674b37865.zip
Update squid_nac.xml
GUI option to block user-agent and reply_mime_types like javascript
Diffstat (limited to 'config/squid-reverse')
-rw-r--r--config/squid-reverse/squid_nac.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/config/squid-reverse/squid_nac.xml b/config/squid-reverse/squid_nac.xml
index bc4a278e..659d626f 100644
--- a/config/squid-reverse/squid_nac.xml
+++ b/config/squid-reverse/squid_nac.xml
@@ -139,6 +139,24 @@
<encoding>base64</encoding>
</field>
<field>
+ <fielddescr>Block user agents</fielddescr>
+ <fieldname>block_user_agent</fieldname>
+ <description>Enter each user agent on a new line that will be blocked to the users that are allowed to use the proxy. You also can use regular expressions.</description>
+ <type>textarea</type>
+ <cols>50</cols>
+ <rows>5</rows>
+ <encoding>base64</encoding>
+ </field>
+ <field>
+ <fielddescr>Block MIME types (reply only)</fielddescr>
+ <fieldname>block_reply_mime_type</fieldname>
+ <description>Enter each MIME type on a new line that will be blocked to the users that are allowed to use the proxy. You also can use regular expressions. Useful to block javascript (application/x-javascript).</description>
+ <type>textarea</type>
+ <cols>50</cols>
+ <rows>5</rows>
+ <encoding>base64</encoding>
+ </field>
+ <field>
<name>Squid Allowed ports</name>
<type>listtopic</type>
</field>