-
Notifications
You must be signed in to change notification settings - Fork 125
feat(proxy): add shadowquic protocol #784
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
Conversation
Codecov ReportAttention: Patch coverage is 📢 Thoughts on this report? Let us know! |
| use crate::{Error, common::utils::default_bool_true, config::utils}; | ||
| use serde::{Deserialize, de::value::MapDeserializer}; | ||
| use serde_yaml::Value; | ||
| use shadowquic::config::CongestionControl as SQCongestionControl; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you may need to gate the feature here to pass the build
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in latest commit
| ) -> io::Result<&ShadowQuicClient> { | ||
| self.ep | ||
| .get_or_try_init(|| async { | ||
| let iter: Vec<&str> = self.opts.addr.split(":").collect(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it an issue if opts.addr is an ipv6 address?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, this is a true bug. solved in latest commit
| impl DialWithConnector for Handler {} | ||
|
|
||
| #[async_trait] | ||
| impl OutboundHandler for Handler { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mind adding a test like other outbounds did?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in latest commit
|
Whats wrong with those failed targets? |
|
I think it's the missing feature gate |
ibigbug
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. thanks!
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
Hello, this PR implements shadowquic protocol which works similarly to shadowtls but more suitable for QUIC.
I tested personally with socks inbound and TCP/UDP seems to work. Test and doc are not added yet.
TODO
📝 Changelog
☑️ Self-Check before Merge