Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Download blocked from webpage

I'm using a joomla based homepage where I want to download an excel 2007 file. The software gets data out of the joomla database and exports an Exceltable which is send to the users browser. For my other users it works fine, but for me (behind a Sophos UTM 9.2) it doesn't.
The homepage is hosted at a hosting company, not behind the Sophos UTM.

I know in meantime that the problem is caused by the webfilter. Turning the webfilter off makes it work. But of course I don't want to turn it off.

There are two protocol entries.

2014:10:20-13:21:38 mysophos httpproxy[5555]: id="0003" severity="info" sys="SecureWeb" sub="http" request="0xe26a9238" function="read_response_headers" file="response.c" line="463" message="received invalid header from server: [Content-Length: 9365\n\n]"

2014:10:20-13:21:38 mysophos httpproxy[5555]: id="0002" severity="info" sys="SecureWeb" sub="http" name="web request blocked" action="block" method="GET" srcip="my internal ip" dstip="homepage IP at hoster" user="" ad_domain="" statuscode="502" cached="0" profile="REF_DefaultHTTPProfile (Default Web Filter Profile)" filteraction="REF_DefaultHTTPCFFAction (Default content filter action)" size="2884" request="0xe26a9238" url="my external domain/.../downloadDocument.php


Can you give me a hint about what the problem could be and how I can set an exception?

Thanks

Roger


This thread was automatically locked due to age.
  • how about a link to the file so we can test this(as long as it doesn't contain proprietary or critical data).
  • "502" indicates a site that has problems with a proxy.  If creating an Anti-Virus Exception for the site doesn't fix the problem, you'll probably need to skip the proxy for the site.  I'm with William on the link.

    Cheers - Bob
  • Thanks for your answers. Please try the following: OSV | Oberwalliser Samariterverband - OSV

    In the attachment, there is a picture of how the error looks like.

    What should happen is that I should be able to save an Excel File

    Thanks

    Roger
  • I get the same picture as you did.  Did avoiding antivirus solve the problem?

    Cheers - Bob
  • Can you tell me how I have to set that up for just one URL?
    Do I have to do a separate filter action for that? Since there are categories, websites, antivirus and all that in the same action how can I remove the antivirus just for one URL?
    What do I have to enter as the URL just the root domain?

    Thanks for your help

    Roger
  • Tried it behind my lab UTM with Default content filter action enabled, and it works. 

    2014:10:21-20:41:54 lab-gw1 httpproxy[9124]: id="0001" severity="info" sys="SecureWeb" sub="http" name="http access" action="pass" method="GET" srcip="172.16.1.1" dstip="217.26.52.55" user="" ad_domain="" statuscode="200" cached="0" profile="REF_DefaultHTTPProfile (Default Web Filter Profile)" filteraction="REF_DefaultHTTPCFFAction (Default content filter action)" size="5580" request="0xa688800" url="www.samariter-osv.ch/.../downloadDocument.php
  • vilic, I got, with both Standard and Transparent proxies using IE and Firefox: 
    2014:10:21-12:44:29 post httpproxy[12350]: id="0003" severity="info" sys="SecureWeb" sub="http" request="0x160657e8" function="read_response_headers" file="response.c" line="463" message="received invalid header from server: [Content-Length: 6532\n\n]"
    2014:10:21-12:44:29 post httpproxy[12350]: id="0002" severity="info" sys="SecureWeb" sub="http" name="web request blocked" action="block" method="GET" srcip="10.1.1.65" dstip="217.26.52.55" user="" ad_domain="" statuscode="502" cached="0" profile="REF_DefaultHTTPProfile (Default Web Filter Profile)" filteraction="REF_DefaultHTTPCFFAction (Default content filter action)" size="2792" request="0x160657e8" url="http://www.samariter-osv.ch/components/com_jdbexport/helpers/downloadDocument.php?cache=1&token1=cgu6k7vvbsu7b9nc406b39gcd5&token2=L2hvbWUvc2FtYXIxMjMvcHVibGljX2h0bWwvY21zL21lZGlhL2NvbV9qZGJleHBvcnQvZG9jdW1lbnRzLw,,&cachefiletype=xlsx&filename=test&debugcomponent=1" exceptions="" error="Received invalid response from Server" authtime="0" dnstime="1" cattime="590" avscantime="0" fullreqtime="525330" device="0" auth="0" category="181" reputation="neutral" categoryname="Marketing/Merchandising"

    Roger, make an Exception for 
    http://www.samariter-osv.ch/components/com_jdbexport/helpers/downloadDocument.php

    Cheers - Bob
  • Hi Bob

    Thanks for your answer. Can you tell me where exactly I have to enter the exception? I put into to website part of the default filter action, this didn't help.

    Thanks

    Roger
  • First, try an Exception for Anti-Virus in 'Web Protection >> Filtering Options' for ^https?://www\.samariter-osv\.ch/components/

    If that doesn't work, then skip the Proxy for 
    www.samariter-osv.ch]


    Any luck?

    Cheers - Bob
  • Hi Bob

    The exception didn't work. Might it be possible that there is a ^ missing in front of the https?

    Putting in an exception for the transparent HTTP proxy helped.

    Cheers

    Roger