home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / index / netcat.txt < prev    next >
Text File  |  1997-09-22  |  3KB  |  76 lines

  1. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  2. INDEX ENTRY FOR NETCAT:
  3. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  4.  
  5. Name: netcat - Reads or writes data across a network
  6.  
  7. Version: 1.10
  8.  
  9. Author(s): Hobbit <hobbit@avian.org>
  10.  
  11. On the CD-ROM in: network/netcat.tar
  12.  
  13. Ftp source: ftp.avian.org:/src/hacks/nc110.tgz
  14. Web page: http://www.avian.org/web1/hak/netcat.html
  15.  
  16. Size on the CD: 215 KB (uncompressed)
  17.  
  18. Description:
  19.  
  20.     Netcat is a simple Unix utility which reads and writes data across
  21.     network connections, using TCP or UDP protocol. It is designed to be
  22.     a reliable "back-end" tool that can be used directly or easily driven
  23.     by other programs and scripts. At the same time, it is a feature-rich
  24.     network debugging and exploration tool, since it can create almost
  25.     any kind of connection you would need and has several interesting
  26.     built-in capabilities. Netcat, or "nc" as the actual program is
  27.     named, should have been supplied long ago as another one of those
  28.     cryptic but standard Unix tools. 
  29.     
  30.     In the simplest usage, "nc host port" creates a TCP connection to the
  31.     given port on the given target host. Your standard input is then sent
  32.     to the host, and anything that comes back across the connection is
  33.     sent to your standard output. This continues indefinitely, until the
  34.     network side of the connection shuts down. Note that this behavior is
  35.     different from most other applications which shut everything down and
  36.     exit after an end-of-file on the standard input. 
  37.     
  38.     Netcat can also function as a server, by listening for inbound
  39.     connections on arbitrary ports and then doing the same reading and
  40.     writing. With minor limitations, netcat doesn't really care if it
  41.     runs in "client" or "server" mode -- it still shovels data back and
  42.     forth until there isn't any more left. In either mode, shutdown can
  43.     be forced after a configurable time of inactivity on the network side. 
  44.     
  45.     And it can do this via UDP too, so netcat is possibly the "udp
  46.     telnet-like" application you always wanted for testing your UDP-mode
  47.     servers. UDP, as the "U" implies, gives less reliable data
  48.     transmission than TCP connections and some systems may have trouble
  49.     sending large amounts of data that way, but it's still a useful
  50.     capability to have. 
  51.  
  52.     Some of netcat's major features are:
  53.  
  54.     + Outbound or inbound connections, TCP or UDP, to or from any ports
  55.     + Full DNS forward/reverse checking, with appropriate warnings
  56.     + Ability to use any local source port
  57.     + Ability to use any locally-configured network source address
  58.     + Built-in port-scanning capabilities, with randomizer
  59.     + Built-in loose source-routing capability
  60.     + Can read command line arguments from standard input
  61.     + Slow-send mode, one line every N seconds
  62.     + Hex dump of transmitted and received data
  63.     + Optional ability to let another program service established connections
  64.     + Optional telnet-options responder
  65.  
  66.     -- Adapted from the 1.10 README file
  67.  
  68. Advertised architectures:
  69.  
  70.     Various releases of Ultrix, BSD, SunOS, Solaris, AIX, LINUX, IRIX,
  71.     OSF/1, FreeBSD, BSDI, NetBSD, HP-UX, UnixWare, A/UX, NEXTSTEP.
  72.  
  73. Prerequisites: 
  74.  
  75.     C compiler
  76.