Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lyrebird #14

Merged
merged 26 commits into from
Mar 26, 2024
Merged

Lyrebird #14

merged 26 commits into from
Mar 26, 2024

Conversation

jmwample
Copy link
Owner

@jmwample jmwample commented Mar 22, 2024

Implementation of lyrebird and support functionality.

Adds:

  • util / helper implementations and test cases
  • Connection to OrPort / ExtendedOrPort
  • CLI runner binary

Does NOT add:

  • support for TOR_PT_PROXY dialing. (though if it is defined a valid url must be specified).
  • incorporate tools to set environment vars from the arti crate tor_ptmgr to centralize utility.

Copy link

codecov bot commented Mar 22, 2024

Codecov Report

Attention: Patch coverage is 81.18441% with 251 lines in your changes are missing coverage. Please review.

Project coverage is 75.97%. Comparing base (b5bf749) to head (5cbeca8).

Files Patch % Lines
crates/obfs4/src/obfs4/server.rs 51.96% 44 Missing and 17 partials ⚠️
crates/ptrs/src/helpers.rs 87.17% 50 Missing and 10 partials ⚠️
crates/ptrs/src/args.rs 93.03% 25 Missing and 12 partials ⚠️
crates/obfs4/src/pt.rs 38.59% 30 Missing and 5 partials ⚠️
crates/ptrs/src/passthrough.rs 28.57% 15 Missing ⚠️
crates/obfs4/src/obfs4/proto.rs 28.57% 10 Missing ⚠️
crates/ptrs/src/orport.rs 78.72% 9 Missing and 1 partial ⚠️
crates/obfs4/src/lib.rs 70.37% 8 Missing ⚠️
crates/obfs4/src/obfs4/handshake/mod.rs 66.66% 6 Missing and 1 partial ⚠️
crates/obfs4/src/obfs4/client.rs 45.45% 6 Missing ⚠️
... and 1 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #14      +/-   ##
==========================================
+ Coverage   69.71%   75.97%   +6.25%     
==========================================
  Files          39       39              
  Lines        4805     5739     +934     
  Branches     4805     5739     +934     
==========================================
+ Hits         3350     4360    +1010     
+ Misses       1091      986     -105     
- Partials      364      393      +29     

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

@jmwample
Copy link
Owner Author

This PR is diverting from it's original goal, and it has accomplished several tangential things along the way.

  • obfs4 forward proxy working!
  • ptrs tooling
  • Parsing, Applying, and Serializing Args
  • First pass server state management (i.e. from args and state file) for obfs4.

I am merging this to solidify those things into main, also I am going to use a separate branch to work on the lyrebird binary in a more focused way.

@jmwample jmwample merged commit 9b6451d into main Mar 26, 2024
8 checks passed
@jmwample jmwample deleted the lyrebird branch March 26, 2024 21:17
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