gumblex / ptproxy

Turn any pluggable transport for Tor into an obfuscating TCP tunnel.
MIT License
160 stars 43 forks source link

Run the new version without pip install aiosocks? #12

Closed outsinre closed 8 years ago

outsinre commented 8 years ago
  1. I don't want to manage system packages through pip.

    Is it possible to copy aiosocks sources into ptproxy.py directory to let it work?

  2. Does the aiosocks version does not work with python3.3?
  3. How to modify iat-mode=1/2?

    There are four places sitting iat-mode:

    1. Server-side JSON configuration file. If I am right, this could be neglected.
    2. Server-side _obfs4state.json file. Negligible?
    3. Client-side JSON configuration file. Modify this?
    4. Client-side _obfs4state.json file. How about this?
gumblex commented 8 years ago
  1. Yes.
  2. It won't work. You can checkout the older version v1.0 to be compatible with Python 3.2+.
  3. Modify ii, iii
outsinre commented 8 years ago

@gumblex Many thanks.

After modification of ii on server side, should I re-run the server: ptproxy.py -s ...

gumblex commented 8 years ago

After modifying ii, you should restart the server and see a changed "ptargs" with iat-mode=1/2 printed out.

outsinre commented 8 years ago

@gumblex ha, many thanks. got it!