Forum Discussion

8 Replies

  • The customer wants the persistence to stop when either the browser closes or the session with the application ends. The customer wants to use source_addr persistence, however, I don't see a simple way of doing it. Is there an iRule written out there that can do this?
  • Session Cookie persistence would definitely be better and would avoid iRules

     

     

    To do what you want to achieve may be really difficult since it means you'll need to create the persistency when the client establish the connection (fine) but the issue will be to identify when the client has closed all its connections. Since a Browser open several TCP connections at the same time it's quite painful and means you'll need to store some data for each client to monitor its browsing ....

     

     

    DO you know why the customer wants to achieve such a thing and not using session cookie persistence ?
  • I have a similiar requirement, but in my case the LTM is acting as a SSL pass through device. Only way I can persist is based on source IP. Now here's the problem; some clients use distributed Proxies. What I thought is to created a Data Group per client. Then somehow do a lookup to these Data Groups and then just direct each data Group to a given Node. In that way no persistance is required, the client's SSL communication does not break. The trade off is that these specific clients never get load balanced (unless there is way to select another node, only if the primary node is not available); of course everything else should be processed as per normal. Any ideas how this can be done?

     

     

    I get the feeling the irule could be pretty simple (or am I being a total novice!)
  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus
    You can load balance based on SSL id... It used to break with older versions of IE (And I admit I haven't tried doing it for a long time now, I use tend to use session cookies & SSL Offload) but might be worth having a go.

     

     

    Oh... The LB has no way of knowing if the browser closes, or session ends... There's no persistence of connection (Real TCP connection I mean)between browser & server for this to happen.

     

     

  • is it possible to reveal the source IP address for an inbound session (even if SNAT) is configured for: HTTP, HTTPS and FTP traffic?

     

     

    I appreciate your quickest help on this.
  • source ip inbound would be IP::client_addr, regardless of the protocol.