Forum Discussion

Ivan_Blesa_2004's avatar
Ivan_Blesa_2004
Icon for Nimbostratus rankNimbostratus
Jun 24, 2015

ICAP inspection with SWG for HTTP and HTTPS

I have deployed SWG with the iApp provided in https://devcentral.f5.com/codeshare/f5-secure-web-gateway-iapp-template I have added ICAP Request and Response inspection for HTTP and HTTPS. If I select...
  • mikeshimkus_111's avatar
    Jun 24, 2015

    I've found that the HTTP VS generally never receives any traffic when using the explicit proxy, probably because most clients don't use the HTTP CONNECT method for unencrypted requests. Meaning that the HTTP proxy won't be triggered and the traffic will just be forwarded out the default route on your BIG-IP.

    I ran into this issue when trying to enable AAM on the proxy_vs, and worked around it using this iRule:

    when HTTP_PROXY_REQUEST {
         traffic passed through to the HTTPS VS where web acceleration is enabled
        WAM::disable
    }
    when HTTP_REQUEST {
         web acceleration enabled non-proxy HTTP requests
        WAM::enable
    }
    

    I don't know if there's an equivalent command to enable/disable ICAP.