From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Shivani Bhardwaj <shivanib134@gmail.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH v3] configure: Show support for connlabel
Date: Tue, 15 Mar 2016 01:36:01 +0100 [thread overview]
Message-ID: <20160315003601.GA23295@salvia> (raw)
In-Reply-To: <20160312121804.GA27150@gmail.com>
On Sat, Mar 12, 2016 at 05:48:04PM +0530, Shivani Bhardwaj wrote:
> Add the --disable-connlabel option and the appropriate functionality
> associated with it.
>
> After this patch, iptables configuration shows up as:
>
> Iptables Configuration:
> IPv4 support: yes
> IPv6 support: yes
> Devel support: yes
> IPQ support: no
> Large file support: yes
> BPF utils support: no
> nfsynproxy util support: no
> nftables support: yes
> connlabel support: yes
I think we are almost there, see below.
> Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com>
> ---
> Changes in v3:
> Remove check for libnfnetlink from the if block
>
> Changes in v2:
> Correct the option to disable-connlabel and add code to make it
> work
>
> configure.ac | 30 +++++++++++++++++++++---------
> 1 file changed, 21 insertions(+), 9 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 33a8f2d..f9bc2a3 100644
> --- a/configure.ac
> +++ b/configure.ac
[...]
> @@ -168,6 +164,21 @@ if test "$nftables" != 1; then
> blacklist_a_modules="$blacklist_a_modules mangle"
> fi
>
> +if test "x$enable_connlabel" = "xyes"; then
> + PKG_CHECK_MODULES([libnetfilter_conntrack],
> + [libnetfilter_conntrack >= 1.0.4],
> + [nfconntrack=1], [nfconntrack=0])
> +
> + if test "$nfconntrack" -ne 1; then
> + blacklist_modules="$blacklist_modules connlabel";
> + echo "WARNING: libnetfilter_conntrack not found, connlabel match will not be built";
Could you set enable_connlabel to "no" when this occurs so the banner
also displays that connlabel support has been skipped?
> + fi;
> +else
> + blacklist_modules="$blacklist_modules connlabel";
> +fi;
next prev parent reply other threads:[~2016-03-15 0:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-12 12:18 [PATCH v3] configure: Show support for connlabel Shivani Bhardwaj
2016-03-15 0:36 ` Pablo Neira Ayuso [this message]
2016-03-15 19:02 ` Shivani Bhardwaj
2016-03-16 18:30 ` Pablo Neira Ayuso
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=20160315003601.GA23295@salvia \
--to=pablo@netfilter.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=shivanib134@gmail.com \
/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.