]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
9 years agobetter call fr_syserror() when in POSIX contexts 1399/head
Jorge Pereira [Wed, 25 Nov 2015 17:50:22 +0000 (15:50 -0200)] 
better call fr_syserror() when in POSIX contexts

9 years agonote recent changes
Alan T. DeKok [Wed, 25 Nov 2015 16:57:20 +0000 (11:57 -0500)] 
note recent changes

9 years agoComplain if error isn't ENOENT. Fixes #1398
Alan T. DeKok [Wed, 25 Nov 2015 16:46:52 +0000 (11:46 -0500)] 
Complain if error isn't ENOENT.  Fixes #1398

9 years agoDon't use full prefix
Alan T. DeKok [Wed, 25 Nov 2015 16:12:03 +0000 (11:12 -0500)] 
Don't use full prefix

9 years agoMerge pull request #1394 from jpereira/fix/ramin1
Alan DeKok [Tue, 24 Nov 2015 21:05:15 +0000 (16:05 -0500)] 
Merge pull request #1394 from jpereira/fix/ramin1

Fixing problem with radmin> stats detail <filename>

9 years agoIf OCSP checks fail, don't run verify command
Alan T. DeKok [Tue, 24 Nov 2015 18:01:52 +0000 (13:01 -0500)] 
If OCSP checks fail, don't run verify command

because the client will be rejected, so we don't want to run
extra resources

9 years agoFixing problem with radmin> stats detail <filename> 1394/head
Jorge Pereira [Tue, 24 Nov 2015 03:14:51 +0000 (01:14 -0200)] 
Fixing problem with radmin> stats detail <filename>

9 years agoFix buffer overflow in soh.c
Arran Cudbard-Bell [Fri, 20 Nov 2015 17:05:49 +0000 (12:05 -0500)] 
Fix buffer overflow in soh.c

9 years agoNo cases where this is helpful
Arran Cudbard-Bell [Fri, 20 Nov 2015 13:34:05 +0000 (08:34 -0500)] 
No cases where this is helpful

9 years agouse correct number...
Alan T. DeKok [Wed, 18 Nov 2015 17:48:42 +0000 (12:48 -0500)] 
use correct number...

9 years agoCheck name, not number
Alan T. DeKok [Wed, 18 Nov 2015 16:48:34 +0000 (11:48 -0500)] 
Check name, not number

9 years agoVarious fixes for LEAP proxying
Arran Cudbard-Bell [Wed, 18 Nov 2015 16:32:23 +0000 (11:32 -0500)] 
Various fixes for LEAP proxying

9 years ago"localhost" is a valid host name
Alan T. DeKok [Wed, 18 Nov 2015 16:14:02 +0000 (11:14 -0500)] 
"localhost" is a valid host name

9 years agoTurns out GNU people are retarded.
Alan T. DeKok [Tue, 17 Nov 2015 19:53:18 +0000 (14:53 -0500)] 
Turns out GNU people are retarded.

If "install-sh" is asked to do an installation, it helpfully
creates the destination directory for you.  Then, if the install
target is a directory, it tries to create the directory.  Which
was just created.  And then it fails with an error.

9 years agoMerge pull request #1387 from jpereira/minor/warnings1
Alan DeKok [Tue, 17 Nov 2015 19:04:57 +0000 (14:04 -0500)] 
Merge pull request #1387 from jpereira/minor/warnings1

Fix warnings with $raddb/mods-available/cache

9 years agoRemove duplicates
Arran Cudbard-Bell [Tue, 17 Nov 2015 14:47:46 +0000 (09:47 -0500)] 
Remove duplicates

9 years agoMerge pull request #1392 from mcnewton/conffix
Arran Cudbard-Bell [Tue, 17 Nov 2015 14:45:30 +0000 (09:45 -0500)] 
Merge pull request #1392 from mcnewton/conffix

fixup configure script

9 years agofixup configure script 1392/head
Matthew Newton [Tue, 17 Nov 2015 14:37:31 +0000 (14:37 +0000)] 
fixup configure script

9 years agoadded more Lancom VSAs
Pascal Penners [Mon, 16 Nov 2015 14:16:13 +0000 (15:16 +0100)] 
added more Lancom VSAs

9 years agoMinor fix
Arran Cudbard-Bell [Mon, 16 Nov 2015 21:25:11 +0000 (16:25 -0500)] 
Minor fix

9 years agofclose destroys file descriptor Closes #1390
Arran Cudbard-Bell [Mon, 16 Nov 2015 20:57:57 +0000 (15:57 -0500)] 
fclose destroys file descriptor Closes #1390

9 years agoMerge pull request #1389 from jpereira/fix/vdprintf1
Arran Cudbard-Bell [Mon, 16 Nov 2015 20:05:36 +0000 (15:05 -0500)] 
Merge pull request #1389 from jpereira/fix/vdprintf1

Fixing the missing vdprintf()

9 years agoFixing the missing vdprintf() 1389/head
Jorge Pereira [Mon, 16 Nov 2015 20:03:22 +0000 (18:03 -0200)] 
Fixing the missing vdprintf()

9 years agoProvide fdprintf if it's missing Closes #1366
Arran Cudbard-Bell [Mon, 16 Nov 2015 19:44:41 +0000 (14:44 -0500)] 
Provide fdprintf if it's missing Closes #1366

9 years agoFix warnings with $raddb/mods-available/cache 1387/head
Jorge Pereira [Fri, 13 Nov 2015 16:44:50 +0000 (14:44 -0200)] 
Fix warnings with $raddb/mods-available/cache

9 years agoadded IKEv2 Attributes to Lancom dictionary
Pascal Penners [Fri, 13 Nov 2015 14:44:42 +0000 (15:44 +0100)] 
added IKEv2 Attributes to Lancom dictionary

9 years agoNotes on location-info
Alan T. DeKok [Fri, 13 Nov 2015 13:27:23 +0000 (08:27 -0500)] 
Notes on location-info

9 years agoRemove duplicate definition
Alan T. DeKok [Wed, 11 Nov 2015 15:43:17 +0000 (10:43 -0500)] 
Remove duplicate definition

9 years agoFix oracle login error message
Arran Cudbard-Bell [Fri, 13 Nov 2015 12:50:23 +0000 (07:50 -0500)] 
Fix oracle login error message

9 years agoMerge pull request #1382 from jpereira/fix/minor-pre-proxy1
Arran Cudbard-Bell [Tue, 10 Nov 2015 22:33:10 +0000 (17:33 -0500)] 
Merge pull request #1382 from jpereira/fix/minor-pre-proxy1

Fix minor about NAS-Ip-Address. correct is NAS-IP-Address

9 years agoFix minor about NAS-Ip-Address. correct is NAS-IP-Address 1382/head
Jorge Pereira [Tue, 10 Nov 2015 22:01:52 +0000 (20:01 -0200)] 
Fix minor about NAS-Ip-Address. correct is NAS-IP-Address

9 years agoCleanups
Alan T. DeKok [Tue, 10 Nov 2015 17:33:44 +0000 (12:33 -0500)] 
Cleanups

9 years agoMerge pull request #1378 from skids/mschap_ad_errs
Alan DeKok [Tue, 10 Nov 2015 17:32:06 +0000 (12:32 -0500)] 
Merge pull request #1378 from skids/mschap_ad_errs

Pass on MSCHAP errors from ntlm_auth, too

9 years agoMerge pull request #1379 from jpereira/fix/abfab-tr1
Alan DeKok [Tue, 10 Nov 2015 17:16:07 +0000 (12:16 -0500)] 
Merge pull request #1379 from jpereira/fix/abfab-tr1

Fixing wrong set with $raddb/sites-available/abfab-tr-idp

9 years agoFixing wrong set with $raddb/sites-available/abfab-tr-idp 1379/head
Jorge Pereira [Tue, 10 Nov 2015 17:00:18 +0000 (15:00 -0200)] 
Fixing wrong set with $raddb/sites-available/abfab-tr-idp

9 years agoPass on MSCHAP errors from ntlm_auth, too 1378/head
skids [Tue, 10 Nov 2015 16:28:42 +0000 (11:28 -0500)] 
Pass on MSCHAP errors from ntlm_auth, too

Not that supplicants do anything helpful with them, but locked
and disabled account error codes can be gleaned from ntlm_auth.
Previously only SMB-Account-Cntrl could cause them to send.

9 years agofix modules debug
Alan T. DeKok [Mon, 9 Nov 2015 20:46:34 +0000 (15:46 -0500)] 
fix modules debug

9 years agoSet FR specific library path.
Alan T. DeKok [Mon, 9 Nov 2015 20:27:46 +0000 (15:27 -0500)] 
Set FR specific library path.

Because we need to manually look at a library path on El Capitan.
OSX prevents us from loading library paths via the standard
environment variable.

9 years agofree paircompare only if we had them
Alan T. DeKok [Mon, 9 Nov 2015 18:50:58 +0000 (13:50 -0500)] 
free paircompare only if we had them

9 years agoMerge pull request #1374 from spaetow/patch-2
Arran Cudbard-Bell [Sun, 8 Nov 2015 21:34:33 +0000 (16:34 -0500)] 
Merge pull request #1374 from spaetow/patch-2

Update abfab-tr-idp

9 years agoUpdate abfab-tr-idp 1374/head
Stefan Paetow [Fri, 6 Nov 2015 16:21:17 +0000 (16:21 +0000)] 
Update abfab-tr-idp

Add the 'new' tunneled attribute stuff to the ABFAB server too!

9 years agoUpdate dictionary.starent
Alan Buxey [Thu, 5 Nov 2015 21:01:45 +0000 (21:01 +0000)] 
Update dictionary.starent

fixed historical typo

9 years agoPrint out CFLAGS, etc. in version.c
Alan T. DeKok [Tue, 3 Nov 2015 17:42:28 +0000 (12:42 -0500)] 
Print out CFLAGS, etc. in version.c

Since version.c is built in 3 places, just add the SRC_CFLAGS
definitions in 3 places.  It's easier than trying to hack the
build system to set the flags for version.c only once.

9 years agoRemove unused flags.
Alan T. DeKok [Tue, 3 Nov 2015 17:06:42 +0000 (12:06 -0500)] 
Remove unused flags.

These are only used by version.c, which isn't part of radiusd,
but is instead part of libfreeradius-server

9 years agoAlways have at least '-x' for '-v'
Alan T. DeKok [Tue, 3 Nov 2015 16:58:58 +0000 (11:58 -0500)] 
Always have at least '-x' for '-v'

So we get pretty output.  And then more -x gets more information
from -v

9 years agoExtra info is debug2, not debug3
Alan T. DeKok [Tue, 3 Nov 2015 16:57:41 +0000 (11:57 -0500)] 
Extra info is debug2, not debug3

Because we don't want (or care) about time stamps

9 years agoMerge pull request #1369 from mcnewton/noeap2
Arran Cudbard-Bell [Tue, 3 Nov 2015 17:39:30 +0000 (12:39 -0500)] 
Merge pull request #1369 from mcnewton/noeap2

there is no eap2 module any more

9 years agoMerge pull request #1367 from mcnewton/rname1
Arran Cudbard-Bell [Tue, 3 Nov 2015 17:39:10 +0000 (12:39 -0500)] 
Merge pull request #1367 from mcnewton/rname1

remove redundant "name" config option

9 years agothere is no eap2 module any more 1369/head
Matthew Newton [Tue, 3 Nov 2015 17:37:10 +0000 (17:37 +0000)] 
there is no eap2 module any more

9 years agoremove redundant "name" config option 1367/head
Matthew Newton [Tue, 3 Nov 2015 17:19:04 +0000 (17:19 +0000)] 
remove redundant "name" config option

9 years agoRemove unused variable
Alan T. DeKok [Tue, 3 Nov 2015 15:15:25 +0000 (10:15 -0500)] 
Remove unused variable

9 years agoMerge pull request #1365 from jpereira/fix/debug-with-yes1
Alan DeKok [Tue, 3 Nov 2015 14:41:01 +0000 (09:41 -0500)] 
Merge pull request #1365 from jpereira/fix/debug-with-yes1

if the variable DEBUG could be 'no', so need to accept 'yes' also

9 years agoHard-code the default name to radiusd.
Alan T. DeKok [Tue, 3 Nov 2015 14:38:16 +0000 (09:38 -0500)] 
Hard-code the default name to radiusd.

Because debian renames the binaries and configuration directory,
but *not* the configuration file

9 years agoWe want unittest.c to pretend it's radiusd
Alan T. DeKok [Tue, 3 Nov 2015 03:24:42 +0000 (22:24 -0500)] 
We want unittest.c to pretend it's radiusd

9 years agoif the variable DEBUG could be 'no', so need to accept 'yes' also 1365/head
Jorge Pereira [Tue, 3 Nov 2015 14:10:56 +0000 (12:10 -0200)] 
if the variable DEBUG could be 'no', so need to accept 'yes' also

9 years agoPrevious commit not quite right - Better to check for undefined filter code
Arran Cudbard-Bell [Tue, 3 Nov 2015 03:22:07 +0000 (22:22 -0500)] 
Previous commit not quite right - Better to check for undefined filter code

So this still works:

echo "Message-Authenticator = 0x00, User-Name = foo" | ./build/bin/radclient 127.0.0.1 status testing123
Sent Status-Server Id 187 from 0.0.0.0:52237 to 127.0.0.1:1812 length 43
Received Access-Accept Id 187 from 127.0.0.1:1812 to 0.0.0.0:0 length 20
shinyhead:freeradius-server-fork arr2036$ echo "Response-Packet-Type == Access-Reject, Message-Authenticator = 0x00, User-Name = foo" | ./build/bin/radclient 127.0.0.1 status testing123
Sent Status-Server Id 126 from 0.0.0.0:52293 to 127.0.0.1:1812 length 43
Received Access-Accept Id 126 from 127.0.0.1:1812 to 0.0.0.0:0 length 20
(0) -: Expected Access-Reject got Access-Accept

9 years agoWhine and you shall be satisfied
Alan T. DeKok [Tue, 3 Nov 2015 02:39:58 +0000 (21:39 -0500)] 
Whine and you shall be satisfied

9 years agoDefault to Access-Accept response for Status-Server
Alan T. DeKok [Mon, 2 Nov 2015 23:48:33 +0000 (18:48 -0500)] 
Default to Access-Accept response for Status-Server

anything else means ignoring the RFC, and ignoring what the
end user really wants

9 years agoSet name after initializing main_config
Alan T. DeKok [Mon, 2 Nov 2015 20:52:24 +0000 (15:52 -0500)] 
Set name after initializing main_config

9 years agoFix broken compilation
Alan T. DeKok [Mon, 2 Nov 2015 20:19:28 +0000 (15:19 -0500)] 
Fix broken compilation

9 years agoMore "radiusd" to main_config.name
Alan T. DeKok [Mon, 2 Nov 2015 20:02:21 +0000 (15:02 -0500)] 
More "radiusd" to main_config.name

9 years agoUse main_config.name everywhere.
Alan T. DeKok [Mon, 2 Nov 2015 19:55:30 +0000 (14:55 -0500)] 
Use main_config.name everywhere.

So we see less hard-coded "radiusd".

9 years agoPrint the macro name in system errors
Arran Cudbard-Bell [Mon, 2 Nov 2015 17:46:28 +0000 (12:46 -0500)] 
Print the macro name in system errors

9 years agoFrom hillstone
Alan T. DeKok [Mon, 2 Nov 2015 14:19:50 +0000 (09:19 -0500)] 
From hillstone

9 years agoUse the correct macro for INFO debugging
Arran Cudbard-Bell [Sun, 1 Nov 2015 16:10:02 +0000 (11:10 -0500)] 
Use the correct macro for INFO debugging

This is all documented in great detail in log.h

9 years agoMore compact
Arran Cudbard-Bell [Sat, 31 Oct 2015 22:16:10 +0000 (18:16 -0400)] 
More compact

9 years agoSend acct pings to acct port. Fixes #1364
Alan T. DeKok [Fri, 30 Oct 2015 12:21:43 +0000 (08:21 -0400)] 
Send acct pings to acct port.  Fixes #1364

9 years agoRestore trailing curly brace
Adam Bishop [Thu, 29 Oct 2015 17:09:16 +0000 (17:09 +0000)] 
Restore trailing curly brace

Looks like it was accidentally removed in 73847d34f5a59a7deb60259c2b35ca5b02a9c62d

9 years agoFree the pointer, not the data it points to
Alan T. DeKok [Thu, 29 Oct 2015 16:33:21 +0000 (12:33 -0400)] 
Free the pointer, not the data it points to

9 years agoDisable trailing garbage checks
Arran Cudbard-Bell [Wed, 28 Oct 2015 17:00:09 +0000 (13:00 -0400)] 
Disable trailing garbage checks

Gets tripped by too many capture devices (F5/Netscout)

9 years agoCloses #1320 create User-name from peer ID correctly
Arran Cudbard-Bell [Wed, 28 Oct 2015 02:54:31 +0000 (22:54 -0400)] 
Closes #1320 create User-name from peer ID correctly

9 years agoMore checks for else. Fixes #1355
Alan T. DeKok [Tue, 27 Oct 2015 16:57:02 +0000 (12:57 -0400)] 
More checks for else.  Fixes #1355

9 years agoAllow multiple command-line arguments to be logical &&
Alan T. DeKok [Mon, 26 Oct 2015 13:11:43 +0000 (09:11 -0400)] 
Allow multiple command-line arguments to be logical &&

9 years agoAdd -D to raddebug, too
Alan T. DeKok [Mon, 26 Oct 2015 00:04:37 +0000 (20:04 -0400)] 
Add -D to raddebug, too

9 years agoRevert "set this to NULL, too"
Alan T. DeKok [Sun, 25 Oct 2015 23:02:55 +0000 (19:02 -0400)] 
Revert "set this to NULL, too"

This reverts commit 96f0d17c96dacd0f9bfde66134c97450fa42ff6a.

9 years agoset this to NULL, too
Alan T. DeKok [Sun, 25 Oct 2015 15:20:22 +0000 (11:20 -0400)] 
set this to NULL, too

9 years agoMerge pull request #1349 from jpereira/devel/less-magic2
Alan DeKok [Sun, 25 Oct 2015 15:19:57 +0000 (11:19 -0400)] 
Merge pull request #1349 from jpereira/devel/less-magic2

magic values aren't fun

9 years agoOMG! magic values aren't fun 1349/head
Jorge Pereira [Sun, 25 Oct 2015 03:30:08 +0000 (01:30 -0200)] 
OMG! magic values aren't fun

9 years agoRemove more auto-generated headers 1351/head
Alan T. DeKok [Sat, 24 Oct 2015 19:54:13 +0000 (15:54 -0400)] 
Remove more auto-generated headers

9 years agoMerge pull request #1348 from jpereira/fix/ignore1
Alan DeKok [Sat, 24 Oct 2015 13:16:01 +0000 (09:16 -0400)] 
Merge pull request #1348 from jpereira/fix/ignore1

Add src/include/freeradius.h to .gitignore

9 years agoMerge pull request #1347 from jpereira/devel/less-magic1
Alan DeKok [Sat, 24 Oct 2015 13:15:48 +0000 (09:15 -0400)] 
Merge pull request #1347 from jpereira/devel/less-magic1

trust, magic values aren't fun

9 years agoAdd src/include/freeradius.h to .gitignore 1348/head
Jorge Pereira [Sat, 24 Oct 2015 00:20:25 +0000 (22:20 -0200)] 
Add src/include/freeradius.h to .gitignore

9 years agotrust, magic values aren't fun 1347/head
Jorge Pereira [Fri, 23 Oct 2015 23:39:07 +0000 (21:39 -0200)] 
trust, magic values aren't fun

9 years agoDon't use CURLOPT_PUT, it does extra things we don't want
Arran Cudbard-Bell [Fri, 23 Oct 2015 21:15:14 +0000 (17:15 -0400)] 
Don't use CURLOPT_PUT, it does extra things we don't want

9 years agoRemove redundant definition
Alan T. DeKok [Fri, 23 Oct 2015 20:57:48 +0000 (16:57 -0400)] 
Remove redundant definition

9 years agoPut warnings at the top of the file
Alan T. DeKok [Fri, 23 Oct 2015 20:56:23 +0000 (16:56 -0400)] 
Put warnings at the top of the file

And not beside every attribute

9 years agoInclude dictionary.freeradius, too
Alan T. DeKok [Fri, 23 Oct 2015 20:56:12 +0000 (16:56 -0400)] 
Include dictionary.freeradius, too

9 years agoMerge pull request #1346 from jpereira/bug/stats1
Alan DeKok [Fri, 23 Oct 2015 19:26:37 +0000 (15:26 -0400)] 
Merge pull request #1346 from jpereira/bug/stats1

Bugfix - increase a wrong list in stats #1339

9 years agoBugfix - increase a wrong stats-list 1346/head
Jorge Pereira [Fri, 23 Oct 2015 18:35:46 +0000 (16:35 -0200)] 
Bugfix - increase a wrong stats-list

9 years agoMerge pull request #1328 from clementhk/wbclient_debian
Arran Cudbard-Bell [Fri, 23 Oct 2015 18:31:07 +0000 (14:31 -0400)] 
Merge pull request #1328 from clementhk/wbclient_debian

add debian libwbclient-dev path

9 years agoUpdate dictionary
Alan Buxey [Fri, 23 Oct 2015 15:54:16 +0000 (16:54 +0100)] 
Update dictionary

9 years agoCreate dictionary.meraki
Alan Buxey [Fri, 23 Oct 2015 15:53:57 +0000 (16:53 +0100)] 
Create dictionary.meraki

9 years agoMerge pull request #1344 from jpereira/fix/proxy-stats3
Arran Cudbard-Bell [Fri, 23 Oct 2015 18:30:34 +0000 (14:30 -0400)] 
Merge pull request #1344 from jpereira/fix/proxy-stats3

Update ChangeLog

9 years agoUpdate ChangeLog 1344/head
Jorge Pereira [Fri, 23 Oct 2015 18:03:06 +0000 (16:03 -0200)] 
Update ChangeLog

9 years agoMerge pull request #1343 from jpereira/fix/proxy-stats
Alan DeKok [Fri, 23 Oct 2015 17:40:08 +0000 (13:40 -0400)] 
Merge pull request #1343 from jpereira/fix/proxy-stats

Fixed bug with coa/acct stats value #1339

9 years agoadd vqp.h in, too
Alan T. DeKok [Fri, 23 Oct 2015 17:38:47 +0000 (13:38 -0400)] 
add vqp.h in, too

9 years agoFixed bug with coa/acct stats value 1343/head
Jorge Pereira [Fri, 23 Oct 2015 17:36:41 +0000 (15:36 -0200)] 
Fixed bug with coa/acct stats value

9 years agore-add autoconf.h
Alan T. DeKok [Fri, 23 Oct 2015 17:29:15 +0000 (13:29 -0400)] 
re-add autoconf.h

9 years agoIgnore version checks if cross compiling. Fixes #1340.
Alan T. DeKok [Fri, 23 Oct 2015 17:15:47 +0000 (13:15 -0400)] 
Ignore version checks if cross compiling.  Fixes #1340.

Avoiding checks is a bad idea, but we don't really have any
option when cross compiling

9 years agoBuild RFC headers, too
Alan T. DeKok [Fri, 23 Oct 2015 17:13:40 +0000 (13:13 -0400)] 
Build RFC headers, too