get
4 TopicsF5 SDK help to delete a provided node on the LTM
Hello All, I'm in need of F5 SDK help to delete a provided node on the LTM. I have prepared the below scripts and for some reason the sequence is not wrong. Could you please suggest? from f5.bigip import ManagementRoot # Connect to the BigIP and configure the basic objects mgmt = ManagementRoot("x.x.x.x", "x.x.x.x", "x.x.x.x") #Enter the member name to delete member1 = input("Enter the host_name to delete ") #Get a collection of all members and load it all_members = mgmt.tm.ltm.pool.members_s.get_collection() member_delete = mgmt.ltm.pool.members_s.load(name='member1', partition='Common') # Find for a given node and Delete a node if it exists if mgmt.ltm.pool.members_s.exists(name='member1', partition='Common'): member_delete.delete() Regards, Thiyagu398Views0likes1CommentLTM Health Monitors
Hi team. I want to ask a question about health monitors. I have a Web site (www.example.com) behind the Load Balancer. I created a health monitor and I wrote send string : ''GET / HTTP/1.1\r\nHost:www.example.com\r\nConnection: Close\r\n\r\n'' I wrote recieve string : HTTP 1.1 200 OK And application is avaliable. VS is online (green circle) Then I changed receive string to : ''GET / HTTP/1.1\r\nHost:www.f5lab.com\r\nConnection: Close\r\n\r\n. So I replaced host with an unrelated name. And application is available again :) VS is online (green circle) How should we interpret this? Do you know good article or videos about send and recieve string? Thank you..446Views0likes2CommentsiRule to change HTTP GET into POST
i have an incoming GET request on my virtual server which i want to change into a POST request towards the node. in princple this would mean: change the word GET into POST change the uri to remove the query part put the query string in the content add a Content-Length header possibly add a Content-Type header but im getting stuck with turning the word GET into POST, this doesnt work: HTTP::method "POST" (error: [wrong args]), same with HTTP::request. i found this irule https://devcentral.f5.com/wiki/iRules.HTTP_mothod_conversion.ashx but it feels quite a lot of work and might not work looking at the comment. is this really so complicated or am i missing something?1.6KViews0likes4CommentsLimiting HTTP/HTTPS GET and POST Flood Attacks using an iRule
Hey folks, I am interested in seeing if there is an existing iRule that can rate limit HTTP/HTTPS GET/POST Flood Attacks. I have search DevCentral and found a few similar but many look as though they are based on individual URI's and Source IP's. In my specific instance, I want to limit based on source IP. If the source goes over the specific POST/GET limit within a specified time frame, they then are dropped automatically for a specified period of time. I have looked into ASM, but do not have a budget at this time to purchase that functionality. Any help would be appreciated.Solved699Views0likes4Comments