- Golang >= 1.15
- https://golang.org/doc/install
- do not install with a package manager, as you may get the wrong version
- libpcap
- Windows: https://www.winpcap.org/
- Linux:
sudo apt-get install libpcap-dev
- drop any pcap files to analyze in the
pcaps/
directory - enter the project directory:
cd pcap-portscan-detector
- Install go dependencies:
go get
- Run the program:
go run main.go
- Or, compile it into an executable:
go build