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

Netflix not working despite - Knowledge base is wrong?

I have followed this  https://community.sophos.com/kb/en-us/125061

and still I can't get netflix to work, why? only works when I disable web scanning in the rule number 6



This thread was automatically locked due to age.
Parents Reply Children
  • Hey Community,

    Apologies for this inconvenience, and thank you  for sharing your solution.

    For context, has anyone tried creating their Netflix exception via the v16 method IP Regex list in the same KBA?

    In the meantime, i'll follow up with our team to get the KBA updated.

    Thanks,

  • In 17.1 MR2 some new logic around cache expiry was brought into FQDN objects.  There was unconfirmed reports that this negatively impacted NetFlix, however since we had very few people complaining and could not reproduce ourselves we could not be sure.  This new cache expiry logic was disabled by default in 17.5.
     
    Therefore if you are running 17.1 MR2, MR3, or MR4 please upgrade to 17.5 to see if that resolves the problem.

    Please note that NetFlix is actually quite hard for us to test, and it does work when we use it.  Netflix has complications because different access methods (Web, Android, iOS, Roku, etc) use different mechanisms and becasue some ISP override the NetFlix server DNS entries with their own so as to point to local regional caches to reduce network load - meaning that customers in different countries have different experiences.  The majority of our paying corporate customers do not use NetFlix on their networks, though we know it is common with people using the free home license.
     
    NetFlix also...  I won't say they deliberately obscure their traffic, but they don't make it easy.  You may notice that no one complains about Hulu or other streaming services.  Only Netflix.  Because they don't play nice.
     
    Let me briefly explain the two methods listed in the KB:
     
    One method has a series of regex that include all the IP addresses owned by netflix.  This does not include IP addresses owned by ISPs where the ISP is overriding the netflix server with their own local server.
    If this method does not work, it might work better if you make sure that the DNS used by the streaming device ultimately points to 8.8.8.8 (or other non-ISP DNS server) and not to an ISP's server.
     
    The other method uses a dynamic learning method to determine the IPs by passively watching DNS traffic.  Because of this it should be more robust on whether the streaming device is going to Netflix or ISP servers.  It is easier to configure and it is more efficient (less CPU resources when watching Netflix).  However because it is dynamically learning, some people have found it more problematic.  Also, as stated there is a reported (but not fully confirmed) issue in this dynamic learning method in 17.1 MR2-MR4 that is resolved in 17.5.
     
    The KB is not wrong.  However I will have it updated to change the emphasis to there being two methods, rather than an v16 method and a v17 method.  Both methods work in 17.x.

    Anyone who:
    is running 17.5
    is using the FQDN Host method
    is having problems
    is willing to work with us to resolve it for the betterment of everyone
    (especially if you are a paying customer and therefore get paid support, but even if you are not)
    Please let us know in this thread and we will try to get someone working with you to diagnose more.
  • Thank you for the detailied answer. [:)]

     

    Yes i am running 17.5 with FQDN host method and had some problems, so i created the ranges wich worked for me. But like you mentioned it surely depends on the country you living in.

     

    When i got some problems again i will update this thread. Thank you again for your time. [Y]

     

    By the way: As a paying customer we are still using UTM. For home i'm on the XG, because i think it is the future and will replace the UTM sometime.

  • Here are all the IP ranges that Netflix owns.  This does not include IPs that ISPs may be using as local caches.

    https://ipinfo.io/AS2906

     

    This has carefully been converted into RegEx for the exception.  Please don't modify these regex, they are specially crafted to meet those IP ranges.

    ^23\.246\.([0-9]|[1-5][0-9]|6[0-3])\.[0-9]
    ^37\.77\.(1(8[4-9]|9[0-1]))\.[0-9]
    ^45\.57\.([0-9]|[1-9][0-9]|1([0-1][0-9]|2[0-7]))\.[0-9]
    ^64\.120\.(1(2[8-9]|[3-9][0-9])|2([0-4][0-9]|5[0-5]))\.[0-9]
    ^66\.197\.(1(2[8-9]|[3-9][0-9])|2([0-4][0-9]|5[0-5]))\.[0-9]
    ^192\.173\.(6[4-9]|[7-9][0-9]|1([0-1][0-9]|2[0-7]))\.[0-9]
    ^69\.53\.(2(2[4-9]|[3-4][0-9]|5[0-5]))\.[0-9]
    ^108\.175\.(3[2-9]|4[0-7])\.[0-9]
    ^185\.2\.(2(2[0-3]))\.[0-9]
    ^185\.9\.(1(8[8-9]|9[0-1]))\.[0-9]
    ^198\.38\.(9[6-9]|1([0-1][0-9]|2[0-7]))\.[0-9]
    ^198\.45\.(4[8-9]|5[0-9]|6[0-3])\.[0-9]
    ^208\.75\.(7[6-9])\.[0-9]

     

    In order to get Netflix working for you, you added the IP range "45.57.74.100-200" which is in those subset.  Someone adventurous could try to convert all the ranges into FQDN hosts.  Or if want to use the ranges, it is easier to just use the RegEx exception.

     

    Can you go into the XG Device Console (not an ssh command line) and tell me the results of

    show fqdn-host

     

  • Hi Michael,

    thank you for the detailed investigation. I just tried a n NSLOOKUP from my mac in Australia and was returned a range of addresses which I have checked a couple and they are on Amazon US. Might be of interest?

     

    Non-authoritative answer:

    Name: netflix.com

    Address: 54.69.239.253

    Name: netflix.com

    Address: 34.213.151.116

    Name: netflix.com

    Address: 52.42.235.31

    Name: netflix.com

    Address: 35.160.112.124

    Name: netflix.com

    Address: 54.70.73.70

    Name: netflix.com

    Address: 52.42.228.237

    Name: netflix.com

    Address: 54.71.111.34

    Name: netflix.com

    Address: 52.32.190.151

    Regards

    Ian

  • We are not going to be mapping out all countries/ISPs content delivery servers.  :)

     

    If anyone is curious about Netflix inner structures:

    https://blog.apnic.net/2018/06/20/netflix-content-distribution-through-open-connect/

    https://www.theregister.co.uk/2016/06/22/boffins_map_netflixs_open_connect_cdn/

  • I understand what you are saying, but without the local addresses netflix will not function? They are not Australian sites, they are US sites. The data costs for any Australian ISP/RSP netflix provider would be horrenderous.

    My XG uses local RSP DNS servers.

    Ian

  • Thank you again, good work. [H]

     

    Here is my result from "show fqdn-host":

    cache-ttl:                 dns-reply-ttl

    idle-timeout:            default

    learn-subdomains:    enable

    IP eviction:              disable

  • Thanks Balmasque,

     

    The settings look correct.  Off the top of my head I don't know the next thing to look at.

    I'm on vacation until the new year, and will look at this again then - if you are willing to help investigate.

  • OK, i wish you a nice vacation. Next year i can help to investigate. [Y]