NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Setting a rule for NPF



> Sent: Tuesday, December 30, 2014 at 7:54 PM
> From: "Rocky Hotas" <rockyhotas%post.com@localhost>
> To: "NetBSD Users Mailing List" <netbsd-users%netbsd.org@localhost>
> Subject: Setting a rule for NPF
[...]
> But how can I specify the logging action?

Maybe
 
procedure "log" {
     log: npflog0
}

group (default) {

pass proto icmp apply "log" 

}

?

The interface should have a normal behaviour, but in the meantime I would like to log the reception of ICMP packets (the ping ones, for example).


Home | Main Index | Thread Index | Old Index