]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
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

10 years agoMinor updates
Alan T. DeKok [Sun, 26 Jul 2015 10:49:52 +0000 (06:49 -0400)] 
Minor updates

10 years agosession_init returns 0/1
Alan T. DeKok [Sun, 26 Jul 2015 00:48:11 +0000 (20:48 -0400)] 
session_init returns 0/1

10 years agoconn_pool -> pool. Closes #1165
Alan T. DeKok [Fri, 24 Jul 2015 19:37:37 +0000 (15:37 -0400)] 
conn_pool -> pool.  Closes #1165

10 years agoFormatting
Arran Cudbard-Bell [Thu, 23 Jul 2015 04:08:13 +0000 (00:08 -0400)] 
Formatting

10 years agoPass error codes back through cf_section_parse
Arran Cudbard-Bell [Thu, 23 Jul 2015 01:32:29 +0000 (21:32 -0400)] 
Pass error codes back through cf_section_parse

10 years agoRevert "Don't complain on deprecated. Closes #1131"
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.

10 years agoFix missing %{Packet-Src-IPv6-Address} in the linelog
Jorge Pereira [Wed, 22 Jul 2015 21:47:34 +0000 (18:47 -0300)] 
Fix missing %{Packet-Src-IPv6-Address} in the linelog

10 years agoCorrect ldap config note
Arran Cudbard-Bell [Wed, 22 Jul 2015 21:41:04 +0000 (17:41 -0400)] 
Correct ldap config note

10 years agoUpdate ldap
Alan Buxey [Mon, 20 Jul 2015 11:13:39 +0000 (12:13 +0100)] 
Update ldap

10 years agoAdd 'Alc-Ascend-Data-Filter-Host-Spec' for Alcatel7750
Jorge Pereira [Wed, 22 Jul 2015 21:35:59 +0000 (18:35 -0300)] 
Add 'Alc-Ascend-Data-Filter-Host-Spec' for Alcatel7750

10 years agoFix missing %{Packet-Src-IPv6-Address} in the policy insert_acct_class 1161/head
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

10 years agoUpdate ChangeLog
Arran Cudbard-Bell [Wed, 22 Jul 2015 21:25:49 +0000 (17:25 -0400)] 
Update ChangeLog

10 years agoMerge pull request #1160 from jpereira/dict/alcatel7750-1
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

10 years agoDon't check pointer in FR_TIMEVAL_TO_MS
Arran Cudbard-Bell [Wed, 22 Jul 2015 20:38:57 +0000 (16:38 -0400)] 
Don't check pointer in FR_TIMEVAL_TO_MS

10 years agoAdd NULL check in originate-coa
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

10 years agoAdd 'Alc-Nas-Filter-Rule-Shared' for Alcatel7750 1160/head
Jorge Pereira [Wed, 22 Jul 2015 19:09:06 +0000 (16:09 -0300)] 
Add 'Alc-Nas-Filter-Rule-Shared' for Alcatel7750

10 years agoMerge pull request #1159 from qnet-herwin/servicetype_authorizeonly_symbolic
Arran Cudbard-Bell [Wed, 22 Jul 2015 12:02:00 +0000 (08:02 -0400)] 
Merge pull request #1159 from qnet-herwin/servicetype_authorizeonly_symbolic

Use define for Service-Type value check

10 years agoUse define for Service-Type value check 1159/head
Herwin Weststrate [Wed, 22 Jul 2015 09:57:16 +0000 (11:57 +0200)] 
Use define for Service-Type value check

The value 17 (Authorize-Only) has been added in RFC3576, the other values were already present in RFC 2865, most likely that's the reason the symbolic name was missing.

10 years agoUpdate ChangeLog
Arran Cudbard-Bell [Tue, 21 Jul 2015 15:24:57 +0000 (11:24 -0400)] 
Update ChangeLog

10 years agoAvoid modifying dst until we're sure unescaping has succeeded in value_data_from_str...
Arran Cudbard-Bell [Tue, 21 Jul 2015 15:02:15 +0000 (11:02 -0400)] 
Avoid modifying dst until we're sure unescaping has succeeded in value_data_from_str.  Closes #1157

10 years agoAlways set error messages in ip_hton
Arran Cudbard-Bell [Mon, 20 Jul 2015 15:48:13 +0000 (11:48 -0400)] 
Always set error messages in ip_hton

10 years agoUpdate ChangeLog
Arran Cudbard-Bell [Mon, 20 Jul 2015 18:37:49 +0000 (14:37 -0400)] 
Update ChangeLog

10 years agoMove radclient to use fr_pton_port for its host and port parsing
Arran Cudbard-Bell [Mon, 20 Jul 2015 18:23:35 +0000 (14:23 -0400)] 
Move radclient to use fr_pton_port for its host and port parsing

fr_pton_port seems to work, whereas what was there before didn't...

10 years agoFix v6 address printing in from/to messages
Arran Cudbard-Bell [Mon, 20 Jul 2015 18:23:04 +0000 (14:23 -0400)] 
Fix v6 address printing in from/to messages

10 years agoAllow an af to be specified for fr_pton
Arran Cudbard-Bell [Mon, 20 Jul 2015 18:03:44 +0000 (14:03 -0400)] 
Allow an af to be specified for fr_pton

This controls which record we use if the address doesn't look like a v4 or v6 address.

Additionally inet_pton doesn't like addresses being wrapped in [], so strip them off in fr_pton_port.

10 years agoAdd fr_pton_port which parses a v4/v6 ipaddress or host and port
Arran Cudbard-Bell [Mon, 20 Jul 2015 15:48:43 +0000 (11:48 -0400)] 
Add fr_pton_port which parses a v4/v6 ipaddress or host and port

10 years agoUse temporary value buffer in fr_pton4/6
Arran Cudbard-Bell [Mon, 20 Jul 2015 15:39:05 +0000 (11:39 -0400)] 
Use temporary value buffer in fr_pton4/6

10 years agoRename json_fr_pair_make back to json_pair_make
Arran Cudbard-Bell [Mon, 20 Jul 2015 14:58:50 +0000 (10:58 -0400)] 
Rename json_fr_pair_make back to json_pair_make

10 years agoNeed libsasl to build SASL capable rlm_ldap
Arran Cudbard-Bell [Mon, 20 Jul 2015 14:52:56 +0000 (10:52 -0400)] 
Need libsasl to build SASL capable rlm_ldap

10 years agoCheck for sasl/sasl.h too
Arran Cudbard-Bell [Mon, 20 Jul 2015 14:47:49 +0000 (10:47 -0400)] 
Check for sasl/sasl.h too

10 years agoFormatting
Arran Cudbard-Bell [Sun, 19 Jul 2015 17:14:56 +0000 (13:14 -0400)] 
Formatting

10 years agoOnly check if config items are deprecated if they exist
Arran Cudbard-Bell [Sun, 19 Jul 2015 17:14:49 +0000 (13:14 -0400)] 
Only check if config items are deprecated if they exist

10 years agoUse inst->pool not inst->conn_pool
Arran Cudbard-Bell [Sun, 19 Jul 2015 05:56:25 +0000 (01:56 -0400)] 
Use inst->pool not inst->conn_pool

10 years agoNormalise conn field names in iodbc
Arran Cudbard-Bell [Sun, 19 Jul 2015 05:51:05 +0000 (01:51 -0400)] 
Normalise conn field names in iodbc

10 years agoAdditional macros to simplify timeval to ms conversions, and marking things as deprec...
Arran Cudbard-Bell [Sun, 19 Jul 2015 05:47:40 +0000 (01:47 -0400)] 
Additional macros to simplify timeval to ms conversions, and marking things as deprecated whilst removing the fields from the struct

10 years agoGlobbing across directories is not supported. Fixes #1149.
Alan T. DeKok [Fri, 17 Jul 2015 01:07:14 +0000 (21:07 -0400)] 
Globbing across directories is not supported.  Fixes #1149.

The rest of the "filename_work" code assumes that the detail.work
file is in the same directory as the files being globbed.  In order
to support globbing for directories, the code will have to be updated
to *not* open detail.work, but instead to do a *second* file
globbing() on .../*/detail.work, in order to get the real filename
of the detail.work file.

In the short term it's easier to just enforce the assumptions
in the rest of the code.