Alan T. DeKok [Fri, 22 Mar 2013 13:17:33 +0000 (09:17 -0400)]
Run radiusd -XC from the build directory
before running any more detailed tests
Alan T. DeKok [Fri, 22 Mar 2013 12:59:45 +0000 (08:59 -0400)]
That's a paddlin.
Alan T. DeKok [Thu, 21 Mar 2013 18:22:11 +0000 (14:22 -0400)]
Wimax isn't always built
Arran Cudbard-Bell [Fri, 22 Mar 2013 04:53:18 +0000 (00:53 -0400)]
Flakey build mystery solved
Arran Cudbard-Bell [Fri, 22 Mar 2013 04:18:18 +0000 (00:18 -0400)]
Experimentally make travis build single threaded
Arran Cudbard-Bell [Fri, 22 Mar 2013 04:16:48 +0000 (00:16 -0400)]
Really quiet
Arran Cudbard-Bell [Fri, 22 Mar 2013 04:03:32 +0000 (00:03 -0400)]
Use higher debugging level for test
Arran Cudbard-Bell [Fri, 22 Mar 2013 04:02:49 +0000 (00:02 -0400)]
Check access to libraries (quietly)
Arran Cudbard-Bell [Fri, 22 Mar 2013 03:34:50 +0000 (23:34 -0400)]
Return ldap_rcode_t from rlm_ldap_bind for consistency
Arran Cudbard-Bell [Thu, 21 Mar 2013 23:31:13 +0000 (19:31 -0400)]
Various minor fixes in rlm_eap
Arran Cudbard-Bell [Thu, 21 Mar 2013 21:32:09 +0000 (17:32 -0400)]
Extra dependencies for building debian packages
Arran Cudbard-Bell [Thu, 21 Mar 2013 21:23:35 +0000 (17:23 -0400)]
Fix travis-test
Arran Cudbard-Bell [Thu, 21 Mar 2013 18:41:10 +0000 (14:41 -0400)]
More travis tests
Alan T. DeKok [Thu, 21 Mar 2013 18:09:33 +0000 (14:09 -0400)]
Enabled WITH_VERIFY_PTR for developer builds
Arran Cudbard-Bell [Thu, 21 Mar 2013 16:41:30 +0000 (12:41 -0400)]
Remove redundant code
Arran Cudbard-Bell [Thu, 21 Mar 2013 16:32:55 +0000 (12:32 -0400)]
Cleanup some logging stuff
Alan T. DeKok [Thu, 21 Mar 2013 15:50:30 +0000 (11:50 -0400)]
Fix minor memory leak on detach
Alan T. DeKok [Thu, 21 Mar 2013 15:45:27 +0000 (11:45 -0400)]
Added verification of VALUE_PAIR pointers via talloc
Alan T. DeKok [Thu, 21 Mar 2013 13:54:22 +0000 (06:54 -0700)]
Remove unused / old files
Alan T. DeKok [Thu, 21 Mar 2013 13:46:59 +0000 (06:46 -0700)]
Remove duplicate and unused package
Die, libltdl, die.
Alan T. DeKok [Thu, 21 Mar 2013 13:46:30 +0000 (06:46 -0700)]
Remove references to rlm_dbm
Alan DeKok [Thu, 21 Mar 2013 13:45:30 +0000 (06:45 -0700)]
Merge pull request #239 from netflash/master
Building debian package. Fixed some errors
Alexandr Romanov [Thu, 21 Mar 2013 09:04:12 +0000 (13:04 +0400)]
Fixed debian/control build-dep section
added 3 libraries
Arran Cudbard-Bell [Thu, 21 Mar 2013 07:19:08 +0000 (03:19 -0400)]
More debugging
Arran Cudbard-Bell [Thu, 21 Mar 2013 06:53:34 +0000 (02:53 -0400)]
See what talloc report gives us
Arran Cudbard-Bell [Thu, 21 Mar 2013 06:45:27 +0000 (02:45 -0400)]
We don't know it's not valid, just that it's not set
Arran Cudbard-Bell [Thu, 21 Mar 2013 06:43:09 +0000 (02:43 -0400)]
Add more opportunistic debugging in pairbasicfree
Arran Cudbard-Bell [Thu, 21 Mar 2013 06:29:58 +0000 (02:29 -0400)]
Add assert to pairbasicfree to check for da
Arran Cudbard-Bell [Thu, 21 Mar 2013 06:21:47 +0000 (02:21 -0400)]
Verify VPs are still viable in pair_list functions
Arran Cudbard-Bell [Thu, 21 Mar 2013 05:23:53 +0000 (01:23 -0400)]
Minor typo
Arran Cudbard-Bell [Thu, 21 Mar 2013 05:23:08 +0000 (01:23 -0400)]
Add assert to catch NULL source context
Arran Cudbard-Bell [Thu, 21 Mar 2013 04:55:28 +0000 (00:55 -0400)]
Don't segv if we didn't managed to load one of the eap methods
Arran Cudbard-Bell [Thu, 21 Mar 2013 04:54:59 +0000 (00:54 -0400)]
Kill another smurf
Arran Cudbard-Bell [Thu, 21 Mar 2013 04:33:07 +0000 (00:33 -0400)]
Apparently none of the range constructs work in Travis
Arran Cudbard-Bell [Thu, 21 Mar 2013 03:10:17 +0000 (23:10 -0400)]
Add -P argument to always write PID, and fix tests
Arran Cudbard-Bell [Thu, 21 Mar 2013 01:52:14 +0000 (21:52 -0400)]
GDB is apparently not available by default
Arran Cudbard-Bell [Wed, 20 Mar 2013 23:31:52 +0000 (19:31 -0400)]
Attempt at autobacktrace on segv
Alan T. DeKok [Wed, 20 Mar 2013 23:22:11 +0000 (19:22 -0400)]
Fix typo.
Set "from" to NULL after we steal all of the VPs
Alan T. DeKok [Wed, 20 Mar 2013 21:59:56 +0000 (17:59 -0400)]
pairadd(paircopy)) instead of paircopy/pairmove/pairfree
Alan T. DeKok [Wed, 20 Mar 2013 21:56:05 +0000 (17:56 -0400)]
most of the rest of the code has packet/reply, not request/reply
Yes, it's not perfect... but it makes the next commit easier
Alan T. DeKok [Wed, 20 Mar 2013 21:20:07 +0000 (17:20 -0400)]
Audit the code to pass correct parent to pair() functions
Alan T. DeKok [Wed, 20 Mar 2013 21:19:40 +0000 (17:19 -0400)]
Fix arguments to gen keys
Now that we have packet, we don't have to pass a VPS pointer
Alan T. DeKok [Wed, 20 Mar 2013 21:06:28 +0000 (17:06 -0400)]
Use pairmove2() instead of pairadd(a,b);b=NULL
Now that we use talloc, we have to re-parent everything
properly.
Alan T. DeKok [Wed, 20 Mar 2013 21:06:09 +0000 (17:06 -0400)]
Allow attr/vendor of 0 in pairmove, which means "move all"
Alan T. DeKok [Wed, 20 Mar 2013 18:33:15 +0000 (14:33 -0400)]
Simplify code
Alan T. DeKok [Wed, 20 Mar 2013 18:32:33 +0000 (14:32 -0400)]
Use correct context for paircopy
Arran Cudbard-Bell [Wed, 20 Mar 2013 16:40:31 +0000 (12:40 -0400)]
Initialise more things
Arran Cudbard-Bell [Wed, 20 Mar 2013 16:38:09 +0000 (12:38 -0400)]
Quiet dumb compiler
Alan T. DeKok [Wed, 20 Mar 2013 16:28:13 +0000 (12:28 -0400)]
RADIUS over TCP, and RADIUS over TLS RFCs
Alan T. DeKok [Wed, 20 Mar 2013 16:23:04 +0000 (12:23 -0400)]
Steal pointers on pairmove. Closes #232
We need to update pairmove() to steal the VP from its parent,
otherwise when we free the parent, we'll free the VP, even though
it's on a new list.
Arran Cudbard-Bell [Wed, 20 Mar 2013 16:11:39 +0000 (12:11 -0400)]
Typo
Alan T. DeKok [Wed, 20 Mar 2013 15:55:19 +0000 (08:55 -0700)]
Re-run configure after removing shell-style comments
Alan T. DeKok [Wed, 20 Mar 2013 15:54:59 +0000 (08:54 -0700)]
Ignore modules which have not yet been configured
Alan T. DeKok [Wed, 20 Mar 2013 15:45:43 +0000 (11:45 -0400)]
Remove '#' comments in configure.in files
They're m4, not shell
Alan T. DeKok [Wed, 20 Mar 2013 15:25:57 +0000 (11:25 -0400)]
Fix typo
Alan T. DeKok [Wed, 20 Mar 2013 15:24:56 +0000 (11:24 -0400)]
running configure depends on src/freeradius-devel
Because IMACROS uses it, and IMACROS goes into CFLAGS,
and CFLAGS is used when running configure checks
Alan T. DeKok [Wed, 20 Mar 2013 15:19:16 +0000 (11:19 -0400)]
Revert last commit, it doesn't work
Alan T. DeKok [Wed, 20 Mar 2013 15:16:30 +0000 (11:16 -0400)]
Ensure we build src/freeradius-devel before doing much else
Arran Cudbard-Bell [Wed, 20 Mar 2013 15:02:04 +0000 (11:02 -0400)]
Initialise more values
Arran Cudbard-Bell [Wed, 20 Mar 2013 14:16:05 +0000 (10:16 -0400)]
Cleanup edir code, always build edir code
Alan T. DeKok [Wed, 20 Mar 2013 14:01:44 +0000 (10:01 -0400)]
Remove old cruft for libtool
Alan T. DeKok [Wed, 20 Mar 2013 14:00:03 +0000 (10:00 -0400)]
Load all modules, including ones which are not configured
And sort for duplicates. This allows us to "clean" a module,
and it will still be configured and then loaded and built
Arran Cudbard-Bell [Wed, 20 Mar 2013 13:38:04 +0000 (09:38 -0400)]
Typo
Arran Cudbard-Bell [Wed, 20 Mar 2013 13:34:52 +0000 (09:34 -0400)]
More LDAP fixes
Alan T. DeKok [Wed, 20 Mar 2013 13:05:08 +0000 (09:05 -0400)]
Fix typo
Arran Cudbard-Bell [Wed, 20 Mar 2013 12:59:13 +0000 (08:59 -0400)]
Fixup edir code
Alan T. DeKok [Wed, 20 Mar 2013 12:54:57 +0000 (08:54 -0400)]
Wrap configure rules in checks for autoconf
Alan T. DeKok [Wed, 20 Mar 2013 12:48:45 +0000 (08:48 -0400)]
Ensure we link the header directory before building anything
And the top-level IMACRO shouldn't really be poking the src
tree...
Alan T. DeKok [Wed, 20 Mar 2013 04:12:57 +0000 (00:12 -0400)]
Fix typo
Alan T. DeKok [Wed, 20 Mar 2013 03:20:27 +0000 (23:20 -0400)]
Minor changes to output
Alan T. DeKok [Wed, 20 Mar 2013 03:18:46 +0000 (23:18 -0400)]
Fix typo
Alan T. DeKok [Wed, 20 Mar 2013 03:15:35 +0000 (23:15 -0400)]
Fix typo in wrong function
Alan T. DeKok [Wed, 20 Mar 2013 03:14:00 +0000 (23:14 -0400)]
There's no reason to have cf_parse_item take a NULL cs
Arran Cudbard-Bell [Wed, 20 Mar 2013 03:14:53 +0000 (23:14 -0400)]
Fix coverity issues in rlm_ldap
Arran Cudbard-Bell [Wed, 20 Mar 2013 03:14:42 +0000 (23:14 -0400)]
Fix rlm_pam
Alan T. DeKok [Wed, 20 Mar 2013 03:11:18 +0000 (23:11 -0400)]
Use da->name, not vp->da->name
Alan T. DeKok [Wed, 20 Mar 2013 03:10:01 +0000 (23:10 -0400)]
Check for NULL from talloc
Alan T. DeKok [Wed, 20 Mar 2013 03:07:52 +0000 (23:07 -0400)]
Fix type typo
Alan T. DeKok [Wed, 20 Mar 2013 03:06:46 +0000 (23:06 -0400)]
eap_method_select returns eap_rcode_t, not eap_code_t
Alan T. DeKok [Wed, 20 Mar 2013 03:02:33 +0000 (23:02 -0400)]
Change && to ||
Alan T. DeKok [Wed, 20 Mar 2013 03:00:02 +0000 (23:00 -0400)]
Hard-code configure rule
Alan T. DeKok [Wed, 20 Mar 2013 02:43:54 +0000 (22:43 -0400)]
Make magic.
If config.log exists,
Grab the "configure" args from it,
and make the "*mk" files depend on "*.mk.in" and "configure".
If the *.mk.in file changes, or "configure" changes,
then re-run "configure" in that subdirectory, to re-generate
the *.mk file.
Right now it works with all.mk files, but not other *.mk files.
to be done later...
Alan T. DeKok [Wed, 20 Mar 2013 02:31:42 +0000 (22:31 -0400)]
More function renaming
preproxy --> pre_proxy, etc.
Arran Cudbard-Bell [Wed, 20 Mar 2013 02:45:45 +0000 (22:45 -0400)]
Fix typo in securid
Alan T. DeKok [Wed, 20 Mar 2013 02:12:33 +0000 (22:12 -0400)]
Mode sql_foo to mod_foo changes
Alan T. DeKok [Wed, 20 Mar 2013 02:01:31 +0000 (22:01 -0400)]
This is no longer necessary.
The passwd module can read CSV files and map them to attributes.
This module requires a CSV file with three contiguous lines
for one IMSI. It's only used for testing, and not in production.
There are better ways to test the code.
Alan T. DeKok [Wed, 20 Mar 2013 01:56:05 +0000 (21:56 -0400)]
Last one
Alan T. DeKok [Wed, 20 Mar 2013 01:51:07 +0000 (21:51 -0400)]
Fix configure scripts, missed in earlier commit
Alan T. DeKok [Wed, 20 Mar 2013 00:26:23 +0000 (20:26 -0400)]
Re-name all of the module functions.
Instead of eap_foo, we now have mod_foo.
The core functions module_foo have been renamed to process_foo
Change via Perl:
perl -p -i -e 's/([^a-z_])module_(instantiate|detach|authorize|authenticate|post_auth|accounting|pre_acct|checksimul|pre_proxy|post_proxy|recv_coa|send_coa)([^a-z_])/${1}4321_${2}${3}/g' $(find src/ -name "*.[ch]" -print)
perl -p -i -e 's/[a-z_]+_(instantiate|detach|authorize|authenticate|post_auth|accounting|pre_acct|checksimul|pre_proxy|post_proxy|recv_coa|send_coa)([^a-z_]?)/mod_$1$2/g;' $(find src/modules -name "*.[ch]" -print)
perl -p -i -e 's/([^a-z_])4321_([a-z_]+[^a-z_])/${1}process_${2}/g' $(find src/ -name "*.[ch]" -print)
With some manual editing of Perl, Python, and Ruby
Alan T. DeKok [Wed, 20 Mar 2013 00:12:30 +0000 (20:12 -0400)]
Rename functions
Alan T. DeKok [Tue, 19 Mar 2013 23:41:41 +0000 (19:41 -0400)]
Use consitent names for *_cflags and *_ldflags.
mod_ldflags is better than eap_cflags. It's more consistent
(but less cutesy), and allows for more files to be copied
from one module to another without changes
$ perl -p -i -e 's/[a-z_]+_ldflags/mod_ldflags/g;s/[a-z_]+_cflags/mod_cflags/g;' $(find src/ -name "configure.in" -print)I
Arran Cudbard-Bell [Tue, 19 Mar 2013 23:29:03 +0000 (19:29 -0400)]
Fix documentation and typo
Arran Cudbard-Bell [Tue, 19 Mar 2013 23:08:54 +0000 (19:08 -0400)]
Explicitly specify whether we want to query to get the user's DN
Alan T. DeKok [Tue, 19 Mar 2013 23:02:39 +0000 (19:02 -0400)]
cleanups for doxygen
Alan T. DeKok [Tue, 19 Mar 2013 23:00:58 +0000 (19:00 -0400)]
cleanups for doxygen
Alan T. DeKok [Tue, 19 Mar 2013 22:42:10 +0000 (18:42 -0400)]
docs for doxygen
Alan T. DeKok [Tue, 19 Mar 2013 22:41:57 +0000 (18:41 -0400)]
Docs for doxygen
Alan T. DeKok [Tue, 19 Mar 2013 21:50:05 +0000 (17:50 -0400)]
Tests depend on radiusd && radclient, too
Alan T. DeKok [Tue, 19 Mar 2013 21:48:13 +0000 (17:48 -0400)]
Document talloc parameters
Alan T. DeKok [Tue, 19 Mar 2013 21:40:27 +0000 (17:40 -0400)]
Convert module to using talloc