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

Problems unblocking streaming media for specific users

Hi,

We are attempting to open up YouTube for a single user but are encountering some problems. If we only specify the site, the site itself is unblocked, but the videos continue to be blocked. If we specify both the site and the 'streaming media' category, the entire site is suddenly blocked. We do not want the user to have fully open access, nor do we want YouTube to be accessible to everyone -- just this particular user. Any ideas? Is there anything else that needs to be done to get streaming media to play on YouTube?

Thanks.


This thread was automatically locked due to age.
Parents
  • A network definition for a single user by the hostname of his computer. Type is set to DNS host and the interface is internal. 

    Although it doesn't sound like this is your problem at  present, you should never (unless instructed to do so by an Astaro Support person) bind a definition to an interface as that usually causes routing problems.  Please go through the list of all of your definitions and edit any that are bound to an interface to have 'Interface: >'.

    We're using version 8.203.

    Some of the fixes for V8.2 issues went into 8.3 instead of into an 8.204.  Again, your issue isn't the version, but I would suggest that you Up2Date to 8.301 when convenient.

    Standard Proxy mode offers the most options, since browsers specifically address the proxy server for their web requests.

    He's right.  In fact, if you're using the 'Transparent mode skiplist' on the 'Advanced' tab, then you must be in "Transparent" mode as the skiplist only is effective in Transparent.  Since you spoke of creating a DNS Host definition with the users computer name, I suspect you have Active Directory.

    Using "Active Directory - SSO" authentication allows you to create Security Groups in AD and to manage people's web access based on the AD group that they're in.  It's truly a powerful, granular tool.  If you want to set that up, start with HTTP/S Proxy Access with AD-SSO (Caution, the section "Configure User Authentication" should be eliminated as it has no effect on AD-SSO and can cause problems in larger organizations).

    Having said all that, I suspect that your problem with the exception is that you don't have the necessary URLs listed - that's why my first post here asked for the line(s) from the Content Filter (HTTP/S) (in 8.2, I think.  In 8.3, it's been renamed to Web Filtering) log file.

    Cheers - Bob

  • If you really want to distinguish different users/computers/groups, then yes, proxy profiles are the way to go. There you can set which categories are allowed, eg streaming media, and also distinguish between subnets / machine groups who can and cannot use proxy in standard or transparent mode. Much more then the definition you gave...

    So to avoid confusion, please tell a bit more about your situation:


    • Are your browsers set to use a proxy (manually, through policies etc) and do they point to astaro
    • If not, are you granting acces to websites on port 80/443 through your firewall rules or...
    • Is your Web filtering turned on and is proxy mode set to transparent?

    • Since you are referring to a user: Is there any authentication mechanism set (Like eDirectory or AD SSO)?


    Thanks. I get the differences between Transparent and Standard Mode now. Makes sense. We're definitely using Transparent Mode. I'll look into setting up proxy profiles as well.

    To answer your questions:

    - No, our browsers are not set to use a proxy.
    - Yes, web filtering is turned on and is set to Transparent Mode

    Although it doesn't sound like this is your problem at  present, you should never (unless instructed to do so by an Astaro Support person) bind a definition to an interface as that usually causes routing problems.  Please go through the list of all of your definitions and edit any that are bound to an interface to have 'Interface: >'.


    Thanks for the tip. We definitely were not aware of this.


    Some of the fixes for V8.2 issues went into 8.3 instead of into an 8.204.  Again, your issue isn't the version, but I would suggest that you Up2Date to 8.301 when convenient.


    He's right.  In fact, if you're using the 'Transparent mode skiplist' on the 'Advanced' tab, then you must be in "Transparent" mode as the skiplist only is effective in Transparent.  Since you spoke of creating a DNS Host definition with the users computer name, I suspect you have Active Directory.

    Using "Active Directory - SSO" authentication allows you to create Security Groups in AD and to manage people's web access based on the AD group that they're in.  It's truly a powerful, granular tool.  If you want to set that up, start with HTTP/S Proxy Access with AD-SSO (Caution, the section "Configure User Authentication" should be eliminated as it has no effect on AD-SSO and can cause problems in larger organizations).

    Having said all that, I suspect that your problem with the exception is that you don't have the necessary URLs listed - that's why my first post here asked for the line(s) from the Content Filter (HTTP/S) (in 8.2, I think.  In 8.3, it's been renamed to Web Filtering) log file.

    Cheers - Bob


    We were basically adding youtube.com as the URL to an exception for his hostname, which did open the site itself -- just not the video content. I do have a 'Web Filtering' section, but only have a live log option. I do not see a section called 'HTTP/S.' Am I looking in the wrong place?
Reply

  • If you really want to distinguish different users/computers/groups, then yes, proxy profiles are the way to go. There you can set which categories are allowed, eg streaming media, and also distinguish between subnets / machine groups who can and cannot use proxy in standard or transparent mode. Much more then the definition you gave...

    So to avoid confusion, please tell a bit more about your situation:


    • Are your browsers set to use a proxy (manually, through policies etc) and do they point to astaro
    • If not, are you granting acces to websites on port 80/443 through your firewall rules or...
    • Is your Web filtering turned on and is proxy mode set to transparent?

    • Since you are referring to a user: Is there any authentication mechanism set (Like eDirectory or AD SSO)?


    Thanks. I get the differences between Transparent and Standard Mode now. Makes sense. We're definitely using Transparent Mode. I'll look into setting up proxy profiles as well.

    To answer your questions:

    - No, our browsers are not set to use a proxy.
    - Yes, web filtering is turned on and is set to Transparent Mode

    Although it doesn't sound like this is your problem at  present, you should never (unless instructed to do so by an Astaro Support person) bind a definition to an interface as that usually causes routing problems.  Please go through the list of all of your definitions and edit any that are bound to an interface to have 'Interface: >'.


    Thanks for the tip. We definitely were not aware of this.


    Some of the fixes for V8.2 issues went into 8.3 instead of into an 8.204.  Again, your issue isn't the version, but I would suggest that you Up2Date to 8.301 when convenient.


    He's right.  In fact, if you're using the 'Transparent mode skiplist' on the 'Advanced' tab, then you must be in "Transparent" mode as the skiplist only is effective in Transparent.  Since you spoke of creating a DNS Host definition with the users computer name, I suspect you have Active Directory.

    Using "Active Directory - SSO" authentication allows you to create Security Groups in AD and to manage people's web access based on the AD group that they're in.  It's truly a powerful, granular tool.  If you want to set that up, start with HTTP/S Proxy Access with AD-SSO (Caution, the section "Configure User Authentication" should be eliminated as it has no effect on AD-SSO and can cause problems in larger organizations).

    Having said all that, I suspect that your problem with the exception is that you don't have the necessary URLs listed - that's why my first post here asked for the line(s) from the Content Filter (HTTP/S) (in 8.2, I think.  In 8.3, it's been renamed to Web Filtering) log file.

    Cheers - Bob


    We were basically adding youtube.com as the URL to an exception for his hostname, which did open the site itself -- just not the video content. I do have a 'Web Filtering' section, but only have a live log option. I do not see a section called 'HTTP/S.' Am I looking in the wrong place?
Children

  • We were basically adding youtube.com as the URL to an exception for his hostname, which did open the site itself -- just not the video content. I do have a 'Web Filtering' section, but only have a live log option. I do not see a section called 'HTTP/S.' Am I looking in the wrong place?


    Live log option should work fine if you can capture the moment so to speak, but you can find also find this log option, both live and archived, under Logging and Reporting -> View Log Files -> Web Filtering

    Sill, I'm not sure where you've created the exception. According to the info you gave You have Web Filtering enabled, Transparent mode, No authentication method. You then have URL filtering set where multimedia sites are blocked, either by using the whitelist or blacklist method and have created an exception list for Youtube url , originating from the dns hostname of your user. Correct?

    You could check the 'Advanced' section to see if the option 'Bypass content scanning for streaming content' is enabled. If not, this could be a possible cause.

    And if your user is running a Windows 7 64 bit and trying to view Youtube though Internet Explorer, be sure that he is using the 32 bit Internet Explorer. 64 bit Internet Explorer does not support flash as far as I know...

  • Sill, I'm not sure where you've created the exception. According to the info you gave You have Web Filtering enabled, Transparent mode, No authentication method. You then have URL filtering set where multimedia sites are blocked, either by using the whitelist or blacklist method and have created an exception list for Youtube url , originating from the dns hostname of your user. Correct?


    This is correct.

    You could check the 'Advanced' section to see if the option 'Bypass content scanning for streaming content' is enabled. If not, this could be a possible cause.


    This option is enabled.

    And if your user is running a Windows 7 64 bit and trying to view Youtube though Internet Explorer, be sure that he is using the 32 bit Internet Explorer. 64 bit Internet Explorer does not support flash as far as I know...


    Everyone is on 32-bit here.

    Is it possible that this is some kind of bug? I would attempt to get something from the logs but wouldn't know what to look for, and opening the logs causes my computer to freeze.
  • No bug that I know of.

    Like Balfson said, it is important to see what the log shows, since it might list URL's that also need to be in the exception list.

    Opening logs should not cause your computer to freeze, but there are several ways to get the info, perhaps the following will work:

    If live log causes your system to freeze, have the user make the attempt, then try Logging and Reporting -> View Log Files -> Search Log files. Log File to Search=Web Filtering, Search term  , Select Time frame today. Then post the most recent entries that will show, starting with the first line where youtube is mentioned.
  • khardeveld,

    I managed to capture some data after attempting to access the YouTube videos. However, the files are apparently exceeding the 19 KB attachment limit here (they're both 20+ KB) and when I paste them into the body of this message, they are exceeding the maximum character length allowed. What should I be looking for so that I can paste it? Thanks.

    Edit:

    Here are a couple of lines in case it helps any:

    2012:04:05-11:22:45 astaro httpproxy[6154]: id="0001" severity="info" sys="SecureWeb" sub="http" name="http access" action="pass" method="GET" srcip="192.168.1.16" dstip="72.14.204.91" user="" statuscode="301" cached="0" profile="REF_DefaultHTTPProfile (Default Proxy)" filteraction="REF_DefaultHTTPCFFAction (Default content filter action)" size="0" request="0xc2f70488" url="youtube.com/" exceptions="content,url" error="" 
    2012:04:05-11:22:45 astaro httpproxy[6154]: id="0001" severity="info" sys="SecureWeb" sub="http" name="http access" action="pass" method="GET" srcip="192.168.1.16" dstip="72.14.204.190" user="" statuscode="200" cached="0" profile="REF_DefaultHTTPProfile (Default Proxy)" filteraction="REF_DefaultHTTPCFFAction (Default content filter action)" size="175422" request="0xc5e45488" url="www.youtube.com/.../html" 
    2012:04:05-11:22:45 astaro httpproxy[6154]: id="0001" severity="info" sys="SecureWeb" sub="http" name="http access" action="pass" method="GET" srcip="192.168.1.16" dstip="173.194.73.147" user="" statuscode="302" cached="0" profile="REF_DefaultHTTPProfile (Default Proxy)" filteraction="REF_DefaultHTTPCFFAction (Default content filter action)" size="295" request="0xc4467468" url="www.google.com/.../103602492921947740476
    2012:04:05-11:22:45 astaro httpproxy[6154]: id="0001" severity="info" sys="SecureWeb" sub="http" name="http access" action="pass" method="GET" srcip="192.168.1.16" dstip="72.14.204.138" user="" statuscode="200" cached="0" profile="REF_DefaultHTTPProfile (Default Proxy)" filteraction="REF_DefaultHTTPCFFAction (Default content filter action)" size="16965" request="0xb59db68" url="i1.ytimg.com/.../jpeg" 
    2012:04:05-11:22:45 astaro httpproxy[6154]: id="0001" severity="info" sys="SecureWeb" sub="http" name="http access" action="pass" method="GET" srcip="192.168.1.16" dstip="72.14.204.138" user="" statuscode="200" cached="0" profile="REF_DefaultHTTPProfile (Default Proxy)" filteraction="REF_DefaultHTTPCFFAction (Default content filter action)" size="1849" request="0xc4b5ee60" url="i1.ytimg.com/.../1.jpg
  • Typically we wouldn't need such large files, just the one with the lines that indicate the problem. You could then either attach them of use the 'CODE' tag (which makes a better read) [:)]

    What you would typically be looking for are 'blocked' messages, if that would be the cause of something not getting throught. So instead of :

    2012:04:05-11:22:45 astaro httpproxy[6154]: id="0001" severity="info" sys="SecureWeb" sub="http" name="http access" action="pass" method="GET" srcip="192.168.1.16" dstip="72.14.204.91" user="" statuscode="301" cached="0" profile="REF_DefaultHTTPProfile (Default Proxy)" filteraction="REF_DefaultHTTPCFFAction (Default content filter action)" size="0" request="0xc2f70488" url="youtube.com/" exceptions="content,url" error="" 


    You'd expect something like:

    2012:04:05-11:22:45 astaro httpproxy[6154]: id="0001" severity="info" sys="SecureWeb" sub="http" name="web request blocked" action="blocked" method="GET" srcip="192.168.1.16" dstip="72.14.204.91" user="" statuscode="301" cached="0" profile="REF_DefaultHTTPProfile (Default Proxy)" filteraction="REF_DefaultHTTPCFFAction (Default content filter action)" size="0" request="0xc2f70488" url="youtube.com/" exceptions="content,url" error="Forbidden category" 


    The lines you posted look just fine, so if there are no blocked requests other then the ones dealing with response timeouts or peer resets and other communication failures, it would indicate that as far as your proxy is concerned, everything is getting through.

    Most important is the syntax for the exception you created. If you just entered youtube.com, this would block eg s1.youtube.com. This would show als 'blocked' in your log

    There is a default exception rule which addresses all youtube sites for the byterange bug, so you would only need to clone that and adjust for just the specific host you want to grant access to and skip url filtering as well. 

    If still all looks well and the video will not play, then a very blunt option to test is to exclude the host in the transparent mode skiplist and temporarily   create a firewall rule at the top, granting this host access from any service to any. If youtube still won't play after that, probably something else which has nothing to do with Astaro is happening either at the host or your internal network.