Forum Discussion

Wasfi_Bounni's avatar
Icon for Cirrocumulus rankCirrocumulus
Nov 05, 2020

How can I use an irule to send the client's source IP over HSL without sending everything else?

Hi;   My question is related to the i-rule below. How can I define a HSL publisher with a filter and avoid sending all types of messages associated with that filter so that only a message showing...
  • PeteWhite's avatar
    Nov 09, 2020

    Not too sure quite what you want but you can use the HSL command to create the HSL connection directly instead of going through a publisher:

      set hsl [HSL::open -proto UDP -pool <HSL pool>]
      HSL::send $hsl "Client connect from [IP::client_addr]:[TCP::client_port]"