Forum Discussion
Gus_Thompson_11
Nimbostratus
Aug 13, 2007iRule - HTTP Response (Trigger)?
Currently we have Cookie (HASH) Persistence enabled on all our websites, and persistence between services is being kept correctly.
Our dilemma is how the F5 handles the cookies, this may or ...
Gus_Thompson_11
Nimbostratus
Aug 14, 2007Hey Aaron,
Thanks for the tip. I went ahead and created a new pool and virtual server using a wildcard (*) for the service ports. I also tried to create the iRule you listed, but I get an error message:
01070151:3: Rule [ST-lbc.TEST1] error:
line 1: [unknown event (CLIENT_CONNECTED)] [when CLIENT_CONNECTED {
switch [TCP::local_port] {
80 {
need to disable client SSL for HTTP requests
SSL::disable
}
443 {
do nothing, request will be decrypted and sent to pool
}
default {
drop or reject the request as it's not an allowed port
reject
}
}
}]Here's a dumb question, (new to iRules) will this iRule affect only the virtual server I assign it to, or is this a global rule? I can't take too many risks only because our F5 cluster is load balancing production sites. One more question, how do I limit or assign the iRule to a specific virtual server?
Thanks for your help,
Gus
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
