knc icon indicating copy to clipboard operation
knc copied to clipboard

Feature Request: IPv6 socket support

Open vanrein opened this issue 4 years ago • 1 comments

Can you please support IPv6 addresses and sockets?

I'd love to use knc as a demo or as a trivial security wrapper in our IPv6-only setup but it is lacking in KNC.

FYI, this is how I usually handle IPv4-and-IPv6-support in sockets: socket.h and socket.c files.

If your default bind is to :: you automatically include 0.0.0.0 of course.

vanrein avatar Jul 30 '20 09:07 vanrein

So, we're close. {{knc(1)}} already supports IPv6 on the client side---and you can run it out of inetd(8) or xinetd(8) on an IPv6 socket which is a quick work-around.

elric1 avatar Jul 30 '20 13:07 elric1