Nmap Development mailing list archives
Re: ncat 5.10BETA handling of -l -p is not compatible with nc-1.10
From: David Fifield <david () bamsoftware com>
Date: Fri, 8 Jan 2010 09:57:13 -0700
On Fri, Jan 08, 2010 at 05:32:00PM +0100, Denys Vlasenko wrote:
Every reimplementation of netcat seems to try to break this syntax: nc -l -p 123 # listen on local port 123 GNU nc, openbsd's nc all have it broken. And ncat is no exception. "You too, Brutus". IIRC they even break it in different ways - they have different ways to specify local port: as a parameter to -l option, as a standalone port parameter etc... AARRGGHH...
Yeah, it's a mess. It's impossible to be compatible with everybody. In this case there's an easy solution. If you run the above command, Ncat says: Ncat: -l and -p are incompatible. Specify the address and port to bind to like you would a host to connect to. QUITTING. Since the program obviously knows what you want, it should just do it instead of telling you to change your command. David Fifield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- ncat 5.10BETA handling of -l -p is not compatible with nc-1.10 Denys Vlasenko (Jan 08)
- Re: ncat 5.10BETA handling of -l -p is not compatible with nc-1.10 David Fifield (Jan 08)
- Re: ncat 5.10BETA handling of -l -p is not compatible with nc-1.10 Fyodor (Jan 08)
- Re: ncat 5.10BETA handling of -l -p is not compatible with nc-1.10 Denys Vlasenko (Jan 09)
- Re: ncat 5.10BETA handling of -l -p is not compatible with nc-1.10 Kris Katterjohn (Jan 10)
- Re: ncat 5.10BETA handling of -l -p is not compatible with nc-1.10 Denys Vlasenko (Jan 10)
- Re: ncat 5.10BETA handling of -l -p is not compatible with nc-1.10 Kris Katterjohn (Jan 10)
- Re: ncat 5.10BETA handling of -l -p is not compatible with nc-1.10 Denys Vlasenko (Jan 10)
- Re: ncat 5.10BETA handling of -l -p is not compatible with nc-1.10 Kris Katterjohn (Jan 10)
- Re: ncat 5.10BETA handling of -l -p is not compatible with nc-1.10 Denys Vlasenko (Jan 10)
- Re: ncat 5.10BETA handling of -l -p is not compatible with nc-1.10 Fyodor (Jan 12)
- Re: ncat 5.10BETA handling of -l -p is not compatible with nc-1.10 Denys Vlasenko (Jan 09)
- Re: ncat 5.10BETA handling of -l -p is not compatible with nc-1.10 Jon Kibler (Jan 11)