From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Laurent GUERBY <laurent@guerby.net>
Cc: netfilter@vger.kernel.org
Subject: Re: nftables: nft @nh segfault
Date: Fri, 4 Apr 2014 11:55:33 +0200 [thread overview]
Message-ID: <20140404095533.GA4413@localhost> (raw)
In-Reply-To: <1396179281.15058.469.camel@pc2>
On Sun, Mar 30, 2014 at 01:34:41PM +0200, Laurent GUERBY wrote:
> Hi,
>
> While trying to use @nh I got nft to segfault:
>
> root@h7:~# nft --version
> nftables v0.100 (keith-alexander-filter)
> root@h7:~# cat /proc/version
> Linux version 3.14-rc7-amd64 (debian-kernel@lists.debian.org) (gcc
> version 4.8.2 (Debian 4.8.2-16) ) #1 SMP Debian 3.14~rc7-1~exp1
> (2014-03-17)
> root@h7:~# nft add rule filter output @nh,16,4 8.8.8.8 counter
> Segmentation fault
that shouldn't crash indeed. Please, retry with latest git snapshot
and if the problem is still there file a bug to netfilter's bugzilla.
Thanks.
> I infered the syntax from src/parser.y:
>
> payload_raw_expr : AT payload_base_spec COMMA NUM COMMA NUM
> payload_base_spec : LL_HDR { $$ = PAYLOAD_BASE_LL_HDR; }
> | NETWORK_HDR { $$ = PAYLOAD_BASE_NETWORK_HDR; }
>
>
> But may be I made a mistake, I could not find documentation.
Have a look at http://wiki.nftables.org
Let me know if you find some missing information, I'll schedule time
to expand/enhance it.
next prev parent reply other threads:[~2014-04-04 9:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-30 11:34 nftables: nft @nh segfault Laurent GUERBY
2014-04-04 9:55 ` Pablo Neira Ayuso [this message]
2014-04-13 8:12 ` Laurent GUERBY
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=20140404095533.GA4413@localhost \
--to=pablo@netfilter.org \
--cc=laurent@guerby.net \
--cc=netfilter@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 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).