It's in clonezilla package 5.15.5, and used in testing Clonezilla live 3.3.1-37. Great, thanks "this might be worth a bug report towards OpenBSD's netcat" -> I believe so. Alright, this is already a known issue: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849192#32 (and it looks like we won't see a fix/behavior change there)
"as first check could be the one for nc.traditional" -> Sure, will do this. Thanks! Please let me know once the check is in place so we can also push this towards Debian then :) "Debian package of clonezilla could even place a dependency on netcat-traditional package (happy to take care of the according bug report towards Debian also!).: -> Please. Already took care, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1129523 "did anyone report this misbehavior in OpenBSD's netcat towards upstream...
Just thinking further about it, would it be an option to check for the presence of the nc.traditional binary also? This is the one behind the netcat-traditional package, and it can be installed next to netcat-openbsd o Debian. Then nc might point at nc.openbsd, while nc.traditional definitely points at the expected binary from netcat-traditional. So within: case "$ONTHEFLY_NET_PIPE" in netcat) # check if command is nc or netcat if command -v nc &>/dev/null; then NC_CMD="nc" elif command -v netcat...
Just thinking further about it, would it be an option to check for the presence of the nc.traditional binary also? This is the one behind the netcat-traditional package, and it can be installed next to netcat-openbsd o Debian. Then nc might point at nc.openbsd, while nc.traditional definitely points at the expected binary from netcat-traditional. So within: case "$ONTHEFLY_NET_PIPE" in netcat) # check if command is nc or netcat if command -v nc &>/dev/null; then NC_CMD="nc" elif command -v netcat...
Just checked, netcat-openbsd does not behave/work as expected :(
I'm not the actual user but forwarding this from https://github.com/grml/grml/issues/264, but I'll try to get this confirmed/verified, will keep you posted
So any reason you have to use netcat from OpenBSD? If so, which function you want to use with Clonezilla? Yes, netcat-openbsd is what's shipped on the Grml live system, so netcat-traditional isn't available there. The problem appears when starting clonezilla , choosing remote-dest and going for the restoredisk option there. Would be nice if clonezilla wouldn't abort there, otherwise I think we'd have to add an according Conflicts: netcat-openbsd in the Debian package of clonezilla, though this would...
Provide support for netcat-openbsd