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

Google & "UDP flood" action

Hello

So to get straight to the point, I'm running Sophos UTM (FW Ver.: 9.203-3, Virtual) Home License and, as the thread title shows, browser-based Google products are affected by the IPS and some of its traffic are being tagged by the IPS as "UDP flood" firewall rule 60013, which is to Drop UDP_FLOOD attempts

As a result, some Google products will be capped at 2mbps download speeds. Strangely enough, it only happens to one wired client and not any virtualised clients nor wireless clients (so this means neither the LG Smart TV running YouTube nor the Android smartphone running Google Maps experience this issue.) When this plays out:

  • YouTube will load videos at 2mbps, causing buffer to 1080p videos and less often to 720p videos; and
  • Google Maps will load its chunks of map and image data slowly


Now, I can definitely turn off UDP flood protection, but that leaves a gigantic gap on my network. It's probably not the best practice when the UTM is responsible as the gateway between the Internet and my network at home. You now understand why this is probably something I would consider to avoid. I had disabled it for a minute and it definitely increased the loading speeds to what my ISP provides, which is 30x more than what it was throttling me to. As of right now, it's enabled.

Has anyone else experienced this issue? Has anyone found a fix for this? This started happening probably around the time where the OpenSSL Heartbleed vulnerability was discovered, if not a month or two before it.

UPDATE: Alright, so here's what's getting hit by IPS so that we all have that general idea...

IP of Google is the source IP. 
WAN IP is the destination.
Action is UDP Flood
Source Port: 443
Destination Port: Some random port on the 50000~60000s. 

Last time I checked, 443 isn't exactly UDP for the nature of what's being transported and a corporation like Google would keep atop for any such UDP floods to prevent it from happening.

Second Update
:
Please don't tell me this is too difficult. It has to be some simple explanation.
2014:07:14-16:40:20 core ulogd[4786]: id="2105" severity="info" sys="SecureNet" sub="ips" name="UDP flood detected" action="UDP flood" fwrule="60013" initf="eth1" srcmac="[Source MAC]" dstmac="[Destination MAC]" srcip="206.111.13.173" dstip="[My WAN IP]" proto="17" length="1228" tos="0x00" prec="0x00" ttl="57" srcport="443" dstport="55971"


Thanks


This thread was automatically locked due to age.
Parents
  • Hello

    I have found the solution for this, just add these google addresses as an exception to udpflood

    • ip4:64.18.0.0/20
    • ip4:64.233.160.0/19
    • ip4:66.102.0.0/20
    • ip4:66.249.80.0/20
    • ip4:72.14.192.0/18
    • ip4:74.125.0.0/16
    • ip4:108.177.8.0/21
    • ip4:173.194.0.0/16
    • ip4:207.126.144.0/20
    • ip4:209.85.128.0/17
    • ip4:216.58.192.0/19
    • ip4:216.239.32.0/19
    • ip6:2001:4860:4000::/36
    • ip6:2404:6800:4000::/36
    • ip6:2607:f8b0:4000::/36
    • ip6:2800:3f0:4000::/36
    • ip6:2a00:1450:4000::/36
    • ip6:2c0f:fb50:4000::/36

     

     

     

    Regards

     

     

  • Hi, Moises, and welcome to the UTM Community!

    Your solution will work perfectly, but I prefer to use the UDP 443 Exception as that makes the Exception more specific.

    Cheers - Bob

     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • Sorry to resurrect an old thread.  Seems there's two schools of thought to dealing with this issue.  Either exempt port 443 udp in either direction, or add a bunch of hosts to the exemption along with the service port.  Neither is an ideal solution because the first opens that port up to potential flooding from any external ip (?), while the latter has constantly changing hosts.

    I suppose the former (exempt the service port only) is the better of the two in that this exemption is valid for requests initiated behind the firewall.  Uninitiated external port 443 requests will still be blocked.  Bob am I correct in this understanding?

  • Hi Jay,

    that is Google’s QUIC protocol. Close outgoing udp port 443. This protocol bypass the proxy, don't allow it in a productive environment. When closing the udp port chrome is going to use tcp.

    Google’s QUIC protocol:

    https://ma.ttias.be/googles-quic-protocol-moving-web-tcp-udp/

    Regards

    mod

  • Agreed with the MoD, but I also prefer to add UDP 443 to the 'Allowed Target Services' in Web Filtering. That allows browsers using the explicit proxy to benefit from the increased throughput of https over UDP.   Using this means that you have the block as mod prescribes and the Anti-UDP Flooding Exception as described above.  In any case, there's no reason to open UDP 443 inbound.

    Cheers - Bob

     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • Hi Bob,

    I've never though about that. Do you have experience with UDP 443 over the proxy? I've never tested that.

    regards

    mod

Reply Children
No Data