http post
13 TopicsCannot POST files >60KB via BIGIP LTM
Hi, My Customers are facing an issue wherein the users not able to POST files >60KB to an application abc.xyz.com hosted on BIGIP. Below is the error they see, {"errors":["errors.adt.ci.metainfo.provider.not.found "]} However, they are able to send directly to the backend server without any issues. For the above VS on BIGIP, the default HTTP profile has been attached wherein the Maximum Header Size is as around 32KB. Is there anyway to increase this file limit or solve this issue ??? Thanks in advance, MSK620Views0likes6CommentsPlease help with monitor doing a post!!!
Hi guys, I need your help please. I need to configure a monitor to do a post and get a 204, but it is not working. If I do a curl like this, I get the http 204 that I am looking: curl -X POST -sL '[http://192.168.10.131/api/rest/checks/v0/void](http://192.168.10.131/api/rest/checks/v0/void)' -H 'Authorization: Basic ZjUZjjU=' -H 'Content-Type: application/json' -d '{"data": ""}' -m 30 -v Below the monitor I configured and it is not working. ltm monitor http TEST_POST { adaptive disabled defaults-from http destination *:* interval 3 ip-dscp 0 recv "HTTP/1.1 (204)" recv-disable none send "POST /api/rest/checks/v0/void HTTP/1.1\r\nHost: 192.168.10.131\r\nAuthorization: Basic ZjUZjjU= \r\n" time-until-up 0 timeout 10 Thanks in advance and sorry in advance if the mistake is too silly.406Views0likes3CommentsCollect and resend cookie headers and values in 307 POST redirect
Hi All, I am working on a solution to trigger a APM access policy logout and afterwards send the POST request with data and headers to the external website. The reason why I do this is quiet complex and I can explain this setup in another article. The issue is that the HTTP cookies and values are not being send to the external website. So I created the following Irule and when there is an APM allowed session and the URL /logmeout is triggered the session is closed and the client receives the redirect 307 with POST method and data, but the HTTP cookies are missing from the request. I was thinking to include a set cookie for each cookie but there are several cookies here which need to be resend. Is there perhaps an easier way to retrieve the original cookies and values store them in a variable and use it in the ACCESS::respond action? perhaps using the HTTP::cookie names method will that store all cookie names and values at once? when ACCESS_ACL_ALLOWED { if { [HTTP::uri] contains "/logmeout" } { log local0. "logout requested from IP [IP::client_addr] URI [HTTP::uri] query [HTTP::query]" ACCESS::session remove ACCESS::respond 307 Location "HTTPS://myredirectwebsite[HTTP::query]" } }612Views0likes1Commentf5 LB iRule Redirection for POST method
Hello guys, I need some help here. There user is hitting the url which has a VIP1 on LB1 and from there it is getting redirected to VIP2 on LB2 using an iRule. When I used 307 redirection, it didn't work for POST method as it was coming from some SOAP UI tool (Worked for GET). Am I missing something here? Trying to check if I need to modify my rule. when HTTP_REQUEST { set uri "[HTTP::uri]"switch -glob [HTTP::uri] { "/some_uri/*" { if { [string tolower [HTTP::method]] eq "POST" } { HTTP::respond 307 Location "https://test.example.com" } } default { pool some_pool } } } Please help. Thanks, R1.1KViews0likes4CommentsPrint string found in Data Group to Log
I have an iRule that is looking in the HTTP POST request method data payload for a string that is defined in a data-group. I would like to print to the log whichever string from the referenced data-group is found. # See https://devcentral.f5.com/s/question/0D51T00006i7hpJSAQ/irule-to-block-requests-with-specific-word # #ltm data-group internal restricted_dg { #records { #restricted {} #} #type string #} when HTTP_REQUEST_DATA { set payload [HTTP::payload] if {[class match [string tolower $payload] contains "restricted_dg"]} { # set variable named restricted_text to the string found in $payload # that matches something in data-group restricted_dg log local0. "Rejecting restricted content $restricted_text" reject } }505Views1like2Commentsjavascript fails with var is undefined
We use F5 with several upstream servers without SSL termination, and after our application update we faced some strange issues with undefined variables and pending xhr requests. Is there some advices for configuring F5 for slow and big server responses, does tcp-lan-optimized profile suitable for it?260Views0likes3CommentsF5 Doesnt send POST request to ICAP
Hi All I have a VS on F5 which is an SSL Offloading VS to begin with and then also acts as content switching VS by the virtue of an irule. It also has some irules for basic stuff like Diable HTTP options in header and also redirect http to https ( well its not required but client has it there). Now I can see the F5 is sending all traffic to ICAP but that one POST for file upload. Just sends it to backend server. ICAP server here is Trend Micro Anyone faced similar issue before? We are v11.3.0 currently. Were on 11.6.1 and upgraded before I took up this issue. Let me know if you need further details.276Views0likes1CommentInspect POST Request for Existence of Username Parameter
Is it possible to to check if a username has been provided in a POST request? Could this be done via HTTP::username command or would a HTTP::collect be needed to inspect the payload of the request? Would you be able to provide an example of how this might be done via an Irule.563Views0likes1Comment