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 loopback network driver, like Unix systems, and it has to be installed separately if you want to capture local traffic. One of the options is installing https://nmap.org/npcap/ or https://technet.microsoft.com/en-us/library/cc708322.aspx.

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).

The latest version of windows binaries can be here https://github.com/buger/goreplay/files/1696582/goreplay.zip

If you want compile by yourself, this community guide can be handy https://opensourceconnections.com/blog/2016/06/08/building-go-replay-gor-on-windows/

Last updated