F5 BIG-IP load balancer persistence cookies

BIGipServerexample.com_80_pool=<encoded_ip>.<encoded_port>.<flags>
  • <encoded_ip>: encoded backend IP address (IP address in little-endian format)

  • <encoded_port>: encoded backend port (<port_number> * 256)

  • <flags>:flags (usually unused)

Decode example

IP Address

  • Convert to hex:

  • Split into bytes (little-endian → reverse):

  • Convert to decimal:

  • Backend IP = 10.181.120.10

Port

  • Decode the port

  • Write th following script BigIP_cookie_decoder.py:

  • Run the script

Last updated