Arran Cudbard-Bell [Fri, 20 Jun 2014 09:14:45 +0000 (10:14 +0100)]
Fixup talloc destructors
Arran Cudbard-Bell [Fri, 20 Jun 2014 09:03:04 +0000 (10:03 +0100)]
Name destructors correctly, remove unused/useless request_opaque_free destructor
Arran Cudbard-Bell [Fri, 20 Jun 2014 08:17:39 +0000 (09:17 +0100)]
Add function for allocing fr_tls_server_conf_t
Arran Cudbard-Bell [Fri, 20 Jun 2014 08:17:26 +0000 (09:17 +0100)]
Formatting
Arran Cudbard-Bell [Fri, 20 Jun 2014 08:17:15 +0000 (09:17 +0100)]
Session serialiser's buffer should not be talloced (alloced and freed in the same call)
Arran Cudbard-Bell [Fri, 20 Jun 2014 08:15:16 +0000 (09:15 +0100)]
Freeing the handler must be synchronised too
Arran Cudbard-Bell [Fri, 20 Jun 2014 07:41:41 +0000 (08:41 +0100)]
Formatting
Arran Cudbard-Bell [Fri, 20 Jun 2014 06:14:51 +0000 (07:14 +0100)]
Should write config value to server_raw first in rlm_couchbase
Arran Cudbard-Bell [Fri, 20 Jun 2014 06:11:39 +0000 (07:11 +0100)]
Update ChangeLog
Arran Cudbard-Bell [Fri, 20 Jun 2014 06:03:16 +0000 (07:03 +0100)]
Make client_cert bool everywhere
Alan T. DeKok [Fri, 20 Jun 2014 02:13:45 +0000 (22:13 -0400)]
Can't use "ok = 1" outside of a module call.
Only modules can have their return codes updated. Sections can't.
Arran Cudbard-Bell [Thu, 19 Jun 2014 18:24:02 +0000 (19:24 +0100)]
Allocate SSL session ctx memory under the handler to avoid thread safety issues
Arran Cudbard-Bell [Thu, 19 Jun 2014 15:44:51 +0000 (16:44 +0100)]
Should always set the pointer to NULL to avoid corner case on malloc failure
Arran Cudbard-Bell [Thu, 19 Jun 2014 12:02:01 +0000 (13:02 +0100)]
Fix invalid assert
Arran Cudbard-Bell [Thu, 19 Jun 2014 10:44:42 +0000 (11:44 +0100)]
Fix bug where when using a response filter, requests where the response failed the filter were still written to the capture file
Arran Cudbard-Bell [Thu, 19 Jun 2014 10:39:59 +0000 (11:39 +0100)]
Remove built radtest (accidentally unignored)
Herwin Weststrate [Thu, 19 Jun 2014 08:15:51 +0000 (10:15 +0200)]
Removed some obsolete parentheses in TTLS and PEAP modules
This makes the code a little bit cleaner, but doesn't change any functionality.
Herwin Weststrate [Wed, 18 Jun 2014 18:47:29 +0000 (20:47 +0200)]
Fixed the argument of a talloc_free call
Arran Cudbard-Bell [Wed, 18 Jun 2014 17:09:36 +0000 (18:09 +0100)]
Talloc don't export this macro
Arran Cudbard-Bell [Wed, 18 Jun 2014 16:59:55 +0000 (17:59 +0100)]
Only set M_PERTURB if TALLOC_FREE_FILL is unset
Arran Cudbard-Bell [Wed, 18 Jun 2014 13:40:26 +0000 (14:40 +0100)]
Doxygen
Arran Cudbard-Bell [Wed, 18 Jun 2014 13:29:50 +0000 (14:29 +0100)]
Error out on NULL pointers before doing talloc_get_type_abort in verify functions
Arran Cudbard-Bell [Wed, 18 Jun 2014 13:25:44 +0000 (14:25 +0100)]
Fix VALUE_PAIR parenting in rlm_rest when decoding JSON responses
Alan T. DeKok [Wed, 18 Jun 2014 13:09:43 +0000 (09:09 -0400)]
Free previous accept VPS. Closes #693
Arran Cudbard-Bell [Wed, 18 Jun 2014 11:40:13 +0000 (12:40 +0100)]
Fix merge error
Arran Cudbard-Bell [Wed, 18 Jun 2014 11:39:14 +0000 (12:39 +0100)]
Alloc from the passed context
Arran Cudbard-Bell [Wed, 18 Jun 2014 11:35:23 +0000 (12:35 +0100)]
Parent from the packet, not head of the VP list
Arran Cudbard-Bell [Wed, 18 Jun 2014 11:28:35 +0000 (12:28 +0100)]
Parent rbtrees correctly
Arran Cudbard-Bell [Wed, 18 Jun 2014 11:27:52 +0000 (12:27 +0100)]
Only print Talloc chunk lineage if the ctx is not null
Arran Cudbard-Bell [Wed, 18 Jun 2014 11:06:03 +0000 (12:06 +0100)]
Have a suspicion that enabling null context tracking causes talloc functions to SEGV if you pass NULL context pointers
Arran Cudbard-Bell [Wed, 18 Jun 2014 11:00:10 +0000 (12:00 +0100)]
Fix parenting issues in rlm_file
Arran Cudbard-Bell [Wed, 18 Jun 2014 10:35:59 +0000 (11:35 +0100)]
Fix/Enhance fr_log_talloc_report
Arran Cudbard-Bell [Wed, 18 Jun 2014 10:13:23 +0000 (11:13 +0100)]
Allow setting the filter code from the request
Arran Cudbard-Bell [Wed, 18 Jun 2014 07:49:32 +0000 (08:49 +0100)]
Typo
Arran Cudbard-Bell [Tue, 17 Jun 2014 23:20:48 +0000 (00:20 +0100)]
Update ChangeLog
Arran Cudbard-Bell [Tue, 17 Jun 2014 23:17:58 +0000 (00:17 +0100)]
typo
Arran Cudbard-Bell [Tue, 17 Jun 2014 23:17:21 +0000 (00:17 +0100)]
Update ChangeLog
Arran Cudbard-Bell [Tue, 17 Jun 2014 22:40:37 +0000 (23:40 +0100)]
Add pairdatacpy to fix value parenting issues
Arran Cudbard-Bell [Tue, 17 Jun 2014 22:23:12 +0000 (23:23 +0100)]
More tweaks for CONSISTENCY CHECK readability
Alan T. DeKok [Tue, 17 Jun 2014 19:37:09 +0000 (15:37 -0400)]
Better checks for DEBUG_PACKET
Arran Cudbard-Bell [Tue, 17 Jun 2014 19:04:16 +0000 (20:04 +0100)]
Typo
Arran Cudbard-Bell [Tue, 17 Jun 2014 19:00:33 +0000 (20:00 +0100)]
Probably want to free the VPs we remove from the control list, oops.
Arran Cudbard-Bell [Tue, 17 Jun 2014 18:55:24 +0000 (19:55 +0100)]
Make CONSISTENCY CHECK messages clearer, add checks for string/octet buffer parenting
Herwin Weststrate [Tue, 17 Jun 2014 15:40:07 +0000 (17:40 +0200)]
Fixed permit_only_eap policy
Alan T. DeKok [Tue, 17 Jun 2014 15:27:42 +0000 (11:27 -0400)]
Use correct test for debugging
Alan T. DeKok [Tue, 17 Jun 2014 15:27:21 +0000 (11:27 -0400)]
Print tunneled data in the right place
Arran Cudbard-Bell [Tue, 17 Jun 2014 14:52:22 +0000 (15:52 +0100)]
Typo
Alan T. DeKok [Tue, 17 Jun 2014 13:47:06 +0000 (09:47 -0400)]
Remove old text about not proxying CoA. It now works
Alan T. DeKok [Tue, 17 Jun 2014 13:40:36 +0000 (09:40 -0400)]
status check packets don't have a client. Closes #691
Arran Cudbard-Bell [Tue, 17 Jun 2014 13:35:27 +0000 (14:35 +0100)]
Parent attributes correctly when pulling them out of the TLS session cache
Arran Cudbard-Bell [Tue, 17 Jun 2014 13:27:43 +0000 (14:27 +0100)]
Add newlines to CONSISTENCY CHECK errors
Arran Cudbard-Bell [Tue, 17 Jun 2014 12:49:54 +0000 (13:49 +0100)]
Print file and line number in VERIFY_* messages
Arran Cudbard-Bell [Tue, 17 Jun 2014 12:25:55 +0000 (13:25 +0100)]
Don't use fr_perror in the verify functions (outputs spurious errors)
Arran Cudbard-Bell [Tue, 17 Jun 2014 12:15:21 +0000 (13:15 +0100)]
Not sure if talloc_get_name() is legal
Arran Cudbard-Bell [Tue, 17 Jun 2014 11:19:04 +0000 (12:19 +0100)]
Change ADSL-Agent-Circuit-ID and ADSL-Agent-Remote-ID to octets types as per RFC 4679
Arran Cudbard-Bell [Tue, 17 Jun 2014 10:29:44 +0000 (11:29 +0100)]
Use the proper verify_request function instead of talloc_get_type_abort
Arran Cudbard-Bell [Tue, 17 Jun 2014 10:26:08 +0000 (11:26 +0100)]
Sprinkle VERIFY_REQUEST throughout the state machine
Arran Cudbard-Bell [Tue, 17 Jun 2014 10:18:18 +0000 (11:18 +0100)]
Colourise should no be true by default
Arran Cudbard-Bell [Tue, 17 Jun 2014 09:05:15 +0000 (10:05 +0100)]
More radclient formatting and minor fixes
Arran Cudbard-Bell [Tue, 17 Jun 2014 09:04:59 +0000 (10:04 +0100)]
Relax libssl checks
Arran Cudbard-Bell [Mon, 16 Jun 2014 20:56:21 +0000 (21:56 +0100)]
Missed break
Arran Cudbard-Bell [Mon, 16 Jun 2014 17:58:30 +0000 (18:58 +0100)]
Missed type
Alan T. DeKok [Sat, 14 Jun 2014 14:53:00 +0000 (10:53 -0400)]
show encoded packet before TLS encryption
Arran Cudbard-Bell [Mon, 16 Jun 2014 14:39:44 +0000 (15:39 +0100)]
Fix indent
Arran Cudbard-Bell [Mon, 16 Jun 2014 14:37:22 +0000 (15:37 +0100)]
Use sane macro names for codes. PW_CODE_AUTHENTICATION_ACK, PW_CODE_AUTHENTICATION_REJECT? Really?
Arran Cudbard-Bell [Mon, 16 Jun 2014 14:35:00 +0000 (15:35 +0100)]
Try harder in radclient to figure out request/response codes and ports from information we were provided with
Arran Cudbard-Bell [Mon, 16 Jun 2014 13:19:30 +0000 (14:19 +0100)]
Gah, double negatives
Arran Cudbard-Bell [Mon, 16 Jun 2014 11:55:25 +0000 (12:55 +0100)]
Fix for backtrace deadlock and GLIBC
Arran Cudbard-Bell [Sun, 15 Jun 2014 07:31:51 +0000 (08:31 +0100)]
Better ldap version fixes
Arran Cudbard-Bell [Sat, 14 Jun 2014 21:02:38 +0000 (22:02 +0100)]
Print error if we can't get libldap version
Arran Cudbard-Bell [Sat, 14 Jun 2014 20:37:05 +0000 (21:37 +0100)]
Add more version checks for modules
Arran Cudbard-Bell [Sat, 14 Jun 2014 13:16:03 +0000 (14:16 +0100)]
What's a Boyan?
Arran Cudbard-Bell [Fri, 13 Jun 2014 16:47:08 +0000 (17:47 +0100)]
sizeof(array_arg) doesn't work as expected so use digest length macros
Arran Cudbard-Bell [Fri, 13 Jun 2014 18:28:53 +0000 (19:28 +0100)]
Fix fall-through behaviour in rlm_sql Closes #622
Alan T. DeKok [Fri, 13 Jun 2014 19:36:05 +0000 (15:36 -0400)]
Whitespace
Alan T. DeKok [Fri, 13 Jun 2014 19:14:59 +0000 (15:14 -0400)]
As found in a PPT by Klass Wierenga
Alan T. DeKok [Fri, 13 Jun 2014 19:14:46 +0000 (15:14 -0400)]
Note correct names for data types
Arran Cudbard-Bell [Fri, 13 Jun 2014 16:57:16 +0000 (17:57 +0100)]
Declare more things as arrays
Arran Cudbard-Bell [Fri, 13 Jun 2014 16:52:21 +0000 (17:52 +0100)]
Declare hextab as an array
Arran Cudbard-Bell [Fri, 13 Jun 2014 16:05:12 +0000 (17:05 +0100)]
Merge pull request #688 from philmayers/fix-nthash
pass length of nthashhash as argument
Phil Mayers [Fri, 13 Jun 2014 15:54:01 +0000 (16:54 +0100)]
pass length of nthashhash as argument, since sizeof() does not work on array arguments
Arran Cudbard-Bell [Fri, 13 Jun 2014 15:37:54 +0000 (16:37 +0100)]
The fewer magic numbers the better...
Arran Cudbard-Bell [Fri, 13 Jun 2014 15:37:24 +0000 (16:37 +0100)]
Better debug output from rlm_mschap
Arran Cudbard-Bell [Fri, 13 Jun 2014 14:07:17 +0000 (15:07 +0100)]
Extraneous comma
Herwin Weststrate [Wed, 11 Jun 2014 14:45:14 +0000 (16:45 +0200)]
Replaced references to MS-CHAP-Success with MS2-CHAP-Success
The first attribute doesn't exist.
Herwin Weststrate [Mon, 2 Jun 2014 09:06:59 +0000 (11:06 +0200)]
Reintroduced a comma to make sentence readable
Accidentally removed in
8430d8fa618140bafe289142626061fdc5419d58
Herwin Weststrate [Fri, 30 May 2014 08:13:05 +0000 (10:13 +0200)]
Fixed some capitalization in mods-available/eap
Herwin Weststrate [Fri, 30 May 2014 08:10:14 +0000 (10:10 +0200)]
Fixed some whitespace in mods-available/eap
Make consistently use of tabs, instead of mostly tabs and sometimes spaces.
Alan T. DeKok [Fri, 13 Jun 2014 13:37:22 +0000 (09:37 -0400)]
Fix and document check_timeout which helps with check_interval
Alan T. DeKok [Fri, 13 Jun 2014 12:44:31 +0000 (08:44 -0400)]
Remove re-defined attributes
Arran Cudbard-Bell [Fri, 13 Jun 2014 13:18:18 +0000 (14:18 +0100)]
Remove 'children' option from rlm_ldap debug messages when the children scope is not available
Arran Cudbard-Bell [Fri, 13 Jun 2014 13:08:48 +0000 (14:08 +0100)]
Only parse dereference value if we actually have a value to parse
Arran Cudbard-Bell [Fri, 13 Jun 2014 13:07:07 +0000 (14:07 +0100)]
Use correct lookup table. Fixes #686
Arran Cudbard-Bell [Fri, 13 Jun 2014 12:56:15 +0000 (13:56 +0100)]
Remove empty debug message
Arran Cudbard-Bell [Fri, 13 Jun 2014 12:53:56 +0000 (13:53 +0100)]
Respect fr_hostname_lookups in libfreeradius
Arran Cudbard-Bell [Fri, 13 Jun 2014 12:44:50 +0000 (13:44 +0100)]
Shouldn't be an error...
Arran Cudbard-Bell [Fri, 13 Jun 2014 12:42:23 +0000 (13:42 +0100)]
Fixup PG example and don't send application name by default
Arran Cudbard-Bell [Fri, 13 Jun 2014 12:37:20 +0000 (13:37 +0100)]
Debug fixes for radeapclient
Arran Cudbard-Bell [Fri, 13 Jun 2014 10:08:41 +0000 (11:08 +0100)]
Fix radtest to work when the local hostname is not resolvable
Herwin Weststrate [Fri, 13 Jun 2014 08:20:04 +0000 (10:20 +0200)]
Fixed compile error in rlm_ldap