Skip to content

Conversation

@xiaokangwang
Copy link
Contributor

This merge request adds Inverse Role Enrollment Server Support.

This allows TLSMirror server to use a separately hosted server as the request round tripper, removing the need to host a enrollment server at the same time, making configuration of TLSMirror significantly easier.

Configuration example shown here:

https://gist.github.com/xiaokangwang/9ab55eff327781795fec8adb918d1247

@xiaokangwang xiaokangwang force-pushed the dev-tlsmirror-inverseroleserver-kw43TNGF-e6r6rxBB-wwxTk68w branch from ce25f32 to b4f1aa5 Compare November 16, 2025 23:22
@codecov
Copy link

codecov bot commented Nov 16, 2025

Codecov Report

❌ Patch coverage is 26.18629% with 420 lines in your changes missing coverage. Please review.
✅ Project coverage is 23.20%. Comparing base (3698938) to head (77c8733).
⚠️ Report is 12 commits behind head on master.

Files with missing lines Patch % Lines
...tripperenrollmentconfirmation/serverinverserole.go 0.00% 92 Missing ⚠️
...net/request/roundtripperreverserserver/reverser.go 0.00% 69 Missing ⚠️
...perreverserserver/clicommand/generate_token_cli.go 0.00% 46 Missing ⚠️
...nt/roundtripperenrollmentconfirmation/config.pb.go 0.00% 42 Missing ⚠️
...et/request/roundtripperreverserserver/config.pb.go 33.92% 36 Missing and 1 partial ⚠️
...rserver/clicommand/roundTripperReserseServerCli.go 0.00% 31 Missing ⚠️
...undtripperreverserserver/accesschecker_password.go 69.23% 10 Missing and 10 partials ⚠️
...gineering/generateRandomData/generateRandomData.go 0.00% 19 Missing ⚠️
...request/roundtripperreverserserver/reverserimpl.go 87.36% 9 Missing and 3 partials ⚠️
transport/internet/tlsmirror/data.pb.go 0.00% 7 Missing ⚠️
... and 10 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3551      +/-   ##
==========================================
+ Coverage   23.15%   23.20%   +0.04%     
==========================================
  Files         824      836      +12     
  Lines       44875    45427     +552     
==========================================
+ Hits        10391    10541     +150     
- Misses      33282    33672     +390     
- Partials     1202     1214      +12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@xiaokangwang xiaokangwang merged commit 7ffb36e into v2fly:master Nov 20, 2025
42 of 46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant