Public bug reported:

Binary package hint: netcat

Not sure what's change in Lucid, but when I use -p [portnumber] with the -l 
switch, netcat shows a syntax error.  
For example, 
r...@ausar-ankh:/etc/xdg/menus# nc -l -p 12345
usage: nc [-46DdhklnrStUuvzC] [-i interval] [-P proxy_username] [-p source_port]
          [-s source_ip_address] [-T ToS] [-w timeout] [-X proxy_protocol]
          [-x proxy_address[:port]] [hostname] [port[s]]

This should launch a listener, listening on port.  That syntax report is
also different from what it used to in 9.04. While it's obvious that a
different version of netcat has been used, it should at least have the
same command line switches.  (The man page seems the same, if memory
serves).

Yes, I can open a listener by just specifying the port number without
using the -p switch, which is normal for a netcat client, but not for a
listener.

Switch compatibility should be maintained or somehow the change should
be reported to the end user.

** Affects: netcat (Ubuntu)
     Importance: Undecided
         Status: New

-- 
netcat error when using -p
https://bugs.launchpad.net/bugs/666089
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to