Hi,
after noticing this some years ago, I ran into this again: The haproxy
configuration examples and tutorials like the one at
https://www.haproxy.com/documentation/haproxy-configuration-tutorials/proxying-essentials/custom-rules/stick-tables/
propose the use of "stick-table type ip ...". While the name "ip"
suggests that this can be actually any IP address this is limiting the
stick-table to IPv4 only. To use stick-tables that work for both IPv4
and IPv6, you have to use "stick-table type ipv6 ...". This is
counter-intuitive from the naming and it's bad for all the documentation
that proposes such configurations that don't work for IPv6.
I'd propose to introduce a "ipv4" for stick-tables and make "ip" an
alias for "ipv6" as the latter one works for both IPv4 and IPv6. Second
best option would at least be to fix the documentation and make the
examples IPv6 proof.
Let me know if I should open a bug report for that.
Björn