Forum Discussion
RiverFish
Altostratus
Oct 04, 2012Newby needs irule help
Greetings. The software guys assigned this task to me, can anyone please help me come up with an irule?
"Please write an IRule or some kind of filter that inspects the last_login Cookie in the H...
RiverFish
Altostratus
Oct 05, 2012They have modified their request. Any help would be much appreciated. New request below:
I'd like to make a modification to this request if we can. After further investigation we think it would be better to grep/filter the Response HTTP Header for a custom header we set instead of the last_login Cookie.
We place the following header in the HTTP response when we have ARMON enabled on our side.
The token to filter on is NTTN_ARMON
Here's a example header
Response Headers
HTTP/1.1 200 OK
Date: Fri, 05 Oct 2012 18:19:33 GMT
Transfer-Encoding: chunked
Content-Type: text/html; charset=ISO-8859-1
Host-Address: 10.204.4.239
NTTN_ARMON: jsmith,420,1348
Host-Name: jsmith
X-Powered-By: Servlet/2.5 JSP/2.1
If we can sniff the response headers for:
// all users
NTTN_ARMON
// and for a specific user
NTTN_ARMON: ${some-username}
then write/log an output of
[time-f5-saw-response], [content of NTTN_ARMON header]
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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