home_server type = auth+acct+coa in the same port?
jpereiran at gmail.com
Fri May 8 18:13:31 CEST 2015
I have started this today, hope to finish soon. Btw, do you have
suggestions about the targets on the Makefiles or scripts to test the
server? Something that can be used to improve the tests!
Em 08/05/2015 12:37, "Alan DeKok" <aland at deployingradius.com> escreveu:
> On May 8, 2015, at 11:30 AM, Jorge Pereira <jpereiran at gmail.com> wrote:
> > I guess that i got it your idea... because today we have the
> > src/main/command.c that have a
> > static 'options' like the string "auth+acct" (you can't invert the
> > that set a static defines.
> In command.c, that string is used only when printing. So it's easy
> enough to fix.
> > I think that we can change for bit-wise matchs... like:
> That's probably the best approach.
> > // And in the places when need to match...
> > if (type_value & HOME_TYPE_ACCT)
> > do_handle_acct();
> > else if (type_value & HOME_TYPE_COA)
> > do_handle_coa();
> Yes. There's already code to do this for the auth+acct, I think.
> > </pseudo imaginary code>
> > something like that? btw... I have looked around, looks like a hard
> work! :)
> It's just work. I don't think it involves serious changes to the core.
> Alan DeKok.
> List info/subscribe/unsubscribe? See
More information about the Freeradius-Users