* Feature request: ip_set for non-modular kernel
@ 2011-05-05 12:41 Ed W
2011-05-05 13:49 ` Mr Dash Four
0 siblings, 1 reply; 2+ messages in thread
From: Ed W @ 2011-05-05 12:41 UTC (permalink / raw)
To: Jozsef Kadlecsik, netfilter-devel
Hi, Love the ip_set features - any chance that you might provide the
code (or possibly just instructions?) to build into the kernel in a
non-modular fashion? (for 2.6.38 and earlier)
The use case is a small embedded platform that has a slow modprobe
performance and modprobing at boottime directly affects the perceived
boot time speed (ie that's what I need to optimise). Additionally it
helps with my build scripts - not your concern, but it would simplify my
build scripts
Thanks for your consideration!
Ed W
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Feature request: ip_set for non-modular kernel
2011-05-05 12:41 Feature request: ip_set for non-modular kernel Ed W
@ 2011-05-05 13:49 ` Mr Dash Four
0 siblings, 0 replies; 2+ messages in thread
From: Mr Dash Four @ 2011-05-05 13:49 UTC (permalink / raw)
To: Ed W; +Cc: Jozsef Kadlecsik, netfilter-devel
> Hi, Love the ip_set features - any chance that you might provide the
> code (or possibly just instructions?) to build into the kernel in a
> non-modular fashion? (for 2.6.38 and earlier)
>
I was able to successfully achieve just that with version 4.5 and kernel
2.6.35 (kernel compiled from source, of course). If you have ipset 4.5
there is a nifty script called patch_kernel in the kernel/ directory
which does the donkey work for you - i.e. copying the necessary files to
the kernel source directory and adjust the appropriate kernel Kbuild and
Makefile(s).
What is left to be done by you then is to run "make oldconfig" (or amend
the ipset kernel options manually, if you wish) and adjust the ipset
kernel options so that all ipset files are included in the kernel, not
as modules (in other words, set all ipset-related kernel options to "y"
as oppose to "m").
In version 6 and above, the job is a tad more difficult as I am not sure
you can build the ipset objects as part of the kernel - I have
successfully built them as modules (as part of the kernel compilation),
but have not tried to include them as part of the kernel itself - I am
waiting for Jozsef to fix the bug I found in v6.3 and I will then
upgrade all my systems to that version (I am still on 4.5 at present).
Good luck!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-05 13:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-05 12:41 Feature request: ip_set for non-modular kernel Ed W
2011-05-05 13:49 ` Mr Dash Four
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).