Forum Discussion
ashish_solanki
Cirrus
Jun 14, 2019Need to apply profile with script
Hi All, Need some help in creating a script in which I have to apply X-forwarded-for feature enabled http profile on already working 100's of VIPs on physical or virtual load balancer. Th...
- Jun 17, 2019
Hello Ashish
1) awk '{ print $3 }' = separate the previous output by spaces and take the third value.
https://en.wikipedia.org/wiki/AWK
2) xargs -l {} = take the stdin (by line) and use it in the next command when characters '{}' are shown.
https://en.wikipedia.org/wiki/Xargs
BTW, I would appreciate if you mark my answer as "the best" or give me some upvote.
KR,
Dario.
No. The response is not length delimited. Since only one response is returned at a time and the end of response is always marked with EOT, even the response is segmented into several packets, the last one should always end with EOT, unless something happens and part of the response gets lost (rare case, right?)
What should I put in the %TODO% section within the USER_RESPONSE event? Since the main logic of analyzing and routing the request is implemented in the CLIENT_DATA event, should I copy the same piece of codes here?
Thx
- In 10.x, there is a mapping of HTTP class to one ASM web app to one active ASM policy. In 11.x they removed the concept of a webapp, so the mapping should be HTTP class to policy. Regardless, you can assign the same ASM policy to multiple virtual servers using the same HTTP class. If you want to use different HTTP class filters with the same ASM policy, you could use a single HTTP class and select it from an iRule using HTTP::class select class_name:
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects