Commit 90f6feb
Say when a blocked UDP port is why loss and jitter are missing
An iperf3 server that allows the port for TCP but not UDP measures throughput
perfectly and never records packet loss or jitter. It is the most common way
that happens, and until now nothing said so.
The warning already tried to name this case, but it could only catch a server
that answers and reports no packets. A firewall that drops rather than refuses
gives the client nothing to answer with, so the pass waits out its window and
the failure arrives looking like a busy server instead.
The two facts that identify it were already in hand and never put together: TCP
and UDP use the same host and same port, so TCP moving data while the UDP pass
stalls leaves very little besides a filter treating the two differently. When
that pair shows up, the log now names the likely cause and the rule to add.
The README also described the UDP pass twice without ever saying its port has to
be open for UDP. It says so now, including that runs taken while the port was
closed have no loss or jitter to recover later.
This came from a real install: 212 runs across five days recorded no loss and no
jitter, warning every single time, with one missing firewall rule behind it. The
website's iperf3 setup guide had the rule right all along.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent c5c9a49 commit 90f6feb
3 files changed
Lines changed: 84 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
680 | 680 | | |
681 | 681 | | |
682 | 682 | | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
683 | 694 | | |
684 | 695 | | |
685 | 696 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
767 | 767 | | |
768 | 768 | | |
769 | 769 | | |
770 | | - | |
771 | | - | |
772 | | - | |
773 | | - | |
774 | | - | |
775 | | - | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
776 | 800 | | |
777 | 801 | | |
778 | 802 | | |
| |||
1291 | 1315 | | |
1292 | 1316 | | |
1293 | 1317 | | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
1294 | 1325 | | |
1295 | 1326 | | |
1296 | | - | |
| 1327 | + | |
1297 | 1328 | | |
1298 | 1329 | | |
1299 | 1330 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
881 | 881 | | |
882 | 882 | | |
883 | 883 | | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
0 commit comments