netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* nftables: nft @nh segfault
@ 2014-03-30 11:34 Laurent GUERBY
  2014-04-04  9:55 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 3+ messages in thread
From: Laurent GUERBY @ 2014-03-30 11:34 UTC (permalink / raw)
  To: netfilter

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

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.

Sincerely,

Laurent


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-13  8:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-30 11:34 nftables: nft @nh segfault Laurent GUERBY
2014-04-04  9:55 ` Pablo Neira Ayuso
2014-04-13  8:12   ` Laurent GUERBY

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).