dreadl0ck/ja3

request for pcap.h

guillermo-menjivar opened this issue · 2 comments

When I try to compile ja3 I am prompted with the following error

go build -o $(go env GOPATH)/bin/goja3 -i github.com/dreadl0ck/ja3/cmd
# github.com/google/gopacket/pcap
../test/pkg/mod/github.com/google/gopacket@v1.1.18/pcap/pcap_unix.go:34:18: fatal error: pcap.h: No such file or directory
compilation terminated.

The commandline tool imports gopacket's pcap package to be able to attach to a network interface.

You need to install libpcap on your system and ensure the go compiler can find it.