From: Mr Dash Four <mr.dash.four@googlemail.com>
To: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: ipset nomatch not showing
Date: Fri, 30 Mar 2012 17:09:39 +0100 [thread overview]
Message-ID: <4F75DAC3.8050903@googlemail.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1203261055350.24242@blackhole.kfki.hu>
> Could you send me then the patch?
>
OK, I am posting this for future reference - as it turned out, for some
reason the method I used to compile/build the kernel modules which form
part of ipset was not up to scratch ("cp -al" has a lot to answer for!)
and, apparently, 2 vital files/patches were missed:
kernel/include/linux/netfilter/ipset/ip_set_ahash.h as well as a hunk in
net/netfilter/ipset/pfxlen.c.
The kernel compilation miraculously succeeded, but I was not able to use
the nomatch option, until I fixed the error thanks to Jozsef's help and
assistance.
-bash-4.1# ipset a test-net 10.1.2.7 timeout 0 nomatch
-bash-4.1# ipset l test-net
Name: test-net
Type: hash:net
Header: family inet hashsize 64 maxelem 5 timeout 0
Size in memory: 924
References: 18
Members:
10.1.2.7 timeout 0 nomatch
10.1.2.0/24 timeout 0
-bash-4.1# ipset t test-net 10.1.2.7
10.1.2.7 is NOT in set test-net.
So, it all works now!
prev parent reply other threads:[~2012-03-30 16:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-23 12:58 ipset nomatch not showing Mr Dash Four
2012-03-23 20:00 ` Jozsef Kadlecsik
2012-03-23 20:06 ` Mr Dash Four
2012-03-26 8:56 ` Jozsef Kadlecsik
2012-03-30 16:09 ` Mr Dash Four [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F75DAC3.8050903@googlemail.com \
--to=mr.dash.four@googlemail.com \
--cc=kadlec@blackhole.kfki.hu \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.