Alexander Olkhovoy
bc8ff4cf38
Refactor: enable session info via username marker (+info) instead of separate flag
- Remove embed_session_info field from Args (fixes semver breaking change)
- Remove runWithSessionInfo JNI function
- Detect +info suffix in username to enable session info embedding
- Format: username+info becomes username|protocol|src_ip|src_port
2 months ago
Alexander Olkhovoy
49d597fb48
Fix embed_session_info parameter handling in Android JNI method
- Update the conversion of embed_session_info to use jboolean::from(false) for proper boolean handling in the Java interface.
2 months ago
Alexander Olkhovoy
2f1e89e738
Add embed_session_info option for Android per-app routing
- Add `embed_session_info` boolean field to Args struct with CLI argument
- Add `runWithSessionInfo` JNI method in android.rs accepting embed_session_info parameter
- Pass embed_session_info flag through SocksProxyManager and SocksProxyImpl constructors
- Modify SOCKS5 authentication to embed session info in username field when enabled
- Format embedded username as "original_username|protocol|src_ip|src_port"
- Enable per-app routing on Android
2 months ago
ssrlive
5a8f2f8f29
update deps
3 months ago
ssrlive
fd7dca9988
unsafe_in_unsafe issues
1 year ago
ssrlive
6034870264
rename desktop_run_async to general_run_async
1 year ago
ssrlive
e879599e6b
close_fd_on_drop issues
2 years ago
ssrlive
4b0ca087eb
Don't play with fire
2 years ago
ssrlive
7bee2e0968
TryFrom for ArgProxy
2 years ago
ssrlive
4adc38c726
Bump version 0.2.14
2 years ago
ssrlive
a1083273ee
Ffi2 ( #90 )
2 years ago
ssrlive
a26621bbcd
Ffi ( #89 )
2 years ago
Andrej Mihajlov
2a9775ce2e
Introduce cancellation token and reduce amount of code ( #88 )
Test passed on Android. Thanks a lot.
2 years ago
ssrlive
8a67915388
refactor FFI
2 years ago
ssrlive
9c4fa4260a
beginning async version ( #84 )
2 years ago
ssrlive
2b3463c55c
android issues
3 years ago
ssrlive
ff9c258fbd
re-formatting with max_width = 120
3 years ago
ssrlive
c61b6c74cd
swith socks5-impl
3 years ago
B. Blechschmidt
5e218c2130
Use pipe for exiting
3 years ago
ssrlive
7442abece5
integrate to android
3 years ago