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

GVisor TCP congestion control #67

Open
busy10 opened this issue Mar 4, 2025 · 0 comments
Open

GVisor TCP congestion control #67

busy10 opened this issue Mar 4, 2025 · 0 comments

Comments

@busy10
Copy link

busy10 commented Mar 4, 2025

Set gvisor tcp congestion control to cubic

Add

tcpCcOpt := tcpip.CongestionControlOption("cubic") // TCP CC is Reno by default
tcpipErr = dev.stack.SetTransportProtocolOption(tcp.ProtocolNumber, &tcpCcOpt)
if tcpipErr != nil {
return nil, nil, fmt.Errorf("could not set TCP CC Cubic: %v", tcpipErr)
}

if pkt.IsNil() {

change if pkt.IsNil() { to if pkt == nil {

To wireproxy speedup on high bandwidth high delayed connections

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

No branches or pull requests

1 participant