Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212381 - sys-kernel/gentoo-sources [PATCH] allow more than 200 ipsec connections with ipsec-tools
Summary: sys-kernel/gentoo-sources [PATCH] allow more than 200 ipsec connections with ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2008-03-05 12:51 UTC by Natanael Copa
Modified: 2008-03-30 09:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
linux-2.6.24-large-sasp-dump.patch (linux-2.6.24-large-sasp-dump.patch,20.62 KB, patch)
2008-03-05 12:51 UTC, Natanael Copa
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Natanael Copa 2008-03-05 12:51:02 UTC
In current kernel af_key users (ipsec-tools / racoon) is not able to handle more than 100-200 concurrent IPsec connections. 

The attatched patch is a backport of the upstream commits finxing this:
http://git.kernel.org/?p=linux/kernel/git/davem/net-2.6.26.git;a=commitdiff;h=83321d6b9872b94604e481a79dc2c8acbe4ece31
http://git.kernel.org/?p=linux/kernel/git/davem/net-2.6.26.git;a=commitdiff;h=4c563f7669c10a12354b72b518c2287ffc6ebfb3
Comment 1 Natanael Copa 2008-03-05 12:51:48 UTC
Created attachment 145344 [details, diff]
linux-2.6.24-large-sasp-dump.patch
Comment 2 Natanael Copa 2008-03-05 12:53:50 UTC
The patch also gives significant system performance improvement when there is large amount of ipsec connections.
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2008-03-11 17:04:42 UTC
Did you have to do anything special with those commits to backport them? They both seem to apply cleanly (xfrm one first) but I have not tested compiling or runtime.
Comment 4 Natanael Copa 2008-03-13 08:21:07 UTC
(In reply to comment #3)
> Did you have to do anything special with those commits to backport them? They
> both seem to apply cleanly (xfrm one first) but I have not tested compiling or
> runtime.

I got the pathes from Timo himself and they are only a rebase to avoid noise about fuzz/diff. He says the raw diffs should work as-is against .24.
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2008-03-16 20:36:37 UTC
ok, compile tested and queued for next release
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2008-03-30 09:20:13 UTC
Fixed in gentoo-sources-2.6.24-r4 (genpatches-2.6.24-5)