Hi,

On Wed, Feb 20, 2008 at 12:35:03PM -0800, Jesse Gordon wrote:
> Netcat (the command nc) is also good -- it is like telnet, but it can 
> establish connections either as a client or server, and it can also work 
> in UDP mode like a UDP telnet client and server. It can also port scan, 
> I believe.

Building on Dustin's example, you can also use netcat to listen.  For
example, to listen on port 80:

  nc -l -p 80  

to listen bound to a specific local address:

  nc -l -p 443 -s 192.168.0.15

"man nc" has all kinds of details, including timeouts, etc.

-Kees

-- 
Kees Cook
Ubuntu Security Team

-- 
ubuntu-server mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Reply via email to