Elizabeth Myers
f681e277eb
authd/providers/ident: perform check for valid auth_client data
2016-03-26 20:33:35 -05:00
Elizabeth Myers
4ac5b30e77
authd/providers/ident: remove debugging message
2016-03-26 19:31:45 -05:00
Elizabeth Myers
22946d30d5
authd/providers/ident: fix up trailing lf/cr at end of username
...
This bug existed in the original code too, but I have no idea how it
didn't manifest.
2016-03-26 19:18:54 -05:00
Elizabeth Myers
d1b70e3524
providers/ident: fix some nasty crashes
2016-03-26 18:40:17 -05:00
Elizabeth Myers
f875cb8482
providers/ident: more aggressive NULL checks
2016-03-26 18:01:14 -05:00
Elizabeth Myers
47ab6f6e6e
authd/providers/ident: properly initialise variable
2016-03-26 17:35:48 -05:00
Elizabeth Myers
67acafca57
authd/providers/ident: add configuration interface
2016-03-26 16:36:50 -05:00
Elizabeth Myers
06f3496ab3
providers/ident: cleanup things
2016-03-26 15:39:55 -05:00
Elizabeth Myers
db821ee9ba
authd: split out notices stuff for backporting to master.
2016-03-25 21:29:44 -05:00
Elizabeth Myers
a7d5aea119
provider: make blacklist queries come after ident/rdns.
2016-03-25 20:46:58 -05:00
Elizabeth Myers
32f8c78b55
stupidity fixes
2016-03-23 19:06:33 -05:00
Elizabeth Myers
6cd3964de7
ident: use new *_addr fields
2016-03-23 18:58:56 -05:00
Elizabeth Myers
6e4bcf20ff
providers/ident: fix inet_ntop/inet_pton mixup
2016-03-23 18:47:02 -05:00
Elizabeth Myers
ab33d608de
DICTIONARY_FOREACH -> RB_DICTIONARY_FOREACH [ci skip]
2016-03-23 14:29:27 -05:00
Elizabeth Myers
aba29d5a19
authd/provider: incorporate new changes
2016-03-23 09:03:37 -05:00
Elizabeth Myers
3e875f629f
authd/provider: overhaul storage of various pieces of data
...
Clients are stored in a dictionary referenced by id (to allow for
UINT32_MAX auth clients, which is plenty).
Each provider now has a data slot (this limits the number of providers
to 32 for now, but that's plenty for now) which they can use to attach
data to auth_clients. This consolidates data, aids in debugging, and
makes it easier to just pass around auth_client structures.
2016-03-22 19:13:54 -05:00
Elizabeth Myers
2b0cc3d36a
Redo of the authd-framework branch.
...
This is basically most of the code from the authd-framework branch, but
written to the new DNS code in master. Not quite done yet but getting
there.
2016-03-17 16:23:27 -05:00