All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* nftables setup
@ 2013-09-17 17:02 Anand Raj Manickam
  2013-09-17 17:23 ` Eric Leblond
  0 siblings, 1 reply; 2+ messages in thread
From: Anand Raj Manickam @ 2013-09-17 17:02 UTC (permalink / raw
  To: netfilter

Hi,

  I have the setup running with help from
  https://home.regit.org/netfilter-en/nftables-quick-howto/ .
  I have done some basic rule add / delete /drop tests .
  At this point i  dn't see a option to replace a rule , which used to
  be with iptables.

  After upgrading the git to latest , rebuilding the kernel and other tools.
  Now i face this problem :

  #nft -f files/nftables/ipv4-filter

  In file included from internal:0:0-0:
  files/nftables/ipv4-filter:4:35-38: Error: syntax error, unexpected hook
  chain input { hook NF_INET_LOCAL_IN 0; }
                                    ^^^^
  Can you help me with some pointer to proceed...
Thanks,
Anand

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

* Re: nftables setup
  2013-09-17 17:02 nftables setup Anand Raj Manickam
@ 2013-09-17 17:23 ` Eric Leblond
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Leblond @ 2013-09-17 17:23 UTC (permalink / raw
  To: Anand Raj Manickam; +Cc: netfilter

[-- Attachment #1: Type: text/plain, Size: 903 bytes --]

Hello,

Le mardi 17 septembre 2013 à 22:32 +0530, Anand Raj Manickam a écrit :
> Hi,
> 
>   I have the setup running with help from
>   https://home.regit.org/netfilter-en/nftables-quick-howto/ .
>   I have done some basic rule add / delete /drop tests .
>   At this point i  dn't see a option to replace a rule , which used to
>   be with iptables.
> 
>   After upgrading the git to latest , rebuilding the kernel and other tools.
>   Now i face this problem :
> 
>   #nft -f files/nftables/ipv4-filter
> 
>   In file included from internal:0:0-0:
>   files/nftables/ipv4-filter:4:35-38: Error: syntax error, unexpected hook
>   chain input { hook NF_INET_LOCAL_IN 0; }
>                                     ^^^^
>   Can you help me with some pointer to proceed...

Update your nftables sources to latest git. The examples files have been
updated this morning.

BR,
--
Eric

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

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

end of thread, other threads:[~2013-09-17 17:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-17 17:02 nftables setup Anand Raj Manickam
2013-09-17 17:23 ` Eric Leblond

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.