]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
8 years agoAutoload more attributes in rlm_rest
Arran Cudbard-Bell [Sat, 19 May 2018 15:02:05 +0000 (21:02 +0600)] 
Autoload more attributes in rlm_rest

8 years agoAutoload proto_dhcpv4_base attributes
Arran Cudbard-Bell [Sat, 19 May 2018 14:48:18 +0000 (20:48 +0600)] 
Autoload proto_dhcpv4_base attributes

8 years agoMove dhcpv4 client module
Arran Cudbard-Bell [Sat, 19 May 2018 14:42:45 +0000 (20:42 +0600)] 
Move dhcpv4 client module

8 years agoAutoload proto_radius_status attributes
Arran Cudbard-Bell [Sat, 19 May 2018 14:04:46 +0000 (20:04 +0600)] 
Autoload proto_radius_status attributes

8 years agoAutoload proto_radius_coa attributes
Arran Cudbard-Bell [Sat, 19 May 2018 12:49:14 +0000 (18:49 +0600)] 
Autoload proto_radius_coa attributes

8 years agoAutoload proto_radius_dynamic_client_attrs
Arran Cudbard-Bell [Sat, 19 May 2018 12:49:03 +0000 (18:49 +0600)] 
Autoload proto_radius_dynamic_client_attrs

8 years agoAutoload proto_radius_acct attributes
Arran Cudbard-Bell [Sat, 19 May 2018 12:37:21 +0000 (18:37 +0600)] 
Autoload proto_radius_acct attributes

8 years agoAutoload proto_radius_auth attributes and update logging code
Arran Cudbard-Bell [Sat, 19 May 2018 09:36:54 +0000 (15:36 +0600)] 
Autoload proto_radius_auth attributes and update logging code

8 years agoCheck pairs we're printing
Arran Cudbard-Bell [Sat, 19 May 2018 09:35:49 +0000 (15:35 +0600)] 
Check pairs we're printing

8 years agodon't use client IP for sourcing replies
Alan T. DeKok [Thu, 17 May 2018 14:12:00 +0000 (10:12 -0400)] 
don't use client IP for sourcing replies

we have to do the full DHCP whatever stuff... which is horribly
complicated.  It's probably best to just use functions for each
DHCP packet type

8 years agorename "all" to "base"
Alan T. DeKok [Thu, 17 May 2018 13:57:16 +0000 (09:57 -0400)] 
rename "all" to "base"

which now supports DORA, and it's associated inform / decline, etc.

along with (hopefully) relaying.  Once we get the encode functions
updated...

8 years agoallow admin to set reply types
Alan T. DeKok [Thu, 17 May 2018 13:49:07 +0000 (09:49 -0400)] 
allow admin to set reply types

8 years agolook up attributes in the magic DHCP vendor
Alan T. DeKok [Thu, 17 May 2018 13:45:54 +0000 (09:45 -0400)] 
look up attributes in the magic DHCP vendor

8 years agoabstract request / reply codes
Alan T. DeKok [Thu, 17 May 2018 13:43:35 +0000 (09:43 -0400)] 
abstract request / reply codes

8 years agoDoxygen
Arran Cudbard-Bell [Fri, 18 May 2018 04:06:10 +0000 (10:06 +0600)] 
Doxygen

8 years agoInclude tls header in utils.c
Arran Cudbard-Bell [Fri, 18 May 2018 03:39:44 +0000 (09:39 +0600)] 
Include tls header in utils.c

8 years agoFix paircmp
Arran Cudbard-Bell [Fri, 18 May 2018 03:31:03 +0000 (09:31 +0600)] 
Fix paircmp

8 years agoFix header generation and including
Arran Cudbard-Bell [Fri, 18 May 2018 02:44:00 +0000 (08:44 +0600)] 
Fix header generation and including

8 years agoStatic functions
Arran Cudbard-Bell [Thu, 17 May 2018 13:36:02 +0000 (19:36 +0600)] 
Static functions

8 years agoTypo
Arran Cudbard-Bell [Thu, 17 May 2018 13:21:13 +0000 (19:21 +0600)] 
Typo

8 years agoMove tacacs protocol library into the correct location
Arran Cudbard-Bell [Thu, 17 May 2018 11:58:09 +0000 (17:58 +0600)] 
Move tacacs protocol library into the correct location

8 years agoMissing externs
Arran Cudbard-Bell [Thu, 17 May 2018 10:49:29 +0000 (16:49 +0600)] 
Missing externs

8 years agoUpdate issue templates
Arran Cudbard-Bell [Thu, 17 May 2018 10:45:06 +0000 (16:45 +0600)] 
Update issue templates

8 years agoFix sign mismatch
Arran Cudbard-Bell [Thu, 17 May 2018 10:38:36 +0000 (16:38 +0600)] 
Fix sign mismatch

8 years agoConvert Base64 xlat to new API
Arran Cudbard-Bell [Thu, 17 May 2018 07:55:06 +0000 (13:55 +0600)] 
Convert Base64 xlat to new API

8 years agoAdd proper error when base64_encode doesn't have enough space
Arran Cudbard-Bell [Thu, 17 May 2018 07:54:06 +0000 (13:54 +0600)] 
Add proper error when base64_encode doesn't have enough space

8 years agoAdd fr_pair_value_bstrnsteal for potentially reallocing a binary string during stealing
Arran Cudbard-Bell [Thu, 17 May 2018 07:53:45 +0000 (13:53 +0600)] 
Add fr_pair_value_bstrnsteal for potentially reallocing a binary string during stealing

8 years agoFree temporary config sections in dependency_version_print
Arran Cudbard-Bell [Thu, 17 May 2018 07:44:57 +0000 (13:44 +0600)] 
Free temporary config sections in dependency_version_print

8 years agoOutput unused
Arran Cudbard-Bell [Wed, 16 May 2018 18:10:43 +0000 (00:10 +0600)] 
Output unused

8 years agoUnused
Arran Cudbard-Bell [Wed, 16 May 2018 16:07:31 +0000 (22:07 +0600)] 
Unused

8 years agoDoxygen
Arran Cudbard-Bell [Wed, 16 May 2018 15:59:46 +0000 (21:59 +0600)] 
Doxygen

8 years agoAutolink utility headers
Arran Cudbard-Bell [Wed, 16 May 2018 15:24:41 +0000 (21:24 +0600)] 
Autolink utility headers

8 years agoAutoload proto_tacacs
Arran Cudbard-Bell [Wed, 16 May 2018 14:29:05 +0000 (20:29 +0600)] 
Autoload proto_tacacs

8 years agolink rlm_soh to libfreeradius-soh
Arran Cudbard-Bell [Wed, 16 May 2018 13:31:41 +0000 (19:31 +0600)] 
link rlm_soh to libfreeradius-soh

8 years agoMove soh code of the server core into a library
Arran Cudbard-Bell [Wed, 16 May 2018 13:17:46 +0000 (19:17 +0600)] 
Move soh code of the server core into a library

8 years agoMerge built in paircmp functions back into the server 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

8 years agoFix module-failure-message test order
Arran Cudbard-Bell [Wed, 16 May 2018 12:26:07 +0000 (18:26 +0600)] 
Fix module-failure-message test order

8 years agoTypo
Arran Cudbard-Bell [Wed, 16 May 2018 09:28:00 +0000 (15:28 +0600)] 
Typo

8 years agoRename pair.c to paircmp.c
Arran Cudbard-Bell [Wed, 16 May 2018 08:58:56 +0000 (14:58 +0600)] 
Rename pair.c to paircmp.c

8 years agoMove xlat_eval_do into xlat_eval and rename to xlat_eval_pair
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

8 years agoMove pair list logging functions into log.c
Arran Cudbard-Bell [Wed, 16 May 2018 08:53:25 +0000 (14:53 +0600)] 
Move pair list logging functions into log.c

8 years agoRemove radius_pair_create
Arran Cudbard-Bell [Wed, 16 May 2018 08:40:44 +0000 (14:40 +0600)] 
Remove radius_pair_create

8 years agoAdd %pP custom format specifier to allow printing of VALUE_PAIRs
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

8 years agoRemove calls to radius_pair_create in stats.c
Arran Cudbard-Bell [Wed, 16 May 2018 06:52:44 +0000 (12:52 +0600)] 
Remove calls to radius_pair_create in stats.c

8 years agoMove call to radius_pair_create
Arran Cudbard-Bell [Wed, 16 May 2018 06:47:11 +0000 (12:47 +0600)] 
Move call to radius_pair_create

8 years agoFix log function declarations
Arran Cudbard-Bell [Wed, 16 May 2018 06:44:15 +0000 (12:44 +0600)] 
Fix log function declarations

8 years agoMove radius_(get_|copy)_vp into xlat_func.c
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.

8 years agoDoxygen
Arran Cudbard-Bell [Wed, 16 May 2018 06:32:57 +0000 (12:32 +0600)] 
Doxygen

8 years agoPull expansion documentation out of the rlm_expr config file and put it in the unlang...
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

8 years agoAdd the rest of the sha2 and sha3 functions
Arran Cudbard-Bell [Wed, 16 May 2018 06:27:44 +0000 (12:27 +0600)] 
Add the rest of the sha2 and sha3 functions

8 years agoMove the escape expansions into their own module
Arran Cudbard-Bell [Wed, 16 May 2018 05:20:37 +0000 (11:20 +0600)] 
Move the escape expansions into their own module

8 years agoWrap fr_log_init so we can pre-resolve Module-Failure-Msg
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/

8 years agos/radlog/log/
Arran Cudbard-Bell [Wed, 16 May 2018 04:16:06 +0000 (10:16 +0600)] 
s/radlog/log/

8 years agoMove xlat functions out of rlm_expr and back into xlat_func
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

8 years agoTypo
Arran Cudbard-Bell [Tue, 15 May 2018 08:18:26 +0000 (14:18 +0600)] 
Typo

8 years agoAutoload radsnmp attrs
Arran Cudbard-Bell [Tue, 15 May 2018 08:16:36 +0000 (14:16 +0600)] 
Autoload radsnmp attrs

8 years agoAutoclient radclient attributes
Arran Cudbard-Bell [Tue, 15 May 2018 07:25:47 +0000 (13:25 +0600)] 
Autoclient radclient attributes

8 years agoInitialise OpenSSL library later after we've called main_config_init
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

8 years agoFix typo
Arran Cudbard-Bell [Tue, 15 May 2018 05:09:17 +0000 (11:09 +0600)] 
Fix typo

8 years agoRemove fr_pair_afrom_num in proto_detail
Arran Cudbard-Bell [Tue, 15 May 2018 04:25:33 +0000 (10:25 +0600)] 
Remove fr_pair_afrom_num in proto_detail

8 years agoUnused label
Arran Cudbard-Bell [Tue, 15 May 2018 04:24:40 +0000 (10:24 +0600)] 
Unused label

8 years agoRemove unused proxy code
Arran Cudbard-Bell [Tue, 15 May 2018 04:11:22 +0000 (10:11 +0600)] 
Remove unused proxy code

8 years agoCONF_SECTION is unused
Arran Cudbard-Bell [Tue, 15 May 2018 04:09:37 +0000 (10:09 +0600)] 
CONF_SECTION is unused

8 years agoAutoload unit_test_module attributes
Arran Cudbard-Bell [Tue, 15 May 2018 03:53:52 +0000 (09:53 +0600)] 
Autoload unit_test_module attributes

8 years agoRemove call to radius_pair_create in rlm_digest
Arran Cudbard-Bell [Tue, 15 May 2018 03:26:07 +0000 (09:26 +0600)] 
Remove call to radius_pair_create in rlm_digest

8 years agoAutoload rlm_stats attributes
Arran Cudbard-Bell [Tue, 15 May 2018 03:09:33 +0000 (09:09 +0600)] 
Autoload rlm_stats attributes

8 years agoAutoload libfreeradius-tls attributes
Arran Cudbard-Bell [Tue, 15 May 2018 02:49:42 +0000 (08:49 +0600)] 
Autoload libfreeradius-tls attributes

8 years agomissed case statement
Arran Cudbard-Bell [Mon, 14 May 2018 12:42:49 +0000 (18:42 +0600)] 
missed case statement

8 years agoAutoload the internal dictionary
Arran Cudbard-Bell [Mon, 14 May 2018 11:45:09 +0000 (17:45 +0600)] 
Autoload the internal dictionary

8 years agoDoxygen
Arran Cudbard-Bell [Mon, 14 May 2018 11:42:50 +0000 (17:42 +0600)] 
Doxygen

8 years agofr_pair_value_from_str should take a signed len
Arran Cudbard-Bell [Mon, 14 May 2018 11:07:55 +0000 (17:07 +0600)] 
fr_pair_value_from_str should take a signed len

8 years agoFix debug message
Arran Cudbard-Bell [Mon, 14 May 2018 11:07:19 +0000 (17:07 +0600)] 
Fix debug message

8 years agoAvoid unecessary lookups
Arran Cudbard-Bell [Mon, 14 May 2018 11:07:07 +0000 (17:07 +0600)] 
Avoid unecessary lookups

8 years agoFix some weird value assignment code
Arran Cudbard-Bell [Mon, 14 May 2018 11:06:46 +0000 (17:06 +0600)] 
Fix some weird value assignment code

8 years agoRework pair_(add|update) so the caller can determine if a pair already existead
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

8 years agostart of toy DHCP processor
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

8 years agoMinor rlm_passwd fixes
Arran Cudbard-Bell [Sun, 13 May 2018 05:31:45 +0000 (11:31 +0600)] 
Minor rlm_passwd fixes

8 years agoReturning "No error" is confusing. Assume the caller thought there was an error.
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.

8 years agoadded sample client
Alan T. DeKok [Sat, 12 May 2018 12:40:55 +0000 (08:40 -0400)] 
added sample client

8 years agoRemove shadowed attribute
Arran Cudbard-Bell [Fri, 11 May 2018 12:38:21 +0000 (18:38 +0600)] 
Remove shadowed attribute

8 years agoFix issues raised by GCC
Arran Cudbard-Bell [Fri, 11 May 2018 11:25:44 +0000 (17:25 +0600)] 
Fix issues raised by GCC

8 years agoRemove unused macros
Arran Cudbard-Bell [Fri, 11 May 2018 09:37:55 +0000 (15:37 +0600)] 
Remove unused macros

8 years agoFix cursor macros
Arran Cudbard-Bell [Fri, 11 May 2018 09:31:48 +0000 (15:31 +0600)] 
Fix cursor macros

8 years agoAutoload eap base attributes
Arran Cudbard-Bell [Fri, 11 May 2018 09:27:04 +0000 (15:27 +0600)] 
Autoload eap base attributes

8 years agoAutoload attributes for all eap methods
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

8 years agoForward a subset of signals to the process being executed by jlibtool
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.

8 years agoConvert some calls from mcopy to fr_pair_list_dup
Arran Cudbard-Bell [Thu, 10 May 2018 16:06:01 +0000 (22:06 +0600)] 
Convert some calls from mcopy to fr_pair_list_dup

8 years agoadd local clients here, too
Alan T. DeKok [Thu, 10 May 2018 14:29:47 +0000 (10:29 -0400)] 
add local clients here, too

8 years agoadd local clients for RADIUS
Alan T. DeKok [Thu, 10 May 2018 14:27:15 +0000 (10:27 -0400)] 
add local clients for RADIUS

8 years agoadd broadcast config option
Alan T. DeKok [Thu, 10 May 2018 12:52:16 +0000 (08:52 -0400)] 
add broadcast config option

8 years agomodifications for new proto_dhcpv4
Alan T. DeKok [Thu, 10 May 2018 12:47:34 +0000 (08:47 -0400)] 
modifications for new proto_dhcpv4

8 years agoremove unused field
Alan T. DeKok [Thu, 10 May 2018 00:04:45 +0000 (20:04 -0400)] 
remove unused field

8 years agoFix shadow definition
Arran Cudbard-Bell [Thu, 10 May 2018 14:57:47 +0000 (20:57 +0600)] 
Fix shadow definition

8 years agoChange how fr_pair_list_copy works
Arran Cudbard-Bell [Thu, 10 May 2018 14:01:56 +0000 (20:01 +0600)] 
Change how fr_pair_list_copy works

8 years agoFix duplicate iterator function, and add function to iterate by parent
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.

8 years agos/fr_pair_list_copy/fr_pair_list_dup/
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

8 years agoUpdate issue_template.md
Arran Cudbard-Bell [Thu, 10 May 2018 13:45:55 +0000 (19:45 +0600)] 
Update issue_template.md

8 years agoMake formatting more explicit
Arran Cudbard-Bell [Thu, 10 May 2018 13:45:07 +0000 (19:45 +0600)] 
Make formatting more explicit

8 years agosome protocols don't have expiry timers
Alan T. DeKok [Wed, 9 May 2018 23:58:54 +0000 (19:58 -0400)] 
some protocols don't have expiry timers

8 years agoallow replies for NOOP, too
Alan T. DeKok [Wed, 9 May 2018 23:55:39 +0000 (19:55 -0400)] 
allow replies for NOOP, too