CodeShare
Have some code. Share some code.
1273 PostsHave some code. Share some code.
1273 PostsFreeform articles, written by members of the community.
36 PostsCode is community submitted, community supported, and recognized as ‘Use At Your Own Risk’. Short Description This solution resulted from a question on how to get all the stats from pool members of all partitions in one iControl REST method call. I c...
Sanitized version of an iRule. It’s main function is to take a cookie from a HTTP Response; put the value into a table and then insert into a HTTP request.The switch statement section has been stripped right back. So please re-construct to your own n...
Code is community submitted, community supported, and recognized as ‘Use At Your Own Risk’. Short Description In this article, I will explore how to create a graphical representation of a virtual server using Python Flask, Pyvis libraries, and the IC...
Nowadays the F5 XC Distributed Cloud is all the rage for shadow API discovery and schema learning as seen in https://docs.cloud.f5.com/docs/how-to/app-security/apiep-discovery-control and for a good reason! The F5 BIG-IP does not have this option ...
iRules allow you to parse the payload of the data passing through the BIG-IP and, at wire speed, execute an entire script of commands on that traffic.They allow you to log and redirecting traffic, modify the URI or port or to rewrite the payload itse...
Problem Statement :Hints -Many people have encountered this issue while performing a configuration review/changes on F5, and our patience may have also been tested at times, but there is a solution to this problem.The page load of the Configuratio...
Code is community submitted, community supported, and recognized as ‘Use At Your Own Risk’. Short Description I was today years old when I found out you could upload external data-group files to the GUI. I couldn't figure out the format, however, un...
Description If you have a Proxy in front of the BIG-IP and all the client IP are source Natted, You can still restrict access to the Virtual if the client IP address is inserted by the proxy as HTTP Header X-Forwarder-For Environment iRuleLTM Ca...
Hello fellow F5ers,the description of the F5 Ansible-Module "bigip_command" states it would "[...]Run TMSH and BASH commands on F5 devices[...]"Scrolling through the documentation, you will only see tmsh commands. When you try to run a direct bash co...
Code is community submitted, community supported, and recognized as ‘Use At Your Own Risk’. Short Description The provided iRule language definition can be used to highlight iRule code within websites using the Prism.js framework. Problem solved by t...
Code is community submitted, community supported, and recognized as ‘Use At Your Own Risk’. Short Description asmevents is a python code to pull security events based on request status using REST APIs. Problem solved by this Code Snippet The system s...
If you (like some of my customers) want to have the BIG-IP Edge Client packaged and distributed as a software package within your corporate infrastructure and therefore have switched off automatic component updates in your connectivity profiles, you ...
Whether you’re playing around with some new NGINX features, the latest F5 release or maybe just some generic servers or systems you always wanted to have a look at, having a lab environment is extremely useful. I’ve been running lab environments for...
Code is community submitted, community supported, and recognized as ‘Use At Your Own Risk’. Short Description An iRule based solution for GSLB with Split DNS (that is, one answer for internal users, one for external users). Problem solved by this...
Hello Everyone, Sometimes we need to save our configuration after big modifications to a stable point. I know that we can take a user configuraton set "UCS" to save our Configuration with the new modification , But what about defining a new object o...
I found it interesting about the different ways to deploy AS3 declarations with Ansible and Terraform and I will provide some examples and a comparison at the end of the Article. My examples below are based on the links that are in the codeshare a...
Code is community submitted, community supported, and recognized as ‘Use At Your Own Risk’. Short Description The major design goal of the 'Natural Speech' expression language is to enable humans to write complex search expressions without having to ...
Code is community submitted, community supported, and recognized as ‘Use At Your Own Risk’. Article K175: Transferring files to or from an F5 system discuss the secure transfer of files, whereas almost all the remote host machine will have password-b...
Code is community submitted, community supported, and recognized as ‘Use At Your Own Risk’. Short Description This short iRule snippet can change specific directives in a content-security-policy header. The script is only roughly tested, but maybe we...
1 . F5 XC distributed cloud HTTP Header manipulations In the F5 XC Distributed Cloud some client information is saved to variables that can be inserted in HTTP headers similar to how F5 Big-IP saves some data that can after that be used in a iRule...
Code is community submitted, community supported, and recognized as ‘Use At Your Own Risk’. Short Description check LTM which VS enable ssl offload and extract its ssl profile binding cert, chain information and key name, include expirationDate, exp...
Following up on my previous community article about Layer 7 Content Switching in F5 Distributed Cloud (XC) I wanted to share my experience setting up persistence. Again the terms used in XC differ from the terms we are used to from BIG-IP, but they a...
Code is community submitted, community supported, and recognized as ‘Use At Your Own Risk’.Short DescriptionGTM type A and AAAA NetworkMap to a json with python f5-sdk, code support check AS3 wideip.test well in BIGIP VE V14.1.5 and V16.1.2, code sho...
Many of us are well-versed in setting up Layer 7 Content Switching, based on an URL Path or based on the Host header, with iRules or with LTM Local Traffic Policies. Now I have been tasked to setup Layer 7 Content Switching based on the Host header ...
Wanted to share the below method for deleting AS3 tenant's as it wasn't documented . You can use the HTTP delete method; but if an admin misses the tenant name after /declare/ it would wipe out all tenants!If you POST the below body to the 'https://{...
On the new F5OS devices a new RESTCONF based API interface is used that allows everything to be done via that API. Now you can even send API command to make F5 to export the configuration file in outbound connection with HTTPS/SCP and this is an e...
Code is community submitted, community supported, and recognized as ‘Use At Your Own Risk’.Short DescriptionWith this code, you can obtain your network map, and save it a json file.Problem solved by this Code SnippetBy default capabilities of IContro...
Code is community submitted, community supported, and recognized as ‘Use At Your Own Risk’. Short Description The F5-RADIUS-HealthMonitor-Builder iRule can be used to compute tailordered UDP payload SEND/RECV strings to health monitor RADIUS Server i...
Code is community submitted, community supported, and recognized as ‘Use At Your Own Risk’. Short Description A tool that makes developing logstash pipelines much much easier. Problem solved by this Code Snippet Oh. The problem... Have you ever tr...
Code is community submitted, community supported, and recognized as ‘Use At Your Own Risk’. Short Description The iRule based RADIUS Server Stack can be used to turn a UDP-based Virtual Server into a flexible and fully featured RADIUS Server, includi...
We are an online community of technical peers dedicated to supporting learning, exchanging ideas, and solving problems - together.