William Allen Simpson
435cf559f0
TCPCT part 1d: define TCP cookie option, extend existing struct's
...
Data structures are carefully composed to require minimal additions.
For example, the struct tcp_options_received cookie_plus variable fits
between existing 16-bit and 8-bit variables, requiring no additional
space (taking alignment into consideration). There are no additions to
tcp_request_sock, and only 1 pointer in tcp_sock.
This is a significantly revised implementation of an earlier (year-old)
patch that no longer applies cleanly, with permission of the original
author (Adam Langley):
http://thread.gmane.org/gmane.linux.network/102586
The principle difference is using a TCP option to carry the cookie nonce,
instead of a user configured offset in the data. This is more flexible and
less subject to user configuration error. Such a cookie option has been
suggested for many years, and is also useful without SYN data, allowing
several related concepts to use the same extension option.
"Re: SYN floods (was: does history repeat itself?)", September 9, 1996.
http://www.merit.net/mail.archives/nanog/1996-09/msg00235.html
"Re: what a new TCP header might look like", May 12, 1998.
ftp://ftp.isi.edu/end2end/end2end-interest-1998.mail
These functions will also be used in subsequent patches that implement
additional features.
Requires:
TCPCT part 1a: add request_values parameter for sending SYNACK
TCPCT part 1b: generate Responder Cookie secret
TCPCT part 1c: sysctl_tcp_cookie_size, socket option TCP_COOKIE_TRANSACTIONS
Signed-off-by: William.Allen.Simpson@gmail.com
Signed-off-by: David S. Miller <davem@davemloft.net >
2009-12-02 22:07:25 -08:00
..
2009-11-08 01:50:21 -08:00
2009-10-09 13:32:24 -07:00
2009-09-26 10:50:47 -07:00
2009-11-18 22:19:03 -08:00
2009-11-04 09:50:58 -08:00
2009-11-04 09:50:58 -08:00
2009-11-04 09:50:58 -08:00
2009-11-04 09:50:58 -08:00
2009-11-04 09:50:58 -08:00
2009-11-18 17:09:24 -05:00
2009-10-27 16:47:55 -04:00
2009-09-23 14:36:38 -04:00
2009-11-04 09:50:58 -08:00
2009-11-04 09:50:58 -08:00
2009-09-24 07:21:05 -07:00
2009-11-18 22:19:03 -08:00
2009-10-19 15:55:59 +09:00
2009-09-27 11:39:25 -07:00
2009-10-06 00:26:26 -04:00
2009-09-30 16:12:20 -07:00
2009-09-26 00:10:40 +02:00
2009-09-24 07:21:01 -07:00
2009-10-05 11:03:58 +02:00
2009-10-01 21:19:34 +02:00
2009-11-02 23:39:15 -08:00
2009-10-01 16:11:11 -07:00
2009-11-08 20:57:03 -08:00
2009-09-24 07:20:57 -07:00
2009-10-02 10:54:05 -07:00
2009-10-29 07:39:24 -07:00
2009-09-24 09:34:53 +09:30
2009-09-23 11:01:25 -07:00
2009-12-02 22:07:23 -08:00
2009-09-24 07:20:57 -07:00
2009-10-30 14:59:51 -07:00
2009-11-04 09:50:58 -08:00
2009-10-06 10:35:10 +02:00
2009-11-04 09:50:58 -08:00
2009-11-29 00:34:00 -08:00
2009-11-11 15:22:49 +01:00
2009-11-12 07:25:56 -08:00
2009-11-04 09:50:58 -08:00
2009-11-04 09:50:58 -08:00
2009-10-04 12:39:14 -07:00
2009-11-19 18:12:05 +00:00
2009-11-19 18:11:35 +00:00
2009-10-07 15:52:09 -04:00
2009-10-08 12:16:35 -07:00
2009-11-04 09:50:58 -08:00
2009-10-06 20:16:55 +02:00
2009-09-23 07:39:46 -07:00
2009-09-27 11:39:25 -07:00
2009-11-20 00:25:42 +00:00
2009-11-07 13:10:46 +01:00
2009-11-17 10:16:32 -05:00
2009-11-18 17:09:27 -05:00
2009-11-04 09:50:58 -08:00
2009-11-04 09:50:58 -08:00
2009-11-04 09:50:58 -08:00
2009-11-04 09:50:58 -08:00
2009-11-04 09:50:58 -08:00
2009-11-04 09:50:58 -08:00
2009-11-04 09:50:58 -08:00
2009-11-15 22:21:34 -08:00
2009-11-04 09:50:58 -08:00
2009-11-04 09:50:58 -08:00
2009-11-26 15:53:10 -08:00
2009-11-04 09:50:58 -08:00
2009-11-04 09:50:58 -08:00
2009-11-04 09:50:58 -08:00
2009-11-04 09:50:58 -08:00
2009-11-26 16:00:36 -08:00
2009-11-19 11:08:54 -05:00
2009-11-04 09:50:58 -08:00
2009-11-04 09:50:58 -08:00
2009-11-04 09:50:58 -08:00
2009-11-04 09:50:58 -08:00
2009-10-02 15:42:19 +02:00
2009-11-10 21:13:32 -08:00
2009-10-11 11:20:58 -07:00
2009-11-04 09:50:58 -08:00
2009-09-26 10:17:19 -07:00
2009-10-18 18:52:53 -07:00
2009-11-15 22:23:47 -08:00
2009-09-30 00:32:06 -04:00
2009-09-23 07:39:58 -07:00
2009-10-22 16:39:28 +10:30
2009-10-11 23:21:25 +02:00
2009-09-26 10:17:19 -07:00
2009-10-06 00:26:27 -04:00
2009-09-24 07:20:59 -07:00
2009-09-27 11:39:25 -07:00
2009-09-24 17:20:20 -07:00
2009-09-24 07:21:04 -07:00
2009-09-23 07:39:43 -07:00
2009-09-25 00:32:58 +09:30
2009-10-29 08:56:17 +10:30
2009-11-04 09:50:58 -08:00
2009-11-04 09:50:58 -08:00
2009-11-04 09:50:58 -08:00
2009-11-07 00:46:40 -08:00
2009-12-01 16:15:50 -08:00
2009-11-04 09:50:58 -08:00
2009-11-04 09:50:58 -08:00
2009-09-26 10:17:19 -07:00
2009-11-15 17:17:38 +09:00
2009-11-13 17:43:58 -05:00
2009-11-06 14:32:24 +03:00
2009-12-01 16:15:50 -08:00
2009-09-24 07:20:58 -07:00
2009-09-24 07:53:22 -07:00
2009-11-12 07:25:57 -08:00
2009-10-23 09:35:02 +02:00
2009-09-24 15:38:57 -07:00
2009-11-04 09:50:58 -08:00
2009-11-04 09:50:58 -08:00
2009-10-04 15:05:10 -07:00
2009-10-04 03:23:17 +02:00
2009-09-27 11:39:25 -07:00
2009-11-10 22:26:29 -08:00
2009-10-05 21:02:02 +02:00
2009-10-15 11:17:17 +02:00
2009-10-30 15:06:37 -07:00
2009-09-24 07:20:57 -07:00
2009-10-01 16:11:13 -07:00
2009-11-18 17:09:26 -05:00
2009-09-24 07:53:22 -07:00
2009-11-04 09:50:58 -08:00
2009-11-04 09:50:58 -08:00
2009-09-24 07:53:22 -07:00
2009-11-23 15:53:52 -05:00
2009-09-24 07:21:04 -07:00
2009-09-24 07:47:35 -04:00
2009-09-30 21:46:59 +02:00
2009-09-24 07:21:01 -07:00
2009-12-02 19:57:15 -08:00
2009-12-01 08:20:31 -08:00
2009-09-24 09:34:40 +09:30
2009-10-13 11:48:32 -07:00
2009-10-29 03:00:06 -07:00
2009-10-29 07:39:25 -07:00
2009-11-17 17:40:33 -08:00
2009-09-24 07:53:22 -07:00
2009-10-12 23:40:10 -07:00
2009-09-24 07:21:04 -07:00
2009-12-02 22:07:25 -08:00
2009-09-24 07:20:56 -07:00
2009-10-14 15:02:34 +02:00
2009-10-24 11:07:51 +02:00
2009-09-24 07:21:00 -07:00
2009-09-24 07:20:57 -07:00
2009-09-27 13:35:16 -07:00
2009-09-23 07:39:48 -07:00
2009-11-10 20:54:38 -08:00
2009-09-23 18:13:10 -07:00
2009-09-24 09:57:08 -07:00
2009-10-22 16:39:28 +10:30
2009-10-22 16:39:28 +10:30
2009-10-22 16:39:30 +10:30
2009-10-22 16:39:28 +10:30
2009-10-22 16:39:28 +10:30
2009-10-22 16:39:28 +10:30
2009-11-19 13:43:06 -08:00
2009-10-14 09:16:42 -07:00
2009-09-24 07:21:04 -07:00
2009-11-18 23:30:41 -08:00
2009-11-25 15:48:37 -08:00