Add Riverrun TCP Stream Modifier into V2Ray #2946
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Riverrun is a TCP Stream Modifier that try to reduce the entropy of traffics in order to bypass some kind of traffic classification, including the block of fully encrypted traffic. This version includes the simplest integration that use a seed to automatically derivate all parameters and apply the transformation to the entire stream.
The deterministic random number generator code is written by an author that is not personally known to us, with 2-BSD license. I think it is fine to include it, but in the worst case this part can be rewritten with a incompatible protocol change. Other codes are awaiting relicense confirmation from their authors.
To run one of its client:
v2ray run -format jsonv5 -c client.json
To run one of its client:
v2ray run -format jsonv5 -c client.json
Note to self: squash on merge.