unmanaged PTs
This MR adds IPtProxy as unmanaged PT started from the Java side of onionmasq. Port IPtProxy is listening on and transport type are passed to Rust, which then uses that to start tor in unmanaged PT mode.
TODO:
-
unify API, while drafting I've added an aditional runBridgeProxy() method which is redundant -
add all supported snowflake options
- [ ] discuss if we want to remove our custom written golang onionmasq-pt layer, and maybe remove it afterwards
EDIT: the onionmasq-pt crate can be removed in a separate MR.
Edited by cyberta