Alan T. DeKok [Fri, 21 Mar 2014 12:27:25 +0000 (08:27 -0400)]
Minor tweaks before the release
Alan T. DeKok [Fri, 21 Mar 2014 01:17:28 +0000 (21:17 -0400)]
Make Simultaneous-Use "access denied" message configurable
Alan T. DeKok [Thu, 20 Mar 2014 18:26:24 +0000 (14:26 -0400)]
portmasters copy of the livingston site is no longer active
And we shouldn't be pointing people to 15 year-old docs
Alan T. DeKok [Thu, 20 Mar 2014 18:24:11 +0000 (14:24 -0400)]
Add "retry_delay".
And re-set "last_failed" if we managed to open a connection
Arran Cudbard-Bell [Thu, 20 Mar 2014 18:15:35 +0000 (18:15 +0000)]
Add ToC
Alan T. DeKok [Thu, 20 Mar 2014 18:01:01 +0000 (14:01 -0400)]
Minor tweaks
Arran Cudbard-Bell [Thu, 20 Mar 2014 17:58:19 +0000 (17:58 +0000)]
Another typo
Alan T. DeKok [Thu, 20 Mar 2014 17:51:20 +0000 (13:51 -0400)]
last re-arrangement
Alan T. DeKok [Thu, 20 Mar 2014 17:48:48 +0000 (13:48 -0400)]
Re-organization for clarity
Arran Cudbard-Bell [Thu, 20 Mar 2014 17:45:58 +0000 (17:45 +0000)]
Add ToC
Arran Cudbard-Bell [Thu, 20 Mar 2014 17:37:19 +0000 (17:37 +0000)]
Document all new modules
Alan T. DeKok [Thu, 20 Mar 2014 16:27:54 +0000 (12:27 -0400)]
Document unlang changes, and other cleanups
Alan T. DeKok [Thu, 20 Mar 2014 15:37:52 +0000 (11:37 -0400)]
Note changes
Alan T. DeKok [Mon, 7 May 2012 16:33:31 +0000 (18:33 +0200)]
oreect Message-Authenticator calculation for CoA packets.
Patch from Jouni Malinen.
Arran Cudbard-Bell [Thu, 20 Mar 2014 08:08:26 +0000 (08:08 +0000)]
Fix a few more minor issues
Alan T. DeKok [Wed, 19 Mar 2014 23:05:45 +0000 (19:05 -0400)]
If the module was optional (-sql) it's real name is "sql"
So that the debugging output is clearer
Arran Cudbard-Bell [Wed, 19 Mar 2014 23:00:22 +0000 (23:00 +0000)]
Fixup formatting of SQL queries
Alan T. DeKok [Wed, 19 Mar 2014 20:14:16 +0000 (16:14 -0400)]
Remove extraneous ?. It's ugly
Alan T. DeKok [Wed, 19 Mar 2014 20:09:42 +0000 (16:09 -0400)]
Don't indent debugging messages so much
Alan T. DeKok [Wed, 19 Mar 2014 19:58:16 +0000 (15:58 -0400)]
Suppress more xlat debugging
Arran Cudbard-Bell [Wed, 19 Mar 2014 17:52:20 +0000 (17:52 +0000)]
Replace NOW() with date('now') in sqlite accounting queries. Oops.
Alan T. DeKok [Wed, 19 Mar 2014 17:44:25 +0000 (13:44 -0400)]
Use "next" instead of "node"
Alan DeKok [Wed, 19 Mar 2014 17:14:51 +0000 (13:14 -0400)]
Merge pull request #555 from mcnewton/v3.0.x
sqlite doesn't have NOW() or INTERVAL
Matthew Newton [Wed, 19 Mar 2014 15:10:27 +0000 (15:10 +0000)]
sqlite doesn't have NOW() or INTERVAL
Alan T. DeKok [Wed, 19 Mar 2014 14:49:51 +0000 (10:49 -0400)]
Note recent changes
Arran Cudbard-Bell [Wed, 19 Mar 2014 14:47:47 +0000 (14:47 +0000)]
Fix prototype for radius_vpt_get_vp
Alan T. DeKok [Wed, 19 Mar 2014 14:45:43 +0000 (10:45 -0400)]
We only need 2 %% now that we've fixed xlat
Alan T. DeKok [Wed, 19 Mar 2014 14:38:02 +0000 (10:38 -0400)]
Parsing 'foo%%s' requires an intermediate literal of "%"
The %% takes 2 characters. We need one to terminate the
previous string. One for the %. And one to terminate
the "%" string. That's three, which doesn't fit into the
space of %%. So... talloc_strdup to the rescue
We could add "optimization" code to detect of the previous
character was zero, OR the previous node was a literal,
and avoid the creation of a new node / talloc. But... that's
more fragile. Just doing the simple thing will work
Alan T. DeKok [Wed, 19 Mar 2014 14:37:10 +0000 (10:37 -0400)]
Make XLAT_DEBUG output clearer
Alan T. DeKok [Wed, 19 Mar 2014 14:11:33 +0000 (10:11 -0400)]
Hard-code sql dialect
nested references don't work
Alan T. DeKok [Wed, 19 Mar 2014 13:42:31 +0000 (09:42 -0400)]
Rename queries to new standard
Alan DeKok [Wed, 19 Mar 2014 14:41:01 +0000 (10:41 -0400)]
Merge pull request #553 from mcnewton/v3.0.x
basic config for dhcp IP allocation using sqlite
Arran Cudbard-Bell [Wed, 19 Mar 2014 14:38:18 +0000 (14:38 +0000)]
Add radius_copy_vp
Arran Cudbard-Bell [Wed, 19 Mar 2014 12:18:21 +0000 (12:18 +0000)]
Update ChangeLog
Arran Cudbard-Bell [Wed, 19 Mar 2014 12:08:57 +0000 (12:08 +0000)]
Remove duplicate escaping/special rules in sqlippool_expand
Arran Cudbard-Bell [Wed, 19 Mar 2014 08:32:01 +0000 (08:32 +0000)]
Fix log message types, formatting and examples in rlm_unpack
Matthew Newton [Wed, 19 Mar 2014 01:08:54 +0000 (01:08 +0000)]
basic config for dhcp IP allocation using sqlite
Alan T. DeKok [Wed, 19 Mar 2014 00:17:11 +0000 (20:17 -0400)]
%% is a LITERAL, not a PERCENT expansion
PERCENT expansions are escaped. LITERALs are not.
Alan T. DeKok [Wed, 19 Mar 2014 00:12:20 +0000 (20:12 -0400)]
Note rlm_unpack
Alan T. DeKok [Wed, 19 Mar 2014 00:10:45 +0000 (20:10 -0400)]
Added rlm_unpack
Which makes it easier to unpack binary data
Arran Cudbard-Bell [Tue, 18 Mar 2014 23:42:44 +0000 (23:42 +0000)]
Escape %s in sqlite counter queries
Arran Cudbard-Bell [Tue, 18 Mar 2014 23:41:19 +0000 (23:41 +0000)]
Remove redundant escaping from sqlcounter
Alan DeKok [Tue, 18 Mar 2014 21:55:50 +0000 (17:55 -0400)]
Merge pull request #552 from mcnewton/v3.0.x
allocate-update should be allocate_update for dhcp_sqlippool
Matthew Newton [Tue, 18 Mar 2014 21:40:23 +0000 (21:40 +0000)]
allocate-update should be allocate_update for dhcp_sqlippool
Alan T. DeKok [Tue, 18 Mar 2014 19:28:20 +0000 (15:28 -0400)]
Fix for latest functionality of the format script
Arran Cudbard-Bell [Tue, 18 Mar 2014 18:10:45 +0000 (18:10 +0000)]
Update ChangeLog
Arran Cudbard-Bell [Tue, 18 Mar 2014 18:04:54 +0000 (18:04 +0000)]
Doxygen
Arran Cudbard-Bell [Tue, 18 Mar 2014 18:02:18 +0000 (18:02 +0000)]
Deal with HTTP 100 responses correctly
Arran Cudbard-Bell [Tue, 18 Mar 2014 18:00:32 +0000 (18:00 +0000)]
Improve error messages in HTTP header parser
Arran Cudbard-Bell [Tue, 18 Mar 2014 17:00:13 +0000 (17:00 +0000)]
Tweak buffer allocation to alloc double the previous memory as before when encoding requests to avoid unnecessary allocs
Arran Cudbard-Bell [Tue, 18 Mar 2014 16:29:34 +0000 (16:29 +0000)]
Fix issue in fr_prints_string
Arran Cudbard-Bell [Tue, 18 Mar 2014 16:28:22 +0000 (16:28 +0000)]
Output what we expected and got it unittest.c
Arran Cudbard-Bell [Tue, 18 Mar 2014 15:12:27 +0000 (15:12 +0000)]
Modify functions in print.c to return > than outlen if they run out of buffer. This is required for correct operation of rlm_rest stream encoders
Arran Cudbard-Bell [Tue, 18 Mar 2014 14:20:57 +0000 (14:20 +0000)]
Formatting in rlm_rest
Arran Cudbard-Bell [Tue, 18 Mar 2014 06:42:31 +0000 (06:42 +0000)]
We should not set a default connect_uri
We should set a default timeout (in this case 4 seconds). To disable timeout it can be set to 0.
Arran Cudbard-Bell [Mon, 17 Mar 2014 23:31:33 +0000 (23:31 +0000)]
Use the same names for variables as the rest of the code in rlm_rest encoders
Add more error checking around curl_easy_escape
Make the encoder code clearer
Alan T. DeKok [Mon, 17 Mar 2014 22:19:47 +0000 (18:19 -0400)]
Fix typo
Arran Cudbard-Bell [Mon, 17 Mar 2014 21:29:59 +0000 (21:29 +0000)]
Increment p *then* set last full attribute pointer. Fixes #550
Arran Cudbard-Bell [Mon, 17 Mar 2014 14:20:13 +0000 (14:20 +0000)]
Remove weird pipe substitution hack for JSON data
Arran Cudbard-Bell [Mon, 17 Mar 2014 13:37:00 +0000 (13:37 +0000)]
Avoid calling json_object_array_get_idx on non-array objects, bad things happen...
Arran Cudbard-Bell [Mon, 17 Mar 2014 13:36:28 +0000 (13:36 +0000)]
More formatting
Arran Cudbard-Bell [Mon, 17 Mar 2014 13:36:04 +0000 (13:36 +0000)]
Strip trailing & in post data
Arran Cudbard-Bell [Mon, 17 Mar 2014 13:35:33 +0000 (13:35 +0000)]
Work around Perl's weird crap
Arran Cudbard-Bell [Mon, 17 Mar 2014 06:16:55 +0000 (06:16 +0000)]
Order of operations...
Arran Cudbard-Bell [Sun, 16 Mar 2014 23:10:21 +0000 (23:10 +0000)]
Fix GCC warnings
Arran Cudbard-Bell [Sun, 16 Mar 2014 22:37:42 +0000 (22:37 +0000)]
Fixup weird formatting, uneeded allocs, and duplicate code in rlm_rest
Arran Cudbard-Bell [Sun, 16 Mar 2014 18:12:13 +0000 (18:12 +0000)]
Remove duplicate fr_strerror_printf declaration
Arran Cudbard-Bell [Sun, 16 Mar 2014 18:01:12 +0000 (18:01 +0000)]
Fix parsing of JSON attributes returned by REST application
Arran Cudbard-Bell [Sun, 16 Mar 2014 17:59:55 +0000 (17:59 +0000)]
radius_parseattr should output errors with fr_strerror_printf (even though it's not a library function)
Arran Cudbard-Bell [Sun, 16 Mar 2014 16:08:25 +0000 (16:08 +0000)]
Change order of arguments in radius_parse_attr
Arran Cudbard-Bell [Sun, 16 Mar 2014 13:37:06 +0000 (13:37 +0000)]
Backport additional types VALUEPAIR union types 'byte' and 'short'
Arran Cudbard-Bell [Sun, 16 Mar 2014 12:47:21 +0000 (12:47 +0000)]
Disable -Wunused-function for macro generated 'get' TLS functions
Arran Cudbard-Bell [Sun, 16 Mar 2014 09:58:13 +0000 (09:58 +0000)]
Backport fr_cursor name changes
Arran Cudbard-Bell [Thu, 13 Mar 2014 15:17:04 +0000 (15:17 +0000)]
Return error if we don't have sufficient buffer space to write out decoded base64 string
Arran Cudbard-Bell [Thu, 13 Mar 2014 15:18:39 +0000 (15:18 +0000)]
Fix "not responding" debug message in DHCP
Alan DeKok [Fri, 14 Mar 2014 14:57:14 +0000 (10:57 -0400)]
Merge pull request #548 from mcnewton/v3.0.x
Add more incoming DHCP packet types to config
Matthew Newton [Fri, 14 Mar 2014 14:21:46 +0000 (14:21 +0000)]
Add more incoming DHCP packet types to config
Alan T. DeKok [Fri, 14 Mar 2014 14:00:51 +0000 (10:00 -0400)]
Update documentation for DHCP unknown packet types
Alan T. DeKok [Fri, 14 Mar 2014 13:30:06 +0000 (09:30 -0400)]
Check for client/home entries. Fixes #547
Alan T. DeKok [Fri, 14 Mar 2014 13:21:19 +0000 (09:21 -0400)]
Remove warnings that DHCP is experimental
Alan T. DeKok [Thu, 13 Mar 2014 18:00:51 +0000 (14:00 -0400)]
If relay IP is 0.0.0.0, don't use it
Alan T. DeKok [Thu, 13 Mar 2014 17:59:15 +0000 (13:59 -0400)]
If the request was unicast, the reply can be unicast, too
Alan T. DeKok [Thu, 13 Mar 2014 15:39:08 +0000 (11:39 -0400)]
Re-added missing line
Alan T. DeKok [Thu, 13 Mar 2014 14:25:27 +0000 (10:25 -0400)]
Note recent changes
Alan T. DeKok [Thu, 13 Mar 2014 14:25:12 +0000 (10:25 -0400)]
Document src_ipaddr
Alan T. DeKok [Thu, 13 Mar 2014 14:17:00 +0000 (10:17 -0400)]
Set src IP on more situations.
If the admin set "ipaddr = *", and no "src_ipaddr = ...", then
we used to send packets from 0.0.0.0. That's wrong.
We now look for server identifier or server IP address.
If one of those is found, we use that as the source IP
Arran Cudbard-Bell [Thu, 13 Mar 2014 12:36:55 +0000 (12:36 +0000)]
Fix new warnings emitted by clang
Arran Cudbard-Bell [Thu, 13 Mar 2014 08:33:27 +0000 (08:33 +0000)]
Update ChangeLog
Arran Cudbard-Bell [Wed, 12 Mar 2014 22:08:57 +0000 (22:08 +0000)]
Formatting and extra debugging in rlm_attr_filter
Arran Cudbard-Bell [Wed, 12 Mar 2014 22:08:22 +0000 (22:08 +0000)]
Compare da not just attribute number (fix clashing vendor and RFC space attributes)
Arran Cudbard-Bell [Wed, 12 Mar 2014 21:41:26 +0000 (21:41 +0000)]
Correct comment
Alan T. DeKok [Wed, 12 Mar 2014 21:36:55 +0000 (17:36 -0400)]
Fix typos
Alan T. DeKok [Wed, 12 Mar 2014 18:34:51 +0000 (14:34 -0400)]
Re-arrange normalization code in parser
also make map return a valid map, no matter what the operator
having hacks in the map parser to deal with =* and ~* is wrong
Alan T. DeKok [Wed, 12 Mar 2014 18:16:38 +0000 (14:16 -0400)]
Print out more information with -xx
Alan T. DeKok [Wed, 12 Mar 2014 18:05:56 +0000 (14:05 -0400)]
Normalize literals in conditions
if ('') is false
if ("foo") is true
if (bar) is invalid, as the condition needs to be a module rcode
Alan T. DeKok [Wed, 12 Mar 2014 15:04:00 +0000 (11:04 -0400)]
Updated example
Arran Cudbard-Bell [Wed, 12 Mar 2014 16:56:21 +0000 (16:56 +0000)]
Merge pull request #546 from mcnewton/v3.0.x
V3.0.x
Matthew Newton [Wed, 12 Mar 2014 16:44:19 +0000 (16:44 +0000)]
dhcp config comments about mac2ip
Matthew Newton [Wed, 12 Mar 2014 16:38:03 +0000 (16:38 +0000)]
add comments about dhcp listen section
Alan DeKok [Wed, 12 Mar 2014 16:27:29 +0000 (12:27 -0400)]
Merge pull request #545 from mcnewton/v3.0.x
V3.0.x