Built from https://github.com/buger/goreplay/commit/bf8198d6391b4713b39870be6fd8e17910ee3af9
Project is here: https://github.com/buger/goreplay
No warranty, not thoroughly tested.
Built on Server 2008 R2 using Go 1.9.2, WinPcap 4.1.3, WinPcap devel 4.1.2, mingw-get 0.6.2-beta-20131004-1, gcc mingw.org 6.3.0-1
Compilation steps based on this guide: http://opensourceconnections.com/blog/2016/06/08/building-go-replay-gor-on-windows/
The steps provided above fail, at time of writing, due to some errors in stdio.h provided by mingw. Having reviewed the pcap.h that references stdio.h, it is safe to comment out the two offending lines in stdio.h mentioned in the error output ( snprintf and vspnprintf, lines 345 & 349 respectively).
In addition, the guide stating to use winpcap is out of date - this no longer works as expected.
Try and use npcap instead:
Use the installer, leave all settings default but tick "install in winpcap api compatibility mode"
Works on my local...