freeradius.git
8 years agoMerge pull request #1558 from pwdng/v3.0.x
Arran Cudbard-Bell [Wed, 9 Mar 2016 17:54:02 +0000 (17:54 +0000)]
Merge pull request #1558 from pwdng/v3.0.x

Use threadsafe OpenSSL error functions

8 years agoUse threadsafe OpenSSL error functions
Arran Cudbard-Bell [Tue, 8 Mar 2016 05:17:16 +0000 (00:17 -0500)]
Use threadsafe OpenSSL error functions

8 years agoLeave Response-Packet-Type for request_finish
Alan T. DeKok [Tue, 8 Mar 2016 16:17:06 +0000 (11:17 -0500)]
Leave Response-Packet-Type for request_finish

8 years agoMerge pull request #1556 from mcnewton/wbcparams30
Alan DeKok [Tue, 8 Mar 2016 15:53:08 +0000 (10:53 -0500)]
Merge pull request #1556 from mcnewton/wbcparams30

wbcCtxAuthenticateUserEx params update to allow workstation login

8 years agowbcCtxAuthenticateUserEx params update to allow workstation login
Matthew Newton [Tue, 8 Mar 2016 13:52:14 +0000 (13:52 +0000)]
wbcCtxAuthenticateUserEx params update to allow workstation login

8 years agonote recent changes
Alan T. DeKok [Tue, 8 Mar 2016 14:26:53 +0000 (09:26 -0500)]
note recent changes

8 years agoPass talloc context to function.
Alan T. DeKok [Tue, 8 Mar 2016 14:09:42 +0000 (09:09 -0500)]
Pass talloc context to function.

And rename it.

8 years agoStill need to set the value field
Arran Cudbard-Bell [Sat, 5 Mar 2016 03:54:33 +0000 (22:54 -0500)]
Still need to set the value field

8 years agoDon't set value field to NULL
Arran Cudbard-Bell [Sat, 5 Mar 2016 03:52:57 +0000 (22:52 -0500)]
Don't set value field to NULL

8 years agoPrint more useful error
Arran Cudbard-Bell [Sat, 5 Mar 2016 03:37:34 +0000 (22:37 -0500)]
Print more useful error

8 years agoUse the shorter of the two lengths
Alan T. DeKok [Fri, 4 Mar 2016 19:15:39 +0000 (14:15 -0500)]
Use the shorter of the two lengths

8 years agonote recent changes
Alan T. DeKok [Fri, 4 Mar 2016 18:54:08 +0000 (13:54 -0500)]
note recent changes

8 years agorealmname may be NULL
Alan T. DeKok [Fri, 4 Mar 2016 18:53:25 +0000 (13:53 -0500)]
realmname may be NULL

8 years agoIncrement proxy responses in the right place
Alan T. DeKok [Fri, 4 Mar 2016 01:32:56 +0000 (20:32 -0500)]
Increment proxy responses in the right place

8 years agoNeed to advance q too
Arran Cudbard-Bell [Fri, 4 Mar 2016 00:08:14 +0000 (19:08 -0500)]
Need to advance q too

8 years agoDon't do fail-over for originate CoA
Alan T. DeKok [Thu, 3 Mar 2016 23:20:12 +0000 (18:20 -0500)]
Don't do fail-over for originate CoA

8 years agoHandle NO_DATA. Fixes #1551
Alan T. DeKok [Wed, 2 Mar 2016 15:14:21 +0000 (10:14 -0500)]
Handle NO_DATA.  Fixes #1551

8 years agonote recent changes
Alan T. DeKok [Tue, 1 Mar 2016 15:43:38 +0000 (10:43 -0500)]
note recent changes

8 years agoDon't create response if it's do_not_respond.
Alan T. DeKok [Tue, 1 Mar 2016 15:03:24 +0000 (10:03 -0500)]
Don't create response if it's do_not_respond.

As a bug fix to commit 7ef12be8

8 years agonote recent changes
Alan T. DeKok [Fri, 26 Feb 2016 13:44:41 +0000 (08:44 -0500)]
note recent changes

8 years agoMerge pull request #1548 from lytboris/v3.0.x
Alan DeKok [Thu, 25 Feb 2016 20:33:33 +0000 (15:33 -0500)]
Merge pull request #1548 from lytboris/v3.0.x

add notes for rlm_preprocess default behavior change

8 years agosmall fixups for previous commit
Boris Lytochkin [Thu, 25 Feb 2016 18:11:26 +0000 (21:11 +0300)]
small fixups for previous commit

8 years agoadd note for rlm_preprocess
Boris Lytochkin [Thu, 25 Feb 2016 18:10:19 +0000 (21:10 +0300)]
add note for rlm_preprocess

8 years agoremove unnecessary request->proxy_timestamp
Alan T. DeKok [Wed, 24 Feb 2016 16:50:38 +0000 (11:50 -0500)]
remove unnecessary request->proxy_timestamp

it's just request->proxy->timestamp

8 years agoOnly normal attributes are treated specially. Fixes #1544
Alan T. DeKok [Wed, 24 Feb 2016 13:25:49 +0000 (08:25 -0500)]
Only normal attributes are treated specially.  Fixes #1544

8 years agoUse correct packet for CoA
Alan T. DeKok [Tue, 23 Feb 2016 17:24:18 +0000 (12:24 -0500)]
Use correct packet for CoA

8 years agoReturn the correct list.
Alan T. DeKok [Tue, 23 Feb 2016 17:18:10 +0000 (12:18 -0500)]
Return the correct list.

8 years agouse FR_ACTION_DONE
Alan T. DeKok [Fri, 19 Feb 2016 16:16:59 +0000 (11:16 -0500)]
use FR_ACTION_DONE

8 years agonote recent changes
Alan T. DeKok [Thu, 18 Feb 2016 16:07:35 +0000 (11:07 -0500)]
note recent changes

8 years agotypo
Alan T. DeKok [Wed, 17 Feb 2016 17:48:27 +0000 (12:48 -0500)]
typo

8 years agoclean up linelog_escape function
Alan T. DeKok [Wed, 17 Feb 2016 17:43:59 +0000 (12:43 -0500)]
clean up linelog_escape function

8 years agoSet "dup" in more cases
Alan T. DeKok [Wed, 17 Feb 2016 16:55:35 +0000 (11:55 -0500)]
Set "dup" in more cases

8 years agocleanups
Alan T. DeKok [Wed, 17 Feb 2016 16:26:33 +0000 (11:26 -0500)]
cleanups

8 years agoClean up old files only once a second
Alan T. DeKok [Wed, 17 Feb 2016 16:22:36 +0000 (11:22 -0500)]
Clean up old files only once a second

8 years agominor cleanups
Alan T. DeKok [Wed, 17 Feb 2016 16:21:35 +0000 (11:21 -0500)]
minor cleanups

8 years agoexfile will create directories for us
Alan T. DeKok [Wed, 17 Feb 2016 16:04:14 +0000 (11:04 -0500)]
exfile will create directories for us

8 years agoClarify the code.
Alan T. DeKok [Wed, 17 Feb 2016 15:55:57 +0000 (10:55 -0500)]
Clarify the code.

So that there aren't lots of if conditions

8 years agoand another
Alan T. DeKok [Tue, 16 Feb 2016 21:33:31 +0000 (16:33 -0500)]
and another

8 years ago%zd -> %d
Alan T. DeKok [Tue, 16 Feb 2016 21:08:23 +0000 (16:08 -0500)]
%zd -> %d

8 years agowarning on possible truncation
Alan T. DeKok [Tue, 16 Feb 2016 16:49:13 +0000 (11:49 -0500)]
warning on possible truncation

8 years agomove MAX_PACKET_LEN to common header
Alan T. DeKok [Tue, 16 Feb 2016 16:42:18 +0000 (11:42 -0500)]
move MAX_PACKET_LEN to common header

8 years agoBreak out early if we're at the end of the packet.
Alan T. DeKok [Tue, 16 Feb 2016 16:21:57 +0000 (11:21 -0500)]
Break out early if we're at the end of the packet.

8 years agoMore checks as per commit 39149c
Alan T. DeKok [Tue, 16 Feb 2016 16:21:46 +0000 (11:21 -0500)]
More checks as per commit 39149c

8 years agoRegenerate configure
Arran Cudbard-Bell [Mon, 15 Feb 2016 15:55:02 +0000 (07:55 -0800)]
Regenerate configure

8 years agoMerge pull request #1537 from matsimon/1517-aclocal-30x
Arran Cudbard-Bell [Mon, 15 Feb 2016 15:53:22 +0000 (07:53 -0800)]
Merge pull request #1537 from matsimon/1517-aclocal-30x

Let aclocal update aclocal.m4, fixes #1517

8 years agoAdds missing error codes
Alejandro [Sun, 14 Feb 2016 07:56:03 +0000 (08:56 +0100)]
Adds missing error codes

8 years agoLet aclocal update aclocal.m4, fixes #1517
Mathieu Simon [Mon, 15 Feb 2016 11:37:37 +0000 (12:37 +0100)]
Let aclocal update aclocal.m4, fixes #1517

We don't seem to make much use of it, but it was last generated
quite some time ago. Therefore it was possible that FreeBSD 10
was erroneously recognized as FreeBSD 1 which didn't support
dynamic linker.

8 years agomake code more consistent in API calls
Alan T. DeKok [Sat, 13 Feb 2016 22:22:48 +0000 (17:22 -0500)]
make code more consistent in API calls

8 years agoAllow any assignment or equality operator in rlm_sql
Arran Cudbard-Bell [Thu, 11 Feb 2016 02:38:14 +0000 (18:38 -0800)]
Allow any assignment or equality operator in rlm_sql

8 years agoGo to next attribute if we can't encode this one. Fixes #1533
Alan T. DeKok [Wed, 10 Feb 2016 16:47:49 +0000 (11:47 -0500)]
Go to next attribute if we can't encode this one.  Fixes #1533

8 years agozero is unknown, too. Fixes #1533
Alan T. DeKok [Wed, 10 Feb 2016 16:14:57 +0000 (11:14 -0500)]
zero is unknown, too.  Fixes #1533

8 years agonote recent changes
Alan T. DeKok [Tue, 9 Feb 2016 23:49:59 +0000 (18:49 -0500)]
note recent changes

8 years agosizeof(new_nt_encrypted) is allowed
Alan T. DeKok [Tue, 9 Feb 2016 23:45:21 +0000 (18:45 -0500)]
sizeof(new_nt_encrypted) is allowed

8 years agoAdded checkpoint dictionary
Alan T. DeKok [Tue, 9 Feb 2016 18:19:39 +0000 (13:19 -0500)]
Added checkpoint dictionary

8 years agominor simplification, and add Event-Timestamp
Alan T. DeKok [Tue, 9 Feb 2016 14:13:34 +0000 (09:13 -0500)]
minor simplification, and add Event-Timestamp

8 years agoDon't need to free packet VPs
Alan T. DeKok [Tue, 9 Feb 2016 14:07:59 +0000 (09:07 -0500)]
Don't need to free packet VPs

8 years agoPrint out the attributes we're using in the accounting stop
Alan T. DeKok [Tue, 9 Feb 2016 14:04:49 +0000 (09:04 -0500)]
Print out the attributes we're using in the accounting stop

8 years agoHighlight message a bit more.
Alan T. DeKok [Sun, 7 Feb 2016 02:07:33 +0000 (21:07 -0500)]
Highlight message a bit more.

8 years agoComplaints about required things are errors
Alan T. DeKok [Fri, 5 Feb 2016 23:29:51 +0000 (18:29 -0500)]
Complaints about required things are errors

8 years agonote recent changes
Alan T. DeKok [Fri, 5 Feb 2016 23:29:20 +0000 (18:29 -0500)]
note recent changes

8 years agoDocument =~ and !~ for filtering
Alan T. DeKok [Fri, 5 Feb 2016 13:48:53 +0000 (08:48 -0500)]
Document =~ and !~ for filtering

8 years agoDHCP strings decoding
Nicolas C [Fri, 5 Feb 2016 08:35:20 +0000 (09:35 +0100)]
DHCP strings decoding

Header fields of type "string" are null terminated strings, decode them
as such

8 years agoPrint out extra information only in debug3
Alan T. DeKok [Thu, 4 Feb 2016 23:08:11 +0000 (18:08 -0500)]
Print out extra information only in debug3

8 years agoPrint out the server version number.
Alan T. DeKok [Thu, 4 Feb 2016 23:06:50 +0000 (18:06 -0500)]
Print out the server version number.

When starting in debug mode

8 years agoMerge pull request #1523 from qnet-herwin/remove_obsolete_README
Alan DeKok [Thu, 4 Feb 2016 16:08:13 +0000 (11:08 -0500)]
Merge pull request #1523 from qnet-herwin/remove_obsolete_README

Removed some outdated/obsolete README files

8 years agoCheck data before using it
Alan T. DeKok [Wed, 3 Feb 2016 15:28:52 +0000 (10:28 -0500)]
Check data before using it

8 years agoRemoved some outdated/obsolete README files
Herwin Weststrate [Wed, 3 Feb 2016 13:43:28 +0000 (14:43 +0100)]
Removed some outdated/obsolete README files

8 years agoPrefix list name
Arran Cudbard-Bell [Tue, 2 Feb 2016 20:28:53 +0000 (15:28 -0500)]
Prefix list name

8 years agoQuiet clang scan
Arran Cudbard-Bell [Tue, 2 Feb 2016 20:11:17 +0000 (15:11 -0500)]
Quiet clang scan

8 years agoport for 3.0
Alan T. DeKok [Tue, 2 Feb 2016 19:05:33 +0000 (14:05 -0500)]
port for 3.0

8 years agonote recent changes
Alan T. DeKok [Tue, 2 Feb 2016 15:54:46 +0000 (10:54 -0500)]
note recent changes

8 years agoMerge pull request #1521 from qnet-herwin/remove_SQL_DOWN
Arran Cudbard-Bell [Tue, 2 Feb 2016 16:28:36 +0000 (11:28 -0500)]
Merge pull request #1521 from qnet-herwin/remove_SQL_DOWN

Removed references to SQL_DOWN in an outdated README

8 years agoRemoved outdated README file in rlm_sql
Herwin Weststrate [Tue, 2 Feb 2016 15:52:01 +0000 (16:52 +0100)]
Removed outdated README file in rlm_sql

8 years agoAdd better filter tests
Arran Cudbard-Bell [Mon, 1 Feb 2016 23:39:46 +0000 (18:39 -0500)]
Add better filter tests

8 years agoCorrect filter operators, and add filtering for =~ and !~
Alan T. DeKok [Tue, 2 Feb 2016 15:53:16 +0000 (10:53 -0500)]
Correct filter operators, and add filtering for =~ and !~

8 years agoQuiet clang scan
Arran Cudbard-Bell [Sat, 30 Jan 2016 02:00:11 +0000 (21:00 -0500)]
Quiet clang scan

8 years agorand_file can only be set as a global option
Arran Cudbard-Bell [Sat, 30 Jan 2016 01:17:44 +0000 (20:17 -0500)]
rand_file can only be set as a global option

8 years agonote recent changes
Alan T. DeKok [Fri, 29 Jan 2016 13:32:38 +0000 (08:32 -0500)]
note recent changes

8 years agofree memory on quick exit
Alan T. DeKok [Fri, 29 Jan 2016 01:35:31 +0000 (20:35 -0500)]
free memory on quick exit

8 years agoSet FILE_EXISTS for random files
Alan T. DeKok [Fri, 29 Jan 2016 01:32:08 +0000 (20:32 -0500)]
Set FILE_EXISTS for random files

8 years agoAdd FILE_EXISTS for things like /dev/urandom.
Alan T. DeKok [Fri, 29 Jan 2016 01:31:39 +0000 (20:31 -0500)]
Add FILE_EXISTS for things like /dev/urandom.

It has to exist, but we don't care about the permissions

8 years agoFixed typo of password
Ludolph Neethling [Thu, 28 Jan 2016 19:58:02 +0000 (21:58 +0200)]
Fixed typo of password

8 years agoFix typedef order Closes #1515
Arran Cudbard-Bell [Thu, 28 Jan 2016 18:50:17 +0000 (13:50 -0500)]
Fix typedef order Closes #1515

8 years agoMerge pull request #1514 from gbeaudoin78/v3.0.x
Arran Cudbard-Bell [Wed, 27 Jan 2016 23:09:09 +0000 (18:09 -0500)]
Merge pull request #1514 from gbeaudoin78/v3.0.x

Add column [priority] for table [radusergroup].

8 years agoAdd column [priority] for table [radusergroup].
Guillaume Beaudoin [Wed, 27 Jan 2016 22:53:37 +0000 (17:53 -0500)]
Add column [priority] for table [radusergroup].

8 years agoBump for 3.0.12
Alan T. DeKok [Mon, 25 Jan 2016 21:50:17 +0000 (16:50 -0500)]
Bump for 3.0.12

8 years agoupdate release time release_3_0_11
Alan T. DeKok [Mon, 25 Jan 2016 18:27:03 +0000 (13:27 -0500)]
update release time

8 years agoMove captive portal URL
Arran Cudbard-Bell [Mon, 25 Jan 2016 14:47:08 +0000 (09:47 -0500)]
Move captive portal URL

8 years agoAdd new HP Attribute
Alexis La Goutte [Mon, 25 Jan 2016 14:29:59 +0000 (15:29 +0100)]
Add new HP Attribute

from Aruba ClearPass 6.5.5
HP-Port-Bounce-Host (attribute id 23) and HP-Captive-Portal-URL (attribute id 24),

8 years agoRequire passwords for "request" status in "auth+acct", too
Alan T. DeKok [Thu, 21 Jan 2016 21:21:08 +0000 (16:21 -0500)]
Require passwords for "request" status in "auth+acct", too

8 years agomove check to be closer to where it's needed
Alan T. DeKok [Tue, 19 Jan 2016 20:39:36 +0000 (15:39 -0500)]
move check to be closer to where it's needed

8 years agotypo
Alan T. DeKok [Tue, 19 Jan 2016 20:38:16 +0000 (15:38 -0500)]
typo

8 years agoMove run-time error to run-time warning
Alan T. DeKok [Tue, 19 Jan 2016 20:37:00 +0000 (15:37 -0500)]
Move run-time error to run-time warning

8 years agomake error message clearer
Alan T. DeKok [Tue, 19 Jan 2016 19:43:56 +0000 (14:43 -0500)]
make error message clearer

8 years agoAttribute contents on the LHS of regexes are not escaped
Alan T. DeKok [Mon, 18 Jan 2016 20:23:23 +0000 (15:23 -0500)]
Attribute contents on the LHS of regexes are not escaped

8 years agoDon't regex-escape the LHS of a regex comparison.
Alan T. DeKok [Mon, 18 Jan 2016 20:09:38 +0000 (15:09 -0500)]
Don't regex-escape the LHS of a regex comparison.

We're not making the regex from it

8 years agoMerge pull request #1501 from mcnewton/nes30
Arran Cudbard-Bell [Mon, 18 Jan 2016 19:33:40 +0000 (14:33 -0500)]
Merge pull request #1501 from mcnewton/nes30

Update elasticsearch fields to use "_" rather than "."

8 years agoUpdate elasticsearch fields to use "_" rather than "."
Matthew Newton [Mon, 18 Jan 2016 17:41:49 +0000 (17:41 +0000)]
Update elasticsearch fields to use "_" rather than "."

It seems that while elasticsearch can have data in a field as well as sub-fields, logstash
can't currently do this (it stores the event in a hash, so an entry either contains data
or another hash or list).

Work around this by using underscores, which should in theory also mean these examples will
work with elasticsearch 2, though I haven't tried it.

8 years agoServer may be NULL
Alan T. DeKok [Mon, 18 Jan 2016 17:08:11 +0000 (12:08 -0500)]
Server may be NULL

8 years agoCheck if Auth-Type EAP is defined
Alan T. DeKok [Mon, 18 Jan 2016 15:32:27 +0000 (10:32 -0500)]
Check if Auth-Type EAP is defined

by checking inst->xlat_name