Forum Discussion
Jason_Hook_4092
Nimbostratus
Apr 12, 2010Expose pool member in response
I would like to expose which pool member responded to the request for tracking within TrueSight in front of the VIP.
This is what I feel will work, but I'd like some feedback whether this is clean and if I can add this on to VIPs that already have iRules on them. I don't have much experience with multiple iRules on a VIP and would like to know if this would interfere with others.
LTM v10.0.1
when HTTP_RESPONSE {
Remove header if already existing to keep from getting dups
HTTP::header remove "serverIP"
Insert header with responding server IP
HTTP::header insert "serverIP" [IP::server_addr]
}
19 Replies
- Chris_Miller
Altostratus
Posted By Jason Hook on 01/12/2011 08:29 AM - Jason_Hook_4092
Nimbostratus
It was trial and error for me. - JRahm
Admin
- Chris_Miller
Altostratus
Posted By Jason Rahm on 01/12/2011 08:40 AM - fujisen
Nimbostratus
We have tons of HTTPS vip without Client SSL or even Server SSL but working fine, do you think these are working on clear text ? god help us.. - Chris_Miller
Altostratus
Posted By fujisen on 01/12/2011 08:47 AM - JRahm
Admin
What I'm saying is that there is nothing in LTM that commands you to use an serverssl profile on pool members listening on port 443. That is a well-accepted SSL port, but if you have a pool member listening on port 443 that is serving FTP, it wouldn't make much sense to try to speak ssl. Match the protocol to the server protocol, whatever that is. Many people obfuscate services by using non-standard ports. - Matt_Breedlove_
Nimbostratus
- Colin_Walker_12Historic F5 AccountYou could certainly add an HTML comment, though you would risk rechunking, certainly. This would also require that you're terminating SSL on the LTM as with the header, since you can't modify any SSL content inline without decrypting first.
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