This site is created just to share PAR compiled Windows executable trafshow.pl.exe

trafshow.pl - provides basic network traffic visualisation on text-based terminal


NAME

trafshow.pl - provides basic network traffic visualisation on text-based terminal


DESCRIPTION

script listening on the interface(s) for the network packets and displaying info about them on the terminal


README

Print info about traffic on specified interface[s]

Usage: trafshow.pl [-hl] -i<interface[,interface[...]]> [-f<filterLine>] [-r<screenRefreshInterval>] [-d<disapperTimeout>] [-pnecst]

trafshow.pl is capturing traf on the specified interfaces and show it on terminal in real time

-h: Print help notice, and exit -l: List all available interfaces, and exit

-p: Do not operate in promiscuous mode -e: Show the Ethernet traffic rather than IP. It is possible to switch between them by pressing the ENTER or 'e' key. -n: Do not resolve host and services names, toggle by 'n' key

-i<iface>[,<anotherIface>[...]: interface to listen for the traf -f<filterLine>: traf filter line in PCap format

-r<screenRefreshInterval>: how frequently screen will be updated (in seconds) Default is 1 -d<disappearTimeout>: for how long inactive (no more traf) lines will be preserved on screen Default is 10 seconds

-c: sort lines by CPS -s: sort lines by total bytes transferred -t: sort lines by time of last packet detected Toggled by corresponding key Default is 't'

Note: this script could be easy compiled to executable using PAR.

Precompiled windows version is available from http://trafshow.narod.ru/


PREREQUISITES

strict, threads, threads::shared, Config, Socket, Net::Pcap 0.03, Net::PcapUtils, NetPacket::Ethernet, NetPacket::IP, NetPacket::UDP, NetPacket::TCP, Getopt::Std, Text::ParseWords, Time::HiRes


COREQUISITES

None


OSNAMES

any, tested on FreeBSD 6.0 i386, FedoraCore 4 amd64, RedHat 4 AS amd64, Windows XP Pro i386


SCRIPT CATEGORIES

Networking