Re: ipfw2 for dragonflybsd

2014-11-17 Thread Zachary Crownover
I would say follow in the steps that were taken for the pf code that was
touched recently for SMP support and prevention of locking for you
application of the same into ipfw.

On Sun, Nov 16, 2014 at 10:04 PM, bycn82 byc...@gmail.com wrote:

 Hi ,
 I am re-writing the ipfw for dragonflybsd. and once I cleanup the code, I
 will continue port some useful features like NAT and policy routing.( NAT
 will be the next one)

 And here is a simple wiki page for it,
 http://www.dragonflybsd.org/docs/ipfw2/

 any comment? Sure I need people's help in testing of it. thanks in
 advanced.

 Regards,
 bycn82




-- 
Sincerely,

Zachary Crownover


Re: ipfw2 for dragonflybsd

2014-11-17 Thread Sepherosa Ziehau
For static rules, ipfw2 in the base is already lockless MPSAFE.  I
want to change the states lockless MPSAFE (it was not doable back to
the time I made ipfw2 static rules lockless MPSAFE; but now since we
dispatch udp outputs to the proper netisr, it is doable).

On Mon, Nov 17, 2014 at 6:13 PM, Zachary Crownover
zachary.crowno...@gmail.com wrote:
 I would say follow in the steps that were taken for the pf code that was
 touched recently for SMP support and prevention of locking for you
 application of the same into ipfw.

 On Sun, Nov 16, 2014 at 10:04 PM, bycn82 byc...@gmail.com wrote:

 Hi ,
 I am re-writing the ipfw for dragonflybsd. and once I cleanup the code, I
 will continue port some useful features like NAT and policy routing.( NAT
 will be the next one)

 And here is a simple wiki page for it,
 http://www.dragonflybsd.org/docs/ipfw2/

 any comment? Sure I need people's help in testing of it. thanks in
 advanced.

 Regards,
 bycn82




 --
 Sincerely,

 Zachary Crownover



-- 
Tomorrow Will Never Die