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

Obfs4 features #41

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Obfs4 features #41

wants to merge 12 commits into from

Conversation

jmwample
Copy link
Owner

@jmwample jmwample commented May 8, 2024

Add the rest of the missing features for obfs4 and solidify the implementation style.

  • Add IAT delays sampled from drbg based on the seed.
  • Add IAT length sampling.
  • shift from using AsyncRead / AsyncWrite to using Sink / Stream which seems to makes more sense

@jmwample
Copy link
Owner Author

jmwample commented Jul 6, 2024

Can RefCell<T>, Sink::boxed(...), Stream::boxed(...), save us from having to use the 'static lifetime?

And can AsRef<dyn Sink<...>>, and AsRef<dyn Stream<...>> allow us to expose the inner Sink and Stream trait objects by reference?

That way they just do the right thing internally and the O4Stream and Obfs4Stream types just keep track of everything.

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