]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
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.
Alan T. DeKok [Wed, 19 Aug 2015 12:59:05 +0000 (08:59 -0400)]
Quiet nosy programmer
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
Alan T. DeKok [Wed, 19 Aug 2015 11:09:07 +0000 (07:09 -0400)]
Remove redundant declaration
Alan T. DeKok [Wed, 19 Aug 2015 10:58:33 +0000 (06:58 -0400)]
Almost there
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
Alan T. DeKok [Wed, 19 Aug 2015 10:45:18 +0000 (06:45 -0400)]
Linker hacks
Alan T. DeKok [Wed, 19 Aug 2015 10:35:18 +0000 (06:35 -0400)]
Remove unnecessary wrappers
Alan T. DeKok [Wed, 19 Aug 2015 10:28:50 +0000 (06:28 -0400)]
Disallow assigning [#]. Fixes #1171
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.
Alan T. DeKok [Tue, 18 Aug 2015 17:47:17 +0000 (19:47 +0200)]
Fix text
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
Arran Cudbard-Bell [Wed, 19 Aug 2015 03:16:13 +0000 (23:16 -0400)]
Missing conf terminator Closes #1167
Alan T. DeKok [Mon, 17 Aug 2015 20:12:49 +0000 (22:12 +0200)]
Print out code, too
Jorge Pereira [Mon, 17 Aug 2015 17:21:12 +0000 (14:21 -0300)]
be 'NOT NULL' to prevent SEGV
Alan T. DeKok [Mon, 17 Aug 2015 08:47:29 +0000 (10:47 +0200)]
Set packet->proto
Alan T. DeKok [Mon, 17 Aug 2015 08:47:09 +0000 (10:47 +0200)]
Print out packet code by name
Alan T. DeKok [Mon, 17 Aug 2015 08:46:55 +0000 (10:46 +0200)]
We don't need these messages in normal debug mode
Arran Cudbard-Bell [Sun, 16 Aug 2015 17:52:58 +0000 (13:52 -0400)]
Typo
Arran Cudbard-Bell [Sun, 16 Aug 2015 17:47:51 +0000 (13:47 -0400)]
Fix some confusing documentation around ldap profile
Arran Cudbard-Bell [Sun, 16 Aug 2015 17:34:15 +0000 (13:34 -0400)]
Fix capitalization for sha1_ctx
Alan T. DeKok [Sun, 16 Aug 2015 16:35:50 +0000 (18:35 +0200)]
Move message to debug only. Fixes #1182
Arran Cudbard-Bell [Sat, 15 Aug 2015 23:47:39 +0000 (19:47 -0400)]
Typo
Arran Cudbard-Bell [Sat, 15 Aug 2015 22:59:04 +0000 (18:59 -0400)]
Fix tags in map_exec_to_vp too Addresses #1191
Arran Cudbard-Bell [Sat, 15 Aug 2015 22:56:00 +0000 (18:56 -0400)]
Wrap
plambrechtsen [Sat, 15 Aug 2015 22:12:06 +0000 (17:12 -0500)]
Added tag to map
Jorge Pereira [Thu, 13 Aug 2015 19:47:43 +0000 (16:47 -0300)]
Fixing the rlm_detail manual
Jorge Pereira [Wed, 15 Jul 2015 15:09:58 +0000 (12:09 -0300)]
Fix problems with freeradius-dhcp*.deb, refs #1125
Jorge Pereira [Wed, 15 Jul 2015 15:09:55 +0000 (12:09 -0300)]
Don't install proto_dhcp.so in freeradius-*.deb, #1125
Alan T. DeKok [Fri, 14 Aug 2015 19:59:52 +0000 (21:59 +0200)]
Set home->proto for servers read from config files
Alan T. DeKok [Fri, 14 Aug 2015 19:58:16 +0000 (21:58 +0200)]
Use consistent names
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
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
Alan T. DeKok [Fri, 14 Aug 2015 09:00:24 +0000 (11:00 +0200)]
note recent changes
Alan T. DeKok [Fri, 14 Aug 2015 08:58:16 +0000 (10:58 +0200)]
Always create run_dir and logdir if needed
Alan T. DeKok [Fri, 14 Aug 2015 08:41:51 +0000 (10:41 +0200)]
whitespace
Arran Cudbard-Bell [Thu, 13 Aug 2015 14:39:30 +0000 (10:39 -0400)]
Arran Cudbard-Bell [Thu, 13 Aug 2015 11:14:29 +0000 (07:14 -0400)]
Sync systemd unit with v3.1.x
Arran Cudbard-Bell [Wed, 12 Aug 2015 17:01:00 +0000 (13:01 -0400)]
ldap_next_entry requires the previous entry
Jeremy Browne [Thu, 13 Aug 2015 07:41:56 +0000 (00:41 -0700)]
Typo in SSL version check
Alan T. DeKok [Thu, 13 Aug 2015 08:56:02 +0000 (10:56 +0200)]
Consistent formatting for disabled config items
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"
Alan T. DeKok [Wed, 12 Aug 2015 07:47:15 +0000 (09:47 +0200)]
Print out packet code by name
Alan T. DeKok [Wed, 12 Aug 2015 07:37:50 +0000 (09:37 +0200)]
Print out Status-Server packet for pings
Alan T. DeKok [Wed, 12 Aug 2015 07:36:13 +0000 (09:36 +0200)]
Include packet ID in error messages
Alan T. DeKok [Sat, 8 Aug 2015 17:03:23 +0000 (19:03 +0200)]
Set proto for proxied packets, too
Alan T. DeKok [Sat, 8 Aug 2015 17:00:23 +0000 (19:00 +0200)]
Initialize packet->proto as required
Alan T. DeKok [Sat, 8 Aug 2015 15:44:27 +0000 (17:44 +0200)]
More tests for tunnel password encryption
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
Alan T. DeKok [Fri, 31 Jul 2015 07:27:02 +0000 (09:27 +0200)]
Re-link and run tests if pre-reqs change
Arran Cudbard-Bell [Fri, 7 Aug 2015 15:19:21 +0000 (11:19 -0400)]
Only print packet decoding errors if running in debug mode
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
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
Aaron Hurt [Tue, 4 Aug 2015 16:13:13 +0000 (11:13 -0500)]
added NULL checks
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
Arran Cudbard-Bell [Mon, 3 Aug 2015 23:23:15 +0000 (19:23 -0400)]
Add verbose mode to more boiler make files
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
Aaron Hurt [Mon, 3 Aug 2015 21:58:21 +0000 (16:58 -0500)]
applicable parts of #1174 backported for 3.0.x
Arran Cudbard-Bell [Mon, 3 Aug 2015 21:32:49 +0000 (17:32 -0400)]
Revert #1169 causes hang on make test on OSX
Arran Cudbard-Bell [Sat, 1 Aug 2015 13:15:53 +0000 (09:15 -0400)]
Fix kevent error message
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
Arran Cudbard-Bell [Fri, 31 Jul 2015 20:12:16 +0000 (16:12 -0400)]
HAVE_JSON set in config.h
Arran Cudbard-Bell [Fri, 31 Jul 2015 20:00:07 +0000 (16:00 -0400)]
Search for json headers in multiple locations Closes #794
Arran Cudbard-Bell [Fri, 31 Jul 2015 15:17:53 +0000 (11:17 -0400)]
Grammar
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
Alan T. DeKok [Fri, 31 Jul 2015 07:22:11 +0000 (09:22 +0200)]
const for variables
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
Alan T. DeKok [Thu, 30 Jul 2015 18:29:16 +0000 (20:29 +0200)]
Added packet / original for encode / decode attrs
Arran Cudbard-Bell [Fri, 31 Jul 2015 03:56:06 +0000 (23:56 -0400)]
Update ChangeLog
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
Arran Cudbard-Bell [Wed, 29 Jul 2015 23:21:03 +0000 (19:21 -0400)]
Fifo code should use unsigned ints
Arran Cudbard-Bell [Thu, 30 Jul 2015 16:11:51 +0000 (12:11 -0400)]
Fix potential buffer overflow in value_data_prints
Jorge Pereira [Wed, 29 Jul 2015 17:30:41 +0000 (14:30 -0300)]
better handle of errors returned by kevent() in FreeBSD
Arran Cudbard-Bell [Tue, 28 Jul 2015 16:21:24 +0000 (12:21 -0400)]
Update ChangeLog
Alan T. DeKok [Mon, 27 Jul 2015 19:38:54 +0000 (15:38 -0400)]
Remove unnecessary prototype
Alan T. DeKok [Mon, 27 Jul 2015 19:31:46 +0000 (15:31 -0400)]
Don't do mutexes if no threads
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
Alan T. DeKok [Mon, 27 Jul 2015 16:42:18 +0000 (12:42 -0400)]
More minor tweaks
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
Alan T. DeKok [Mon, 27 Jul 2015 16:34:18 +0000 (12:34 -0400)]
Don't use "lock". It's too common
Alan T. DeKok [Mon, 27 Jul 2015 15:55:07 +0000 (11:55 -0400)]
formatting / comments
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
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
Alan T. DeKok [Mon, 27 Jul 2015 11:13:19 +0000 (07:13 -0400)]
Do dedup for CoA packets, too
Alan T. DeKok [Sun, 26 Jul 2015 12:02:25 +0000 (08:02 -0400)]
Use correct VP for port information
Alan T. DeKok [Sun, 26 Jul 2015 10:49:52 +0000 (06:49 -0400)]
Minor updates
Alan T. DeKok [Sun, 26 Jul 2015 00:48:11 +0000 (20:48 -0400)]
session_init returns 0/1
Alan T. DeKok [Fri, 24 Jul 2015 19:37:37 +0000 (15:37 -0400)]
conn_pool -> pool. Closes #1165
Arran Cudbard-Bell [Thu, 23 Jul 2015 04:08:13 +0000 (00:08 -0400)]
Formatting
Arran Cudbard-Bell [Thu, 23 Jul 2015 01:32:29 +0000 (21:32 -0400)]
Pass error codes back through cf_section_parse
Arran Cudbard-Bell [Wed, 22 Jul 2015 22:30:07 +0000 (18:30 -0400)]
Revert "Don't complain on deprecated. Closes #1131"
DO complain on -C, because we refuse to start without -C, and having different behaviour between daemon mode and -C is worse than some mildly confusing message, as it's the thing that init and salt scripts use to prevent accidental destruction of radius clusters.
Jorge Pereira [Wed, 22 Jul 2015 21:47:34 +0000 (18:47 -0300)]
Fix missing %{Packet-Src-IPv6-Address} in the linelog
Arran Cudbard-Bell [Wed, 22 Jul 2015 21:41:04 +0000 (17:41 -0400)]
Correct ldap config note
Alan Buxey [Mon, 20 Jul 2015 11:13:39 +0000 (12:13 +0100)]
Update ldap
Jorge Pereira [Wed, 22 Jul 2015 21:35:59 +0000 (18:35 -0300)]
Add 'Alc-Ascend-Data-Filter-Host-Spec' for Alcatel7750
Jorge Pereira [Wed, 22 Jul 2015 21:26:01 +0000 (18:26 -0300)]
Fix missing %{Packet-Src-IPv6-Address} in the policy insert_acct_class
Arran Cudbard-Bell [Wed, 22 Jul 2015 21:25:49 +0000 (17:25 -0400)]
Update ChangeLog
Arran Cudbard-Bell [Wed, 22 Jul 2015 21:22:00 +0000 (17:22 -0400)]
Merge pull request #1160 from jpereira/dict/alcatel7750-1
Add 'Alc-Nas-Filter-Rule-Shared' for Alcatel7750
Arran Cudbard-Bell [Wed, 22 Jul 2015 20:38:57 +0000 (16:38 -0400)]
Don't check pointer in FR_TIMEVAL_TO_MS
Herwin Weststrate [Tue, 21 Jul 2015 12:32:46 +0000 (14:32 +0200)]
Add NULL check in originate-coa
This prevents segfaults that may occur when the COA list could not be created, either by a lack of memory, or a request that is not an Access-Request/Accounting-Request