]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
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.
Arran Cudbard-Bell [Thu, 31 May 2018 12:46:53 +0000 (18:46 +0600)]
Add log directory archival script
Alan T. DeKok [Thu, 31 May 2018 11:06:39 +0000 (07:06 -0400)]
don't use track after freeing it
Arran Cudbard-Bell [Thu, 31 May 2018 09:29:59 +0000 (15:29 +0600)]
Copy errbuf contents to fr error buffer
Philippe Wooding [Tue, 29 May 2018 21:17:33 +0000 (21:17 +0000)]
Convert rand xlat to new API
Arran Cudbard-Bell [Thu, 31 May 2018 07:29:19 +0000 (13:29 +0600)]
Example .clang-format config which gets us somewhere close to the formatting style we use today
Arran Cudbard-Bell [Thu, 31 May 2018 06:33:38 +0000 (12:33 +0600)]
Use autoloaded attr_request_lifetime
Arran Cudbard-Bell [Thu, 31 May 2018 06:32:09 +0000 (12:32 +0600)]
Remove delete_by_num
Arran Cudbard-Bell [Thu, 31 May 2018 05:34:47 +0000 (11:34 +0600)]
Missed autoload definition
Arran Cudbard-Bell [Thu, 31 May 2018 05:00:00 +0000 (11:00 +0600)]
Remove extra format specifier
Arran Cudbard-Bell [Thu, 31 May 2018 04:58:34 +0000 (10:58 +0600)]
Don't need to dereference name
Alan T. DeKok [Thu, 31 May 2018 00:58:54 +0000 (20:58 -0400)]
remove unused assignments
Alan T. DeKok [Thu, 31 May 2018 00:04:42 +0000 (20:04 -0400)]
use error string
Alan T. DeKok [Wed, 30 May 2018 19:59:31 +0000 (15:59 -0400)]
free pending packets before freeing the table that references them
Arran Cudbard-Bell [Wed, 30 May 2018 16:56:07 +0000 (22:56 +0600)]
Doxygen
Arran Cudbard-Bell [Wed, 30 May 2018 16:53:59 +0000 (22:53 +0600)]
Return 0 not NULL in substr functions
Arran Cudbard-Bell [Wed, 30 May 2018 16:31:56 +0000 (22:31 +0600)]
missed label
Arran Cudbard-Bell [Wed, 30 May 2018 16:31:36 +0000 (22:31 +0600)]
Add an extremely bare bones pair deserializer for things like the detail reader and other string based protocols
Arran Cudbard-Bell [Wed, 30 May 2018 15:17:24 +0000 (21:17 +0600)]
Fix more instances of manual escaping
Arran Cudbard-Bell [Wed, 30 May 2018 15:13:36 +0000 (21:13 +0600)]
The correct macro is isspace
Arran Cudbard-Bell [Wed, 30 May 2018 15:12:19 +0000 (21:12 +0600)]
Add protocol attribute in internal dictionary, we'll automatically populate it with all the protocols later
Arran Cudbard-Bell [Wed, 30 May 2018 15:11:37 +0000 (21:11 +0600)]
Free anything we alloc in mod_decode if decoding the detail entry fails
Not strictly necessary but usually a good thing to do
Arran Cudbard-Bell [Wed, 30 May 2018 15:10:41 +0000 (21:10 +0600)]
Additional autoload boilerplate in proto_detail
Arran Cudbard-Bell [Wed, 30 May 2018 11:41:33 +0000 (17:41 +0600)]
Pass quote and taint through to fr_pair_value_from_str
Arran Cudbard-Bell [Wed, 30 May 2018 06:13:54 +0000 (12:13 +0600)]
Convert dict substr functions so they return number of bytes parsed
Arran Cudbard-Bell [Wed, 30 May 2018 06:10:31 +0000 (12:10 +0600)]
Fixup tmpl_define_undefined_attr to take a default dictionary
Arran Cudbard-Bell [Wed, 30 May 2018 05:46:43 +0000 (11:46 +0600)]
Add dictionary pointer to request, and use it to qualify name based dictionary lookups