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

Sophos XG 18 MR3 DPI slow download

Hi all,

after going from decrypting HTTPS traffic by proxy to the dpi engine my download performance dropped massivly.

I am on a SG 230 hardware where the XG 18 MR3 is installed on.

Taking the same side downloading an ISO file via HTTPS with proxy and SSL decryption a get 100mbit/s troughput which is the max of my internet connection.

switching to DPI I get arround 16mbit/s. If a start a second, third download an so on I can max out my internet connection.

switching back and forth between proxy and dpi I can always reproduce this.

this happens only to HTTPS sessions with DPI turned on.

The load on the FW is never higher than 20% while testing.

Could there be an issue that DPI is somehow limiing the throughput within a session? No QoS is defined...

I tried different DPI policies and nothing changed the behavior.

Thanks for your help

best



This thread was automatically locked due to age.
Parents Reply
  • Hi fols,

    my feelings, but I can't prove it, is that the connection times out but nothing is logged making debugging very difficult.

    Ian

    XG115W - v19.5.1 mr-1 - Home

    If a post solves your question please use the 'Verify Answer' button.

Children
  • We also don't get any error messages from Sophos. But it's definitely up to the HTTPS inspection. There are no problems with HTTP pages. Not even with all HTTPS sites.

  • For me it is always the same story; I usually enable it following an MR release which promises DPI engine bug fixes and tweaks, then I wait for the calls and e-mails telling me the internet is acting strange or websites don't work.  It usually takes about 12 hours before the problems begin to manifest themselves, and its usually one of two things; either a site won't load (or a particular page within a site won't load), or downloads just don't work, it will download a little bit of a file and then just stop.  Of course the wonderful XG logs all report no problems at all with decryption, nothing being blocked, etc., but the moment you switch the firewall rule back to web proxy, all these mysterious problems vanish.  So there is something wrong with the DPI engine at least in my setup (and its fairly vanilla) and the logging is just too poor to capture it or display anything useful to the administrator as to what is happening or why.  

    The only indication of something wrong I ever get in the logs is mounting numbers of "FLOW_TIMEOUT[5] errors.  To my knowledge Sophos has never publically disclosed what this error actually means and honestly I see these errors on sites that aren't having problems and don't see them on sites that do, so I am unsure if it is just a red herring.

    This is a very unscientific statement but based on my observations of the problems I have it almost seems to me like the connections get hung or stuck and it results in sites never loading, downloads never downloading, etc.  When I first enable DPI it works and then slowly over the next hours it becomes worse and worse to where it becomes noticeable to the average user out there.

    Its a real shame because I want to use it, on paper it sounds wonderful.

  • Did you every test if this also accours if you have Linux are MacOSX Clients?

    For me the issues are there just for my windows machines.

    BTW. This also happens if I start a virtual Linux machine on my Windows 10 Desktop. But starting Linux native on the same system with DPI enable there are no issues.

    I went through the pcaps with Wireshark for hours without finding the issue :-(

  • We only have Windows clients in operation. I'm going to test Linux and try it.

  • @Bill Roland  It is exactly the same with us

  • Hi,

    it happens on MAC clients, MBP, iPad, iPhones.

    Mail - iMap/s and smtp/s fail with no error messages.

    Ian

    XG115W - v19.5.1 mr-1 - Home

    If a post solves your question please use the 'Verify Answer' button.

  • I have to admit, that I just testet DPI for HTTP(s) and as this was causing issues I did  not extend the coverage, so I can't talk about imap and smtp.

    My current solution is just not to use DPI which is a petty because I would like to make use of it...

  • Just to confirm, if you use DPI, can you extend the speed of your Line with multiple sessions? For example Ookla uses different downloads at the same time. https://www.speedtest.net/ You can run multiple or single tests. 

    Whats the performance with DPI on your appliances? 

    __________________________________________________________________________________________________________________

  • right, this works. If i start several downloads I can max out my connection

  • The reason for the speed difference is because the underlying software on Sophos XG  - who does the DPI is heavily single-core, if you start a download with a single connection the DPI will only be able to use a single core to do almost everything, from the decryption/encryption to IPS and so on.

    Meanwhile with multiple connections the DPI Engine is able to share the load with all available cores of your appliance.

    The day Sophos updates Snort to 3.1, this issue will be (probably) solved.


    If a post solves your question use the 'Verify Answer' button.

    XG 115w Rev.3 8GB RAM v19.5 MR1 @ Home.

Share Feedback
×

Submitted a Tech Support Case lately from the Support Portal?