* Proper ipset userspace version for 3.0.X longterm kernel
@ 2012-02-17 7:35 Andreas Herz
2012-02-17 8:27 ` Jozsef Kadlecsik
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Herz @ 2012-02-17 7:35 UTC (permalink / raw)
To: netfilter
Hi,
i have a linux setup with the longterm kernel 3.0.X and i want to use
ipset. What i want to know is, what ipset 6.X version is the proper to
use with the 3.0.X kernel?
I saw several patches up to 2011-06-05 that are in the kernel. Then i
compared the kernelspace code from the kernel from kernel.org with the
ipset files from the ipset/netfilter page. I found out that version 6.3
has the fewest of all differences.
To be more precisely, i have 3.0.X ipset kernelspace and i want to know
which version i have to download and build to have the proper userspace
part. I had ipset 6.9.1 installed, worked fine but for example when i
tried to do "ipset create foobar hash:net,iface" the process was dead
and not killable. This one is clear, cause hash:net,iface is not part of
the kernelspace part in 3.0.X.
So is 6.3 the right ipset userspace version? And if yes, then why are
there still so many diffs like the "u32 flags" that are missing in 3.0.X
in the set files but are integrated in 6.3.
Or do you suggest to avoid the ipset kernelspace part from the 3.0.X
kernel and use the ipset for both, kernel- and userspace, from the
website?
--
Andreas Herz
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Proper ipset userspace version for 3.0.X longterm kernel
2012-02-17 7:35 Proper ipset userspace version for 3.0.X longterm kernel Andreas Herz
@ 2012-02-17 8:27 ` Jozsef Kadlecsik
2012-02-17 8:50 ` Andreas Herz
0 siblings, 1 reply; 3+ messages in thread
From: Jozsef Kadlecsik @ 2012-02-17 8:27 UTC (permalink / raw)
To: Andreas Herz; +Cc: netfilter
On Fri, 17 Feb 2012, Andreas Herz wrote:
> i have a linux setup with the longterm kernel 3.0.X and i want to use
> ipset. What i want to know is, what ipset 6.X version is the proper to
> use with the 3.0.X kernel?
> I saw several patches up to 2011-06-05 that are in the kernel. Then i
> compared the kernelspace code from the kernel from kernel.org with the
> ipset files from the ipset/netfilter page. I found out that version 6.3
> has the fewest of all differences.
The kernel tree is a little behind the ipset development, the most recent
3.x kernel (not 3.0.x) is around ipset 6.9.1.
> To be more precisely, i have 3.0.X ipset kernelspace and i want to know
> which version i have to download and build to have the proper userspace
> part. I had ipset 6.9.1 installed, worked fine but for example when i
> tried to do "ipset create foobar hash:net,iface" the process was dead
> and not killable. This one is clear, cause hash:net,iface is not part of
> the kernelspace part in 3.0.X.
That's a bug in the ipset userspace tool then and I'll look into it: the
program should have reported that the type was unsupported by the kernel.
> So is 6.3 the right ipset userspace version? And if yes, then why are
> there still so many diffs like the "u32 flags" that are missing in 3.0.X
> in the set files but are integrated in 6.3.
>
> Or do you suggest to avoid the ipset kernelspace part from the 3.0.X
> kernel and use the ipset for both, kernel- and userspace, from the
> website?
I suggest you to use both the kernel and userspace from the ipset package
if you want to use the 3.0.x kernel tree.
Best regards,
Jozsef
-
E-mail : kadlec@blackhole.kfki.hu, kadlecsik.jozsef@wigner.mta.hu
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : Wigner Research Centre for Physics, Hungarian Academy of Sciences
H-1525 Budapest 114, POB. 49, Hungary
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Proper ipset userspace version for 3.0.X longterm kernel
2012-02-17 8:27 ` Jozsef Kadlecsik
@ 2012-02-17 8:50 ` Andreas Herz
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Herz @ 2012-02-17 8:50 UTC (permalink / raw)
To: netfilter
On 17/02/12 at 09:27, Jozsef Kadlecsik wrote:
> On Fri, 17 Feb 2012, Andreas Herz wrote:
>
> > i have a linux setup with the longterm kernel 3.0.X and i want to use
> > ipset. What i want to know is, what ipset 6.X version is the proper to
> > use with the 3.0.X kernel?
> > I saw several patches up to 2011-06-05 that are in the kernel. Then i
> > compared the kernelspace code from the kernel from kernel.org with the
> > ipset files from the ipset/netfilter page. I found out that version 6.3
> > has the fewest of all differences.
>
> The kernel tree is a little behind the ipset development, the most recent
> 3.x kernel (not 3.0.x) is around ipset 6.9.1.
>
That's what i thought, the problem is i need to stay with the 3.0.x
LT kernel. But thanks for the info about 3.x and 6.9.1. I need this for
another scenario.
> > To be more precisely, i have 3.0.X ipset kernelspace and i want to know
> > which version i have to download and build to have the proper userspace
> > part. I had ipset 6.9.1 installed, worked fine but for example when i
> > tried to do "ipset create foobar hash:net,iface" the process was dead
> > and not killable. This one is clear, cause hash:net,iface is not part of
> > the kernelspace part in 3.0.X.
>
> That's a bug in the ipset userspace tool then and I'll look into it: the
> program should have reported that the type was unsupported by the kernel.
Do you need any more informations for this bug? I used 3.0.16 and the
userspace tool was 6.9.1 from Fedora 17.
> > So is 6.3 the right ipset userspace version? And if yes, then why are
> > there still so many diffs like the "u32 flags" that are missing in 3.0.X
> > in the set files but are integrated in 6.3.
> >
> > Or do you suggest to avoid the ipset kernelspace part from the 3.0.X
> > kernel and use the ipset for both, kernel- and userspace, from the
> > website?
>
> I suggest you to use both the kernel and userspace from the ipset package
> if you want to use the 3.0.x kernel tree.
I guess you're right. I don't insist on the new features but i saw that
there are several bugfixes with each 6.X version that might be useful
for my/our setup.
I used the ipset 4.X the same way.
And thanks for your fast response :)
--
Andreas Herz
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-02-17 8:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-17 7:35 Proper ipset userspace version for 3.0.X longterm kernel Andreas Herz
2012-02-17 8:27 ` Jozsef Kadlecsik
2012-02-17 8:50 ` Andreas Herz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox