| To: | Stephen Hemminger <shemminger@xxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] tcp: efficient port randomisation (revised) |
| From: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
| Date: | Tue, 30 Nov 2004 21:46:43 -0800 |
| Cc: | michael.vittrup.larsen@xxxxxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <20041117153025.160eaa04@zqx3.pdx.osdl.net> |
| References: | <20041027092531.78fe438c@guest-251-240.pdx.osdl.net> <200411020854.44745.michael.vittrup.larsen@ericsson.com> <20041104100104.570e67cd@dxpl.pdx.osdl.net> <200411051103.59032.michael.vittrup.larsen@ericsson.com> <20041117153025.160eaa04@zqx3.pdx.osdl.net> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Wed, 17 Nov 2004 15:30:25 -0800 Stephen Hemminger <shemminger@xxxxxxxx> wrote: > Here is a more conservative version of earlier patch vthat keeps the > same port rover locking and global port rover. This randomizes TCP > ephemeral ports of incoming connections using variation of existing > sequence number hash. > > Thanks to original author Michael Larsen. > http://www.ietf.org/internet-drafts/draft-larsen-tsvwg-port-randomisation-00.txt > > It behaves correctly if someone is perverse and sets low > high > and it separates the outgoing port rover (tcp_port_rover) from the > incoming port rover (start_rover). I'm fine with this patch semantically. What do the before/after microbenchmarks look like? We're adding a MD4 transform plus a modulus for every local port select operation. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | 寒いですか?, a10.net |
|---|---|
| Next by Date: | Re: [PATCH] UDP select handling of bad checksums., David S. Miller |
| Previous by Thread: | Re: [PATCH] tcp: efficient port randomisation (revised), Michael Vittrup Larsen |
| Next by Thread: | Re: [patch 06/18] net/cosa: replace schedule_timeout() with msleep_interruptible(), Jan Kasprzak |
| Indexes: | [Date] [Thread] [Top] [All Lists] |