Network Security

Netcat – network connection and debugging utility

Netcat is a command-line networking utility for reading and writing data over TCP and UDP connections. It can establish outbound connections, listen for incoming traffic and relay information between network endpoints. The program is a reimplementation of the original Netcat utility, with additional functionality for connection handling and tunnelling.

The tool is useful for inspecting network services, testing connectivity and transferring data between programs over a network. Its relatively simple interface makes it suitable for interactive use as well as incorporation into shell scripts. GNU Netcat can operate as a client, a listener or an intermediary between connections, allowing administrators to investigate how services respond to transmitted data. It also includes basic port-scanning and diagnostic functions, although it is not intended to replace a dedicated network discovery framework.

This is free and open source software.

Key Features

  • Establish outbound TCP and UDP connections to specified hosts and ports.
  • Listen for incoming network connections.
  • Read data from standard input and transmit it over a network connection.
  • Write received network data to standard output for processing by other programs.
  • Supports connection, listening and tunnelling modes.
  • Relays traffic between network endpoints.
  • Supports tunnelling between TCP and UDP connections.
  • Allows source ports, network interfaces and listening addresses to be specified.
  • Includes basic port-scanning capabilities with randomised port selection.
  • Supports IPv4 and IPv6 networking.
  • Provides buffered transmission with configurable delays between lines.
  • Can generate hexadecimal dumps of transmitted and received data.
  • Includes an optional Telnet protocol command parser and responder.
  • Can be driven directly by scripts and other command-line programs.
  • Cross-platform support – runs on Linux and macOS.

Website: netcat.sourceforge.net
Support:
Developer: Giovanni Giacobbi
License: GNU General Public License v2.0

Netcat is written in C. Learn C with our recommended free books and free tutorials.


Related Software

Terminal-Based Port Scanners
NmapNetwork Mapper for network discovery, administration and security auditing
RustScanModern take on the port scanner
MASSCANMass IP port scanner
ZMapFast single packet network scanner
naabuFast port scanner written with a focus on reliability and simplicity
NetcatBuilt-in port-scanning capabilities, with randomizer
sxNetwork scanner designed to follow the UNIX philosophy
unimapScan only once by IP address
havnFast configurable port scanner
NibbleLocal network scanning tool
XMapFast network scanner for large-scale IPv4 and IPv6 research
turbo-scannerPort scanner and service detection tool

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted