Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: IPv6 socket support #5

Open
vanrein opened this issue Jul 30, 2020 · 1 comment
Open

Feature Request: IPv6 socket support #5

vanrein opened this issue Jul 30, 2020 · 1 comment

Comments

@vanrein
Copy link

vanrein commented Jul 30, 2020

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.

@elric1
Copy link
Owner

elric1 commented Jul 30, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants