Possible Bug in valuepair / rlm_file etc etc.

Alan DeKok aland at ox.org
Mon Oct 24 18:50:06 CEST 2005

Alister Winfield <alister.winfield at uk.easynet.net> wrote:
> Are you suggesting this in valuepair.c inside the loop that walks the
> check items, or in rlm_file which I suspect would require the full check
> items list to be copied to keep everything sane? I suspect you mean in
> valuepair.c but thought it wise to ask ;).

  valuepair.c.  That code is *also* used by other modules in
FreeRADIUS, so editing rlm_files wouldn't be correct.

> Anyway just noticed another unfortunate feature in rlm_file.c. The !=
> and !~ tests only notice if the very first matching attribute doesn't
> match the value / regex but there is no way of asking the question does
> this attribute value pair NOT exist anywhere in the packet.

  Huh?  !* and =*

  Alan DeKok.

More information about the Freeradius-Devel mailing list