vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| > > I have a question concerning some pf-manipulating > > codes like > > authpf/ftp-proxy and others. > > Why pf (rule optimisation|parser|ioctl wrappers) > > manipulation functions > > are not implemented in an external library (a libpf > > for exemple). > > Thus, code from pfctl could be reused intead of > > doing some exec*() call > > in C code. > > Is it a choice ? > > > > > > Cheers, > > Francois Visconte > > > > > > I once tried to implement, just for the fun, a pfsh > and started working on libpf. most of the code was > borowed from pfctl itself. maybe i can find that code > somewhere in here. 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. Also, piping pf data (especially for anchors) into a pfctl invocation is way more powerful, since you get all the grammer and features. We have thought about it before. We rejected the idea. Sorry. |