Basic python script for when I wanted color in tcpdump
Find a file
2025-01-15 09:45:30 -08:00
.gitignore Initial commit 2025-01-15 09:36:10 -08:00
LICENSE Initial commit 2025-01-15 09:36:10 -08:00
README.md Update README.md 2025-01-15 09:45:12 -08:00
tcpcolor.py Create tcpcolor.py 2025-01-15 09:36:39 -08:00
tcpcolor1.png Add files via upload 2025-01-15 09:45:30 -08:00

TCPColor

Add color to a basic tcpdump with standard python3 libraries.

Usage

$ tcpdump -l -nnq <tcpdump filter> | tcpcolor.py

I generally always use these flags so this utility will only work properly when using them.

-nn Don't convert protocol and port numbers etc. to names either.

-q Quick (quiet?) output. Print less protocol information so output lines are shorter.

TCPColor Example