dreadl0ck / ja3

Go package for Ja3 TLS client and server hello fingerprints
BSD 3-Clause "New" or "Revised" License
144 stars 21 forks source link

request for pcap.h #7

Closed guillermo-menjivar closed 3 years ago

guillermo-menjivar commented 3 years ago

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.
dreadl0ck commented 3 years ago

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.

guillermo-menjivar commented 3 years ago

Thank you @dreadl0ck