]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
10 years agoAdded support for Boingo Wi-Fi 1202/head
Jorge Pereira [Wed, 26 Aug 2015 14:41:53 +0000 (11:41 -0300)] 
Added support for Boingo Wi-Fi

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

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

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

10 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

10 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.

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

10 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

10 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

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

10 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

10 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()

10 years agorlm_rest: The json_object_object_get() is deprecated 1197/head
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.

10 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.

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

10 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

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

10 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

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

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

10 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

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

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

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

10 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.

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

10 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

10 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

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

10 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

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

10 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

10 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

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

10 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

10 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

10 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

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

10 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

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

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

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

10 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

10 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

10 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

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

10 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

10 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

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

10 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

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

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

10 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

10 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

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

10 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

10 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"

10 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

10 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

10 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

10 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

10 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

10 years agoMore tests for tunnel password encryption
Alan T. DeKok [Sat, 8 Aug 2015 15:44:27 +0000 (17:44 +0200)] 
More tests for tunnel password encryption

10 years agoHandle TCP sockets better. Fixes #1177
Alan T. DeKok [Sat, 8 Aug 2015 15:43:12 +0000 (17:43 +0200)] 
Handle TCP sockets better.  Fixes #1177

FreeBSD issues.  When bound to "*", the socket will actually
be bound to a real IP address, and will be seen as coming from
that real IP.  So for TCP sockets, just swap the src/dst IP/port

10 years agoRe-link and run tests if pre-reqs change
Alan T. DeKok [Fri, 31 Jul 2015 07:27:02 +0000 (09:27 +0200)] 
Re-link and run tests if pre-reqs change

10 years agoOnly print packet decoding errors if running in debug mode
Arran Cudbard-Bell [Fri, 7 Aug 2015 15:19:21 +0000 (11:19 -0400)] 
Only print packet decoding errors if running in debug mode

10 years agoAllow casting from unsigned to signed as long as the unsigned value is <= INT_MAX
Arran Cudbard-Bell [Tue, 4 Aug 2015 17:07:35 +0000 (13:07 -0400)] 
Allow casting from unsigned to signed as long as the unsigned value is <= INT_MAX

10 years agoMerge pull request #1180 from leprechau/v3.0.x
Arran Cudbard-Bell [Tue, 4 Aug 2015 16:17:47 +0000 (12:17 -0400)] 
Merge pull request #1180 from leprechau/v3.0.x

added NULL checks

10 years agoadded NULL checks 1180/head
Aaron Hurt [Tue, 4 Aug 2015 16:13:13 +0000 (11:13 -0500)] 
added NULL checks

10 years agojson_object_get_string_len should operate on output of json_object_get_string
Arran Cudbard-Bell [Tue, 4 Aug 2015 02:28:34 +0000 (22:28 -0400)] 
json_object_get_string_len should operate on output of json_object_get_string

10 years agoAdd verbose mode to more boiler make files
Arran Cudbard-Bell [Mon, 3 Aug 2015 23:23:15 +0000 (19:23 -0400)] 
Add verbose mode to more boiler make files

10 years agoMerge pull request #1175 from leprechau/v3.0.x
Arran Cudbard-Bell [Mon, 3 Aug 2015 22:10:22 +0000 (18:10 -0400)] 
Merge pull request #1175 from leprechau/v3.0.x

applicable parts of #1174 backported for 3.0.x

10 years agoapplicable parts of #1174 backported for 3.0.x 1175/head
Aaron Hurt [Mon, 3 Aug 2015 21:58:21 +0000 (16:58 -0500)] 
applicable parts of #1174 backported for 3.0.x

10 years agoRevert #1169 causes hang on make test on OSX
Arran Cudbard-Bell [Mon, 3 Aug 2015 21:32:49 +0000 (17:32 -0400)] 
Revert #1169 causes hang on make test on OSX

10 years agoFix kevent error message
Arran Cudbard-Bell [Sat, 1 Aug 2015 13:15:53 +0000 (09:15 -0400)] 
Fix kevent error message

10 years agoMerge pull request #1169 from jpereira/devel/bsd-kevent1
Alan DeKok [Sat, 1 Aug 2015 07:18:48 +0000 (09:18 +0200)] 
Merge pull request #1169 from jpereira/devel/bsd-kevent1

Better handle of errors returned by kevent() in FreeBSD

10 years agoHAVE_JSON set in config.h
Arran Cudbard-Bell [Fri, 31 Jul 2015 20:12:16 +0000 (16:12 -0400)] 
HAVE_JSON set in config.h

10 years agoSearch for json headers in multiple locations Closes #794
Arran Cudbard-Bell [Fri, 31 Jul 2015 20:00:07 +0000 (16:00 -0400)] 
Search for json headers in multiple locations Closes #794

10 years agoGrammar
Arran Cudbard-Bell [Fri, 31 Jul 2015 15:17:53 +0000 (11:17 -0400)] 
Grammar

10 years agoBe more careful about appending duplicate options to the pg connection string Closes...
Arran Cudbard-Bell [Fri, 31 Jul 2015 15:16:54 +0000 (11:16 -0400)] 
Be more careful about appending duplicate options to the pg connection string Closes #1172

10 years agoconst for variables
Alan T. DeKok [Fri, 31 Jul 2015 07:22:11 +0000 (09:22 +0200)] 
const for variables

10 years agoTests for Tunnel-Password
Alan T. DeKok [Thu, 30 Jul 2015 18:35:48 +0000 (20:35 +0200)] 
Tests for Tunnel-Password

And a fix for when it would encode passwords with the
wrong length

10 years agoAdded packet / original for encode / decode attrs
Alan T. DeKok [Thu, 30 Jul 2015 18:29:16 +0000 (20:29 +0200)] 
Added packet / original for encode / decode attrs

10 years agoUpdate ChangeLog
Arran Cudbard-Bell [Fri, 31 Jul 2015 03:56:06 +0000 (23:56 -0400)] 
Update ChangeLog

10 years agofr_utf8_char should take a string length so that it can operate safely on none \0...
Arran Cudbard-Bell [Fri, 31 Jul 2015 02:50:31 +0000 (22:50 -0400)] 
fr_utf8_char should take a string length so that it can operate safely on none \0 terminated buffers

10 years agoFifo code should use unsigned ints
Arran Cudbard-Bell [Wed, 29 Jul 2015 23:21:03 +0000 (19:21 -0400)] 
Fifo code should use unsigned ints

10 years agoFix potential buffer overflow in value_data_prints
Arran Cudbard-Bell [Thu, 30 Jul 2015 16:11:51 +0000 (12:11 -0400)] 
Fix potential buffer overflow in value_data_prints

10 years agobetter handle of errors returned by kevent() in FreeBSD 1169/head
Jorge Pereira [Wed, 29 Jul 2015 17:30:41 +0000 (14:30 -0300)] 
better handle of errors returned by kevent() in FreeBSD

10 years agoUpdate ChangeLog
Arran Cudbard-Bell [Tue, 28 Jul 2015 16:21:24 +0000 (12:21 -0400)] 
Update ChangeLog

10 years agoRemove unnecessary prototype
Alan T. DeKok [Mon, 27 Jul 2015 19:38:54 +0000 (15:38 -0400)] 
Remove unnecessary prototype

10 years agoDon't do mutexes if no threads
Alan T. DeKok [Mon, 27 Jul 2015 19:31:46 +0000 (15:31 -0400)] 
Don't do mutexes if no threads

10 years agoDon't check for spawn in area where it's false
Alan T. DeKok [Mon, 27 Jul 2015 16:45:16 +0000 (12:45 -0400)] 
Don't check for spawn in area where it's false

10 years agoMore minor tweaks
Alan T. DeKok [Mon, 27 Jul 2015 16:42:18 +0000 (12:42 -0400)] 
More minor tweaks

10 years agoRemove "needs_reconnecting"
Alan T. DeKok [Mon, 27 Jul 2015 16:39:12 +0000 (12:39 -0400)] 
Remove "needs_reconnecting"

It's not used in v3.0, and won't be needed there

10 years agoDon't use "lock". It's too common
Alan T. DeKok [Mon, 27 Jul 2015 16:34:18 +0000 (12:34 -0400)] 
Don't use "lock".  It's too common

10 years agoformatting / comments
Alan T. DeKok [Mon, 27 Jul 2015 15:55:07 +0000 (11:55 -0400)] 
formatting / comments

10 years agoDon't recusively grab mutexes.
Alan T. DeKok [Mon, 27 Jul 2015 15:43:33 +0000 (11:43 -0400)] 
Don't recusively grab mutexes.

The reconnection logic is complex and fragile

10 years agoredisConnect() may return NULL
Alan T. DeKok [Mon, 27 Jul 2015 15:14:03 +0000 (11:14 -0400)] 
redisConnect() may return NULL

It's possible.  Better check for it

10 years agoDo dedup for CoA packets, too
Alan T. DeKok [Mon, 27 Jul 2015 11:13:19 +0000 (07:13 -0400)] 
Do dedup for CoA packets, too

10 years agoUse correct VP for port information
Alan T. DeKok [Sun, 26 Jul 2015 12:02:25 +0000 (08:02 -0400)] 
Use correct VP for port information