In article 
<trinity-aa537093-07cb-4629-9ee7-b44eb85ecc40-1419967367672@3capp-mailcom-lxa05>,
Rocky Hotas <[email protected]> wrote:
>> Sent: Tuesday, December 30, 2014 at 7:54 PM
>> From: "Rocky Hotas" <[email protected]>
>> To: "NetBSD Users Mailing List" <[email protected]>
>> 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).

I think that should work.

christos

Reply via email to