Open maxdow opened 9 years ago
Unfortunately I don't have access to a Windows machine to develop on. I'm sure it's possible to implement a backend for it, although I'm not familiar enough with Windows APIs to say how you would do it. I'd happily accept any PRs which add support for it.
There is a project for Windows (up to Windows 7 last I checked) called wipfw, which is somewhat of a port of ipfw to Windows. I left some commented stubs in to add support for it at a later date. I can also research into doing it with native windows networking stack.
Looks like I may have found a winner, though to be honest... given what I've seen so far, looks like it's better to just use their project than try to re-implement a wrapper in Comcast (though I'm sure it's entirely possible). Theirs even has a fancy GUI.
Their wrapping this library: https://reqrypt.org/windivert.html Since it's C, could potentially use it with Cgo if we really wanted to implement windows support.
Clumsy looks nice. Thanks ;-) do you think about making a gui or your project is more a core?
+1
There is also win-shaper, which uses a driver written in C. I hope it does not require too much work to use it as the Windows backend for Comcast. It would be awesome to have a cross-platform tool for simulating network conditions!
Have you tried to implement your code in a Windows environment? Is it possible?