Re: deleting a rule

2006-07-19 Thread Daniel Hartmeier
On Wed, Jul 19, 2006 at 01:35:51PM +0530, Rajkumar S. wrote: And these rules are dynamic ie, the rule one might be for 10 minutes and after which it needs to be deleted. The current way is to flush the anchor and then load the anchor with all the rules except the one deleted. It is a

Re: deleting a rule

2006-07-19 Thread Rajkumar S.
Quoting Daniel Hartmeier [EMAIL PROTECTED]: Why don't you create sub-anchors, one for each single rule? Brilliant!! Thanks a lot! This is what I want! raj PS: I still would love to see an example program to use pf ioctl, or some documentation, now just for academic purpose. pfctl is bit

Re: deleting a rule

2006-07-19 Thread Camiel Dobbelaar
On Wed, 19 Jul 2006, Rajkumar S. wrote: PS: I still would love to see an example program to use pf ioctl, or some documentation, now just for academic purpose. pfctl is bit complex, especially when it gets to the parse.y and because it uses pfctl structure for most of the data.