We are using the F5 explicit proxy to proxy our HTTP and HTTPS. This doesn’t natively support ftp via the browser. We are using the ftp proxy irule for ftp client based connections from ftp software but this doesn’t support proxy connect method.
IS it possible to send the type traffic to another vip or port, does anyone know if there is a supported way of doing this.
So, I thought if “HTTP_REQUEST” could control the FTP over HTTP, “HTTP_PROXY_REQUEST” is also could, but couldn’t.
HTTP_PROXY_REQUEST
Triggered when a virtual server has proxy-mode explicit set and one of the following two scenarios are true:
・the request has a full uri of the form http://hostname:port/path (much like HTTP_REQUEST, but with access to the original uri)
・the request is a CONNECT request (e.g. CONNECT hostname:port HTTP/1.1)
After that, I tried “CLIENT_ACCEPTED” and “CLIENT_DATA” as below.
when CLIENT_ACCEPTED{
TCP::collect
}
when CLIENT_DATA{
if [ string tolower [TCP::payload 10]] contains "get ftp://" ] {
bla bla bla
pool test_pool
# In my case, I want to transfer other HTTP proxy.
}
}
But the situation is not changing, BIG-IP response HTTP Status Code 400 again.