]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Herwin Weststrate [Sat, 20 May 2017 08:27:48 +0000 (10:27 +0200)]
Add rlm_mruby
Arran Cudbard-Bell [Fri, 19 May 2017 18:08:59 +0000 (14:08 -0400)]
Provide macros for all types
Arran Cudbard-Bell [Fri, 19 May 2017 17:05:55 +0000 (13:05 -0400)]
Consistently use field accessor macros for value boxes
and remove the automatic type checking macros because using function style field accessors is bad m'kay.
Arran Cudbard-Bell [Fri, 19 May 2017 13:03:50 +0000 (09:03 -0400)]
Fix tautology
Arran Cudbard-Bell [Fri, 19 May 2017 04:22:35 +0000 (00:22 -0400)]
Add type checking functions for value box access
Arran Cudbard-Bell [Mon, 1 May 2017 00:38:50 +0000 (20:38 -0400)]
Formatting
Arran Cudbard-Bell [Thu, 18 May 2017 18:07:47 +0000 (14:07 -0400)]
Die PW_ die...
Arran Cudbard-Bell [Thu, 18 May 2017 02:13:58 +0000 (22:13 -0400)]
Fix for false positive in clang
Arran Cudbard-Bell [Wed, 17 May 2017 23:12:02 +0000 (19:12 -0400)]
Use generic network decoder in RADIUS decoder
Arran Cudbard-Bell [Wed, 17 May 2017 21:59:11 +0000 (17:59 -0400)]
Use box macro
Arran Cudbard-Bell [Wed, 17 May 2017 21:54:17 +0000 (17:54 -0400)]
decoder_ctx is used in recursive call.
Arran Cudbard-Bell [Wed, 17 May 2017 21:54:02 +0000 (17:54 -0400)]
Doxygen
Arran Cudbard-Bell [Wed, 17 May 2017 21:51:33 +0000 (17:51 -0400)]
Encode scope in IPv6 addresses if it's > 0
Don't add padding byte for V4 prefix
Only encode scope in IPv6 prefixes if it's > 0
Alan T. DeKok [Wed, 17 May 2017 20:47:18 +0000 (16:47 -0400)]
allow for partially parsed sections
where it doesn't print out the final }, until the caller
parses more sub-sections, and then calls cf_parse_section()
again, with variables=NULL
Alan T. DeKok [Wed, 17 May 2017 19:35:24 +0000 (15:35 -0400)]
plumb Status-Server into new method.
It compiles the unlang, but doesn't do anything else yet
Alan T. DeKok [Wed, 17 May 2017 19:19:35 +0000 (15:19 -0400)]
be more gentle with USEC
Alan T. DeKok [Wed, 17 May 2017 19:01:17 +0000 (15:01 -0400)]
start of new protocol code.
Alan T. DeKok [Wed, 17 May 2017 18:23:34 +0000 (14:23 -0400)]
skip "namespace" in virtual servers
Alan T. DeKok [Wed, 17 May 2017 18:23:23 +0000 (14:23 -0400)]
remove "namespace" from old-style listeners
Arran Cudbard-Bell [Wed, 17 May 2017 20:54:48 +0000 (16:54 -0400)]
Fix issues with unknown attributes in TTLS decoder
Arran Cudbard-Bell [Wed, 17 May 2017 20:52:09 +0000 (16:52 -0400)]
Return error message from fast decoder
Arran Cudbard-Bell [Wed, 17 May 2017 20:50:09 +0000 (16:50 -0400)]
Print the error
Arran Cudbard-Bell [Wed, 17 May 2017 20:43:22 +0000 (16:43 -0400)]
Make ttls decoder use generic network decoder
Arran Cudbard-Bell [Wed, 17 May 2017 20:42:36 +0000 (16:42 -0400)]
Use macros for byte inversion that should work on byte strings without alignment issues
Arran Cudbard-Bell [Wed, 17 May 2017 17:32:15 +0000 (13:32 -0400)]
Fixup eap_fast_fast2vp
- Deal with unknown attributes instead of ignoring them.
- Use the same parser style as everywhere else in the code
- Avoid unecessary memcpys
- Use generic network parsing function
- Use cursors properly
- Avoid confusing code paths
Arran Cudbard-Bell [Wed, 17 May 2017 17:25:32 +0000 (13:25 -0400)]
Formatting
Arran Cudbard-Bell [Wed, 17 May 2017 17:24:43 +0000 (13:24 -0400)]
Expose fr_pair_alloc
Arran Cudbard-Bell [Wed, 17 May 2017 17:24:17 +0000 (13:24 -0400)]
Build EAP sub modules that need configure scripts (too)
Arran Cudbard-Bell [Wed, 17 May 2017 17:24:02 +0000 (13:24 -0400)]
Fixup doxygen headers in EAP fast
Arran Cudbard-Bell [Wed, 17 May 2017 15:30:41 +0000 (11:30 -0400)]
Use generic network decoder for DHCP
Arran Cudbard-Bell [Wed, 17 May 2017 15:30:12 +0000 (11:30 -0400)]
Pass stupid enumv pointer to stupid value functions, grrr...
Arran Cudbard-Bell [Wed, 17 May 2017 15:29:36 +0000 (11:29 -0400)]
Always use end
Arran Cudbard-Bell [Wed, 17 May 2017 15:29:18 +0000 (11:29 -0400)]
Use fr_pair_to_unknown in more places
Alan T. DeKok [Wed, 17 May 2017 15:16:59 +0000 (11:16 -0400)]
fail if no listener
Alan T. DeKok [Tue, 16 May 2017 20:33:22 +0000 (16:33 -0400)]
allow listener to be NULL
in preparation for new transport code
Arran Cudbard-Bell [Wed, 17 May 2017 14:37:15 +0000 (10:37 -0400)]
Fix some incorrect calls to fr_dict_unknown_afrom_fields
Arran Cudbard-Bell [Wed, 17 May 2017 14:35:07 +0000 (10:35 -0400)]
Switch proto ARP to generic decoder
Arran Cudbard-Bell [Wed, 17 May 2017 13:44:10 +0000 (09:44 -0400)]
Formatting
Arran Cudbard-Bell [Wed, 17 May 2017 13:43:00 +0000 (09:43 -0400)]
Use FR_TYPE_NON_VALUES in fr_value_box_hton
Arran Cudbard-Bell [Wed, 17 May 2017 13:42:37 +0000 (09:42 -0400)]
Add taint to fr_value_box_from_str
Arran Cudbard-Bell [Wed, 17 May 2017 11:22:59 +0000 (07:22 -0400)]
Fix build
Arran Cudbard-Bell [Tue, 16 May 2017 22:00:18 +0000 (18:00 -0400)]
Can't be inlined
Arran Cudbard-Bell [Tue, 16 May 2017 21:46:02 +0000 (17:46 -0400)]
Formatting
Arran Cudbard-Bell [Tue, 16 May 2017 21:45:54 +0000 (17:45 -0400)]
Add function to validate entire utf8_string
Arran Cudbard-Bell [Tue, 16 May 2017 21:45:32 +0000 (17:45 -0400)]
Add to_network and from_network functions
These implement generic attribute parsing
Arran Cudbard-Bell [Tue, 16 May 2017 15:02:35 +0000 (11:02 -0400)]
Miscellaneous fixes in value.c
Alan T. DeKok [Tue, 16 May 2017 20:12:29 +0000 (16:12 -0400)]
remove Simultaneous-Use from the new listeners
They're still in the old listeners for now.
The functionality can be replicated in v4 via maps, exec'd
programs, and child virtual servers
Alan T. DeKok [Tue, 16 May 2017 19:58:07 +0000 (15:58 -0400)]
minor fix to state machine
Alan T. DeKok [Tue, 16 May 2017 18:07:47 +0000 (14:07 -0400)]
move old listener code to a separate function
Alan T. DeKok [Tue, 16 May 2017 17:43:56 +0000 (13:43 -0400)]
add FR_TRANSPORT_FAIL
which means that processing the packet failed. It's done, but
we don't send a reply, because it failed.
Alan T. DeKok [Tue, 16 May 2017 12:19:52 +0000 (08:19 -0400)]
install generated files in travis
Alan T. DeKok [Tue, 16 May 2017 12:07:12 +0000 (08:07 -0400)]
use correct packet for channel binding. Closes #1990
Alan T. DeKok [Tue, 16 May 2017 12:02:57 +0000 (08:02 -0400)]
fix typo
Alan T. DeKok [Fri, 12 May 2017 18:28:46 +0000 (14:28 -0400)]
remove duplicate send
Arran Cudbard-Bell [Tue, 16 May 2017 02:14:55 +0000 (22:14 -0400)]
Use NON_VALUES macro in RADIUS encoder
Arran Cudbard-Bell [Tue, 16 May 2017 01:59:16 +0000 (21:59 -0400)]
Add more static asserts, and byte order inverions for floats
Arran Cudbard-Bell [Mon, 15 May 2017 22:45:34 +0000 (18:45 -0400)]
Initialise data
Arran Cudbard-Bell [Mon, 15 May 2017 22:43:22 +0000 (18:43 -0400)]
Initialise uinteger and sinteger...
Weird clang complains, clang scan doesn't...
Arran Cudbard-Bell [Mon, 15 May 2017 22:35:27 +0000 (18:35 -0400)]
Allocate space for \0 byte
Arran Cudbard-Bell [Mon, 15 May 2017 22:32:37 +0000 (18:32 -0400)]
Add support for Diameter and IPFIX base types
Arran Cudbard-Bell [Mon, 15 May 2017 18:47:57 +0000 (14:47 -0400)]
Have fr_value_box_from_str always look for enumerations if we're passed dst_enumv
So now it works for all types...
Arran Cudbard-Bell [Mon, 15 May 2017 18:47:24 +0000 (14:47 -0400)]
Move test back to where it should be...
Arran Cudbard-Bell [Mon, 15 May 2017 18:47:13 +0000 (14:47 -0400)]
Have fr_dict_valid_name take a length, so it can work with binunsafe strings
Arran Cudbard-Bell [Mon, 15 May 2017 17:38:11 +0000 (13:38 -0400)]
Fix confusingly named enum functions
Arran Cudbard-Bell [Mon, 15 May 2017 17:25:52 +0000 (13:25 -0400)]
Allow value aliases (enumerations) to work with any attribute type, not just integers
Arran Cudbard-Bell [Mon, 15 May 2017 17:23:02 +0000 (13:23 -0400)]
Use vendor instead of dv, to avoid issues with search/replace
Arran Cudbard-Bell [Mon, 15 May 2017 17:21:55 +0000 (13:21 -0400)]
Formatting
Arran Cudbard-Bell [Mon, 15 May 2017 17:21:41 +0000 (13:21 -0400)]
Add new boxing/unboxing macros
Arran Cudbard-Bell [Mon, 15 May 2017 17:20:55 +0000 (13:20 -0400)]
feed fr_strerror_printf fmt through fr_vasprintf so we can use %pV and friends
Arran Cudbard-Bell [Mon, 15 May 2017 17:20:25 +0000 (13:20 -0400)]
Add prefix to all lines in fr_perror
...else it looks dumb
Alan Buxey [Thu, 27 Apr 2017 19:53:21 +0000 (20:53 +0100)]
fixed variable to use the "&" prefix
removal of yellow warning when running with this enabled
Arran Cudbard-Bell [Thu, 11 May 2017 10:50:35 +0000 (06:50 -0400)]
Merge pull request #1986 from BriceSchaffner/patch-1
Added missing Patton Vendor Attributes
Brice Schaffner [Thu, 11 May 2017 10:05:24 +0000 (10:05 +0000)]
Added missing Patton Vendor Attributes
Added some new Patton Vendor Attributes to the list.
These attributes are now supported on the newest Patton device running on Trinity software version 3.11.2.
Alan T. DeKok [Wed, 10 May 2017 19:24:37 +0000 (15:24 -0400)]
install the automatically generated files
Only if we're not creating a package
Alan T. DeKok [Wed, 10 May 2017 18:36:28 +0000 (14:36 -0400)]
no ca.crt
Alan T. DeKok [Wed, 10 May 2017 18:01:51 +0000 (14:01 -0400)]
make client certificates, too
Alan T. DeKok [Wed, 10 May 2017 17:56:44 +0000 (13:56 -0400)]
If we log to files, remember the filename
Alan T. DeKok [Wed, 10 May 2017 17:44:37 +0000 (13:44 -0400)]
set req_debug_lvl = rad_debug_lvl
radmin et al can change either one later
Alan T. DeKok [Wed, 10 May 2017 17:44:28 +0000 (13:44 -0400)]
default request log to req_debug_lvl
Alan T. DeKok [Wed, 10 May 2017 15:36:43 +0000 (11:36 -0400)]
more fixes for generated certificate files
Alan T. DeKok [Wed, 10 May 2017 15:25:44 +0000 (11:25 -0400)]
add DH
Alan T. DeKok [Wed, 10 May 2017 15:16:26 +0000 (11:16 -0400)]
add explicit dependencies
Alan T. DeKok [Wed, 10 May 2017 14:51:15 +0000 (10:51 -0400)]
use previously generated test certificates if TEST_CERTS=yes
Alan T. DeKok [Wed, 10 May 2017 14:22:59 +0000 (10:22 -0400)]
auto-generated test certificates
Alan T. DeKok [Wed, 10 May 2017 14:22:16 +0000 (10:22 -0400)]
we don't want to ignore cert files everywhere.
The raddb/certs/.gitignore file already ignores the generated
certs.
Alan T. DeKok [Wed, 10 May 2017 14:03:45 +0000 (10:03 -0400)]
trustrouter needs a destructor for tls_conf.
Manual merge of #1985
Arran Cudbard-Bell [Tue, 9 May 2017 20:19:10 +0000 (16:19 -0400)]
Add extra types to value_box_t for Diameter and IPFIX.
Arran Cudbard-Bell [Tue, 9 May 2017 20:17:22 +0000 (16:17 -0400)]
Fix other erroneous replacements
Arran Cudbard-Bell [Tue, 9 May 2017 20:10:48 +0000 (16:10 -0400)]
Add back support for old dictionary names
Arran Cudbard-Bell [Tue, 9 May 2017 17:26:31 +0000 (13:26 -0400)]
Rename the hard fields
Arran Cudbard-Bell [Tue, 9 May 2017 17:18:32 +0000 (13:18 -0400)]
Rename easy fields in value_box_t to their C equivalents
Arran Cudbard-Bell [Tue, 9 May 2017 16:37:54 +0000 (12:37 -0400)]
Rename FR_TYPE macros to their C equivalents
We'll do this to dictionary types too at some point
Arran Cudbard-Bell [Tue, 9 May 2017 16:31:38 +0000 (12:31 -0400)]
s/value_box_t/fr_value_box_t/
Arran Cudbard-Bell [Tue, 9 May 2017 16:27:12 +0000 (12:27 -0400)]
Rename PW_TYPE to fr_type_t and the macros from PW_TYPE_ to FR_TYPE_
Alan T. DeKok [Tue, 9 May 2017 16:17:46 +0000 (12:17 -0400)]
remove redundant code.
The reply is already initialized in fr_radius_alloc_reply()
Alan T. DeKok [Tue, 9 May 2017 16:13:32 +0000 (12:13 -0400)]
no longer copy request vector to reply vector
We've fixed the encoder / decoder to do the right thing there
Alan T. DeKok [Tue, 9 May 2017 16:11:08 +0000 (12:11 -0400)]
move to using only one vector for encode / decode
which simplifies the encoder / decoder
Alan T. DeKok [Tue, 9 May 2017 16:06:28 +0000 (12:06 -0400)]
ARP doesn't have encrypted attributes
So passing a NULL decoder context is OK
Alan T. DeKok [Tue, 9 May 2017 14:46:57 +0000 (10:46 -0400)]
remove packet->offset
which was only used for caching the offset of Message-Authenticator,
and is no longer used
Alan T. DeKok [Tue, 9 May 2017 14:07:58 +0000 (10:07 -0400)]
fix build