comcast icon indicating copy to clipboard operation
comcast copied to clipboard

Possible usage on Windows?

Open maxdow opened this issue 10 years ago • 6 comments

Have you tried to implement your code in a Windows environment? Is it possible?

maxdow avatar Jan 30 '15 08:01 maxdow

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.

tylertreat avatar Jan 30 '15 15:01 tylertreat

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.

ghost avatar Jan 30 '15 22:01 ghost

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.

http://jagt.github.io/clumsy/

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.

ghost avatar Jan 31 '15 01:01 ghost

Clumsy looks nice. Thanks ;-) do you think about making a gui or your project is more a core?

maxdow avatar Feb 01 '15 17:02 maxdow

+1

omariom avatar May 10 '15 16:05 omariom

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!

mardukbp avatar Aug 10 '20 10:08 mardukbp