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
Jorge Pereira [Tue, 10 Nov 2015 17:00:18 +0000 (15:00 -0200)]
Fixing wrong set with $raddb/sites-available/abfab-tr-idp
Alan T. DeKok [Mon, 9 Nov 2015 20:46:34 +0000 (15:46 -0500)]
fix modules debug
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.
Alan T. DeKok [Mon, 9 Nov 2015 18:50:58 +0000 (13:50 -0500)]
free paircompare only if we had them
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
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!
Alan Buxey [Thu, 5 Nov 2015 21:01:45 +0000 (21:01 +0000)]
Update dictionary.starent
fixed historical typo
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.
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
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
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
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
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
Matthew Newton [Tue, 3 Nov 2015 17:37:10 +0000 (17:37 +0000)]
there is no eap2 module any more
Matthew Newton [Tue, 3 Nov 2015 17:19:04 +0000 (17:19 +0000)]
remove redundant "name" config option
Alan T. DeKok [Tue, 3 Nov 2015 15:15:25 +0000 (10:15 -0500)]
Remove unused variable
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
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
Alan T. DeKok [Tue, 3 Nov 2015 03:24:42 +0000 (22:24 -0500)]
We want unittest.c to pretend it's radiusd
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
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
Alan T. DeKok [Tue, 3 Nov 2015 02:39:58 +0000 (21:39 -0500)]
Whine and you shall be satisfied
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
Alan T. DeKok [Mon, 2 Nov 2015 20:52:24 +0000 (15:52 -0500)]
Set name after initializing main_config
Alan T. DeKok [Mon, 2 Nov 2015 20:19:28 +0000 (15:19 -0500)]
Fix broken compilation
Alan T. DeKok [Mon, 2 Nov 2015 20:02:21 +0000 (15:02 -0500)]
More "radiusd" to main_config.name
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".
Arran Cudbard-Bell [Mon, 2 Nov 2015 17:46:28 +0000 (12:46 -0500)]
Print the macro name in system errors
Alan T. DeKok [Mon, 2 Nov 2015 14:19:50 +0000 (09:19 -0500)]
From hillstone
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
Arran Cudbard-Bell [Sat, 31 Oct 2015 22:16:10 +0000 (18:16 -0400)]
More compact
Alan T. DeKok [Fri, 30 Oct 2015 12:21:43 +0000 (08:21 -0400)]
Send acct pings to acct port. Fixes #1364
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
Alan T. DeKok [Thu, 29 Oct 2015 16:33:21 +0000 (12:33 -0400)]
Free the pointer, not the data it points to
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)
Arran Cudbard-Bell [Wed, 28 Oct 2015 02:54:31 +0000 (22:54 -0400)]
Closes #1320 create User-name from peer ID correctly
Alan T. DeKok [Tue, 27 Oct 2015 16:57:02 +0000 (12:57 -0400)]
More checks for else. Fixes #1355
Alan T. DeKok [Mon, 26 Oct 2015 13:11:43 +0000 (09:11 -0400)]
Allow multiple command-line arguments to be logical &&
Alan T. DeKok [Mon, 26 Oct 2015 00:04:37 +0000 (20:04 -0400)]
Add -D to raddebug, 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.
Alan T. DeKok [Sun, 25 Oct 2015 15:20:22 +0000 (11:20 -0400)]
set this to NULL, too
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
Jorge Pereira [Sun, 25 Oct 2015 03:30:08 +0000 (01:30 -0200)]
OMG! magic values aren't fun
Alan T. DeKok [Sat, 24 Oct 2015 19:54:13 +0000 (15:54 -0400)]
Remove more auto-generated headers
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
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
Jorge Pereira [Sat, 24 Oct 2015 00:20:25 +0000 (22:20 -0200)]
Add src/include/freeradius.h to .gitignore
Jorge Pereira [Fri, 23 Oct 2015 23:39:07 +0000 (21:39 -0200)]
trust, magic values aren't fun
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
Alan T. DeKok [Fri, 23 Oct 2015 20:57:48 +0000 (16:57 -0400)]
Remove redundant definition
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
Alan T. DeKok [Fri, 23 Oct 2015 20:56:12 +0000 (16:56 -0400)]
Include dictionary.freeradius, too
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
Jorge Pereira [Fri, 23 Oct 2015 18:35:46 +0000 (16:35 -0200)]
Bugfix - increase a wrong stats-list
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
Alan Buxey [Fri, 23 Oct 2015 15:54:16 +0000 (16:54 +0100)]
Update dictionary
Alan Buxey [Fri, 23 Oct 2015 15:53:57 +0000 (16:53 +0100)]
Create dictionary.meraki
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
Jorge Pereira [Fri, 23 Oct 2015 18:03:06 +0000 (16:03 -0200)]
Update ChangeLog
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
Alan T. DeKok [Fri, 23 Oct 2015 17:38:47 +0000 (13:38 -0400)]
add vqp.h in, too
Jorge Pereira [Fri, 23 Oct 2015 17:36:41 +0000 (15:36 -0200)]
Fixed bug with coa/acct stats value
Alan T. DeKok [Fri, 23 Oct 2015 17:29:15 +0000 (13:29 -0400)]
re-add autoconf.h
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
Alan T. DeKok [Fri, 23 Oct 2015 17:13:40 +0000 (13:13 -0400)]
Build RFC headers, too
Alan T. DeKok [Fri, 23 Oct 2015 17:04:42 +0000 (13:04 -0400)]
Print coa / disconnect stats. Addresses #1339
Alan T. DeKok [Fri, 23 Oct 2015 16:46:36 +0000 (12:46 -0400)]
Add missing
Alan T. DeKok [Fri, 23 Oct 2015 16:43:14 +0000 (12:43 -0400)]
Increment timeouts for CoA packets, too
Alan T. DeKok [Fri, 23 Oct 2015 14:51:38 +0000 (10:51 -0400)]
Fix dependencies
Simplify the dependencies and the build.
Arran Cudbard-Bell [Fri, 23 Oct 2015 13:17:27 +0000 (09:17 -0400)]
Merge pull request #1341 from qnet-herwin/post_auth_reject
Fixed usage os Post-Auth-Type REJECT
Alan T. DeKok [Fri, 23 Oct 2015 13:16:20 +0000 (09:16 -0400)]
Add comments about Wichorus-Host-IP
Alan T. DeKok [Fri, 23 Oct 2015 13:16:13 +0000 (09:16 -0400)]
note recent changes
Herwin Weststrate [Fri, 23 Oct 2015 13:12:37 +0000 (15:12 +0200)]
Fixed usage os Post-Auth-Type REJECT
The values had been shifted in the dictionaries in commit
d9a9d594e666d70b9762c879c2c69d9a9bb38a64, but this piece of code used a hardcoded magic value instead of the autogenerated constant from include/attributes.h. Fix this by using the constant.
Alan T. DeKok [Thu, 22 Oct 2015 13:56:31 +0000 (09:56 -0400)]
Use correct context. Fixes #1338
Alan T. DeKok [Wed, 21 Oct 2015 20:17:30 +0000 (16:17 -0400)]
Remove unused options
Alan T. DeKok [Wed, 21 Oct 2015 19:36:55 +0000 (15:36 -0400)]
Allow selective disabling of single dh use
Which should be on by default, but can be disabled for high-load
situations where the DH parameters are sufficiently secure
Arran Cudbard-Bell [Wed, 21 Oct 2015 03:53:58 +0000 (23:53 -0400)]
Merge pull request #1336 from jpereira/better/less-magic-number1
trust, magic values aren't fun
Arran Cudbard-Bell [Wed, 21 Oct 2015 03:52:29 +0000 (23:52 -0400)]
Merge pull request #1335 from jpereira/leak/dhcp1
Fix memory leak on invalid dhcp packet
Jorge Pereira [Wed, 21 Oct 2015 02:46:41 +0000 (00:46 -0200)]
Trust, magic values aren't fun
Jorge Pereira [Wed, 21 Oct 2015 02:13:04 +0000 (00:13 -0200)]
Fix memory leak on invalid dhcp packet
Arran Cudbard-Bell [Tue, 20 Oct 2015 23:52:13 +0000 (19:52 -0400)]
Check Option length more carefully. Closes #1334
Alan T. DeKok [Tue, 20 Oct 2015 16:23:19 +0000 (12:23 -0400)]
Print attribute name, too
Alan T. DeKok [Tue, 20 Oct 2015 15:13:13 +0000 (11:13 -0400)]
note recent changes
Alan T. DeKok [Tue, 20 Oct 2015 13:47:13 +0000 (09:47 -0400)]
Fix DH size in example
Alan T. DeKok [Tue, 20 Oct 2015 13:46:34 +0000 (09:46 -0400)]
Enable auto_chain. Fixes #1330
Alan T. DeKok [Mon, 19 Oct 2015 17:22:35 +0000 (13:22 -0400)]
Add request->state_ctx for session state.
So that we can just move the pointers instead of copying data.
This means less mutex contention in state.c
Maka0 [Mon, 19 Oct 2015 13:37:55 +0000 (15:37 +0200)]
Update dictionary.ruckus
Updated Ruckus Dictionary with additional fields
Arran Cudbard-Bell [Mon, 19 Oct 2015 12:03:35 +0000 (08:03 -0400)]
Be more forgiving about URLs with empty base DNs Closes #1329
Alan T. DeKok [Sun, 18 Oct 2015 16:18:23 +0000 (12:18 -0400)]
It's a bug.
PMIP6-Home-IPv4-HoA = 127.0.0.0/8 was parsed to 0.0.0.0/8
Alan T. DeKok [Sun, 18 Oct 2015 16:17:01 +0000 (12:17 -0400)]
Allow IP addrs to compare to prefixes for xlat, too
We don't know what the RHS is... so we cast the LHS to a prefix
for v4/v6 addresses
Arran Cudbard-Bell [Sat, 17 Oct 2015 23:23:01 +0000 (19:23 -0400)]
It's a feature not a bug
Alan T. DeKok [Sat, 17 Oct 2015 20:46:53 +0000 (16:46 -0400)]
note recent changes
Alan T. DeKok [Sat, 17 Oct 2015 20:45:48 +0000 (16:45 -0400)]
Fixes for last commit, ported from v3.1.x
Alan T. DeKok [Sat, 17 Oct 2015 20:37:31 +0000 (16:37 -0400)]
Automatically cast IP to IP_PREFIX comparisons
Alan T. DeKok [Sat, 17 Oct 2015 14:46:06 +0000 (10:46 -0400)]
Parse ipv4prefix correctly
Alan T. DeKok [Fri, 16 Oct 2015 16:28:41 +0000 (12:28 -0400)]
s/RELINK/LOCAL/
Arran Cudbard-Bell [Thu, 15 Oct 2015 12:19:06 +0000 (08:19 -0400)]
Fix double free Closes #1325
Alan T. DeKok [Wed, 14 Oct 2015 17:50:53 +0000 (13:50 -0400)]
Set to current time. Fixes #1319
Alan T. DeKok [Wed, 14 Oct 2015 14:27:16 +0000 (10:27 -0400)]
Make fr_pair_list_copy_by_num() work like ...move...()