Provide support for netcat-openbsd
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
Hi!
Forwarding this from https://github.com/grml/grml/issues/264
When netcat-openbsd is present instead of netcat-traditional, then clonezilla fails with:
OpenBSD netcat is not supported!
Program terminated!!!
Would be great if netcat-openbsd could be supported as well, as it's very common among powerusers and upstream development seems to be more active.
Thanks for consideration!
PS: sorry, was trying to report this under feature-requests, but only get 403/Forbidden error there.
Thanks for your feedback.
The netcat from OpenBSD used to have an issue to receive data from stdin in the destination node when the opton "-N" is used.
I am not sure if the issue has gone or is still there.
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-openbsdin the Debian package of clonezilla, though this would also prevent clonezilla from being installed on systems where netcat-openbsd is present.If you are sure the netcat-openbsd (version >= 234) works in the remote-dest function of Clonezilla in your case, definitely we can remove that check.
Hence please confirm that. Thanks.
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
Just checked, netcat-openbsd does not behave/work as expected :(
Thanks for your feedback. In that case, I believe we'd better keep the way it is.
Just thinking further about it, would it be an option to check for the presence of the
nc.traditionalbinary also? This is the one behind the netcat-traditional package, and it can be installed next to netcat-openbsd o Debian. Thenncmight point atnc.openbsd, whilenc.traditionaldefinitely points at the expected binary fromnetcat-traditional.So within:
... as first check could be the one for
nc.traditional, like:... and then all should be good to go, and the 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!).
(And just curious, did anyone report this misbehavior in OpenBSD's netcat towards upstream already?
Last edit: Michael Prokop 2026-02-18
"as first check could be the one for nc.traditional" -> Sure, will do this.
"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.
"did anyone report this misbehavior in OpenBSD's netcat towards upstream already?" -> We did not know this issue actually, until you reported this. No one from us reported this.
Thanks! Please let me know once the check is in place so we can also push this towards Debian then :)
Already took care, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1129523
Ok, FTR - my question was meant with regards to the comment within clonezilla source:
I'd assume that this might be worth a bug report towards OpenBSD's netcat then, given that we know there seems to be a misbehavior? :)
"as first check could be the one for nc.traditional" -> It's in clonezilla package 5.15.5, and used in testing Clonezilla live 3.3.1-37.
"this might be worth a bug report towards OpenBSD's netcat" -> I believe so.
Great, thanks
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)