freeradius.git
8 years agoOnly build mschap auth_wbclient when core/ntstatus.h is present
Matthew Newton [Tue, 12 Apr 2016 20:42:39 +0000 (21:42 +0100)]
Only build mschap auth_wbclient when core/ntstatus.h is present

In addition, don't check for the library if the headers aren't there,
otherwise we'll link against libwbclient unnecessarily.

Closes #1489

8 years agoupdate man pages on install to have correct paths
Matthew Newton [Sat, 9 Apr 2016 20:52:53 +0000 (21:52 +0100)]
update man pages on install to have correct paths

8 years agofix typo
Alan T. DeKok [Tue, 5 Apr 2016 13:14:49 +0000 (09:14 -0400)]
fix typo

8 years agomore messages about broken RADIUS clients
Alan T. DeKok [Mon, 4 Apr 2016 15:28:22 +0000 (11:28 -0400)]
more messages about broken RADIUS clients

8 years agonote recent changes
Alan T. DeKok [Sat, 2 Apr 2016 13:55:11 +0000 (09:55 -0400)]
note recent changes

8 years agoPrint xlat types, too. Fixes #1574
Alan T. DeKok [Fri, 1 Apr 2016 15:42:31 +0000 (11:42 -0400)]
Print xlat types, too.  Fixes #1574

8 years agoUse xlat for regex comparison. Fixes #1574
Alan T. DeKok [Fri, 1 Apr 2016 15:39:18 +0000 (11:39 -0400)]
Use xlat for regex comparison.  Fixes #1574

8 years agoRemove execute permissions from files.
Alan T. DeKok [Tue, 29 Mar 2016 13:49:35 +0000 (09:49 -0400)]
Remove execute permissions from files.

Because apparently it matters to Debian

8 years agonote recent changes
Alan T. DeKok [Tue, 22 Mar 2016 18:36:03 +0000 (14:36 -0400)]
note recent changes

8 years agofree the row earlier
Alan T. DeKok [Tue, 22 Mar 2016 15:38:30 +0000 (11:38 -0400)]
free the row earlier

8 years agotypo
Alan T. DeKok [Tue, 22 Mar 2016 14:58:16 +0000 (10:58 -0400)]
typo

8 years agoConsistent messages
Alan T. DeKok [Tue, 22 Mar 2016 14:57:07 +0000 (10:57 -0400)]
Consistent messages

8 years agoAllow extended attrs to have "encrypt=2"
Alan T. DeKok [Mon, 21 Mar 2016 19:06:38 +0000 (15:06 -0400)]
Allow extended attrs to have "encrypt=2"

8 years agonote recent changes
Alan T. DeKok [Tue, 15 Mar 2016 18:36:45 +0000 (14:36 -0400)]
note recent changes

8 years agoDon't call radius_pairmove. It does too much work.
Alan T. DeKok [Tue, 15 Mar 2016 18:01:04 +0000 (14:01 -0400)]
Don't call radius_pairmove.  It does too much work.

8 years agonote recent changes
Alan T. DeKok [Fri, 11 Mar 2016 14:58:17 +0000 (09:58 -0500)]
note recent changes

8 years agoMerge pull request #1527 from herwinw/rlm_perl_robustness_v3.0.x
Arran Cudbard-Bell [Mon, 14 Mar 2016 11:00:18 +0000 (11:00 +0000)]
Merge pull request #1527 from herwinw/rlm_perl_robustness_v3.0.x

Made rlm_perl less error-prone

8 years agoxlat for home server pool state
Alan T. DeKok [Thu, 10 Mar 2016 16:49:06 +0000 (11:49 -0500)]
xlat for home server pool state

8 years agoxlat for home server state
Alan T. DeKok [Thu, 10 Mar 2016 16:45:32 +0000 (11:45 -0500)]
xlat for home server state

8 years agoMerge pull request #1562 from matsimon/1510-debian-logrotate-30x
Alan DeKok [Thu, 10 Mar 2016 14:25:35 +0000 (09:25 -0500)]
Merge pull request #1562 from matsimon/1510-debian-logrotate-30x

Fix Debian logrotate, closes #1510 (on 3.0.x)

8 years agoregularize debug messages
Alan T. DeKok [Wed, 9 Mar 2016 22:49:22 +0000 (17:49 -0500)]
regularize debug messages

8 years agocheck length against zero integer, not zero character
Alan T. DeKok [Wed, 9 Mar 2016 22:48:46 +0000 (17:48 -0500)]
check length against zero integer, not zero character

8 years agoCheck for zero integer, not zero character
Alan T. DeKok [Wed, 9 Mar 2016 22:45:25 +0000 (17:45 -0500)]
Check for zero integer, not zero character

8 years agoPrint warning if checksimul is used without a query
Alan T. DeKok [Wed, 9 Mar 2016 22:45:04 +0000 (17:45 -0500)]
Print warning if checksimul is used without a query

8 years agoEnable simul_count_query
Alan T. DeKok [Wed, 9 Mar 2016 22:20:15 +0000 (17:20 -0500)]
Enable simul_count_query

There's no reason to disable it in the default configuration.

8 years agoMerge pull request #1559 from pwdng/freetds
Arran Cudbard-Bell [Wed, 9 Mar 2016 19:31:18 +0000 (19:31 +0000)]
Merge pull request #1559 from pwdng/freetds

rlm_sql_freetds is now stable, remove conditions from redhat spec file

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 agorlm_sql_freetds is now stable, remove conditions from redhat spec file
Philippe Wooding [Wed, 9 Mar 2016 17:49:35 +0000 (18:49 +0100)]
rlm_sql_freetds is now stable, remove conditions from redhat spec file

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 agoFix Debian logrotate, closes #1510
Mathieu Simon [Tue, 8 Mar 2016 22:57:13 +0000 (23:57 +0100)]
Fix Debian logrotate, closes #1510

- Remove the patch to scripts/logrotate/freeradius as it isn't
  anyway the file that the Debian package eventually installs.
- Instead apply the Debian-specific locations to debian/freeradius.logrotate
  so deb packages should now come with a working logrotate config.

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 agoMade rlm_perl less error-prone
Herwin Weststrate [Sat, 6 Feb 2016 08:27:25 +0000 (09:27 +0100)]
Made rlm_perl less error-prone

- If parsing an attribute failed when updating the list, don't ignore
  the other updates to that list.
- Print an error when passing an undef value in the return list, instead
  of silently discarding it.

This fixes the problems seen in #1524

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