Unix Technical Forum

Re: why not a libpf

This is a discussion on Re: why not a libpf within the mailing.openbsd.tech forums, part of the OpenBSD category; --> > >If we had a library, we would have two pieces of code that need to be > >modified ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > mailing.openbsd.tech

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 08:54 AM
Theo de Raadt
 
Posts: n/a
Default Re: why not a libpf

> >If we had a library, we would have two pieces of code that need to be
> >modified when we make a change. That increases the potential for
> >error.
> >

> The idea behind that is to use this library in pfctl code.
> In a word, moving pfctl's reusable code (optimizing, parsing,
> adding/deleting rules...) into a separate library.
> For exemple, libevent code is not included in a 'evenctl' binary. Why
> this couldn't be the same for pfctl ?


pfctl is a complicated enough program without it having to deal
with a library interface designed for another purpose internally.

What you suggest would stop pf from growing in the future.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:14 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com