Title: Rules can't be removed

Hi there,

We are using the ipf to control access to gaming servers. We have the gaming servers only for subscribers. The access is controled through a web authentication.

When authenticated, I create a temporary file, with the line:

pass in fxp1 from xx.xx.xx.xx/32 to any

and then "ipf -f <temporary file>"

It works fine.

My problems comes when I need to expire the rule.

I have a program that controls when to expire the rule.
and when it happens, it makes a list with the "expired" rules and creates a file like that...:

pass in fxp1 from xx.xx.xx.xx/32 to any
pass in fxp1 from xx.xx.xx.xx/32 to any
pass in fxp1 from xx.xx.xx.xx/32 to any

and then "ipf -r -f <temporary file>"

But those rules are not removed!
Actually there are situations that a few rules on the temporary file are removed, and other aren't. And I don't know why!

Anyone have any ideas?

The system runs..:
FreeBSD 4.7-RELEASE
-----------------------------
ipf: IP Filter: v3.4.29 (336)
Kernel: IP Filter: v3.4.29             

Thank you for any help.

Denis A.V.Jr. - [EMAIL PROTECTED]

Reply via email to