]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Arran Cudbard-Bell [Sun, 14 Oct 2012 19:59:31 +0000 (20:59 +0100)]
Add base64 encoding/decoding library
Add %{base64:} expansion to encode the raw octets of an attribute
Add %{strtobase64:} expansion to encode a string to base64
Add %{base64tostr:} expansion to decode a base64 string
Arran Cudbard-Bell [Sun, 14 Oct 2012 16:31:14 +0000 (17:31 +0100)]
Fixup radius_xlat calls to pass inst (was missed from previous commit)
Minor reformatting
Arran Cudbard-Bell [Fri, 12 Oct 2012 15:25:04 +0000 (08:25 -0700)]
Merge pull request #105 from arr2036/master
Fix issue posted to list regarding null check query
Arran Cudbard-Bell [Fri, 12 Oct 2012 14:34:50 +0000 (15:34 +0100)]
If no check query is configured, skip it and run the reply queries
Fix authorize function to be more sane
Alan DeKok [Sun, 7 Oct 2012 16:40:45 +0000 (09:40 -0700)]
Merge pull request #102 from philmayers/misc-fixes
3 minor fixes - regexp and foreach related
Phil Mayers [Sat, 6 Oct 2012 13:00:47 +0000 (14:00 +0100)]
fix pairmake->pairmake_xlat->pairmake recursive calls with regexps; lets regexps work in "users" files again
Phil Mayers [Sat, 6 Oct 2012 12:53:32 +0000 (13:53 +0100)]
different numbers of foreach and xlats - use separate loop
Phil Mayers [Sat, 6 Oct 2012 12:34:01 +0000 (13:34 +0100)]
convert the VP we are passed rather than xlat the check->name; makes regex matches against multiple attributes work again
Alan DeKok [Fri, 5 Oct 2012 12:07:43 +0000 (05:07 -0700)]
Merge pull request #101 from philmayers/escape-context2
Re-work escape functions to have REQUEST* and context variables
Phil Mayers [Fri, 21 Sep 2012 17:06:21 +0000 (18:06 +0100)]
pass redis instance to escape function - currently unused
Phil Mayers [Fri, 21 Sep 2012 17:05:31 +0000 (18:05 +0100)]
pass LDAP instance to escape function - currently unused
Phil Mayers [Fri, 21 Sep 2012 17:04:03 +0000 (18:04 +0100)]
rlm_sqlcounter: remove SQL escaping, let the SQL module handle it
Phil Mayers [Fri, 21 Sep 2012 16:59:37 +0000 (17:59 +0100)]
rlm_sqlippool: pass sql instance to sql escape func
Phil Mayers [Fri, 21 Sep 2012 16:57:42 +0000 (17:57 +0100)]
rlm_sql_log: use escape function argument to make safe-characters per-instance rather than global
Phil Mayers [Fri, 21 Sep 2012 16:55:48 +0000 (17:55 +0100)]
rlm_sql: use escape function argument to make safe-characters per-instance rather than global
Phil Mayers [Fri, 21 Sep 2012 16:51:56 +0000 (17:51 +0100)]
no-op escape function no longer needed
Phil Mayers [Fri, 21 Sep 2012 16:49:34 +0000 (17:49 +0100)]
remove dead code path
Phil Mayers [Fri, 21 Sep 2012 16:47:25 +0000 (17:47 +0100)]
add REQUEST* and void* to escape functions
Phil Mayers [Fri, 5 Oct 2012 11:52:12 +0000 (12:52 +0100)]
remove escape function from xlat handlers; perform escaping *once* in decode_attribute
Phil Mayers [Fri, 21 Sep 2012 15:27:38 +0000 (16:27 +0100)]
add extra argument to radius_xlat for escape function context - currently unused
Phil Mayers [Fri, 21 Sep 2012 14:42:44 +0000 (15:42 +0100)]
fix soh_xlat function prototype; fix warning about const discarded
Phil Mayers [Fri, 21 Sep 2012 14:41:59 +0000 (15:41 +0100)]
fix redis_xlat function prototype and remove cast so compiler can detect errors
Phil Mayers [Fri, 21 Sep 2012 14:41:23 +0000 (15:41 +0100)]
fix cache_xlat function prototype and remove cast so compiler can detect errors
Phil Mayers [Fri, 21 Sep 2012 14:41:00 +0000 (15:41 +0100)]
fix sql_xlat function prototype and remove cast so compiler can detect errors
Arran Cudbard-Bell [Thu, 4 Oct 2012 16:11:40 +0000 (09:11 -0700)]
Merge pull request #87 from armitasp/master
Minor policy.d/operator-name fix
Alan DeKok [Thu, 4 Oct 2012 10:40:51 +0000 (03:40 -0700)]
Merge pull request #99 from sionescu/wip-fix-with-system-libtool
Fix --with-system-libltdl and --with-system-libtool
Arran Cudbard-Bell [Wed, 3 Oct 2012 17:31:21 +0000 (12:31 -0500)]
Fix formatting
Arran Cudbard-Bell [Wed, 3 Oct 2012 17:29:29 +0000 (10:29 -0700)]
Merge pull request #100 from mcnewton/rlm_pap_tidy
Rlm pap tidy
Matthew Newton [Wed, 3 Oct 2012 00:32:58 +0000 (01:32 +0100)]
update upgrade documentation with User-Password deprecation note
Matthew Newton [Wed, 3 Oct 2012 00:14:44 +0000 (01:14 +0100)]
remove auth check against User-Password, add autz warning
Arran Cudbard-Bell [Wed, 3 Oct 2012 00:02:40 +0000 (19:02 -0500)]
Look for /usr/local/etc/freeradius and use it in preference to /etc/freeradius
Stelian Ionescu [Tue, 2 Oct 2012 18:00:24 +0000 (20:00 +0200)]
Fix --with-system-libltdl and --with-system-libtool
Alan DeKok [Sun, 30 Sep 2012 06:40:10 +0000 (23:40 -0700)]
Merge pull request #54 from mcnewton/patch-client-cert
Add require_client_cert options to EAP-PEAP/TTLS
Alan T. DeKok [Sat, 29 Sep 2012 05:10:06 +0000 (07:10 +0200)]
Remove unused definitions
Matthew Newton [Fri, 28 Sep 2012 23:16:38 +0000 (00:16 +0100)]
add User-Password warning to rlm_chap
Matthew Newton [Fri, 28 Sep 2012 22:12:03 +0000 (23:12 +0100)]
remove ifs and returns from attribute detection loop
Matthew Newton [Fri, 28 Sep 2012 21:26:54 +0000 (22:26 +0100)]
break pap auth up into smaller functions, remove goto mess
Matthew Newton [Fri, 28 Sep 2012 16:51:58 +0000 (17:51 +0100)]
start tidy of rlm_pap - move crypt to separate function
Matthew Newton [Fri, 28 Sep 2012 15:58:37 +0000 (16:58 +0100)]
remove encryption_scheme option & related code from rlm_pap
Arran Cudbard-Bell [Fri, 28 Sep 2012 19:10:50 +0000 (12:10 -0700)]
Merge pull request #95 from alanbuxey/master
better default interop with eduroam
Alan Buxey [Fri, 28 Sep 2012 19:02:12 +0000 (20:02 +0100)]
added better compatibility with eduroam requirements
eduroam use these 2 attributes…by adding them to the default
configuration we should not cause other usage issues but we will make
FreeRADIUS more 'out of the box' ready for eduroam
Alan T. DeKok [Fri, 28 Sep 2012 11:41:18 +0000 (13:41 +0200)]
Fix to work with jlibtool
Alan T. DeKok [Fri, 28 Sep 2012 11:24:49 +0000 (13:24 +0200)]
Added Makefile for new build system
Alan T. DeKok [Fri, 28 Sep 2012 11:13:31 +0000 (13:13 +0200)]
Include all sub-modules, if they're built
Arran Cudbard-Bell [Fri, 28 Sep 2012 09:13:21 +0000 (02:13 -0700)]
Merge pull request #94 from mcnewton/auth_tidy
Auth tidy
Alan T. DeKok [Fri, 28 Sep 2012 08:29:07 +0000 (10:29 +0200)]
Add options for -4 and -6 IP families, like radclient.
Patch from John Dennis
Alan T. DeKok [Fri, 28 Sep 2012 08:28:28 +0000 (10:28 +0200)]
rse PPPHint better
Matthew Newton [Thu, 27 Sep 2012 22:56:30 +0000 (23:56 +0100)]
fix encryption_scheme option in rlm_pap, and update to Cleartext-Password
Matthew Newton [Thu, 27 Sep 2012 22:46:00 +0000 (23:46 +0100)]
tidy comments in auth.c
Matthew Newton [Thu, 27 Sep 2012 22:38:57 +0000 (23:38 +0100)]
move User-Password warning from auth.c to rlm_pap
Matthew Newton [Thu, 27 Sep 2012 22:18:08 +0000 (23:18 +0100)]
Don't copy User-Password -> Cleartext-Password. They need to reconfigure if it breaks.
Matthew Newton [Thu, 27 Sep 2012 21:41:36 +0000 (22:41 +0100)]
Remove code for Auth-Types Local and Crypt; pap or chap should be used instead
Arran Cudbard-Bell [Thu, 27 Sep 2012 18:07:04 +0000 (19:07 +0100)]
debug: should output previous level instead of the level that was just set.
Don't set debug to 0 if no fmt string was passed, do nothing.
Arran Cudbard-Bell [Thu, 27 Sep 2012 12:58:30 +0000 (14:58 +0200)]
Update share/dictionary.bskyb
Arran Cudbard-Bell [Thu, 27 Sep 2012 12:57:52 +0000 (14:57 +0200)]
Latest updates
Alan T. DeKok [Thu, 27 Sep 2012 11:46:40 +0000 (13:46 +0200)]
Document cache parameters in listen + tls, too
Alan DeKok [Thu, 27 Sep 2012 10:07:56 +0000 (03:07 -0700)]
Merge pull request #93 from mcnewton/rad_virtual_server
Update post-auth handling in rad_authenticate etc
Alan DeKok [Thu, 27 Sep 2012 10:07:27 +0000 (03:07 -0700)]
Merge pull request #92 from philmayers/sess-persist
add the ability to persist SSL session cache to disk across server restarts
Matthew Newton [Tue, 25 Sep 2012 22:24:10 +0000 (23:24 +0100)]
rlm_eap virtual servers now call postauth for both accept and reject
Matthew Newton [Tue, 25 Sep 2012 22:04:04 +0000 (23:04 +0100)]
Add rad_virtual_server to call rad_authenticate and rad_postauth
Matthew Newton [Tue, 25 Sep 2012 21:42:26 +0000 (22:42 +0100)]
Move rad_postauth ACCEPT from rad_authenticate to request_finish
Arran Cudbard-Bell [Tue, 25 Sep 2012 19:59:57 +0000 (20:59 +0100)]
Remove duplicate version/copyright info
Print compilation flags at DEBUG >= 3 (this is actually useful if you're using a package version)
Arran Cudbard-Bell [Tue, 25 Sep 2012 15:30:53 +0000 (16:30 +0100)]
Pass rpath when installing libeap
Arran Cudbard-Bell [Tue, 25 Sep 2012 13:15:14 +0000 (14:15 +0100)]
More AL attributes to support their NAT features
Alan T. DeKok [Sat, 22 Sep 2012 07:58:55 +0000 (09:58 +0200)]
Check for dlopen, too
Alan T. DeKok [Sat, 22 Sep 2012 07:51:53 +0000 (09:51 +0200)]
If we can't install, print error rather than SEGV
Alan T. DeKok [Sat, 22 Sep 2012 07:51:36 +0000 (09:51 +0200)]
Add -rpath to allow it to link && install
Alan T. DeKok [Sat, 22 Sep 2012 07:32:32 +0000 (09:32 +0200)]
Hack dependencies to get "touch foo.c;make install" to work
the installed files depend on the "relink" versions, which have
the correct library paths in them. The normal versions have the
in-source paths, to allow in-source execution.
The relink versions now have a dependency on the normal versions,
which causes the normal versions to get built, too.
We should probably change the "relink" target to "final", and
get rid of the ADD_LIBTOOL_PATH stuff.
Phil Mayers [Fri, 21 Sep 2012 12:45:22 +0000 (13:45 +0100)]
add the ability to persist SSL session cache to disk across server restarts
Arran Cudbard-Bell [Fri, 21 Sep 2012 12:08:51 +0000 (13:08 +0100)]
Add safe-characters function from rlm_sql
Arran Cudbard-Bell [Thu, 20 Sep 2012 17:17:48 +0000 (10:17 -0700)]
Merge pull request #91 from philmayers/ldap-xlat-escape
we should use ldap_escape_func when escaping the URL
Phil Mayers [Thu, 20 Sep 2012 16:24:55 +0000 (17:24 +0100)]
we should use ldap_escape_func when escaping the URL
Arran Cudbard-Bell [Thu, 20 Sep 2012 13:25:47 +0000 (14:25 +0100)]
Start removing the old one char expansions
Arran Cudbard-Bell [Thu, 20 Sep 2012 12:55:08 +0000 (13:55 +0100)]
Move string manipulation functions from xlat.c to rlm_expr
Arran Cudbard-Bell [Thu, 20 Sep 2012 12:54:16 +0000 (13:54 +0100)]
Remove b from randstr and implement h (hex encoded b)
Arran Cudbard-Bell [Thu, 20 Sep 2012 12:49:19 +0000 (13:49 +0100)]
Mark instance as unused in %{rand:}
Alan DeKok [Thu, 20 Sep 2012 08:26:29 +0000 (01:26 -0700)]
Merge pull request #90 from philmayers/urlquote
add urlquote xlat - useful for LDAP DNs with comma, backslash
Phil Mayers [Wed, 19 Sep 2012 16:21:06 +0000 (17:21 +0100)]
add urlquote xlat - useful for LDAP DNs with comma, backslash
Arran Cudbard-Bell [Wed, 19 Sep 2012 14:00:16 +0000 (15:00 +0100)]
Quiet the compiler
Arran Cudbard-Bell [Wed, 19 Sep 2012 13:30:01 +0000 (14:30 +0100)]
Add dictionary for BSkyB
Alan Buxey [Tue, 18 Sep 2012 21:24:52 +0000 (22:24 +0100)]
remove compilation warnings
2 "warning: format '%ld' expects type 'long int', but argument 3 has
type 'ssize_t'" messages removed
Alan Buxey [Tue, 18 Sep 2012 19:53:42 +0000 (20:53 +0100)]
removed 2 compilation warnings
macaddr->length and sizeof are unsigned longs
Arran Cudbard-Bell [Tue, 18 Sep 2012 13:15:14 +0000 (14:15 +0100)]
Don't use ci to iterate over subsections if we might need to use it for logging later
Arran Cudbard-Bell [Mon, 17 Sep 2012 12:52:45 +0000 (13:52 +0100)]
Update links that point to wiki pages
Arran Cudbard-Bell [Mon, 17 Sep 2012 12:42:51 +0000 (13:42 +0100)]
Add bounds check for max_queue_size
Alan T. DeKok [Tue, 21 Aug 2012 13:31:09 +0000 (15:31 +0200)]
Use max_queue_size when initializing the queues
Arran Cudbard-Bell [Sun, 16 Sep 2012 08:49:33 +0000 (09:49 +0100)]
Add alphanumeric char class
Alan T. DeKok [Sun, 16 Sep 2012 07:38:55 +0000 (09:38 +0200)]
Use -rpath on install, so that we know the installation path
Alan T. DeKok [Sun, 16 Sep 2012 07:38:32 +0000 (09:38 +0200)]
Better errors. Use install path, if it exists
Arran Cudbard-Bell [Sat, 15 Sep 2012 18:23:10 +0000 (19:23 +0100)]
Add randstr expansion to generate random strings up to 256 bytes
Alan T. DeKok [Sun, 29 Apr 2012 07:23:23 +0000 (09:23 +0200)]
As posted to the Wiki
Alan T. DeKok [Fri, 14 Sep 2012 15:01:18 +0000 (17:01 +0200)]
Remove --finish for library directory
Alan T. DeKok [Fri, 14 Sep 2012 15:01:08 +0000 (17:01 +0200)]
Finish getting rid of radwatch
Alan T. DeKok [Fri, 14 Sep 2012 08:34:21 +0000 (10:34 +0200)]
Skip OCSP if there's no host / port / url
Manual port of
ff3f27d27 .
Arran Cudbard-Bell [Fri, 14 Sep 2012 07:45:34 +0000 (08:45 +0100)]
Fix typo
Arran Cudbard-Bell [Thu, 13 Sep 2012 18:21:46 +0000 (19:21 +0100)]
git show-ref works in more cases than git tag
Alan T. DeKok [Thu, 13 Sep 2012 13:00:13 +0000 (15:00 +0200)]
Hacks to make it work with jlibtool
Alan T. DeKok [Thu, 13 Sep 2012 12:56:25 +0000 (14:56 +0200)]
Fix pattern substitution to work only for C/CPP
$(SRCS:.c=.o) followed by $(SRCS:.cpp=.o) results in any ".c" files
being added to the output. Using GNU Make features helps fix this
Alan T. DeKok [Thu, 13 Sep 2012 12:54:46 +0000 (14:54 +0200)]
Allow building without TLS
Alan T. DeKok [Thu, 13 Sep 2012 12:39:36 +0000 (14:39 +0200)]
Accept --quiet as a synonym for --silent