Forum Discussion

Derrick_Karpo_2's avatar
Derrick_Karpo_2
Icon for Nimbostratus rankNimbostratus
Aug 14, 2006

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

 

  • Colin_Walker_12's avatar
    Colin_Walker_12
    Historic F5 Account
    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