The Eastern Daylight Time timestamp fix wasn’t in master 5.0, but I was able to get Suricata 6 working and ALL IS GOOD. Thanks for fixing the timestamp issue on Windows!
git clone https://github.com/OISF/suricata.git && cd suricata && git clone https://github.com/OISF/libhtp.git -b 0.5.x && ./autogen.sh
#This path fix is definitely needed.
export PATH=$PATH:/c/Users/YOUR-USERNAME/.cargo/bin
echo $PATH
cargo install cbindgen #This step may not be needed, Can’t recall if cbindgen was already there or not.
cbindgen --version
./configure --with-libpcap-includes=/npcap-sdk/Include --with-libpcap-libraries=/npcap-sdk/Lib/x64 --with-libnss-libraries=/mingw64/lib/ --with-libnss-includes=/mingw64/include/nss3/ --with-libnspr-libraries=/mingw64/lib/ --with-libnspr-includes=/mingw64/include/nspr/ --enable-lua --disable-gccmarch-native --enable-gccprotect
make clean && make -j 2
Again, for those reading from the future…
The suricata.exe will be in the src/.libs folder Copy the suricata.exe to c:\suricataNew
but you also need several dlls. Those can be found in c:\msys64\mingw64\bin*.dll
I took all of those dlls (all are not needed) and put them in C:\suricataNew