]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Arran Cudbard-Bell [Wed, 24 May 2017 21:23:36 +0000 (17:23 -0400)]
Rename unlang_action to unlang_signal in some places
Alan T. DeKok [Wed, 24 May 2017 21:08:54 +0000 (17:08 -0400)]
comment out unused code
Arran Cudbard-Bell [Wed, 24 May 2017 20:59:06 +0000 (16:59 -0400)]
shhh clang scan
Arran Cudbard-Bell [Wed, 24 May 2017 20:31:27 +0000 (16:31 -0400)]
Set data in all cases
Arran Cudbard-Bell [Wed, 24 May 2017 20:23:53 +0000 (16:23 -0400)]
Use common protocol encoder for RADIUS
Alan T. DeKok [Wed, 24 May 2017 20:13:07 +0000 (16:13 -0400)]
remove unused macro
Alan T. DeKok [Wed, 24 May 2017 19:55:05 +0000 (15:55 -0400)]
as posted to the list
Alan T. DeKok [Wed, 24 May 2017 19:40:26 +0000 (15:40 -0400)]
don't build rlm_mruby
it needs to be fixed before we can auto-build it in travis
Alan T. DeKok [Wed, 24 May 2017 19:39:42 +0000 (15:39 -0400)]
add low-level fr_radius_encode()
Lots of funcion parameters, but at least it's low-level
Alan T. DeKok [Wed, 24 May 2017 19:30:39 +0000 (15:30 -0400)]
add test for IPv4 encode / decode
Alan T. DeKok [Wed, 24 May 2017 19:14:36 +0000 (15:14 -0400)]
link to the scheduler, but don't use it until we have one
Alan T. DeKok [Wed, 24 May 2017 18:20:35 +0000 (14:20 -0400)]
start of mod_decode
Alan T. DeKok [Wed, 24 May 2017 18:15:35 +0000 (14:15 -0400)]
transport_ctx shouldn't be const for encode/decode
we might want stats, etc.
Alan T. DeKok [Wed, 24 May 2017 15:57:29 +0000 (11:57 -0400)]
better notes on stream transport issues
Alan T. DeKok [Wed, 24 May 2017 15:46:21 +0000 (11:46 -0400)]
stupid git
Alan T. DeKok [Wed, 24 May 2017 15:44:35 +0000 (11:44 -0400)]
added destructor on fr_network_socket_t
and do better cleanups on error
Alan T. DeKok [Wed, 24 May 2017 14:33:22 +0000 (10:33 -0400)]
can handle errors on write
Alan T. DeKok [Wed, 24 May 2017 14:33:08 +0000 (10:33 -0400)]
expose fr_ptr_to_type
Alan T. DeKok [Wed, 24 May 2017 14:30:43 +0000 (10:30 -0400)]
remove packet, not list
Alan T. DeKok [Wed, 24 May 2017 14:25:57 +0000 (10:25 -0400)]
doxygen for functions
Including what they do and how they work
Alan T. DeKok [Tue, 23 May 2017 20:54:24 +0000 (16:54 -0400)]
name the talloc context for each network / worker
Alan T. DeKok [Tue, 23 May 2017 20:51:37 +0000 (16:51 -0400)]
free sw, as it's now allocated in the context of sc
Alan T. DeKok [Tue, 23 May 2017 20:36:16 +0000 (16:36 -0400)]
lots of cleanups...
should be broken up into multiple commits, but oh well...
the changes are fairly inter-twined
* remove "id" from fr_transport_t
* remove num_transports and **transports from worker, network,
and scheduler
* move related fields into a common fr_packet_io_t
* add sockfd to fr_packet_io_t, so that when the
network gets a message and needs to write it,
it can just use the sockfd. We probably want to
hide sockfd in transport_ctx later.
* use fr_packet_io_t in channel data and REQUEST
* reference fr_packet_io_t in network and worker
* manually create cd->io in src/tests, where needed
* remove radius_server_udp, it's no longer needed
* add proto_radius.h, so that proto_radius_udp can use it
Arran Cudbard-Bell [Tue, 23 May 2017 19:53:57 +0000 (15:53 -0400)]
Prefix yield functions/macros etc with module_
Arran Cudbard-Bell [Tue, 23 May 2017 19:53:12 +0000 (15:53 -0400)]
Fix lies
Alan T. DeKok [Tue, 23 May 2017 19:45:29 +0000 (15:45 -0400)]
rename things to be simpler
Alan T. DeKok [Tue, 23 May 2017 19:35:06 +0000 (15:35 -0400)]
minor updates
Alan T. DeKok [Tue, 23 May 2017 17:14:57 +0000 (13:14 -0400)]
remove decode / encode
the worker needs to do this, not the state machine handler.
Alan T. DeKok [Tue, 23 May 2017 16:55:39 +0000 (12:55 -0400)]
remove "process" from fr_transport_t
Alan T. DeKok [Tue, 23 May 2017 15:52:52 +0000 (11:52 -0400)]
more re-work, and adding proto_radius_udp
Lots of work still to do, but it's coming along.
Alan T. DeKok [Tue, 23 May 2017 14:27:32 +0000 (10:27 -0400)]
remove recv_request and send_reply from fr_transport_t
They're not used, and likely shouldn't be used
Arran Cudbard-Bell [Tue, 23 May 2017 14:45:00 +0000 (10:45 -0400)]
Run talloc_get_type_abort on more things
Arran Cudbard-Bell [Tue, 23 May 2017 14:44:13 +0000 (10:44 -0400)]
Get tls_session_t from SSL* not the session, probably Fixes #1898
Arran Cudbard-Bell [Sun, 21 May 2017 15:36:07 +0000 (11:36 -0400)]
Merge pull request #1993 from herwinw/rlm_mruby
Remove incorrect UNUSED marker in rlm_mruby
Herwin Weststrate [Sun, 21 May 2017 14:08:20 +0000 (16:08 +0200)]
Remove incorrect UNUSED marker in rlm_mruby
Alan T. DeKok [Sun, 21 May 2017 13:26:42 +0000 (09:26 -0400)]
regenerate headers if we re-run autoconf
which doesn't cost anything 99% of the time, and allows the
server to build if changes are made to the macros and/or
dictionary.rfcX -> rfcX.h conversion
Alan T. DeKok [Fri, 19 May 2017 13:19:16 +0000 (09:19 -0400)]
use mod_ for name prefixes
Alan T. DeKok [Thu, 18 May 2017 14:37:25 +0000 (10:37 -0400)]
compile sections after opening all listeners
Alan T. DeKok [Thu, 18 May 2017 14:22:53 +0000 (10:22 -0400)]
minor change to debug output
Alan T. DeKok [Thu, 18 May 2017 14:11:54 +0000 (10:11 -0400)]
start of using CONF_PARSER for proto_radius
Alan T. DeKok [Thu, 18 May 2017 14:11:19 +0000 (10:11 -0400)]
debug output for compiling new virtual servers
Arran Cudbard-Bell [Sun, 21 May 2017 02:19:44 +0000 (22:19 -0400)]
Fixup rlm_mruby to work with current v4 API
Do proper martialling from FreeRADIUS types to mruby types
Arran Cudbard-Bell [Sat, 20 May 2017 23:24:25 +0000 (19:24 -0400)]
Remove old rlm_ruby module
Arran Cudbard-Bell [Sat, 20 May 2017 23:20:02 +0000 (19:20 -0400)]
Merge pull request #1992 from herwinw/rlm_mruby
Add rlm_mruby
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