Acreo / DoubleDecker

Hierarchical messaging system
http://acreo.github.io/DoubleDecker/
GNU Lesser General Public License v2.1
3 stars 2 forks source link

DoubleDecker and IPv6 #9

Closed BtPht closed 7 years ago

BtPht commented 8 years ago

ZMQ supports IPv6 so the DoubleDecker should as well but it's not documented anywhere.

Has it been tested at all ?

eponsko commented 7 years ago

Setting ZSYS_IPV6=1 or using the czmq function zsys_set_ipv6() seems to be enough to activate IPv6 support. The issue in DoubleDecker is the validation and generation of the pub/sub ports, which uses zrex to apply a regular expression and extract matches. The SLRE library that zrex uses seems unable to parse the complex regex needed to validate all possible IPv6 formats. However, we only want to copy the address and capture the last :5555 port specifier, so could skip the validation.

eponsko commented 7 years ago

Added support in commit 912f8b28e78124754c39e316f87c90b7aa7951f1