TCP Window Size

21 views
Skip to first unread message

Sazonov Alexey

unread,
Apr 15, 2025, 6:44:33 PMApr 15
to gVisor Users [Public]
Is there possibility to change tcp window size with help of the runsc (or any other tcp options)?

Nayana Bidari

unread,
Apr 17, 2025, 11:16:37 AMApr 17
to Sazonov Alexey, gVisor Users [Public]
Yes, runsc implements the SO_SNDBUF and SO_RCVBUF socket options. Configuring these options will ultimately change the underlying send and receive window sizes for TCP connections. Runsc also has window scaling enabled by default. 

On Tue, Apr 15, 2025 at 3:44 PM Sazonov Alexey <itas...@gmail.com> wrote:
Is there possibility to change tcp window size with help of the runsc (or any other tcp options)?

--
You received this message because you are subscribed to the Google Groups "gVisor Users [Public]" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gvisor-users...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/gvisor-users/33e21c07-a04a-44f4-87ec-cb024791940fn%40googlegroups.com.

Sazonov Alexey

unread,
Apr 18, 2025, 2:13:43 AMApr 18
to gVisor Users [Public]
Ok, that's cool, thanks for the answer, but could you provide some examples or just give me link to the code where I can find it. I see how recv and snd buffer could be change in the code in the tcpip, but I really wanna do it through the config or through ther args. And I have one more question - some options of the network protocol (ipv4) can be changed for example TTL?

четверг, 17 апреля 2025 г. в 18:16:37 UTC+3, Nayana Bidari:
Reply all
Reply to author
Forward
0 new messages