Skip to main content

TCPWatch is a utility written in Python that lets you monitor forwarded TCP connections or HTTP proxy connections. It displays the sessions in a window with a history of past connections. It is useful for developing and debugging protocol implementations and web services.

Version 1.3 is compatible with Tkinter installations that use threads. See the change log for a list of other changes.

TCPWatch is licensed under ZPL 2.0 and requires Python 2.1 or later.

Version 1.3.1

  • Convert to use setuptools and console scripts for installation

  • Release to PyPI.

Version 1.3

  • Made compatible with versions of tcl that have threads enabled.

  • Log file numbers are now sequential.

  • user@host” is now accepted as a destination hostname (the user name is ignored).

Version 1.2.1

  • A typo made it impossible to use two of the command line options. Fixed.

Version 1.2

  • Added the ability to record TCP sessions to a directory. Use -r <path>. Implemented by Tres Seaver.

  • Replaced the launch script with a distutils setup.py, thanks again to Tres Seaver.

Version 1.1

  • Almost completely rewritten. The code is now more reusable and reliable, but the user interface has not changed much.

  • 8-bit clean. (You can now use TCPWatch to verify that SSH really does encrypt data. ;-) )

  • It can now run as a simple HTTP proxy server using the “-p” option. There are a lot of interesting ways to use this.

  • It’s now easier to watch persistent HTTP connections. The “-h” option shows each transaction in a separate entry.

  • You can turn off the Tkinter GUI using the -s option, which outputs to stdout.

  • Colorized Tkinter output.

Version 1.0

Never released to the public.

Release files for tcpwatch 1.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tcpwatch 1.3.1
File Size Uploaded
tcpwatch-1.3.1.tar.gz 15.1 kB Details

Release files / tcpwatch-1.3.1.tar.gz

Download URL tcpwatch-1.3.1.tar.gz
Size 15.1 kB
Tags Source
SHA-256 checksum
How to use checksums
008c4edacba51f3a373da38b47fd9e9098a9df213157c3c1a4814f3d42580c7b
BLAKE2b-256 checksum
How to use checksums
a90a7c5edad180ad0bcee614641aec5b1e7fda8d19ccc01e4cc4e7c2bc8bb6a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.3.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page