Forum Discussion

Dave_Wiley's avatar
Dave_Wiley
Icon for Nimbostratus rankNimbostratus
Jan 26, 2007

LTM not forwarding FIN after putting using this iRule.

I've implementing the following iRule which for some reason stops the LTM from forwarding FINs to the back-end servers. The iRule looks at an HTTP header which contains the IP address of the pool member we need to use. We select the pool member and everything works great, but when we send a FIN from the client, the LTM never sends it on to the server. Any ideas? None of the log statements are triggered during the FIN event which is what we expect. Do I need to put in some kind of WHEN client_close as well?

 

 

 

when HTTP_REQUEST {

 

if {[HTTP::method] starts_with "CONNECT"} {

 

log local0. "HTTP Header = [HTTP::header CONNECT]"

 

set destserver [findstr [HTTP::header CONNECT] "ONNECT" 8 " "]

 

log local0. "Destination server is $destserver"

 

LB::detach

 

pool SingleVIPTest member $destserver

 

}

 

else {

 

log local0. "Rejected"

 

reject

 

}

 

}

2 Replies

  • So it turns out that this issue is not with the iRule, but a non-standard implementation of the HTTP protocol. When an HTTP profile is assigned to the VIP, it interferes with the flow of traffic. Can you use cookie persistence without enabling an HTTP profile?

     

     

    Dave
  • Colin_Walker_12's avatar
    Colin_Walker_12
    Historic F5 Account
    I don't think so, as all of the cookie commands are tied to the HTTP profile. :-/

     

     

    Colin