NetBSD-Users archive

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

Re: npf woes



In article <20180513160542.GA732%laptop.my@localhost.domain>,
Edgar Pettijohn  <edgar%pettijohn-web.com@localhost> wrote:
>On Sun, May 13, 2018 at 09:33:43AM -0500, Edgar Pettijohn wrote:
>> On Sun, May 13, 2018 at 09:18:18PM +0700, Gua Chung Lim wrote:
>> > * Edgar Pettijohn (edgar%pettijohn-web.com@localhost) wrote:
>> > > Looks like I may need to load some modules. 
>> > 
>> > # modload npf
>> > # cd /dev
>> > # sh MAKEDEV npf
>> > # modload npf_ext_log
>> > # modload npf_ext_normalize
>> > # ifconfig npflog0 create
>> > # npfctl reload
>> > # npfctl start
>> > 
>> > Append the followings to /boot.cfg.
>> > load=npf
>> > load=npf_ext_log
>> > load=npf_ext_normalize
>> > 
>> > -- 
>> > Gua Chung Lim
>> >  
>> > "UNIX is basically a simple operating system,
>> > but you have to be a genius to understand the simplicity."
>> > -- Dennis M. Ritchie
>> 
>> Thanks, unfortunantly my modules got out of sink with the rest
>> of the system.  I'm rebuilding now.
>
>That seems to have done it. However, I can't get my npflog0 to be
>created on boot.  My /etc/ifconfig.npflog0 contains the single line
>`create'. After booting I am able to create it and restart npfd without 

You don't need to do any of that; if you put in your npf.conf

procedure "log" {
        log: npflog0
}

It will get created.

christos



Home | Main Index | Thread Index | Old Index