Y6THAY/Network_Traffic_Analyzer ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python terminal app that watches live network traffic and shows it in a clean, modern dashboard. I want it to sniff packets in real time, break traffic down by TCP, UDP, and ICMP, and keep updating things like packet rate, average packet size, and which protocols are most common.
It should also show the top active IPs by packet count and traffic volume, with simple bar style visuals so it is easy to read in the terminal. If it sees traffic on unusual ports above 1024, flag it as a possible anomaly. I also want a privacy mode that masks IP addresses on screen, but still keeps the real values in the saved log.
Let me type in an IP to focus on one device, or just press Enter to watch everything. Make it easy to quit with q, and when I exit, ask if I want to save the session to a CSV file for later review. Keep it fast, live, and stable while packets are coming in.
Are you gonna build this?
make sure you review the code using coderabbit