Randall Stewart
97e28f0f58
tcp: Rack ack war with a mis-behaving firewall or nat with resets.
...
Previously we added ack-war prevention for misbehaving firewalls. This is
where the f/w or nat messes up its sequence numbers and causes an ack-war.
There is yet another type of ack war that we have found in the wild that is
like unto this. Basically the f/w or nat gets a ack (keep-alive probe or such)
and instead of turning the ack/seq around and adding a TH_RST it does something
real stupid and sends a new packet with seq=0. This of course triggers the challenge
ack in the reset processing which then sends in a challenge ack (if the seq=0 is within
the range of possible sequence numbers allowed by the challenge) and then we rinse-repeat.
This will add the needed tweaks (similar to the last ack-war prevention using the same sysctls and counters)
to prevent it and allow say 5 per second by default.
Reviewed by: Michael Tuexen
Sponsored by: Netflix Inc.
Differential Revision: https://reviews.freebsd.org/D32938
2021-11-17 09:45:51 -05:00
..
2021-11-12 12:18:12 -07:00
2021-10-15 16:48:12 -07:00
2021-08-11 10:54:56 -05:00
2021-11-17 09:45:51 -05:00
2020-05-19 18:35:08 +00:00
2020-05-19 18:35:08 +00:00
2020-09-01 21:19:14 +00:00
2020-06-17 13:27:13 +00:00
2020-10-19 17:07:19 +00:00
2020-09-01 21:19:14 +00:00
2021-10-22 14:40:53 -07:00
2020-11-08 18:49:23 +00:00
2021-10-13 10:04:46 -07:00
2021-10-22 14:40:53 -07:00
2021-01-17 20:32:26 +00:00
2021-10-09 13:47:10 +02:00
2021-08-08 10:16:06 +02:00
2020-11-29 13:41:49 +00:00
2021-10-22 14:40:53 -07:00
2021-10-22 14:40:53 -07:00
2021-10-18 10:19:57 -07:00
2021-10-20 19:25:51 -04:00
2021-10-18 10:19:57 -07:00
2021-08-28 18:53:02 +02:00
2021-04-07 14:32:56 -04:00
2020-11-22 20:21:10 +00:00
2020-10-18 17:15:47 +00:00
2020-10-18 17:15:47 +00:00
2021-10-22 14:40:53 -07:00
2021-11-14 14:12:25 -06:00
2021-11-12 08:59:42 -08:00
2021-03-04 20:56:48 +01:00
2021-11-01 17:08:23 +01:00
2021-11-16 13:38:09 -05:00
2021-08-19 10:48:53 +02:00
2021-08-22 22:56:08 +00:00
2021-02-02 13:24:17 -08:00
2021-10-22 14:40:53 -07:00
2021-10-22 14:40:53 -07:00
2021-11-12 09:00:33 -08:00
2021-10-28 07:12:23 +02:00
2021-05-31 05:48:15 +02:00
2020-09-01 21:19:14 +00:00
2021-11-16 13:38:09 -05:00
2021-08-14 18:50:12 +02:00
2020-11-12 21:58:47 +00:00
2021-10-13 10:04:46 -07:00
2021-09-15 10:18:11 +02:00
2020-09-01 21:19:14 +00:00
2020-09-01 21:19:14 +00:00
2020-09-01 21:19:14 +00:00
2021-03-12 09:48:10 -08:00
2020-09-01 21:19:14 +00:00
2021-08-09 15:58:46 +02:00
2021-07-09 23:19:25 +02:00
2021-11-16 13:36:30 -05:00
2020-06-18 19:32:34 +00:00
2020-09-24 12:26:06 +00:00
2021-07-09 23:19:25 +02:00
2020-09-01 21:19:14 +00:00
2021-09-26 15:15:39 +02:00
2020-09-01 21:19:14 +00:00
2021-09-21 17:13:57 +02:00
2020-07-10 14:56:05 +00:00
2020-09-01 21:19:14 +00:00
2020-09-01 21:19:14 +00:00
2021-09-28 05:25:58 +02:00
2020-09-24 12:26:06 +00:00
2021-09-21 17:13:57 +02:00
2021-09-11 10:15:21 -04:00
2021-09-07 11:19:29 -04:00
2021-10-08 11:33:56 +02:00
2021-09-23 14:16:56 +02:00
2021-01-12 13:16:10 +00:00
2020-09-01 21:19:14 +00:00
2020-10-16 10:44:48 +00:00
2021-09-28 05:17:03 +02:00
2020-09-01 21:19:14 +00:00
2020-09-01 21:19:14 +00:00
2021-09-23 14:16:56 +02:00
2020-09-01 21:19:14 +00:00
2020-10-16 10:44:48 +00:00
2021-11-03 16:21:49 +01:00
2021-07-09 23:19:25 +02:00
2021-11-04 00:32:17 +00:00
2021-05-06 11:22:26 -04:00
2021-11-01 23:10:30 +00:00
2020-09-01 21:19:14 +00:00
2021-08-27 08:31:32 -04:00
2021-04-20 10:02:20 -07:00
2021-07-08 08:16:45 -04:00
2021-07-07 07:22:35 -04:00
2021-11-03 13:02:44 -07:00
2020-09-01 21:19:14 +00:00
2021-10-22 07:10:28 -04:00
2021-11-04 18:52:06 +01:00
2021-08-06 11:28:44 +02:00
2021-04-21 13:00:16 -07:00
2021-04-21 13:00:16 -07:00
2021-06-25 09:30:54 -04:00
2020-05-03 00:37:16 +00:00
2021-09-14 11:43:41 -07:00
2021-05-07 17:32:32 -04:00
2021-06-04 05:26:43 -04:00
2021-10-01 10:36:27 -04:00
2021-11-14 15:04:27 +01:00
2021-06-22 16:03:44 -07:00
2021-04-18 16:16:42 +02:00
2021-11-13 08:32:06 -08:00
2021-02-18 22:36:01 -06:00
2021-10-28 15:34:00 -07:00
2021-11-13 08:33:32 -08:00
2021-10-27 08:22:00 -07:00
2021-10-27 08:21:59 -07:00
2021-08-22 22:56:08 +00:00
2021-04-21 13:00:16 -07:00
2021-11-03 13:02:44 -07:00
2021-11-03 13:02:44 -07:00