irule: persist http_header

Hello.

Due to a bug in 4.5 (SOL5131) we are unable to utilize cookie persistence in one of our pools. Switching to simple based IP persistence is a work around but limits us to a single node because we SSL terminate the traffic upstream which NATs all connections out as the SSL terminatation points IP. Unfortunately BigIP hasn’t release 4.7 yet which is supposed to contain a fix for this problem so we are still using a 4.5.x release and therefore looking for a workaround.

If I could persist using an irule based on http_header(“X-Forwarded-For”) it seems like it should work. However, my attempts as this have proven to be unsuccessful. Reading through the documentation it seems like the below example should have worked.

pool testing-123 {

persist http_header(“X-Forwarded-For”)

persist_timeout 180

delta1

member 192.168.20.5:8080

}

Can anyone point me in the right direction for documentation on this? Any help would be appreciated. Thanks.

Derrick

That looks correct to me. I’d check to be sure that the X-Forwarded-For is coming through properly and that all the capitilization is the same, etc.

Colin