]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Fri, 22 Jun 2018 13:40:45 +0000 (09:40 -0400)]
fix wildcard includes
so that you can now do:
$INCLUDE mods-enabled/sql
$INCLUDE mods-enabled/
This will cause the "sql" module to be read first. Then, when the
directory is read, the "sql" module will be ignored.
This solves ordering issues where "sqlippool" needs "sql", but
"sqlippool" is listed in the *directory* on disk after "sql".
Manual port of commit
bb842ece0102
Alan T. DeKok [Thu, 21 Jun 2018 19:24:48 +0000 (15:24 -0400)]
move handling of EWOUILDBLOCK to conduit code
Alan T. DeKok [Thu, 21 Jun 2018 19:20:54 +0000 (15:20 -0400)]
handle commands
through the simple expedient of echoing back a blank line...
Alan T. DeKok [Thu, 21 Jun 2018 19:20:41 +0000 (15:20 -0400)]
reset leftover once we've read a full packet
Alan T. DeKok [Thu, 21 Jun 2018 19:20:23 +0000 (15:20 -0400)]
handle EWOULDBLOCK
Arran Cudbard-Bell [Fri, 22 Jun 2018 00:13:43 +0000 (20:13 -0400)]
Move server_id into proto_radius_auth
This is a super secret config option that is pretty RADIUS specific
Alan T. DeKok [Thu, 21 Jun 2018 16:12:31 +0000 (12:12 -0400)]
move to v4 configuration
Alan T. DeKok [Thu, 21 Jun 2018 16:12:13 +0000 (12:12 -0400)]
handle initial version checks
Alan T. DeKok [Thu, 21 Jun 2018 16:07:20 +0000 (12:07 -0400)]
use magic number from header file
Alan T. DeKok [Thu, 21 Jun 2018 16:06:52 +0000 (12:06 -0400)]
use strncmp on strings
Alan T. DeKok [Thu, 21 Jun 2018 15:43:18 +0000 (11:43 -0400)]
make unix/tcp more similar
Alan T. DeKok [Tue, 19 Jun 2018 14:27:14 +0000 (10:27 -0400)]
don't need to do a lookup to access request->control
Alan DeKok [Tue, 19 Jun 2018 17:25:38 +0000 (13:25 -0400)]
Merge pull request #2251 from mattrose/master
add libfreeradius-eap-sim.so and libfreeradius-soh.so to libfreeradiu…
Matt Rose [Tue, 19 Jun 2018 16:42:13 +0000 (12:42 -0400)]
add libfreeradius-eap-sim.so and libfreeradius-soh.so to libfreeradius4 dpkg
Alan T. DeKok [Tue, 19 Jun 2018 13:37:03 +0000 (09:37 -0400)]
install module, not "sql_" stuff??
Alan DeKok [Tue, 19 Jun 2018 13:34:24 +0000 (09:34 -0400)]
Merge pull request #2249 from mattrose/master
remove proto_dhcp* from main package and move proto_ldap_sync to free…
Alan T. DeKok [Mon, 18 Jun 2018 17:51:26 +0000 (13:51 -0400)]
add parse_rules to more modules
we still need to refer to any attribute, tho.
e.g. dynamic clients need *both* the internal FR attributes
which define dynamic clients, *and* the protocol attributes
which are in the incoming packet.
Alan T. DeKok [Mon, 18 Jun 2018 17:33:39 +0000 (13:33 -0400)]
set default dictionaries for radius
Alan T. DeKok [Mon, 18 Jun 2018 17:09:19 +0000 (13:09 -0400)]
update rules, too, for new unlang_ctx
Alan T. DeKok [Mon, 18 Jun 2018 16:11:56 +0000 (12:11 -0400)]
check for variable state length. finishes previous commit
Manual port of commit
65e1790bb
Alan T. DeKok [Mon, 18 Jun 2018 16:10:03 +0000 (12:10 -0400)]
missed this
Alan T. DeKok [Mon, 18 Jun 2018 15:39:36 +0000 (11:39 -0400)]
add parse rules, mostly.
The conditional tokenizer is still called from cf_file, which
doesn't (yet) know about dictionaries, etc. We will probably
need to update the conf file reader to know about that.
Alan T. DeKok [Mon, 18 Jun 2018 15:35:59 +0000 (11:35 -0400)]
set empty rules if they're not passed in
and ensure that all compilations use them
Alan T. DeKok [Mon, 18 Jun 2018 15:07:51 +0000 (11:07 -0400)]
make unlang_compile_subsection() take rules, too
Alan T. DeKok [Mon, 18 Jun 2018 15:03:39 +0000 (11:03 -0400)]
add "rules" to unlang_compile()
does nothing for now, but in preparation for protocol-specific
dictionaries
Alan T. DeKok [Mon, 18 Jun 2018 15:01:59 +0000 (11:01 -0400)]
notes
Alan T. DeKok [Mon, 18 Jun 2018 14:46:46 +0000 (10:46 -0400)]
make map_afrom_vp() take vp_tmpl_rules_t for consistency
Alan T. DeKok [Mon, 18 Jun 2018 14:37:46 +0000 (10:37 -0400)]
Handle variable length State attributes
Manual port of commit
65e1790bb
Alan T. DeKok [Sun, 17 Jun 2018 15:43:35 +0000 (11:43 -0400)]
catch GROUP
Alan T. DeKok [Sun, 17 Jun 2018 14:56:23 +0000 (10:56 -0400)]
disallow '{' after WORD OPERATOR
which we might allow later for groups, but at least we now
have a better error, and the knowledge of where to put the
extra syntax for groups
Alan T. DeKok [Sun, 17 Jun 2018 12:38:39 +0000 (08:38 -0400)]
define and parse "group" attribute
so that we can do arbitrary grouping
Matt Rose [Fri, 15 Jun 2018 18:25:22 +0000 (14:25 -0400)]
remove proto_dhcp* from main package and move proto_ldap_sync to freeradius-ldap package
Alan T. DeKok [Tue, 12 Jun 2018 15:17:07 +0000 (11:17 -0400)]
fix links to master
Arran Cudbard-Bell [Mon, 11 Jun 2018 13:58:32 +0000 (09:58 -0400)]
Use newer macro
Arran Cudbard-Bell [Mon, 11 Jun 2018 13:18:07 +0000 (09:18 -0400)]
Move link_layer functions into pcap.c as they need libpcap to work
Arran Cudbard-Bell [Mon, 11 Jun 2018 13:15:03 +0000 (09:15 -0400)]
Fix libpcap detection
Alan T. DeKok [Sun, 10 Jun 2018 16:52:23 +0000 (12:52 -0400)]
start of asciidoc conversion
Alan T. DeKok [Sun, 10 Jun 2018 16:51:54 +0000 (12:51 -0400)]
let lists be formatted correctly
Alan T. DeKok [Sun, 10 Jun 2018 16:49:49 +0000 (12:49 -0400)]
load all conf into asciidoc
Alan T. DeKok [Sat, 9 Jun 2018 15:22:12 +0000 (11:22 -0400)]
add "asciidoc" target
which means pretty, pretty, documentation
Alan T. DeKok [Sat, 9 Jun 2018 15:09:55 +0000 (11:09 -0400)]
start of "convert conf files to humanly readable"
Arran Cudbard-Bell [Thu, 7 Jun 2018 16:49:39 +0000 (22:49 +0600)]
Reorganise the TACACS+ library code
Alan T. DeKok [Thu, 7 Jun 2018 20:17:48 +0000 (16:17 -0400)]
control sock unix now accepts connections
next step, implement the various state machines necessary
for authentication, etc.
Alan T. DeKok [Thu, 7 Jun 2018 20:17:09 +0000 (16:17 -0400)]
we don't need this
Alan T. DeKok [Thu, 7 Jun 2018 20:08:03 +0000 (16:08 -0400)]
fd_set may fail
Alan T. DeKok [Thu, 7 Jun 2018 20:01:53 +0000 (16:01 -0400)]
we can now connect to control sockets
not much else happens, but oh well
Alan T. DeKok [Thu, 7 Jun 2018 20:01:38 +0000 (16:01 -0400)]
start of handling Unix sockets, too
Alan T. DeKok [Thu, 7 Jun 2018 16:51:06 +0000 (12:51 -0400)]
port more code over from v3.
not tested, but it compiles.
Arran Cudbard-Bell [Wed, 6 Jun 2018 09:18:34 +0000 (15:18 +0600)]
Fix clang scan complaints
Arran Cudbard-Bell [Wed, 6 Jun 2018 08:57:03 +0000 (14:57 +0600)]
Correct fix for fr_pair_list_afrom_file
Arran Cudbard-Bell [Wed, 6 Jun 2018 08:25:00 +0000 (14:25 +0600)]
Merge pull request #2241 from pwdng/xlat_urlquote
Convert urlquote and urlenquote xlat
Arran Cudbard-Bell [Wed, 6 Jun 2018 02:37:19 +0000 (08:37 +0600)]
Doxygen
Alan T. DeKok [Tue, 5 Jun 2018 17:32:22 +0000 (13:32 -0400)]
wind the cursor to the tail of the list
Arran Cudbard-Bell [Tue, 5 Jun 2018 10:25:05 +0000 (16:25 +0600)]
Fix various binary safety issues in LDAP
Alan T. DeKok [Tue, 5 Jun 2018 16:55:22 +0000 (12:55 -0400)]
append all VPs, not just the first one.
it's rather surprising to see fr_cursor_append() set vp->next=NULL
which causes all kinds of issues with callers expecting something
else.
Alan T. DeKok [Tue, 5 Jun 2018 14:12:22 +0000 (10:12 -0400)]
initialize the radius dictionaries
Alan T. DeKok [Mon, 4 Jun 2018 18:36:52 +0000 (14:36 -0400)]
allow for partial writes
Arran Cudbard-Bell [Tue, 5 Jun 2018 07:47:02 +0000 (13:47 +0600)]
Typo
Arran Cudbard-Bell [Tue, 5 Jun 2018 07:33:52 +0000 (13:33 +0600)]
Pass through a rules structure containing the rules for the tmpl parser
Arran Cudbard-Bell [Tue, 5 Jun 2018 03:30:12 +0000 (09:30 +0600)]
Don't need to use talloc_zero_size here
Alan T. DeKok [Mon, 4 Jun 2018 18:20:23 +0000 (14:20 -0400)]
cleanups and simplifications
Alan T. DeKok [Mon, 4 Jun 2018 14:43:33 +0000 (10:43 -0400)]
s->waiting is already localized
Alan T. DeKok [Mon, 4 Jun 2018 13:23:52 +0000 (09:23 -0400)]
notes on localizing messages
Alan T. DeKok [Mon, 4 Jun 2018 13:22:11 +0000 (09:22 -0400)]
support partial writes to TCP sockets
Philippe Wooding [Fri, 1 Jun 2018 12:48:27 +0000 (12:48 +0000)]
Convert urlunquote xlat to new API
Philippe Wooding [Fri, 1 Jun 2018 12:48:07 +0000 (12:48 +0000)]
Convert urlquote xlat to new API
Arran Cudbard-Bell [Mon, 4 Jun 2018 03:52:11 +0000 (09:52 +0600)]
Quiet clang scan
Arran Cudbard-Bell [Mon, 4 Jun 2018 03:26:48 +0000 (09:26 +0600)]
Use correct talloc type for string buffers
Arran Cudbard-Bell [Mon, 4 Jun 2018 03:17:27 +0000 (09:17 +0600)]
Move pairmove into its own file
It should eventually be removed
Alan T. DeKok [Mon, 4 Jun 2018 01:21:50 +0000 (21:21 -0400)]
allow for partial writes to sockets.
When that happens, save how much we've written, and remember
to keep doing the writes later.
Alan T. DeKok [Mon, 4 Jun 2018 00:58:17 +0000 (20:58 -0400)]
try to quiet compiler complaints
Alan T. DeKok [Mon, 4 Jun 2018 00:56:29 +0000 (20:56 -0400)]
initialize parent_inst
Alan T. DeKok [Sun, 3 Jun 2018 23:47:31 +0000 (19:47 -0400)]
build fixes
Alan T. DeKok [Sun, 3 Jun 2018 17:33:02 +0000 (13:33 -0400)]
doxygen
Alan T. DeKok [Sun, 3 Jun 2018 17:32:39 +0000 (13:32 -0400)]
remove unused variable
Alan T. DeKok [Sun, 3 Jun 2018 17:30:31 +0000 (13:30 -0400)]
add "written" argument to app_io->write
so that we can do partial writes in the network code, instead of
relying on every application to re-implement it
Alan T. DeKok [Fri, 1 Jun 2018 17:38:39 +0000 (13:38 -0400)]
more cleanups
Alan T. DeKok [Fri, 1 Jun 2018 17:37:43 +0000 (13:37 -0400)]
write() must write ALL of the data
it's the responsibility of the underlying IO routine to cache
any partial writes
Alan T. DeKok [Fri, 1 Jun 2018 17:05:38 +0000 (13:05 -0400)]
use "leftover" as per lib/io/master.c
and return 0 for "not yet read a whole packet"
and return the whole packet for fr_conduit_read_async()
Alan T. DeKok [Fri, 1 Jun 2018 16:44:08 +0000 (12:44 -0400)]
start of proto_control
and move radmin to proto_control directory. It's no longer
part of the server core.
Arran Cudbard-Bell [Fri, 1 Jun 2018 16:13:21 +0000 (22:13 +0600)]
Doxygen
Arran Cudbard-Bell [Fri, 1 Jun 2018 16:13:07 +0000 (22:13 +0600)]
Augment the correct dictionary
Arran Cudbard-Bell [Fri, 1 Jun 2018 13:11:51 +0000 (19:11 +0600)]
Don't leak memory on invalid character class
Arran Cudbard-Bell [Fri, 1 Jun 2018 12:43:30 +0000 (18:43 +0600)]
Print extra information from about the digest tests
Arran Cudbard-Bell [Fri, 1 Jun 2018 12:33:13 +0000 (18:33 +0600)]
Remove redundant checks, and print more debug info in rlm_digest
Arran Cudbard-Bell [Fri, 1 Jun 2018 12:32:53 +0000 (18:32 +0600)]
Fix fr_cursor_head when used with an iterator
Arran Cudbard-Bell [Fri, 1 Jun 2018 09:36:31 +0000 (15:36 +0600)]
Merge pull request #2240 from pwdng/xlat_randstr
Convert randstr xlat to new API
Philippe Wooding [Fri, 1 Jun 2018 09:07:33 +0000 (09:07 +0000)]
Convert randstr xlat to new API
Arran Cudbard-Bell [Fri, 1 Jun 2018 07:36:35 +0000 (13:36 +0600)]
Add function to extract qualified attribute names from substrings
Arran Cudbard-Bell [Fri, 1 Jun 2018 03:48:58 +0000 (09:48 +0600)]
Formatting
Arran Cudbard-Bell [Fri, 1 Jun 2018 07:16:29 +0000 (13:16 +0600)]
Merge pull request #2239 from pwdng/xlat_rand
Convert rand xlat to new API
Alan T. DeKok [Thu, 31 May 2018 19:56:47 +0000 (15:56 -0400)]
use the correct name taken from the dictionaries
Alan T. DeKok [Thu, 31 May 2018 19:45:01 +0000 (15:45 -0400)]
as found on the net
Arran Cudbard-Bell [Thu, 31 May 2018 18:46:30 +0000 (00:46 +0600)]
Fix other casts for array indexes fr_dict_attr_allowed_chars
Arran Cudbard-Bell [Thu, 31 May 2018 18:43:50 +0000 (00:43 +0600)]
Clear out strerror buffer to avoid spurious error messages
Arran Cudbard-Bell [Thu, 31 May 2018 18:34:16 +0000 (00:34 +0600)]
Don't cast to int‽
No idea what this was there
Arran Cudbard-Bell [Thu, 31 May 2018 18:22:47 +0000 (00:22 +0600)]
Fixup test
Arran Cudbard-Bell [Thu, 31 May 2018 18:21:44 +0000 (00:21 +0600)]
Print the full attribute name on error
Arran Cudbard-Bell [Thu, 31 May 2018 17:09:45 +0000 (23:09 +0600)]
vp has to be left pointing to the head of the list returned by fr_pair_list_afrom_str, else the block termination check doesn't work
Alan T. DeKok [Thu, 31 May 2018 15:34:34 +0000 (11:34 -0400)]
filter files can't be empty.