> 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.
How do I this? Here is the line from my conf:
auth in quick proto tcp from any to any port = 22 flags S keep state
> Please also post the version of ipf you are using.
This happens on the two versions I'm running:
# ipf -V
ipf: IP Filter: v3.4.29 (432)
Kernel: IP Filter: v3.4.29
# ipf -V
ipf: IP Filter: v3.4.33pre1 (432)
Kernel: IP Filter: v3.4.33pre1
- Noam