On Dec 31, 11:59am, [email protected] ("Rocky Hotas") wrote:
-- Subject: Re: Setting a rule for NPF

| > Sent: Tuesday, December 30, 2014 at 10:08 PM
| > From: "Christos Zoulas" <[email protected]>
| > To: [email protected]
| > Subject: Re: Setting a rule for NPF
| >
| [...]
| > >procedure "log" {
| > >     log: npflog0
| > >}
| > >
| > >group (default) {
| > >
| > >pass proto icmp apply "log" 
| [...]
| > I think that should work.
| 
| I ran
| 
| npf_ext_log
| npf_ext_normalise
| ifconfig npflog0 create
| 
| But when I run
| 
| npfctl reload
| 
| it gives an error on the rule inside the group:
| 
| syntax error near 'apply'

pass proto icmp from any to any apply "log"

I will check the BNF if the statement that produces a syntax error
should be allowed by the grammar.

christos

Reply via email to