🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #311457

Ping zip2

#311457
From: EECL
Date: Sat, 10 Oct 2020 20:34
36 lines
1979 bytes
  I believe that this IS a scaling problem you are
having with inwtx.net.  Here is partial discussion
we had with a client of ours.



But, there is a broken router in the path that does not understand
window scaling.

Here is an example of what gets messed up:

Broken router between us.

17:30:45.412222 IP 213.207.90.2.48147 > 145.222.14.10.25: . 20853:22233(1380) ack 137 win 49680
17:30:45.412230 IP 213.207.90.2.48147 > 145.222.14.10.25: . 22233:23613(1380) ack 137 win 49680
17:30:45.412249 IP 213.207.90.2.48147 > 145.222.14.10.25: P 23613:24993(1380) ack 137 win 49680
17:30:45.412747 IP 145.222.14.10.25 > 213.207.90.2.48147: P ack 8433 win 5800
17:30:45.412748 IP 145.222.14.10.25 > 213.207.90.2.48147: P ack 8433 win 5800
17:30:45.412749 IP 145.222.14.10.25 > 213.207.90.2.48147: P ack 8433 win 5800

The receiver says they can receive bytes 8433-31633, but the broken
router does not know that 5800 needs to be multiplied by 4, and it
thinks the receiver can receive only bytes 8433-14233.

The broken router then throws away the bytes with higher sequence
numbers than 14233.

Workaround: turn off window scaling support on the sender's kernel.




You turn off window scaling support by doing this

sudo sysctl -w net.ipv4.tcp_window_scaling=0
sudo sh -c 'echo "net.ipv4.tcp_window_scaling=0" >> /etc/sysctl.conf'
Technical Details
Message-ID: <rlt5sj$5gt$1@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <rlt5sj$5gt$1@news.mixmin.net>
Subject: Ping zip2
Date: Sat, 10 Oct 2020 15:34:27 -0500
From: "EECL" <elelab@mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: Mixmin
Injection-Date: Sat, 10 Oct 2020 20:34:27 -0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="ed06aabe62b8bd4b741969c644b771eb72480d26"; logging-data="5661"; mail-complaints-to="abuse@mixmin.net"