You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
go: found github.com/google/gopacket/tcpassembly/tcpreader in github.com/google/gopacket v1.1.19
# github.com/google/gopacket/pcap
../go/pkg/mod/github.com/google/gopacket@v1.1.19/pcap/pcap_unix.go:34:10: fatal error: pcap.h: No such file or directory
34 | #include <pcap.h>
| ^~~~~~~~
compilation terminated.
多谢楼主的这个工具,很牛逼的样子。mac本地可以使用。
我想编译一个在Linux机器上使用,但是报错。
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o go-sniffer main.go
The text was updated successfully, but these errors were encountered: