Upgrade netcat a lot. Make -e able to take the rest of the command line as

what to exec.  Add -f mode and a brief explanation of how to use it to replace
minicom.  Add -l -l mode so you can turn any command into a server.  And group
all of netcat's command line options under two CONFIG entries, so if you
disable both it doesn't use getopt at all.
This commit is contained in:
Rob Landley
2006-07-10 19:45:20 +00:00
parent 5d8843e451
commit 1cca9484db
4 changed files with 146 additions and 117 deletions

View File

@@ -446,13 +446,21 @@ config CONFIG_NC
A simple Unix utility which reads and writes data across network
connections.
config CONFIG_NC_GAPING_SECURITY_HOLE
bool "gaping security hole"
config CONFIG_NC_SERVER
bool "Netcat server options (-lp)"
default n
depends on CONFIG_NC
help
Add support for executing a program after making or receiving a
successful connection (-e option).
Allow netcat to act as a server.
config CONFIG_NC_EXTRA
bool "Netcat extensions (-eiw and filename)"
default n
depends on CONFIG_NC
help
Add -e (support for executing the rest of the command line after
making or receiving a successful connection), -i (delay interval for
lines sent), -w (timeout for initial connection).
config CONFIG_NETSTAT
bool "netstat"