Skip to main content

TCP monitoring and logging tool with support for HTTP 1.1

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tcpwatch-1.3.1.tar.gz (15.1 kB view details)

Uploaded Source

File details

Details for the file tcpwatch-1.3.1.tar.gz.

File metadata

  • Download URL: tcpwatch-1.3.1.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tcpwatch-1.3.1.tar.gz
Algorithm Hash digest
SHA256 008c4edacba51f3a373da38b47fd9e9098a9df213157c3c1a4814f3d42580c7b
MD5 aaacdd076fdfa795901ac79f0f18e82e
BLAKE2b-256 a90a7c5edad180ad0bcee614641aec5b1e7fda8d19ccc01e4cc4e7c2bc8bb6a3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page