PacketStreamer icon indicating copy to clipboard operation
PacketStreamer copied to clipboard

Compile/build for Windows.

Open suricatalfon opened this issue 2 years ago • 4 comments

Simply add support for use with Windows. Or how we can compile for Windows.

Thank you.

suricatalfon avatar Apr 29 '22 08:04 suricatalfon

I need to take a look how things are looking with eBPF on Windows, because I think that would be the only feasible way of implementing that feature if we ever decide to do that. That said, I'm not convinced that we should do it now, unless someone wants to contribute or more people request that. @sandman137 WDYT?

There is WinPcap (https://github.com/wireshark/winpcap), the library that Wireshark is using, but it's ancient and we would need to wrap it with cgo somewhow - I think that would be a bad idea.

vadorovsky avatar May 17 '22 21:05 vadorovsky

We decided to use libpcap API as the standard to ensure this works across linux (vms, k8s and fargate) and windows. Interested users can always use the community version of npcap which is API compatible with winpcap (basically pcap api). @mukuldeepfence @shyam-dev

sandman137 avatar May 18 '22 02:05 sandman137

@shyam-dev can you please look at this and close it? All we need to do is provide build instructions for windows.

sandman137 avatar Jun 01 '22 00:06 sandman137

Any build instructions for windows published ? Thanks

msenturk avatar Feb 25 '23 19:02 msenturk