]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
10 years agoAdded the option -h for 'radattr' tool. refs #1123 1124/head
Jorge Pereira [Mon, 6 Jul 2015 20:27:22 +0000 (17:27 -0300)] 
Added the option -h for 'radattr' tool. refs #1123

10 years agoMerge pull request #1121 from jpereira/bug/wrong-message1
Arran Cudbard-Bell [Mon, 6 Jul 2015 13:25:47 +0000 (09:25 -0400)] 
Merge pull request #1121 from jpereira/bug/wrong-message1

Fix wrong message for -dl check

10 years agoFix wrong message for -dl check 1121/head
Jorge Pereira [Sun, 5 Jul 2015 15:39:50 +0000 (12:39 -0300)] 
Fix wrong message for -dl check

10 years agodladdr() isn't posix. Fixes #1113
Alan T. DeKok [Fri, 3 Jul 2015 14:26:43 +0000 (10:26 -0400)] 
dladdr() isn't posix.  Fixes #1113

10 years agoShow where we load the modules from. Fixes #1113
Alan T. DeKok [Fri, 3 Jul 2015 13:17:33 +0000 (09:17 -0400)] 
Show where we load the modules from.  Fixes #1113

10 years agoAdd dictionary for Arista Networks
Hua Zhong [Wed, 1 Jul 2015 08:13:34 +0000 (01:13 -0700)] 
Add dictionary for Arista Networks

10 years agoRename to .txt to .mib
Arran Cudbard-Bell [Wed, 1 Jul 2015 18:33:27 +0000 (14:33 -0400)] 
Rename to .txt to .mib

10 years agoFormatting
Arran Cudbard-Bell [Wed, 1 Jul 2015 15:32:47 +0000 (11:32 -0400)] 
Formatting

10 years agoBackwards compatibility?!
Arran Cudbard-Bell [Wed, 1 Jul 2015 15:33:04 +0000 (11:33 -0400)] 
Backwards compatibility?!

10 years agoInclude proto*.so
Alan T. DeKok [Wed, 1 Jul 2015 12:43:20 +0000 (08:43 -0400)] 
Include proto*.so

10 years agoldap_parse_urls sets the default port, so check the port string to determine if we...
Arran Cudbard-Bell [Wed, 1 Jul 2015 05:37:50 +0000 (01:37 -0400)] 
ldap_parse_urls sets the default port, so check the port string to determine if we need the overwrite the port in the url structure

10 years agoUse the correct port.
Alan T. DeKok [Tue, 30 Jun 2015 23:12:07 +0000 (19:12 -0400)] 
Use the correct port.

10 years agoURL port should override port, because it's the more specific option
Arran Cudbard-Bell [Tue, 30 Jun 2015 21:35:24 +0000 (17:35 -0400)] 
URL port should override port, because it's the more specific option

10 years agoIgnore port if we're connecting to a unix socket
Arran Cudbard-Bell [Tue, 30 Jun 2015 20:23:00 +0000 (16:23 -0400)] 
Ignore port if we're connecting to a unix socket

10 years agoTypo
Arran Cudbard-Bell [Tue, 30 Jun 2015 18:24:55 +0000 (14:24 -0400)] 
Typo

10 years agoExplicitly prevent the use of URLs if we don't have URL parsing functions
Arran Cudbard-Bell [Tue, 30 Jun 2015 17:15:33 +0000 (13:15 -0400)] 
Explicitly prevent the use of URLs if we don't have URL parsing functions

10 years agoUpdate ChangeLog
Arran Cudbard-Bell [Tue, 30 Jun 2015 16:44:07 +0000 (12:44 -0400)] 
Update ChangeLog

10 years agoFix dlopen wrapper so it produces proper error messages
Arran Cudbard-Bell [Tue, 30 Jun 2015 16:26:49 +0000 (12:26 -0400)] 
Fix dlopen wrapper so it produces proper error messages

10 years agoFallback to hostnames if we don't have ldap_url_parse, ldap_is_ldap_url, ldap_urldesc...
Arran Cudbard-Bell [Tue, 30 Jun 2015 14:37:36 +0000 (10:37 -0400)] 
Fallback to hostnames if we don't have ldap_url_parse, ldap_is_ldap_url, ldap_urldesc2str.

Use ldap_url_desc2str to produce the URL we pass to ldap_initialize, this should fix ldapi://

10 years agoSet CA basic constraints to "critical". Fixes #1073
Alan T. DeKok [Tue, 30 Jun 2015 12:10:40 +0000 (08:10 -0400)] 
Set CA basic constraints to "critical".  Fixes #1073

10 years agoTests for xlat in preprocess
Alan T. DeKok [Tue, 30 Jun 2015 00:23:22 +0000 (20:23 -0400)] 
Tests for xlat in preprocess

10 years agoWe don't need an "OK"
Alan T. DeKok [Mon, 29 Jun 2015 23:44:40 +0000 (19:44 -0400)] 
We don't need an "OK"

10 years agoUpdate debug.c
Alan Buxey [Sat, 27 Jun 2015 22:28:33 +0000 (23:28 +0100)] 
Update debug.c

10 years agoUpdate dictionary.arbor
Alan Buxey [Sat, 27 Jun 2015 22:17:47 +0000 (23:17 +0100)] 
Update dictionary.arbor

10 years agoUpdate missing-h
Alan Buxey [Sat, 27 Jun 2015 22:13:32 +0000 (23:13 +0100)] 
Update missing-h

10 years agoUpdate checkrad.in
Alan Buxey [Sat, 27 Jun 2015 22:12:42 +0000 (23:12 +0100)] 
Update checkrad.in

10 years agoUpdate queries.conf
Alan Buxey [Sat, 27 Jun 2015 19:54:55 +0000 (20:54 +0100)] 
Update queries.conf

10 years agoUpdate queries.conf
Alan Buxey [Sat, 27 Jun 2015 19:54:23 +0000 (20:54 +0100)] 
Update queries.conf

10 years agoUpdate queries.conf
Alan Buxey [Sat, 27 Jun 2015 19:53:54 +0000 (20:53 +0100)] 
Update queries.conf

10 years agoUpdate checkrad.in
Alan Buxey [Sat, 27 Jun 2015 19:53:08 +0000 (20:53 +0100)] 
Update checkrad.in

10 years agoUpdate radiusd-example.txt
Alan Buxey [Sat, 27 Jun 2015 19:51:50 +0000 (20:51 +0100)] 
Update radiusd-example.txt

10 years agoMerge pull request #1104 from alanbuxey/patch-50
Arran Cudbard-Bell [Mon, 29 Jun 2015 15:05:57 +0000 (11:05 -0400)] 
Merge pull request #1104 from alanbuxey/patch-50

Update Makefile

10 years agoUpdate Makefile 1104/head
Alan Buxey [Mon, 29 Jun 2015 14:15:21 +0000 (15:15 +0100)] 
Update Makefile

10 years agoManually track the append list
Alan T. DeKok [Mon, 29 Jun 2015 12:49:08 +0000 (08:49 -0400)] 
Manually track the append list

10 years agoAllow expansions while we're processing the list.
Alan T. DeKok [Mon, 29 Jun 2015 12:16:49 +0000 (08:16 -0400)] 
Allow expansions while we're processing the list.

By the horrible hack of making a copy of the input list.
The issue is that the expansions need access to the input list,
but we also need to re-write the input list in radius_pairmove()

So until we have a better fix, we'll just do this hack

10 years agoPrint out VPs which are xlat'd
Alan T. DeKok [Mon, 29 Jun 2015 02:44:33 +0000 (22:44 -0400)] 
Print out VPs which are xlat'd

10 years agoRemove pool_get_opaque
Arran Cudbard-Bell [Sat, 27 Jun 2015 23:56:44 +0000 (19:56 -0400)] 
Remove pool_get_opaque

that was going to be a hacky way to modify opaque data. We have a much better way to do this in v3.1.x, but the code is probably too dangerous to merge into a 'stable' branch.

10 years agoDestroy pool mutex on free
Arran Cudbard-Bell [Sat, 27 Jun 2015 23:40:30 +0000 (19:40 -0400)] 
Destroy pool mutex on free

10 years agoNote
Arran Cudbard-Bell [Sat, 27 Jun 2015 22:38:58 +0000 (18:38 -0400)] 
Note

10 years agoNote on new get opaque function
Arran Cudbard-Bell [Sat, 27 Jun 2015 21:32:31 +0000 (17:32 -0400)] 
Note on new get opaque function

10 years agoMissed fr_connection_del -> fr_connection_close
Arran Cudbard-Bell [Sat, 27 Jun 2015 21:32:07 +0000 (17:32 -0400)] 
Missed fr_connection_del -> fr_connection_close

10 years agoOverzealous search/replace
Arran Cudbard-Bell [Sat, 27 Jun 2015 21:08:38 +0000 (17:08 -0400)] 
Overzealous search/replace

10 years agoRe-order connection pool functions
Arran Cudbard-Bell [Sat, 27 Jun 2015 21:04:53 +0000 (17:04 -0400)] 
Re-order connection pool functions

Public functions at the bottom of connection.c, private ones at the top, group by pool and connection functions.

10 years agoSync doxygen headers for v3.1.x and v3.0.x connection.c
Arran Cudbard-Bell [Sat, 27 Jun 2015 20:44:36 +0000 (16:44 -0400)] 
Sync doxygen headers for v3.1.x and v3.0.x connection.c

10 years agoAdd support for reconnecting all connections in a pool
Arran Cudbard-Bell [Sat, 27 Jun 2015 20:34:47 +0000 (16:34 -0400)] 
Add support for reconnecting all connections in a pool

10 years agoAdd fr_connection_pool_copy and fr_connection_get_opaque to simplify spawning sub...
Arran Cudbard-Bell [Sat, 27 Jun 2015 20:42:26 +0000 (16:42 -0400)] 
Add fr_connection_pool_copy and fr_connection_get_opaque to simplify spawning sub-pools

10 years agoReformat comments in connection.c
Arran Cudbard-Bell [Sat, 27 Jun 2015 14:31:02 +0000 (10:31 -0400)] 
Reformat comments in connection.c

10 years agoUse talloc for fifo buffers
Arran Cudbard-Bell [Sat, 27 Jun 2015 01:37:17 +0000 (21:37 -0400)] 
Use talloc for fifo buffers

10 years agoSupport 'byte' (8bit unsigned integer) as a conffile type
Arran Cudbard-Bell [Fri, 26 Jun 2015 20:23:42 +0000 (16:23 -0400)] 
Support 'byte' (8bit unsigned integer) as a conffile type

10 years agoReformat comments in connection.c
Arran Cudbard-Bell [Sat, 27 Jun 2015 14:31:02 +0000 (10:31 -0400)] 
Reformat comments in connection.c

10 years agoUpdate rad_counter
Alan Buxey [Sat, 27 Jun 2015 13:32:24 +0000 (14:32 +0100)] 
Update rad_counter

10 years agoUpdate radwho.1
Alan Buxey [Sat, 27 Jun 2015 13:31:43 +0000 (14:31 +0100)] 
Update radwho.1

10 years agoUpdate checkrad.in
Alan Buxey [Sat, 27 Jun 2015 13:27:26 +0000 (14:27 +0100)] 
Update checkrad.in

10 years agoUpdate couchbase.c
Alan Buxey [Sat, 27 Jun 2015 13:22:38 +0000 (14:22 +0100)] 
Update couchbase.c

10 years agoUpdate map.c
Alan Buxey [Sat, 27 Jun 2015 13:21:55 +0000 (14:21 +0100)] 
Update map.c

10 years agoUpdate eapsimlib.c
Alan Buxey [Sat, 27 Jun 2015 13:12:27 +0000 (14:12 +0100)] 
Update eapsimlib.c

10 years agoUpdate log.c
Alan Buxey [Sat, 27 Jun 2015 13:03:13 +0000 (14:03 +0100)] 
Update log.c

10 years agoUpdate radsniff.c
Alan Buxey [Sat, 27 Jun 2015 12:55:32 +0000 (13:55 +0100)] 
Update radsniff.c

10 years agoMerge pull request #1080 from alanbuxey/patch-25
Arran Cudbard-Bell [Sat, 27 Jun 2015 13:42:12 +0000 (09:42 -0400)] 
Merge pull request #1080 from alanbuxey/patch-25

Update misc.c

10 years agoUpdate misc.c 1080/head
Alan Buxey [Sat, 27 Jun 2015 13:08:13 +0000 (14:08 +0100)] 
Update misc.c

10 years agotypo
Alan T. DeKok [Sat, 27 Jun 2015 00:44:49 +0000 (20:44 -0400)] 
typo

10 years agoMake the module tests depend on the auth tests
Alan T. DeKok [Sat, 27 Jun 2015 00:38:40 +0000 (20:38 -0400)] 
Make the module tests depend on the auth tests

so they're run after everything else is run

10 years agogroup_attribute not group_attr
Arran Cudbard-Bell [Fri, 26 Jun 2015 19:51:00 +0000 (15:51 -0400)] 
group_attribute not group_attr

10 years agoUpdate the default configuration to specify sql-group in a saner way.
Arran Cudbard-Bell [Fri, 26 Jun 2015 18:54:41 +0000 (14:54 -0400)] 
Update the default configuration to specify sql-group in a saner way.

10 years agoUse the %-SQL-Group
Alan T. DeKok [Fri, 26 Jun 2015 18:03:04 +0000 (14:03 -0400)] 
Use the %-SQL-Group

10 years agoClearer "reconnecting" message 1076/head
Alan T. DeKok [Fri, 26 Jun 2015 02:11:11 +0000 (22:11 -0400)] 
Clearer "reconnecting" message

10 years agoPrint out debug condition. Fixes #1046
Alan T. DeKok [Fri, 26 Jun 2015 02:10:43 +0000 (22:10 -0400)] 
Print out debug condition.  Fixes #1046

10 years agoEnsure debug_condition is initialized
Alan T. DeKok [Fri, 26 Jun 2015 02:09:09 +0000 (22:09 -0400)] 
Ensure debug_condition is initialized

10 years agoZero terminate at current position, not at start of buffer
Alan T. DeKok [Fri, 26 Jun 2015 02:08:49 +0000 (22:08 -0400)] 
Zero terminate at current position, not at start of buffer

10 years agoRevert "Unecessary fileno(), just do as cf_file_input()"
Alan T. DeKok [Thu, 25 Jun 2015 15:28:37 +0000 (11:28 -0400)] 
Revert "Unecessary fileno(), just do as cf_file_input()"

This reverts commit 44fc841929934a55f690422ee1d25c3190c5c900.

stat() is not the same as fstat().  The first one checks a
file which has the same name as the one we opened.  The second
checks the file which we just opened.

The cf_file_input() checks just check if the filename for
security (globally writeable, etc.).  cf_file_open() will
open the file and read it's contents

10 years agonote "break"
Alan T. DeKok [Fri, 26 Jun 2015 01:32:42 +0000 (21:32 -0400)] 
note "break"

10 years agoFix CID #1308371
Alan T. DeKok [Fri, 26 Jun 2015 01:32:12 +0000 (21:32 -0400)] 
Fix CID #1308371

10 years agoMerge pull request #1070 from jpereira/bug/leak1
Arran Cudbard-Bell [Thu, 25 Jun 2015 20:56:18 +0000 (16:56 -0400)] 
Merge pull request #1070 from jpereira/bug/leak1

Was leaking when don't have write permission

10 years agoWas leaking on cf_file_open() when don't have write permission 1070/head
Jorge Pereira [Thu, 25 Jun 2015 20:52:29 +0000 (17:52 -0300)] 
Was leaking on cf_file_open() when don't have write permission

10 years agoWas leaking on cf_file_input() when don't have write permission
Jorge Pereira [Thu, 25 Jun 2015 20:49:31 +0000 (17:49 -0300)] 
Was leaking on cf_file_input() when don't have write permission

10 years agoMerge pull request #1044 from geaaru/rlm_sqlippool_mandatory_params
Arran Cudbard-Bell [Thu, 25 Jun 2015 20:05:34 +0000 (16:05 -0400)] 
Merge pull request #1044 from geaaru/rlm_sqlippool_mandatory_params

Remove PW_TYPE_REQUIRED flag from some rlm_sqlippool parameters

10 years agoMerge pull request #1069 from jpereira/develop/cereja1
Arran Cudbard-Bell [Thu, 25 Jun 2015 18:21:12 +0000 (14:21 -0400)] 
Merge pull request #1069 from jpereira/develop/cereja1

some adjustments for a better error messages.

10 years agoThe fr_strerror() is useless when called by non-library context. better call fr_syser... 1069/head
Jorge Pereira [Thu, 25 Jun 2015 17:55:23 +0000 (14:55 -0300)] 
The fr_strerror() is useless when called by non-library context. better call fr_syserror() when in POSIX contexts, eg: stat()

10 years agoCloses #1068
Arran Cudbard-Bell [Thu, 25 Jun 2015 17:45:39 +0000 (13:45 -0400)] 
Closes #1068

10 years agoNo need to print "OK" if we didn't do anything
Alan T. DeKok [Thu, 25 Jun 2015 15:28:55 +0000 (11:28 -0400)] 
No need to print "OK" if we didn't do anything

10 years agoActually implement "break".
Alan T. DeKok [Thu, 25 Jun 2015 15:28:37 +0000 (11:28 -0400)] 
Actually implement "break".

And add unit tests

10 years agoavoid strings replication
Jorge Pereira [Wed, 24 Jun 2015 19:57:55 +0000 (16:57 -0300)] 
avoid strings replication

10 years agoUnecessary fileno(), just do as cf_file_input()
Jorge Pereira [Wed, 24 Jun 2015 18:55:10 +0000 (15:55 -0300)] 
Unecessary fileno(), just do as cf_file_input()

10 years agoList one column per line in queries.conf files
Arran Cudbard-Bell [Wed, 24 Jun 2015 15:52:53 +0000 (11:52 -0400)] 
List one column per line in queries.conf files

It makes it easier to match columns to values, and means the whitespace remove code functions correctly, and the queries no longer look like something's been taking big bites out of them.

10 years agoDon't need this.
Alan T. DeKok [Wed, 24 Jun 2015 15:51:42 +0000 (11:51 -0400)] 
Don't need this.

10 years agoPrint out which type of password we're using
Alan T. DeKok [Wed, 24 Jun 2015 15:18:22 +0000 (11:18 -0400)] 
Print out which type of password we're using

10 years agoFix capitalisation
Arran Cudbard-Bell [Wed, 24 Jun 2015 14:39:04 +0000 (10:39 -0400)] 
Fix capitalisation

10 years agoUpdate ChangeLog
Arran Cudbard-Bell [Tue, 23 Jun 2015 18:58:42 +0000 (14:58 -0400)] 
Update ChangeLog

10 years agoAnother incorrect check for tmpl_from_attr_substr
Arran Cudbard-Bell [Tue, 23 Jun 2015 18:41:25 +0000 (14:41 -0400)] 
Another incorrect check for tmpl_from_attr_substr

10 years agoRemove unused assignment
Alan T. DeKok [Tue, 23 Jun 2015 18:15:58 +0000 (14:15 -0400)] 
Remove unused assignment

10 years agoRemove unused assignment
Alan T. DeKok [Tue, 23 Jun 2015 18:15:47 +0000 (14:15 -0400)] 
Remove unused assignment

10 years agotmpl_from_attr_substr ret = 0 also indicates an error
Arran Cudbard-Bell [Wed, 17 Jun 2015 17:27:29 +0000 (13:27 -0400)] 
tmpl_from_attr_substr ret = 0 also indicates an error

10 years agonote recent changes
Alan T. DeKok [Tue, 23 Jun 2015 12:30:09 +0000 (08:30 -0400)] 
note recent changes

10 years agoWhoops
Alan T. DeKok [Tue, 23 Jun 2015 12:29:56 +0000 (08:29 -0400)] 
Whoops

10 years agoMinor formatting fixes
Arran Cudbard-Bell [Tue, 23 Jun 2015 02:38:59 +0000 (22:38 -0400)] 
Minor formatting fixes

10 years agoSlightly more efficient
Arran Cudbard-Bell [Mon, 22 Jun 2015 21:16:21 +0000 (17:16 -0400)] 
Slightly more efficient

10 years agoSet X509_V_FLAG_CRL_CHECK_ALL
Alan T. DeKok [Mon, 22 Jun 2015 19:27:10 +0000 (15:27 -0400)] 
Set X509_V_FLAG_CRL_CHECK_ALL

10 years agoUse the snake oil CA
Alan T. DeKok [Mon, 22 Jun 2015 01:54:58 +0000 (21:54 -0400)] 
Use the snake oil CA

10 years agoChange snake oil certs to example.org, instead of example.com
Alan T. DeKok [Sun, 21 Jun 2015 13:38:58 +0000 (09:38 -0400)] 
Change snake oil certs to example.org, instead of example.com

10 years agoSet result to NULL after freeing so we don't get double free
Arran Cudbard-Bell [Mon, 22 Jun 2015 02:28:20 +0000 (22:28 -0400)] 
Set result to NULL after freeing so we don't get double free