netcat-traditional 和 netcat-openbsd 有什么区别?

par*_*hon 38 netcat

netcat-traditional和之间的显着差异(如果有)是netcat-openbsd什么?

我很难找到任何相关信息。任何熟悉的人可以提供一些见解?

Mal*_*ppa 34

您可以使用apt-cache show. 他们都说了:

$ apt-cache show netcat-traditional 
...
 This is the "classic" netcat, written by *Hobbit*. It lacks many
 features found in netcat-openbsd.
...
$ apt-cache show netcat-openbsd 
...
 This package contains the OpenBSD rewrite of netcat, including support
 for IPv6, proxies, and Unix sockets.
...
Run Code Online (Sandbox Code Playgroud)

因此,显着差异如上所述。OpenBSD 重写支持传统实现所缺乏的 IPv6、代理和 Unix 套接字。在实践中,如果您不需要任何这些,您将不会注意到任何区别。


Asw*_*ran 11

netcat-traditional包括-e从远程 shell 执行程序的选项,这在netcat-openbsd 中不存在

  • 此外,显然,传统的缺少几个选项,例如“-z”选项,该选项指定“nc”应该只扫描监听守护进程,而不向它们发送任何数据。 (5认同)