Hi all,

the fetch method 'src' is returning an IP address with type 'ip'.
As soon as I use it with %[src] I get a human readable string
representation of that ip address. That means I have something
like ip2str converter.

Is there a converter in HAProxy to get the binary representation
of that ip address?

IPv4 is 4 bytes. IPv6 is 16 bytes.

Something like src,ip2bin which would be a 4 byte binary for IPv4
and a 16 byte binary for IPv6?

Best regards
Andreas



Reply via email to