freeradius.git
8 years agoWhitespace
Arran Cudbard-Bell [Mon, 13 Jul 2015 14:47:15 +0000 (10:47 -0400)]
Whitespace

8 years agoMention putting log output in backticks
Arran Cudbard-Bell [Mon, 13 Jul 2015 14:46:30 +0000 (10:46 -0400)]
Mention putting log output in backticks

8 years agoRefine the contributing document a little
Arran Cudbard-Bell [Mon, 13 Jul 2015 14:42:58 +0000 (10:42 -0400)]
Refine the contributing document a little

8 years agoAdd contributing document
Arran Cudbard-Bell [Mon, 13 Jul 2015 01:34:18 +0000 (21:34 -0400)]
Add contributing document

8 years agoAdd notes to README.rst about commercial support and abusing the GitHub issue tracker
Arran Cudbard-Bell [Sun, 12 Jul 2015 22:04:57 +0000 (18:04 -0400)]
Add notes to README.rst about commercial support and abusing the GitHub issue tracker

8 years agoMore optimizations
Alan T. DeKok [Fri, 10 Jul 2015 21:26:02 +0000 (17:26 -0400)]
More optimizations

After converting "%{Attr}" to &Attr, do more parsing of the RHS,
and check if teh RHS is an empty string.  If so, the string expansion
and comparison to empty string is just an existence check for the
attribute.

8 years agoStandardize warning messages
Alan T. DeKok [Fri, 10 Jul 2015 21:06:11 +0000 (17:06 -0400)]
Standardize warning messages

8 years agocheck_config is now in conffile.c
Alan T. DeKok [Fri, 10 Jul 2015 15:21:47 +0000 (11:21 -0400)]
check_config is now in conffile.c

8 years agoMove check_config to conffile.c
Alan T. DeKok [Fri, 10 Jul 2015 13:02:12 +0000 (09:02 -0400)]
Move check_config to conffile.c

config things should arguably be here...

8 years agoDon't complain on deprecated. Closes #1131
Alan T. DeKok [Fri, 10 Jul 2015 12:54:09 +0000 (08:54 -0400)]
Don't complain on deprecated.  Closes #1131

8 years agoDon't convert RHS to data if RHS is empty
Alan T. DeKok [Thu, 9 Jul 2015 17:57:15 +0000 (13:57 -0400)]
Don't convert RHS to data if RHS is empty

FIXME: The test should really be converted to an existence check

8 years agoDon't convert LIST to ATTRIBUTE
Alan T. DeKok [Thu, 9 Jul 2015 17:56:54 +0000 (13:56 -0400)]
Don't convert LIST to ATTRIBUTE

8 years agoDo more optimizations
Alan T. DeKok [Thu, 9 Jul 2015 17:27:04 +0000 (13:27 -0400)]
Do more optimizations

If LHS XLAT was converted to an attribute reference, AND the
RHS is a literal, then convert the RHS to type-specific data, too

8 years agoAlways recurse in pass2
Alan T. DeKok [Thu, 9 Jul 2015 17:26:13 +0000 (13:26 -0400)]
Always recurse in pass2

even if the node is marked as PASS2_FIXUP_NONE.  So that
xlat's can be compiled to attribute references

8 years agoExplictly handle more condition types
Alan T. DeKok [Thu, 9 Jul 2015 17:25:27 +0000 (13:25 -0400)]
Explictly handle more condition types

And recurse on children

8 years agolabel should always be defined
Alan T. DeKok [Thu, 9 Jul 2015 17:24:22 +0000 (13:24 -0400)]
label should always be defined

8 years agoDon't include the '}' in the xlat name
Alan T. DeKok [Thu, 9 Jul 2015 17:22:06 +0000 (13:22 -0400)]
Don't include the '}' in the xlat name

8 years agoManual clean up on error.
Alan T. DeKok [Thu, 9 Jul 2015 17:21:49 +0000 (13:21 -0400)]
Manual clean up on error.

Talloc will do this for us, but it's good practice

8 years agoBump for 3.0.10
Alan T. DeKok [Thu, 9 Jul 2015 16:40:41 +0000 (12:40 -0400)]
Bump for 3.0.10

8 years agoAlways free clients list if we allocated it Closes #1130
Arran Cudbard-Bell [Thu, 9 Jul 2015 03:48:19 +0000 (23:48 -0400)]
Always free clients list if we allocated it Closes #1130

8 years agoBump for 3.0.10
Alan T. DeKok [Wed, 8 Jul 2015 17:58:22 +0000 (13:58 -0400)]
Bump for 3.0.10

8 years agomap_to_request handles indentation already
Arran Cudbard-Bell [Wed, 8 Jul 2015 15:44:37 +0000 (11:44 -0400)]
map_to_request handles indentation already

8 years agoCached memberships go in control
Arran Cudbard-Bell [Wed, 8 Jul 2015 15:42:31 +0000 (11:42 -0400)]
Cached memberships go in control

8 years agonote recent changes release_3_0_9
Alan T. DeKok [Wed, 8 Jul 2015 15:41:12 +0000 (11:41 -0400)]
note recent changes

8 years agoAdded file. Part of #1126
Alan T. DeKok [Wed, 8 Jul 2015 15:31:48 +0000 (11:31 -0400)]
Added file.  Part of #1126

8 years agoUse standard VP debugging format when adding cached group memberships
Arran Cudbard-Bell [Wed, 8 Jul 2015 15:24:48 +0000 (11:24 -0400)]
Use standard VP debugging format when adding cached group memberships

8 years agoDon't double indent debug output
Arran Cudbard-Bell [Wed, 8 Jul 2015 15:24:29 +0000 (11:24 -0400)]
Don't double indent debug output

8 years agoSplit out group tests
Arran Cudbard-Bell [Wed, 8 Jul 2015 14:53:20 +0000 (10:53 -0400)]
Split out group tests

8 years agoBe more careful about talloc parent. Fixes #1129
Alan T. DeKok [Wed, 8 Jul 2015 14:24:11 +0000 (10:24 -0400)]
Be more careful about talloc parent.  Fixes #1129

8 years agobind_dn references need to be double quoted else they're not expanded
Arran Cudbard-Bell [Wed, 8 Jul 2015 04:10:02 +0000 (00:10 -0400)]
bind_dn references need to be double quoted else they're not expanded

8 years agoFix leak that wasn't really a leak Closes #1122
Arran Cudbard-Bell [Tue, 7 Jul 2015 21:44:14 +0000 (17:44 -0400)]
Fix leak that wasn't really a leak Closes #1122

The server would immediately exit anyway, but for code cleanliness we should probably fix it. As reported by jpereira.

8 years agoMerge pull request #1124 from jpereira/devel/radattr-usage
Alan DeKok [Tue, 7 Jul 2015 20:36:20 +0000 (16:36 -0400)]
Merge pull request #1124 from jpereira/devel/radattr-usage

Added the option -h for 'radattr' tool. refs #1123

8 years agoMerge pull request #1117 from jpereira/doc/radsniff1
Alan DeKok [Tue, 7 Jul 2015 20:36:16 +0000 (16:36 -0400)]
Merge pull request #1117 from jpereira/doc/radsniff1

Fix radsniff man

8 years agoDefine HAVE_DLADDR
Alan T. DeKok [Tue, 7 Jul 2015 20:16:51 +0000 (16:16 -0400)]
Define HAVE_DLADDR

8 years agoAdded the option -h for 'radattr' tool. refs #1123
Jorge Pereira [Mon, 6 Jul 2015 20:27:22 +0000 (17:27 -0300)]
Added the option -h for 'radattr' tool. refs #1123

8 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

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

8 years agoUpdate radsniff man
Jorge Pereira [Fri, 3 Jul 2015 16:37:37 +0000 (13:37 -0300)]
Update radsniff man

8 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

8 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

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

8 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

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

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

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

8 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

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

8 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

8 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

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

8 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

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

8 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

8 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://

8 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

8 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

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

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

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

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

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

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

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

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

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

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

8 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

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

8 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

8 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

8 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

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

8 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

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

8 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

8 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

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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

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

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

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

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

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

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

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

8 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

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

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

8 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

8 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

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

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