Forum Discussion

kridsana's avatar
kridsana
Icon for Cirrocumulus rankCirrocumulus
Feb 06, 2018

irule Client Accept and HTTP request conflict ?

Hi

 

We currently using VS performance L4 type with fastl4 profile. as a outbound to internet.

 

If we have irule

 

when CLIENT_ACCEPTED choose pool A

 

but follow with when HTTP_REQUEST if host == choose pool B

 

and when user connect to . Is this will working?

 

because customer will do 3-way handshake with destination in pool A but send HTTP traffic to pool B.

 

If it's not working, how this to be done?

 

Thank you

 

3 Replies

  • Surgeon's avatar
    Surgeon
    Ret. Employee

    This not going to work. If you want to do pool selection based on HTTP host then it needs to be standard vip with ssl and http profiles applied.

     

    HTTP_REQUEST event requires HTTP profile. In order decrypt traffic ssl profiles need to be used

     

  • You can’t apply HTTP_REQUEST event irule to performance L4 virtual server. Standard mode is required.

     

    Then if you change the mode, the CLIENT_ACCEPTED will first assign the pool. But no traffic will be sent to the server yet. Then when first request is received, if the host header matches the HTTP_REQUEST condition, the new pool assignment will be applied.

     

    In the same client side tcp connection, you can change multiple times the pool assignment.

     

  • Thank you

     

    May I ask more question?

     

    Is Performance L4 and standard VS have different speed? (I think Perf L4 is faster due to asic chip but... )

     

    Is it significant?