]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Arran Cudbard-Bell [Wed, 16 May 2018 13:31:41 +0000 (19:31 +0600)]
link rlm_soh to libfreeradius-soh
Arran Cudbard-Bell [Wed, 16 May 2018 13:17:46 +0000 (19:17 +0600)]
Move soh code of the server core into a library
Arran Cudbard-Bell [Wed, 16 May 2018 12:26:35 +0000 (18:26 +0600)]
Merge built in paircmp functions back into the server library
Arran Cudbard-Bell [Wed, 16 May 2018 12:26:07 +0000 (18:26 +0600)]
Fix module-failure-message test order
Arran Cudbard-Bell [Wed, 16 May 2018 09:28:00 +0000 (15:28 +0600)]
Typo
Arran Cudbard-Bell [Wed, 16 May 2018 08:58:56 +0000 (14:58 +0600)]
Rename pair.c to paircmp.c
Arran Cudbard-Bell [Wed, 16 May 2018 08:57:38 +0000 (14:57 +0600)]
Move xlat_eval_do into xlat_eval and rename to xlat_eval_pair
Arran Cudbard-Bell [Wed, 16 May 2018 08:53:25 +0000 (14:53 +0600)]
Move pair list logging functions into log.c
Arran Cudbard-Bell [Wed, 16 May 2018 08:40:44 +0000 (14:40 +0600)]
Remove radius_pair_create
Arran Cudbard-Bell [Wed, 16 May 2018 08:37:58 +0000 (14:37 +0600)]
Add %pP custom format specifier to allow printing of VALUE_PAIRs
Arran Cudbard-Bell [Wed, 16 May 2018 06:52:44 +0000 (12:52 +0600)]
Remove calls to radius_pair_create in stats.c
Arran Cudbard-Bell [Wed, 16 May 2018 06:47:11 +0000 (12:47 +0600)]
Move call to radius_pair_create
Arran Cudbard-Bell [Wed, 16 May 2018 06:44:15 +0000 (12:44 +0600)]
Fix log function declarations
Arran Cudbard-Bell [Wed, 16 May 2018 06:41:46 +0000 (12:41 +0600)]
Move radius_(get_|copy)_vp into xlat_func.c
They're only used by xlat functions and should go away once all the functions have been converted.
Arran Cudbard-Bell [Wed, 16 May 2018 06:32:57 +0000 (12:32 +0600)]
Doxygen
Arran Cudbard-Bell [Wed, 16 May 2018 06:28:08 +0000 (12:28 +0600)]
Pull expansion documentation out of the rlm_expr config file and put it in the unlang page
Arran Cudbard-Bell [Wed, 16 May 2018 06:27:44 +0000 (12:27 +0600)]
Add the rest of the sha2 and sha3 functions
Arran Cudbard-Bell [Wed, 16 May 2018 05:20:37 +0000 (11:20 +0600)]
Move the escape expansions into their own module
Arran Cudbard-Bell [Wed, 16 May 2018 05:04:49 +0000 (11:04 +0600)]
Wrap fr_log_init so we can pre-resolve Module-Failure-Msg
s/dictionary_dir/dict_dir/
Arran Cudbard-Bell [Wed, 16 May 2018 04:16:06 +0000 (10:16 +0600)]
s/radlog/log/
Arran Cudbard-Bell [Wed, 16 May 2018 03:47:23 +0000 (09:47 +0600)]
Move xlat functions out of rlm_expr and back into xlat_func
We probably need an rlm_escape to deal with the escape expansions
Arran Cudbard-Bell [Tue, 15 May 2018 08:18:26 +0000 (14:18 +0600)]
Typo
Arran Cudbard-Bell [Tue, 15 May 2018 08:16:36 +0000 (14:16 +0600)]
Autoload radsnmp attrs
Arran Cudbard-Bell [Tue, 15 May 2018 07:25:47 +0000 (13:25 +0600)]
Autoclient radclient attributes
Arran Cudbard-Bell [Tue, 15 May 2018 06:35:16 +0000 (12:35 +0600)]
Initialise OpenSSL library later after we've called main_config_init
Arran Cudbard-Bell [Tue, 15 May 2018 05:09:17 +0000 (11:09 +0600)]
Fix typo
Arran Cudbard-Bell [Tue, 15 May 2018 04:25:33 +0000 (10:25 +0600)]
Remove fr_pair_afrom_num in proto_detail
Arran Cudbard-Bell [Tue, 15 May 2018 04:24:40 +0000 (10:24 +0600)]
Unused label
Arran Cudbard-Bell [Tue, 15 May 2018 04:11:22 +0000 (10:11 +0600)]
Remove unused proxy code
Arran Cudbard-Bell [Tue, 15 May 2018 04:09:37 +0000 (10:09 +0600)]
CONF_SECTION is unused
Arran Cudbard-Bell [Tue, 15 May 2018 03:53:52 +0000 (09:53 +0600)]
Autoload unit_test_module attributes
Arran Cudbard-Bell [Tue, 15 May 2018 03:26:07 +0000 (09:26 +0600)]
Remove call to radius_pair_create in rlm_digest
Arran Cudbard-Bell [Tue, 15 May 2018 03:09:33 +0000 (09:09 +0600)]
Autoload rlm_stats attributes
Arran Cudbard-Bell [Tue, 15 May 2018 02:49:42 +0000 (08:49 +0600)]
Autoload libfreeradius-tls attributes
Arran Cudbard-Bell [Mon, 14 May 2018 12:42:49 +0000 (18:42 +0600)]
missed case statement
Arran Cudbard-Bell [Mon, 14 May 2018 11:45:09 +0000 (17:45 +0600)]
Autoload the internal dictionary
Arran Cudbard-Bell [Mon, 14 May 2018 11:42:50 +0000 (17:42 +0600)]
Doxygen
Arran Cudbard-Bell [Mon, 14 May 2018 11:07:55 +0000 (17:07 +0600)]
fr_pair_value_from_str should take a signed len
Arran Cudbard-Bell [Mon, 14 May 2018 11:07:19 +0000 (17:07 +0600)]
Fix debug message
Arran Cudbard-Bell [Mon, 14 May 2018 11:07:07 +0000 (17:07 +0600)]
Avoid unecessary lookups
Arran Cudbard-Bell [Mon, 14 May 2018 11:06:46 +0000 (17:06 +0600)]
Fix some weird value assignment code
Arran Cudbard-Bell [Mon, 14 May 2018 05:50:27 +0000 (11:50 +0600)]
Rework pair_(add|update) so the caller can determine if a pair already existead
Alan T. DeKok [Sun, 13 May 2018 11:38:56 +0000 (07:38 -0400)]
start of toy DHCP processor
we probably still want to have different libraries for
other packet types.
And, update the encoder to set the destination IP based on
the encoded packet. e.g. broadcast, unicast, sent to giaddr,
or forwarded to another DHCP server
Arran Cudbard-Bell [Sun, 13 May 2018 05:31:45 +0000 (11:31 +0600)]
Minor rlm_passwd fixes
Arran Cudbard-Bell [Sat, 12 May 2018 13:21:23 +0000 (19:21 +0600)]
Returning "No error" is confusing. Assume the caller thought there was an error.
Alan T. DeKok [Sat, 12 May 2018 12:40:55 +0000 (08:40 -0400)]
added sample client
Arran Cudbard-Bell [Fri, 11 May 2018 12:38:21 +0000 (18:38 +0600)]
Remove shadowed attribute
Arran Cudbard-Bell [Fri, 11 May 2018 11:25:44 +0000 (17:25 +0600)]
Fix issues raised by GCC
Arran Cudbard-Bell [Fri, 11 May 2018 09:37:55 +0000 (15:37 +0600)]
Remove unused macros
Arran Cudbard-Bell [Fri, 11 May 2018 09:31:48 +0000 (15:31 +0600)]
Fix cursor macros
Arran Cudbard-Bell [Fri, 11 May 2018 09:27:04 +0000 (15:27 +0600)]
Autoload eap base attributes
Arran Cudbard-Bell [Fri, 11 May 2018 08:48:09 +0000 (14:48 +0600)]
Autoload attributes for all eap methods
Consolidate list moving/copying API
Arran Cudbard-Bell [Fri, 11 May 2018 08:01:32 +0000 (14:01 +0600)]
Forward a subset of signals to the process being executed by jlibtool
This lets us do stuff like:
TEST_PORT=12350 build/make/jlibtool --mode=execute lldb -- build/bin/local/radiusd -PX -d "reeradius-server/src/tests/eapol_test/config" -n test -D "freeradius-server/src/tests/eapol_test/config"
...and still pause execution with CTRL-C, and have other signals the debugger uses work correctly.
Arran Cudbard-Bell [Thu, 10 May 2018 16:06:01 +0000 (22:06 +0600)]
Convert some calls from mcopy to fr_pair_list_dup
Alan T. DeKok [Thu, 10 May 2018 14:29:47 +0000 (10:29 -0400)]
add local clients here, too
Alan T. DeKok [Thu, 10 May 2018 14:27:15 +0000 (10:27 -0400)]
add local clients for RADIUS
Alan T. DeKok [Thu, 10 May 2018 12:52:16 +0000 (08:52 -0400)]
add broadcast config option
Alan T. DeKok [Thu, 10 May 2018 12:47:34 +0000 (08:47 -0400)]
modifications for new proto_dhcpv4
Alan T. DeKok [Thu, 10 May 2018 00:04:45 +0000 (20:04 -0400)]
remove unused field
Arran Cudbard-Bell [Thu, 10 May 2018 14:57:47 +0000 (20:57 +0600)]
Fix shadow definition
Arran Cudbard-Bell [Thu, 10 May 2018 14:01:56 +0000 (20:01 +0600)]
Change how fr_pair_list_copy works
Arran Cudbard-Bell [Thu, 10 May 2018 08:10:56 +0000 (14:10 +0600)]
Fix duplicate iterator function, and add function to iterate by parent
Because vendors are represented in the dictionary hierarchy this allows you to iterate over a specific vendor's attributes.
Arran Cudbard-Bell [Thu, 10 May 2018 08:07:35 +0000 (14:07 +0600)]
s/fr_pair_list_copy/fr_pair_list_dup/
The whole mcopy thing is changing (done by DA instead of attribute numbers), and this helps disambiguate
Arran Cudbard-Bell [Thu, 10 May 2018 13:45:55 +0000 (19:45 +0600)]
Update issue_template.md
Arran Cudbard-Bell [Thu, 10 May 2018 13:45:07 +0000 (19:45 +0600)]
Make formatting more explicit
Alan T. DeKok [Wed, 9 May 2018 23:58:54 +0000 (19:58 -0400)]
some protocols don't have expiry timers
Alan T. DeKok [Wed, 9 May 2018 23:55:39 +0000 (19:55 -0400)]
allow replies for NOOP, too
Alan T. DeKok [Wed, 9 May 2018 21:34:37 +0000 (17:34 -0400)]
move network parsing to common API
Alan T. DeKok [Wed, 9 May 2018 21:23:21 +0000 (17:23 -0400)]
move bulk of fr_dhcpv4_packet_encode() to fr_dhcpv4_encode()
and have proto_dhcpv4 use it.
Alan T. DeKok [Wed, 9 May 2018 21:22:05 +0000 (17:22 -0400)]
typo in function call
Alan T. DeKok [Wed, 9 May 2018 21:08:43 +0000 (17:08 -0400)]
packet_decode works as-is
Alan T. DeKok [Wed, 9 May 2018 21:04:39 +0000 (17:04 -0400)]
typo
Alan T. DeKok [Wed, 9 May 2018 21:04:02 +0000 (17:04 -0400)]
proto_dhcp_udp now validates the packets it receives
Alan T. DeKok [Wed, 9 May 2018 20:55:32 +0000 (16:55 -0400)]
move to newer API
Alan T. DeKok [Wed, 9 May 2018 20:43:41 +0000 (16:43 -0400)]
start cleaning up API
packet_ok() functions check if the packet is OK.
They shouldn't allocate a RADIUS_PACKET.
Alan T. DeKok [Wed, 9 May 2018 15:23:37 +0000 (11:23 -0400)]
the transaction may be defunct
If so, don't do REDEBUG
Alan T. DeKok [Wed, 9 May 2018 15:21:26 +0000 (11:21 -0400)]
ignore DUP signals
Alan T. DeKok [Wed, 9 May 2018 00:49:59 +0000 (20:49 -0400)]
return error
Alan T. DeKok [Tue, 8 May 2018 23:41:31 +0000 (19:41 -0400)]
unused variables
Alan T. DeKok [Tue, 8 May 2018 23:39:40 +0000 (19:39 -0400)]
fine... make this 255
Alan T. DeKok [Tue, 8 May 2018 22:53:11 +0000 (18:53 -0400)]
helps to have a makefile
Alan T. DeKok [Tue, 8 May 2018 21:11:08 +0000 (17:11 -0400)]
template for DHCPv4 over UDP.
it still needs to have the packet encode/decode inserted,
but the basics are there
Alan T. DeKok [Tue, 8 May 2018 21:10:49 +0000 (17:10 -0400)]
move include to header file
Alan T. DeKok [Tue, 8 May 2018 21:00:40 +0000 (17:00 -0400)]
set packet lengths to match VMPS headers
Alan T. DeKok [Tue, 8 May 2018 20:58:12 +0000 (16:58 -0400)]
sanity checks for IO functions
Alan T. DeKok [Tue, 8 May 2018 20:57:05 +0000 (16:57 -0400)]
do dup checks on the correct field
Alan T. DeKok [Tue, 8 May 2018 20:45:08 +0000 (16:45 -0400)]
start moving to new framework for DHCP.
We still need to add proto_dhcpv4_udp, and the various
process handlers. But this compiles at least.
Alan T. DeKok [Tue, 8 May 2018 20:19:57 +0000 (16:19 -0400)]
remove FR_DHCP_OFFSET, it's no longer necessary
and move proto_dhcpv4.c out of the way in preparation
for new code
Alan T. DeKok [Tue, 8 May 2018 13:31:56 +0000 (09:31 -0400)]
fix example so that it works
Alan T. DeKok [Tue, 8 May 2018 13:30:01 +0000 (09:30 -0400)]
minor fixes
Alan T. DeKok [Tue, 8 May 2018 12:38:44 +0000 (08:38 -0400)]
use new autoload framework
Alan T. DeKok [Tue, 8 May 2018 12:27:29 +0000 (08:27 -0400)]
set "out" to main_config.dict
until such time as they are different
Alan DeKok [Tue, 8 May 2018 12:26:24 +0000 (08:26 -0400)]
Merge pull request #2227 from chrisd8088/radwho_check_inet_pton_ret
Print usage and exit when -N used with invalid IP.
Chris Darroch [Tue, 8 May 2018 06:42:33 +0000 (23:42 -0700)]
Print usage and exit when -N used with invalid IP.
Check for all possible error return values from inet_pton(),
particularly zero, as this indicates an invalid IP address was
passed in the input string, whereas -1 is returned only when the
address family parameter is invalid, which is never the case
here because it's always AF_INET.
Alan T. DeKok [Mon, 7 May 2018 19:19:30 +0000 (15:19 -0400)]
hack up autoload via fr_dict_read()
Alan T. DeKok [Mon, 7 May 2018 18:24:04 +0000 (14:24 -0400)]
re-order (again)
and autoloads are done last to first, so we want or register
the dict loader last, and then the attribute loader
Alan T. DeKok [Mon, 7 May 2018 18:17:14 +0000 (14:17 -0400)]
we don't need to check anything here
Alan T. DeKok [Mon, 7 May 2018 18:10:19 +0000 (14:10 -0400)]
we don't need talloc && types for a 16-character name
less code is good, too
Alan T. DeKok [Mon, 7 May 2018 17:01:13 +0000 (13:01 -0400)]
fr_dict_autoload() doesn't quite work yet
there's no "dictionary.radius", so we can't try loading one
Alan T. DeKok [Mon, 7 May 2018 16:55:46 +0000 (12:55 -0400)]
remove unused attribute