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

proposal: use netcat-openbsd as default netcat and remove netcat as a default package #19411

Closed
nhooyr opened this issue Oct 10, 2016 · 6 comments

Comments

@nhooyr
Copy link
Contributor

nhooyr commented Oct 10, 2016

The reason for switching over to BSD netcat is that the GNU netcat does not support IPv6. I found this very surprising because it would dial on IPv4 localhost while my application was listening on IPv6 localhost.

Also, I don't think this should be a default package because I don't think anything else that is default depends on it. If anyone wants it, they can easily install it.

@NeQuissimus
Copy link
Member

I would second this, I have run into the same thing. And since we already have netcat-openbsd, a switch of defaults should be trivial.

@Mic92
Copy link
Member

Mic92 commented Oct 22, 2016

So netcat becomes gnu-netcat and netcat-openbsd becomes netcat.

@nhooyr
Copy link
Contributor Author

nhooyr commented Oct 22, 2016

Exactly.

@sternenseemann
Copy link
Member

I will implement this.

@CMCDragonkai
Copy link
Member

GNU Netcat also doesn't support unix domain sockets.

sternenseemann added a commit to sternenseemann/nixpkgs that referenced this issue Oct 30, 2016
The motivation for this change is the following: As gnu-netcat,
e. g. does not support ipv6, it is not suitable as default netcat.

This commit also fixes all obvious build issues caused by this change.
@sternenseemann
Copy link
Member

sternenseemann commented Nov 3, 2016

PR was merged (#19982). Close?

@nhooyr nhooyr closed this as completed Nov 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants