Forum Discussion
Wasfi_Bounni
Cirrocumulus
Nov 05, 2020How 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...
- 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: https://clouddocs.f5.com/api/irules/HSL__open.html
when CLIENT_ACCEPTED { set hsl [HSL::open -proto UDP -pool <HSL pool>] HSL::send $hsl "Client connect from [IP::client_addr]:[TCP::client_port]" }
PeteWhite
Employee
Nov 09, 2020Not 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: https://clouddocs.f5.com/api/irules/HSL__open.html
when CLIENT_ACCEPTED {
set hsl [HSL::open -proto UDP -pool <HSL pool>]
HSL::send $hsl "Client connect from [IP::client_addr]:[TCP::client_port]"
}
boneyard
MVP
Nov 15, 2020did the answer by Pete work for you Wasfi Bounni? if so please flag question as answered.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects