Kkevsterrr / geneva

automated censorship evasion for the client-side and server-side
https://censorship.ai
BSD 3-Clause "New" or "Revised" License
1.89k stars 175 forks source link

subprocess.Popen issues on Windows #10

Open ecthros opened 4 years ago

ecthros commented 4 years ago

This is why we write tests :)

actions\tree.py:458: in pretty_print
    DotExporter(newroot).to_picture("tree.png")
C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\anytree\exporter\dotexporter.py:268: in to_picture
    check_call(cmd)
C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\subprocess.py:342: in check_call
    retcode = call(*popenargs, **kwargs)
C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\subprocess.py:323: in call
    with Popen(*popenargs, **kwargs) as p:
C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\subprocess.py:775: in __init__
    restore_signals, start_new_session)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <subprocess.Popen object at 0x00000200239E4518>
args = 'dot C:\\Users\\GEHUGHEY\\AppData\\Local\\Temp\\tmpqik02k1j -T png -o tree.png', executable = None
preexec_fn = None, close_fds = True, pass_fds = (), cwd = None, env = None
startupinfo = <subprocess.STARTUPINFO object at 0x00000200239E4A20>, creationflags = 0, shell = False, p2cread = -1
p2cwrite = -1, c2pread = -1, c2pwrite = -1, errread = -1, errwrite = -1, unused_restore_signals = True
unused_start_new_session = False
sv0 commented 4 years ago

@ecthros Probably you should read README first.

Quote:

Geneva has been developed and tested for Centos or Debian-based systems. Due to limitations of netfilter and raw sockets, Geneva does not work on OS X or Windows at this time and requires python3.6 (with more versions coming soon).

ecthros commented 4 years ago

Hi - apologies for any confusion on this thread. I've been working on porting Geneva to run on Windows, and it's actually working quite well.

You can actually test it out if you'd like, it's on one of the branches in my forked repository. I've been a little swamped with work at the moment, but after a couple weeks I'll be able to pass this last test and we can merge windows support in.

tec1987 commented 3 years ago

Ten months passed. Windows support?

Kkevsterrr commented 3 years ago

Hi @tec1987 - it's in a branch, but all of the contributors have been busy with other things and it hasn't been a high enough priority to finish out. You're welcome to join us though and help us get it over the finish line!