On Thu, Sep 25, 2003 at 01:13:58AM -0400, [EMAIL PROTECTED] wrote: > I'm using some rules that rely on a userland auth daemon. I'm working > off of the userauth.c in the samples directory. Everything works > ok in general, but when I do: > > fra.fra_pass |= FR_BLOCK; > fra.fra_pass |= FR_RETRST; > > The packets get blocked but no return-rst is sent. If I do: > > fra.fra_pass |= FR_BLOCK; > fra.fra_pass |= FR_RETICMP; > > I do in fact get an icmp returned. I can't quite figure out why the > former fails but the later works. My end goal (if it issn't obvious) > is to be able to have my auth program return a result that is > equivalent to: > > block return-rst in ... > > Any clues?
You can list what rules are in teh auth table. If it reports back that the FR_RETRST flag is set, then it is a kernel problem. If not, it might be a problem in your auth program. Please also post the version of ipf you are using. -Guido
