freeradius.git
8 years agoRemove old comment in rlm_example
Arran Cudbard-Bell [Sat, 5 Sep 2015 21:36:22 +0000 (17:36 -0400)]
Remove old comment in rlm_example

8 years agoAllow %} as an expansion for a literal } Closes #1209
Arran Cudbard-Bell [Sat, 5 Sep 2015 21:36:00 +0000 (17:36 -0400)]
Allow %} as an expansion for a literal } Closes #1209

8 years agoFormatting
Arran Cudbard-Bell [Sat, 5 Sep 2015 21:35:33 +0000 (17:35 -0400)]
Formatting

8 years agoAdd fake module_instantiate_method in map_unit.c
Arran Cudbard-Bell [Thu, 3 Sep 2015 23:38:38 +0000 (19:38 -0400)]
Add fake module_instantiate_method in map_unit.c

8 years agoActually set method
Alan T. DeKok [Fri, 4 Sep 2015 18:22:02 +0000 (14:22 -0400)]
Actually set method

8 years agoAllow virtual modules to have method over-rides, too
Alan T. DeKok [Fri, 4 Sep 2015 15:25:28 +0000 (11:25 -0400)]
Allow virtual modules to have method over-rides, too

8 years agoUse correct name for module
Alan T. DeKok [Fri, 4 Sep 2015 14:34:43 +0000 (10:34 -0400)]
Use correct name for module

8 years agoMake sure wbclient.h is included when needed. Fixes #1208
Alan T. DeKok [Fri, 4 Sep 2015 14:20:50 +0000 (10:20 -0400)]
Make sure wbclient.h is included when needed.  Fixes #1208

8 years agoGenerate fewer complaints on trying "foo.authorize"
Alan T. DeKok [Fri, 4 Sep 2015 13:58:45 +0000 (09:58 -0400)]
Generate fewer complaints on trying "foo.authorize"

8 years agoTypo
Alan T. DeKok [Thu, 3 Sep 2015 23:22:30 +0000 (19:22 -0400)]
Typo

8 years agoAdd module_instantiate_method()
Alan T. DeKok [Thu, 3 Sep 2015 22:39:38 +0000 (18:39 -0400)]
Add module_instantiate_method()

which allows the caller to instantiate "module.method"

8 years agoNotes about lease queries
Alan T. DeKok [Thu, 3 Sep 2015 19:13:09 +0000 (15:13 -0400)]
Notes about lease queries

8 years agoFree expr of regex exec error Closes #1207
Arran Cudbard-Bell [Thu, 3 Sep 2015 12:41:51 +0000 (08:41 -0400)]
Free expr of regex exec error Closes #1207

8 years agoPort fixes from v3.1.x
Alan T. DeKok [Wed, 2 Sep 2015 20:46:08 +0000 (16:46 -0400)]
Port fixes from v3.1.x

8 years agonote recent changes
Alan T. DeKok [Wed, 2 Sep 2015 19:43:45 +0000 (15:43 -0400)]
note recent changes

8 years agoOn HUP, reload a module which has changed
Alan T. DeKok [Wed, 2 Sep 2015 19:41:48 +0000 (15:41 -0400)]
On HUP, reload a module which has changed

8 years agoDon't us be HUP'd repeatedly.
Alan T. DeKok [Wed, 2 Sep 2015 17:34:22 +0000 (13:34 -0400)]
Don't us be HUP'd repeatedly.

It should only be HUP'd every few seconds

8 years agoMake the "file changed" flag into a bitfield
Alan T. DeKok [Wed, 2 Sep 2015 17:31:02 +0000 (13:31 -0400)]
Make the "file changed" flag into a bitfield

8 years agoMove xlat_listen
Arran Cudbard-Bell [Wed, 2 Sep 2015 13:56:48 +0000 (09:56 -0400)]
Move xlat_listen

8 years agoSet default DHCP port if user has "port = 0"
Alan T. DeKok [Wed, 2 Sep 2015 13:41:21 +0000 (09:41 -0400)]
Set default DHCP port if user has "port = 0"

8 years agoUpdate ChangeLog
Arran Cudbard-Bell [Wed, 2 Sep 2015 13:15:47 +0000 (09:15 -0400)]
Update ChangeLog

8 years agoRegister the listen xlat in mainconfig not listen_init
Arran Cudbard-Bell [Wed, 2 Sep 2015 13:11:21 +0000 (09:11 -0400)]
Register the listen xlat in mainconfig not listen_init

By the time listen_init is called, it's too late (guessing that's why client and getclient were moved there too).

8 years agoNote recent changes
Alan T. DeKok [Wed, 2 Sep 2015 13:05:12 +0000 (09:05 -0400)]
Note recent changes

8 years agoAlways delete MS-MPPE-* from the reply. Fixes #1206
Alan T. DeKok [Wed, 2 Sep 2015 12:53:36 +0000 (08:53 -0400)]
Always delete MS-MPPE-* from the reply.  Fixes #1206

8 years agoUse correct variable for check. Fixes #1205
Alan T. DeKok [Wed, 2 Sep 2015 12:49:44 +0000 (08:49 -0400)]
Use correct variable for check.  Fixes #1205

8 years agoRHS of pairs can only be strings or bare words
Alan T. DeKok [Wed, 2 Sep 2015 12:26:52 +0000 (08:26 -0400)]
RHS of pairs can only be strings or bare words

Not comments, EOL, etc.

8 years agonote recent changes
Alan T. DeKok [Tue, 1 Sep 2015 22:37:28 +0000 (18:37 -0400)]
note recent changes

8 years agoFix for CID #1321695
Alan T. DeKok [Tue, 1 Sep 2015 22:36:56 +0000 (18:36 -0400)]
Fix for CID #1321695

8 years agoMerge pull request #1204 from peruchi/patch-1
Arran Cudbard-Bell [Tue, 1 Sep 2015 14:48:37 +0000 (10:48 -0400)]
Merge pull request #1204 from peruchi/patch-1

Fix libs

8 years agoFix libs
peruchi [Tue, 1 Sep 2015 14:24:19 +0000 (11:24 -0300)]
Fix libs

8 years agoDebug all VPs in options, not just the first one
Alan T. DeKok [Mon, 31 Aug 2015 14:23:23 +0000 (10:23 -0400)]
Debug all VPs in options, not just the first one

8 years agoIf we have CHADDR, mark up htype and hlen
Alan T. DeKok [Mon, 31 Aug 2015 12:19:42 +0000 (08:19 -0400)]
If we have CHADDR, mark up htype and hlen

8 years agoUse macro instead of hard-coded number
Alan T. DeKok [Sun, 30 Aug 2015 16:20:28 +0000 (12:20 -0400)]
Use macro instead of hard-coded number

8 years agoFixes for DHCP lease query
Alan T. DeKok [Sun, 30 Aug 2015 16:11:47 +0000 (12:11 -0400)]
Fixes for DHCP lease query

8 years agoUpdates to permit DHCP lease query. Untested for now.
Alan T. DeKok [Sun, 30 Aug 2015 13:33:17 +0000 (09:33 -0400)]
Updates to permit DHCP lease query.  Untested for now.

8 years agoMerge pull request #1202 from jpereira/dict/boingo
Arran Cudbard-Bell [Wed, 26 Aug 2015 14:47:41 +0000 (10:47 -0400)]
Merge pull request #1202 from jpereira/dict/boingo

Added support for Boingo Wi-Fi

8 years agoAdded support for Boingo Wi-Fi
Jorge Pereira [Wed, 26 Aug 2015 14:41:53 +0000 (11:41 -0300)]
Added support for Boingo Wi-Fi

8 years agoMerge pull request #1201 from jpereira/dict/boingo
Arran Cudbard-Bell [Wed, 26 Aug 2015 14:35:01 +0000 (10:35 -0400)]
Merge pull request #1201 from jpereira/dict/boingo

Added support for Boingo Wi-Fi

8 years agoAdded support for Boingo Wi-Fi
Jorge Pereira [Wed, 26 Aug 2015 14:14:56 +0000 (11:14 -0300)]
Added support for Boingo Wi-Fi

8 years agoUpdate sql
Arran Cudbard-Bell [Mon, 24 Aug 2015 15:28:16 +0000 (11:28 -0400)]
Update sql

8 years agonote recent changes
Alan T. DeKok [Fri, 21 Aug 2015 15:46:34 +0000 (11:46 -0400)]
note recent changes

8 years agoCross-reference documentation
Alan T. DeKok [Fri, 21 Aug 2015 15:46:24 +0000 (11:46 -0400)]
Cross-reference documentation

8 years agoStatic checks for known subsections
Alan T. DeKok [Fri, 21 Aug 2015 15:02:18 +0000 (11:02 -0400)]
Static checks for known subsections

8 years agoRevert "Pre-parse insert / trim / expire, and mark them PW_TYPE_XLAT"
Alan T. DeKok [Fri, 21 Aug 2015 14:51:10 +0000 (10:51 -0400)]
Revert "Pre-parse insert / trim / expire, and mark them PW_TYPE_XLAT"

This reverts commit dc11027d75fb1e68bc3e1e160f707e4f85607dff.

8 years agonote recent changes
Alan T. DeKok [Fri, 21 Aug 2015 13:58:19 +0000 (09:58 -0400)]
note recent changes

8 years agomark home server alive if we have a proxy reply in zombie state
Alan T. DeKok [Thu, 20 Aug 2015 20:41:43 +0000 (16:41 -0400)]
mark home server alive if we have a proxy reply in zombie state

8 years agoRefactor "mark home server alive" to a function
Alan T. DeKok [Thu, 20 Aug 2015 20:39:25 +0000 (16:39 -0400)]
Refactor "mark home server alive" to a function

8 years agoNote recent changes
Alan T. DeKok [Thu, 20 Aug 2015 15:39:10 +0000 (11:39 -0400)]
Note recent changes

8 years agoStop processing when we hit max time. Fixes #1184
Alan T. DeKok [Thu, 20 Aug 2015 15:35:48 +0000 (11:35 -0400)]
Stop processing when we hit max time.  Fixes #1184

8 years agoMerge pull request #1197 from jpereira/develop/rlm_rest2
Arran Cudbard-Bell [Wed, 19 Aug 2015 19:58:10 +0000 (15:58 -0400)]
Merge pull request #1197 from jpereira/develop/rlm_rest2

rlm_rest: The json_object_object_get() is deprecated, replaced by json_object_object_get_ex()

8 years agorlm_rest: The json_object_object_get() is deprecated
Jorge Pereira [Wed, 19 Aug 2015 19:17:11 +0000 (16:17 -0300)]
rlm_rest: The json_object_object_get() is deprecated

was replaced by json_object_object_get_ex() as described in the
documentation.

8 years agoWhen creating default proxy listener, add it to the proxy list.
Alan T. DeKok [Wed, 19 Aug 2015 18:00:18 +0000 (14:00 -0400)]
When creating default proxy listener, add it to the proxy list.

And create a v6 default listener if required.

8 years agoWhitespace
Alan T. DeKok [Wed, 19 Aug 2015 17:19:30 +0000 (13:19 -0400)]
Whitespace

8 years agoClarify debugging messages with actual port number
Alan T. DeKok [Wed, 19 Aug 2015 17:01:11 +0000 (13:01 -0400)]
Clarify debugging messages with actual port number

8 years agoQuiet nosy programmer
Alan T. DeKok [Wed, 19 Aug 2015 12:59:05 +0000 (08:59 -0400)]
Quiet nosy programmer

8 years agoDon't check on proto. Addresses #1195
Alan T. DeKok [Wed, 19 Aug 2015 11:38:02 +0000 (07:38 -0400)]
Don't check on proto.  Addresses #1195

The "proto" field is implied in the sockfd field, so it's OK
to just check sockfd and not proto

8 years agoRemove redundant declaration
Alan T. DeKok [Wed, 19 Aug 2015 11:09:07 +0000 (07:09 -0400)]
Remove redundant declaration

8 years agoAlmost there
Alan T. DeKok [Wed, 19 Aug 2015 10:58:33 +0000 (06:58 -0400)]
Almost there

8 years agoMake it build...
Alan T. DeKok [Wed, 19 Aug 2015 10:50:44 +0000 (06:50 -0400)]
Make it build...

OSX is much more forgiving than other platforms

8 years agoLinker hacks
Alan T. DeKok [Wed, 19 Aug 2015 10:45:18 +0000 (06:45 -0400)]
Linker hacks

8 years agoRemove unnecessary wrappers
Alan T. DeKok [Wed, 19 Aug 2015 10:35:18 +0000 (06:35 -0400)]
Remove unnecessary wrappers

8 years agoDisallow assigning [#]. Fixes #1171
Alan T. DeKok [Wed, 19 Aug 2015 10:28:50 +0000 (06:28 -0400)]
Disallow assigning [#].  Fixes #1171

8 years agoAdded unit test framework for maps
Alan T. DeKok [Wed, 19 Aug 2015 09:54:25 +0000 (05:54 -0400)]
Added unit test framework for maps

Which are run after the unit tests, and before xlat / keyword
tests.

These tests are for parsing ONLY.  They don't verify that the maps
DO anything.

8 years agoFix text
Alan T. DeKok [Tue, 18 Aug 2015 17:47:17 +0000 (19:47 +0200)]
Fix text

8 years agoUse macro for terminating CONF_PARSER arrays
Arran Cudbard-Bell [Wed, 19 Aug 2015 03:57:03 +0000 (23:57 -0400)]
Use macro for terminating CONF_PARSER arrays

Check type of terminator is -1 to catch where CONF_PARSER arrays are improperly terminated

8 years agoMissing conf terminator Closes #1167
Arran Cudbard-Bell [Wed, 19 Aug 2015 03:16:13 +0000 (23:16 -0400)]
Missing conf terminator Closes #1167

8 years agoPrint out code, too
Alan T. DeKok [Mon, 17 Aug 2015 20:12:49 +0000 (22:12 +0200)]
Print out code, too

8 years agobe 'NOT NULL' to prevent SEGV
Jorge Pereira [Mon, 17 Aug 2015 17:21:12 +0000 (14:21 -0300)]
be 'NOT NULL' to prevent SEGV

8 years agoSet packet->proto
Alan T. DeKok [Mon, 17 Aug 2015 08:47:29 +0000 (10:47 +0200)]
Set packet->proto

8 years agoPrint out packet code by name
Alan T. DeKok [Mon, 17 Aug 2015 08:47:09 +0000 (10:47 +0200)]
Print out packet code by name

8 years agoWe don't need these messages in normal debug mode
Alan T. DeKok [Mon, 17 Aug 2015 08:46:55 +0000 (10:46 +0200)]
We don't need these messages in normal debug mode

8 years agoTypo
Arran Cudbard-Bell [Sun, 16 Aug 2015 17:52:58 +0000 (13:52 -0400)]
Typo

8 years agoFix some confusing documentation around ldap profile
Arran Cudbard-Bell [Sun, 16 Aug 2015 17:47:51 +0000 (13:47 -0400)]
Fix some confusing documentation around ldap profile

8 years agoFix capitalization for sha1_ctx
Arran Cudbard-Bell [Sun, 16 Aug 2015 17:34:15 +0000 (13:34 -0400)]
Fix capitalization for sha1_ctx

8 years agoMove message to debug only. Fixes #1182
Alan T. DeKok [Sun, 16 Aug 2015 16:35:50 +0000 (18:35 +0200)]
Move message to debug only.  Fixes #1182

8 years agoTypo
Arran Cudbard-Bell [Sat, 15 Aug 2015 23:47:39 +0000 (19:47 -0400)]
Typo

8 years agoFix tags in map_exec_to_vp too Addresses #1191
Arran Cudbard-Bell [Sat, 15 Aug 2015 22:59:04 +0000 (18:59 -0400)]
Fix tags in map_exec_to_vp too Addresses #1191

8 years agoWrap
Arran Cudbard-Bell [Sat, 15 Aug 2015 22:56:00 +0000 (18:56 -0400)]
Wrap

8 years agoAdded tag to map
plambrechtsen [Sat, 15 Aug 2015 22:12:06 +0000 (17:12 -0500)]
Added tag to map

8 years agoFixing the rlm_detail manual
Jorge Pereira [Thu, 13 Aug 2015 19:47:43 +0000 (16:47 -0300)]
Fixing the rlm_detail manual

8 years agoFix problems with freeradius-dhcp*.deb, refs #1125
Jorge Pereira [Wed, 15 Jul 2015 15:09:58 +0000 (12:09 -0300)]
Fix problems with freeradius-dhcp*.deb, refs #1125

8 years agoDon't install proto_dhcp.so in freeradius-*.deb, #1125
Jorge Pereira [Wed, 15 Jul 2015 15:09:55 +0000 (12:09 -0300)]
Don't install proto_dhcp.so in freeradius-*.deb, #1125

8 years agoSet home->proto for servers read from config files
Alan T. DeKok [Fri, 14 Aug 2015 19:59:52 +0000 (21:59 +0200)]
Set home->proto for servers read from config files

8 years agoUse consistent names
Alan T. DeKok [Fri, 14 Aug 2015 19:58:16 +0000 (21:58 +0200)]
Use consistent names

8 years agoIf we can't encode a packet, delete it from the list
Alan T. DeKok [Fri, 14 Aug 2015 19:42:06 +0000 (21:42 +0200)]
If we can't encode a packet, delete it from the list

8 years agoPrint out socket, proto, and src / dst, IP / port in -xxxx
Alan T. DeKok [Fri, 14 Aug 2015 13:52:04 +0000 (15:52 +0200)]
Print out socket, proto, and src / dst, IP / port in -xxxx

8 years agonote recent changes
Alan T. DeKok [Fri, 14 Aug 2015 09:00:24 +0000 (11:00 +0200)]
note recent changes

8 years agoAlways create run_dir and logdir if needed
Alan T. DeKok [Fri, 14 Aug 2015 08:58:16 +0000 (10:58 +0200)]
Always create run_dir and logdir if needed

8 years agowhitespace
Alan T. DeKok [Fri, 14 Aug 2015 08:41:51 +0000 (10:41 +0200)]
whitespace

8 years agoFix CID #1316262
Arran Cudbard-Bell [Thu, 13 Aug 2015 14:39:30 +0000 (10:39 -0400)]
Fix CID #1316262

8 years agoSync systemd unit with v3.1.x
Arran Cudbard-Bell [Thu, 13 Aug 2015 11:14:29 +0000 (07:14 -0400)]
Sync systemd unit with v3.1.x

8 years agoldap_next_entry requires the previous entry
Arran Cudbard-Bell [Wed, 12 Aug 2015 17:01:00 +0000 (13:01 -0400)]
ldap_next_entry requires the previous entry

8 years agoTypo in SSL version check
Jeremy Browne [Thu, 13 Aug 2015 07:41:56 +0000 (00:41 -0700)]
Typo in SSL version check

8 years agoConsistent formatting for disabled config items
Alan T. DeKok [Thu, 13 Aug 2015 08:56:02 +0000 (10:56 +0200)]
Consistent formatting for disabled config items

8 years agoAllow EAP sub-modules to be disabled via (e.g.) "disable peap"
Alan T. DeKok [Thu, 13 Aug 2015 08:48:00 +0000 (10:48 +0200)]
Allow EAP sub-modules to be disabled via (e.g.) "disable peap"

8 years agoPrint out packet code by name
Alan T. DeKok [Wed, 12 Aug 2015 07:47:15 +0000 (09:47 +0200)]
Print out packet code by name

8 years agoPrint out Status-Server packet for pings
Alan T. DeKok [Wed, 12 Aug 2015 07:37:50 +0000 (09:37 +0200)]
Print out Status-Server packet for pings

8 years agoInclude packet ID in error messages
Alan T. DeKok [Wed, 12 Aug 2015 07:36:13 +0000 (09:36 +0200)]
Include packet ID in error messages

8 years agoSet proto for proxied packets, too
Alan T. DeKok [Sat, 8 Aug 2015 17:03:23 +0000 (19:03 +0200)]
Set proto for proxied packets, too

8 years agoInitialize packet->proto as required
Alan T. DeKok [Sat, 8 Aug 2015 17:00:23 +0000 (19:00 +0200)]
Initialize packet->proto as required