Forum Discussion
FTP from a browser via explicit proxy.
Hi Peter
I am also trying to solve a same situation, but I can't.
I'm using HTTP_PROXY_REQUEST on iRule, but HTTP_PROXY_REQUEST can't control the "ftp://".
Mr.totof said work fine in the case of the "HTTP_REQUEST".
https://devcentral.f5.com/s/feed/0D51T00006i7RYsSAM
So, I thought if "HTTP_REQUEST" could control the FTP over HTTP, "HTTP_PROXY_REQUEST" is also could, but couldn't.
HTTP_PROXY_REQUEST
https://clouddocs.f5.com/api/irules/HTTP_PROXY_REQUEST.html
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.
Someone, do you have any ideas?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
