-
Notifications
You must be signed in to change notification settings - Fork 30
Running on Windows
GoReplay can work on Windows machines, but have some specifics, due to the nature of different networking layer of Windows stack. See https://github.com/buger/goreplay/issues/440 for specific details.
By default, Windows do not have network driver supporting package capture, like Unix systems, and it has to be installed separately if you want to capture traffic. One of the options is installing https://nmap.org/npcap/.
In some cases it may require passing custom bpf filter and specify loopback IP, or omitting it, like this: --input-raw-bpf-filter "port 80"
(in addition to specifying the port in --input-raw
argument).
Starting from version 1.13 windows binaries are officialy included to all releases.
If you want to compile by yourself, just run make release-windows
, and it will properly cross-compile Windows binary.
If you need manual steps this community guide can be handy https://opensourceconnections.com/blog/2016/06/08/building-go-replay-gor-on-windows/