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
  • Why not just make an Exception?  Probably like 'traffic coming from 206.111.13.173' and 'using service {TCP&UDP : 443->50000:60000}'.  Any luck with that?

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • Why not just make an Exception?  Probably like 'traffic coming from 206.111.13.173' and 'using service {TCP&UDP : 443->50000:60000}'.  Any luck with that?

    Cheers - Bob


    It would work if Google stuck with one IP the entire time I'm using their products. Since it's almost a different IP every time, the workaround won't really last long. I'd have to go edit the Intrusion Prevention exceptions every time I notice a drop to 2mbps.

    Would you have any idea why this happens to primarily one client as opposed to every client on the network?

    Huge Update:

    Alright! So I nailed it down to really being only one PC. However, Sophos still has something to do with this because the IPS catching this is still a part of the issue. 

    According to Wireshark on two different computers, one of them treats the HTTPS packets as TCP all the way. The one I'm using that's affected treats the handshakes/Client Hello/Certificate/all that as TCP but the rest of the packets following during the connection are UDP. 

    What!? (My head hurts even more now.)

    So what setting could be messing with this? Something I can change on Sophos or something on my Windows Laptop?

    ALL DONE
    Problem solved. The reason why - There was apparently an update that's part of SPDY, something, I believe, Google is developing with an end result called "QUIC", an experimental HTTPS-over-UDP system that uses a heavily unusual amount of UDP packets.

    It has been integrated as part of Google Chrome (and Opera.)

    My last say on this is: I think those who contribute to the development of Sophos should take a close research at QUIC. This could become a bigger problem in the future, if not already by now.
Reply
  • Why not just make an Exception?  Probably like 'traffic coming from 206.111.13.173' and 'using service {TCP&UDP : 443->50000:60000}'.  Any luck with that?

    Cheers - Bob


    It would work if Google stuck with one IP the entire time I'm using their products. Since it's almost a different IP every time, the workaround won't really last long. I'd have to go edit the Intrusion Prevention exceptions every time I notice a drop to 2mbps.

    Would you have any idea why this happens to primarily one client as opposed to every client on the network?

    Huge Update:

    Alright! So I nailed it down to really being only one PC. However, Sophos still has something to do with this because the IPS catching this is still a part of the issue. 

    According to Wireshark on two different computers, one of them treats the HTTPS packets as TCP all the way. The one I'm using that's affected treats the handshakes/Client Hello/Certificate/all that as TCP but the rest of the packets following during the connection are UDP. 

    What!? (My head hurts even more now.)

    So what setting could be messing with this? Something I can change on Sophos or something on my Windows Laptop?

    ALL DONE
    Problem solved. The reason why - There was apparently an update that's part of SPDY, something, I believe, Google is developing with an end result called "QUIC", an experimental HTTPS-over-UDP system that uses a heavily unusual amount of UDP packets.

    It has been integrated as part of Google Chrome (and Opera.)

    My last say on this is: I think those who contribute to the development of Sophos should take a close research at QUIC. This could become a bigger problem in the future, if not already by now.
Children
No Data