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

Viber attachments can't be sent from iPhone with Web Filtering turned on

I am having problem sending photos using Viber when Web Filtering is turned on. I am getting this error:

2017:11:09-23:14:49 utm httpproxy[5684]: id="0003" severity="info" sys="SecureWeb" sub="http" request="(nil)" function="http_parser_context_execute" file="http_parser_context.c" line="97" message="Unable to parse a http message of 864 bytes (HPE_INVALID_METHOD: invalid HTTP method)"
2017:11:09-23:14:49 utm httpproxy[5684]: id="0003" severity="info" sys="SecureWeb" sub="http" request="0xcc820600" function="read_request_headers" file="request.c" line="1555" message="unable to parse a http message on handler 84 (Success)"
2017:11:09-23:15:02 utm httpproxy[5684]: id="0003" severity="info" sys="SecureWeb" sub="http" request="(nil)" function="http_parser_context_execute" file="http_parser_context.c" line="97" message="Unable to parse a http message of 864 bytes (HPE_INVALID_METHOD: invalid HTTP method)"
2017:11:09-23:15:02 utm httpproxy[5684]: id="0003" severity="info" sys="SecureWeb" sub="http" request="0xcc821200" function="read_request_headers" file="request.c" line="1555" message="unable to parse a http message on handler 83 (Success)"
2017:11:09-23:15:15 utm httpproxy[5684]: id="0003" severity="info" sys="SecureWeb" sub="http" request="(nil)" function="http_parser_context_execute" file="http_parser_context.c" line="97" message="Unable to parse a http message of 864 bytes (HPE_INVALID_METHOD: invalid HTTP method)"
2017:11:09-23:15:15 utm httpproxy[5684]: id="0003" severity="info" sys="SecureWeb" sub="http" request="0xcc821800" function="read_request_headers" file="request.c" line="1555" message="unable to parse a http message on handler 80 (Success)"
20
 
I am using UTM 9 latest version 9.505-4, pattern version 134826. Web filtering is used as Standard Mode as proxy server. I've tried to turn off all options from policy, to make it guaranteed to work, but it won. Once I turn off Web Filtering, everything works without problem.
 
Any ideas?


This thread was automatically locked due to age.
Parents
  • HPE_INVALID_METHOD: invalid HTTP method

    You will need to configure your iPhone to skip the Proxy for this.

    Cheers - Bob

     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • How to do that? 

    I've tried to modify Proxy Auto Configuration PAC Script to go directly for Viber addresses:

    if (
    isInNet(dnsResolve(host), "54.225.0.0", "252.0.0.0") ||
    isInNet(dnsResolve(host), "54.197.0.0", "252.128.0.0")
    )

    and it is not working... I have no idea is it because ip addresses are not in that range, or something else... but those are only ranges I could founf for Viber...

Reply
  • How to do that? 

    I've tried to modify Proxy Auto Configuration PAC Script to go directly for Viber addresses:

    if (
    isInNet(dnsResolve(host), "54.225.0.0", "252.0.0.0") ||
    isInNet(dnsResolve(host), "54.197.0.0", "252.128.0.0")
    )

    and it is not working... I have no idea is it because ip addresses are not in that range, or something else... but those are only ranges I could founf for Viber...

Children
  • I found only a single IP for viber.com, and that wasn't in either range.  What FQDNs do you see in the Web Filtering log that might be related to these accesses?

    Cheers - Bob

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