FREEBIND support for IRC IPv6 sockets #274

Open
opened 2026-10-05 04:09:19 +02:00 by adam · 0 comments
Owner

ZNC should have freebind support for IPv6/(IPv4?) sockets.
As IPv6 allocations are huge, /64 blocks being default, it would be a very useful feature.

Currently, it's possible, on Linux, to route blocks to loopback, but ZNC won't bind to the addresses because they're not defined on the default interface (eth0 in my case)
This regards the sockets from ZNC to IRC networks.

Supposed solution:

  1. define IPv6 blocks in ZNC config, not as bindhost, but as FREEBIND IPv6 blocks
  2. if BindHost is part of a FREEBIND block, set that option on the socket, otherwise, bind normally.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

ZNC should have freebind support for IPv6/(IPv4?) sockets. As IPv6 allocations are huge, /64 blocks being default, it would be a very useful feature. Currently, it's possible, on Linux, to route blocks to loopback, but ZNC won't bind to the addresses because they're not defined on the default interface (eth0 in my case) This regards the sockets from ZNC to IRC networks. Supposed solution: 1) define IPv6 blocks in ZNC config, not as bindhost, but as FREEBIND IPv6 blocks 2) if BindHost is part of a FREEBIND block, set that option on the socket, otherwise, bind normally. ## <bountysource-plugin> Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1328334-freebind-support-for-irc-ipv6-sockets?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github). </bountysource-plugin> <!-- github-sync-id:22862583 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#274