The TCP testing tool
In order to test our TCP honeypot, we need to send it some TCP traffic. We can use any existing network tool, including a web browser or a FTP client to hit the honeypot. A great tool for this is also Netcat, the TCP/IP Swiss army knife. Instead of using Netcat though, let's create our own simple clone. It will simply read and write data over TCP. The input and output will be through standard input and standard output respectively, allowing you to use the keyboard and Terminal or pipe data in or out of files and other applications.
This tool can be used as a general purpose network testing tool, and if you have any intrusion detection system or other monitoring you want to test, it may be useful. This program will take ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access