[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B06B080.3000404@gmail.com>
Date: Fri, 20 Nov 2009 10:06:40 -0500
From: William Allen Simpson <william.allen.simpson@...il.com>
To: Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: [net-next-2.6 PATCH v7 7/7 RFC] TCPCT part 1g: Responder Cookie =>
Initiator
Parse incoming TCP_COOKIE option(s).
Calculate <SYN,ACK> TCP_COOKIE option.
Send optional <SYN,ACK> data.
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
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
TCPCT part 1d: define TCP cookie option, extend existing struct's
TCPCT part 1e: implement socket option TCP_COOKIE_TRANSACTIONS
TCPCT part 1f: Initiator Cookie => Responder
Signed-off-by: William.Allen.Simpson@...il.com
---
include/net/tcp.h | 1 +
net/ipv4/syncookies.c | 5 ++-
net/ipv4/tcp_input.c | 77 +++++++++++++++++++++++++++++++++++++++------
net/ipv4/tcp_ipv4.c | 46 +++++++++++++++++++++++++--
net/ipv4/tcp_minisocks.c | 14 +++++---
net/ipv4/tcp_output.c | 76 +++++++++++++++++++++++++++++++++++++++++++--
net/ipv6/syncookies.c | 5 ++-
net/ipv6/tcp_ipv6.c | 51 +++++++++++++++++++++++++++++-
8 files changed, 244 insertions(+), 31 deletions(-)
View attachment "TCPCT+1g7.patch" of type "text/plain" (17347 bytes)
Powered by blists - more mailing lists