]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
13 years agoAdd base64 encoding/decoding library 106/head
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

13 years agoFixup radius_xlat calls to pass inst (was missed from previous commit)
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

13 years agoMerge pull request #105 from arr2036/master
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

13 years agoIf no check query is configured, skip it and run the reply queries 105/head
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

13 years agoMerge pull request #102 from philmayers/misc-fixes
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

13 years agofix pairmake->pairmake_xlat->pairmake recursive calls with regexps; lets regexps... 102/head
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

13 years agodifferent numbers of foreach and xlats - use separate loop
Phil Mayers [Sat, 6 Oct 2012 12:53:32 +0000 (13:53 +0100)] 
different numbers of foreach and xlats - use separate loop

13 years agoconvert the VP we are passed rather than xlat the check->name; makes regex matches...
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

13 years agoMerge pull request #101 from philmayers/escape-context2
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

13 years agopass redis instance to escape function - currently unused 101/head
Phil Mayers [Fri, 21 Sep 2012 17:06:21 +0000 (18:06 +0100)] 
pass redis instance to escape function - currently unused

13 years agopass LDAP 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

13 years agorlm_sqlcounter: remove SQL escaping, let the SQL module handle it
Phil Mayers [Fri, 21 Sep 2012 17:04:03 +0000 (18:04 +0100)] 
rlm_sqlcounter: remove SQL escaping, let the SQL module handle it

13 years agorlm_sqlippool: pass sql instance to sql escape func
Phil Mayers [Fri, 21 Sep 2012 16:59:37 +0000 (17:59 +0100)] 
rlm_sqlippool: pass sql instance to sql escape func

13 years agorlm_sql_log: use escape function argument to make safe-characters per-instance rather...
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

13 years agorlm_sql: use escape function argument to make safe-characters per-instance rather...
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

13 years agono-op escape function no longer needed
Phil Mayers [Fri, 21 Sep 2012 16:51:56 +0000 (17:51 +0100)] 
no-op escape function no longer needed

13 years agoremove dead code path
Phil Mayers [Fri, 21 Sep 2012 16:49:34 +0000 (17:49 +0100)] 
remove dead code path

13 years agoadd REQUEST* and void* to escape functions
Phil Mayers [Fri, 21 Sep 2012 16:47:25 +0000 (17:47 +0100)] 
add REQUEST* and void* to escape functions

13 years agoremove escape function from xlat handlers; perform escaping *once* in decode_attribute
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

13 years agoadd extra argument to radius_xlat for escape function context - currently unused
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

13 years agofix soh_xlat function prototype; fix warning about const discarded
Phil Mayers [Fri, 21 Sep 2012 14:42:44 +0000 (15:42 +0100)] 
fix soh_xlat function prototype; fix warning about const discarded

13 years agofix redis_xlat function prototype and remove cast so compiler can detect errors
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

13 years agofix cache_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

13 years agofix sql_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

13 years agoMerge pull request #87 from armitasp/master
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

13 years agoMerge pull request #99 from sionescu/wip-fix-with-system-libtool
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

13 years agoFix formatting
Arran Cudbard-Bell [Wed, 3 Oct 2012 17:31:21 +0000 (12:31 -0500)] 
Fix formatting

13 years agoMerge pull request #100 from mcnewton/rlm_pap_tidy
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

13 years agoupdate upgrade documentation with User-Password deprecation note 100/head
Matthew Newton [Wed, 3 Oct 2012 00:32:58 +0000 (01:32 +0100)] 
update upgrade documentation with User-Password deprecation note

13 years agoremove auth check against User-Password, add autz warning
Matthew Newton [Wed, 3 Oct 2012 00:14:44 +0000 (01:14 +0100)] 
remove auth check against User-Password, add autz warning

13 years agoLook for /usr/local/etc/freeradius and use it in preference to /etc/freeradius
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

13 years agoFix --with-system-libltdl and --with-system-libtool 99/head
Stelian Ionescu [Tue, 2 Oct 2012 18:00:24 +0000 (20:00 +0200)] 
Fix --with-system-libltdl and --with-system-libtool

13 years agoMerge pull request #54 from mcnewton/patch-client-cert
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

13 years agoRemove unused definitions
Alan T. DeKok [Sat, 29 Sep 2012 05:10:06 +0000 (07:10 +0200)] 
Remove unused definitions

13 years agoadd User-Password warning to rlm_chap
Matthew Newton [Fri, 28 Sep 2012 23:16:38 +0000 (00:16 +0100)] 
add User-Password warning to rlm_chap

13 years agoremove ifs and returns from attribute detection loop
Matthew Newton [Fri, 28 Sep 2012 22:12:03 +0000 (23:12 +0100)] 
remove ifs and returns from attribute detection loop

13 years agobreak pap auth up into smaller functions, remove goto mess
Matthew Newton [Fri, 28 Sep 2012 21:26:54 +0000 (22:26 +0100)] 
break pap auth up into smaller functions, remove goto mess

13 years agostart tidy of rlm_pap - move crypt to separate function
Matthew Newton [Fri, 28 Sep 2012 16:51:58 +0000 (17:51 +0100)] 
start tidy of rlm_pap - move crypt to separate function

13 years agoremove encryption_scheme option & related code from rlm_pap
Matthew Newton [Fri, 28 Sep 2012 15:58:37 +0000 (16:58 +0100)] 
remove encryption_scheme option & related code from rlm_pap

13 years agoMerge pull request #95 from alanbuxey/master
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

13 years agoadded better compatibility with eduroam requirements 95/head
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

13 years agoFix to work with jlibtool
Alan T. DeKok [Fri, 28 Sep 2012 11:41:18 +0000 (13:41 +0200)] 
Fix to work with jlibtool

13 years agoAdded Makefile for new build system
Alan T. DeKok [Fri, 28 Sep 2012 11:24:49 +0000 (13:24 +0200)] 
Added Makefile for new build system

13 years agoInclude all sub-modules, if they're built
Alan T. DeKok [Fri, 28 Sep 2012 11:13:31 +0000 (13:13 +0200)] 
Include all sub-modules, if they're built

13 years agoMerge pull request #94 from mcnewton/auth_tidy
Arran Cudbard-Bell [Fri, 28 Sep 2012 09:13:21 +0000 (02:13 -0700)] 
Merge pull request #94 from mcnewton/auth_tidy

Auth tidy

13 years agoAdd options for -4 and -6 IP families, like radclient.
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

13 years ago rse PPPHint better
Alan T. DeKok [Fri, 28 Sep 2012 08:28:28 +0000 (10:28 +0200)] 
 rse PPPHint better

13 years agofix encryption_scheme option in rlm_pap, and update to Cleartext-Password 94/head
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

13 years agotidy comments in auth.c
Matthew Newton [Thu, 27 Sep 2012 22:46:00 +0000 (23:46 +0100)] 
tidy comments in auth.c

13 years agomove User-Password warning from auth.c to rlm_pap
Matthew Newton [Thu, 27 Sep 2012 22:38:57 +0000 (23:38 +0100)] 
move User-Password warning from auth.c to rlm_pap

13 years agoDon't copy User-Password -> Cleartext-Password. They need to reconfigure if it breaks.
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.

13 years agoRemove code for Auth-Types Local and Crypt; pap or chap should be used instead
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

13 years agodebug: should output previous level instead of the level that was just set.
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.

13 years agoUpdate share/dictionary.bskyb
Arran Cudbard-Bell [Thu, 27 Sep 2012 12:58:30 +0000 (14:58 +0200)] 
Update share/dictionary.bskyb

13 years agoLatest updates
Arran Cudbard-Bell [Thu, 27 Sep 2012 12:57:52 +0000 (14:57 +0200)] 
Latest updates

13 years agoDocument cache parameters in listen + tls, too
Alan T. DeKok [Thu, 27 Sep 2012 11:46:40 +0000 (13:46 +0200)] 
Document cache parameters in listen + tls, too

13 years agoMerge pull request #93 from mcnewton/rad_virtual_server
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

13 years agoMerge pull request #92 from philmayers/sess-persist
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

13 years agorlm_eap virtual servers now call postauth for both accept and reject 93/head
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

13 years agoAdd rad_virtual_server to call rad_authenticate and rad_postauth
Matthew Newton [Tue, 25 Sep 2012 22:04:04 +0000 (23:04 +0100)] 
Add rad_virtual_server to call rad_authenticate and rad_postauth

13 years agoMove rad_postauth ACCEPT from rad_authenticate to request_finish
Matthew Newton [Tue, 25 Sep 2012 21:42:26 +0000 (22:42 +0100)] 
Move rad_postauth ACCEPT from rad_authenticate to request_finish

13 years agoRemove duplicate version/copyright info
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)

13 years agoPass rpath when installing libeap
Arran Cudbard-Bell [Tue, 25 Sep 2012 15:30:53 +0000 (16:30 +0100)] 
Pass rpath when installing libeap

13 years agoMore AL attributes to support their NAT features
Arran Cudbard-Bell [Tue, 25 Sep 2012 13:15:14 +0000 (14:15 +0100)] 
More AL attributes to support their NAT features

13 years agoCheck for dlopen, too
Alan T. DeKok [Sat, 22 Sep 2012 07:58:55 +0000 (09:58 +0200)] 
Check for dlopen, too

13 years agoIf we can't install, print error rather than SEGV
Alan T. DeKok [Sat, 22 Sep 2012 07:51:53 +0000 (09:51 +0200)] 
If we can't install, print error rather than SEGV

13 years agoAdd -rpath to allow it to link && install
Alan T. DeKok [Sat, 22 Sep 2012 07:51:36 +0000 (09:51 +0200)] 
Add -rpath to allow it to link && install

13 years agoHack dependencies to get "touch foo.c;make install" to work
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.

13 years agoadd the ability to persist SSL session cache to disk across server restarts 92/head
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

13 years agoAdd safe-characters function from rlm_sql
Arran Cudbard-Bell [Fri, 21 Sep 2012 12:08:51 +0000 (13:08 +0100)] 
Add safe-characters function from rlm_sql

13 years agoMerge pull request #91 from philmayers/ldap-xlat-escape
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

13 years agowe should use ldap_escape_func when escaping the URL 91/head
Phil Mayers [Thu, 20 Sep 2012 16:24:55 +0000 (17:24 +0100)] 
we should use ldap_escape_func when escaping the URL

13 years agoStart removing the old one char expansions
Arran Cudbard-Bell [Thu, 20 Sep 2012 13:25:47 +0000 (14:25 +0100)] 
Start removing the old one char expansions

13 years agoMove string manipulation functions from xlat.c to rlm_expr
Arran Cudbard-Bell [Thu, 20 Sep 2012 12:55:08 +0000 (13:55 +0100)] 
Move string manipulation functions from xlat.c to rlm_expr

13 years agoRemove b from randstr and implement h (hex encoded b)
Arran Cudbard-Bell [Thu, 20 Sep 2012 12:54:16 +0000 (13:54 +0100)] 
Remove b from randstr and implement h (hex encoded b)

13 years agoMark instance as unused in %{rand:}
Arran Cudbard-Bell [Thu, 20 Sep 2012 12:49:19 +0000 (13:49 +0100)] 
Mark instance as unused in %{rand:}

13 years agoMerge pull request #90 from philmayers/urlquote
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

13 years agoadd urlquote xlat - useful for LDAP DNs with comma, backslash 90/head
Phil Mayers [Wed, 19 Sep 2012 16:21:06 +0000 (17:21 +0100)] 
add urlquote xlat - useful for LDAP DNs with comma, backslash

13 years agoQuiet the compiler
Arran Cudbard-Bell [Wed, 19 Sep 2012 14:00:16 +0000 (15:00 +0100)] 
Quiet the compiler

13 years agoAdd dictionary for BSkyB
Arran Cudbard-Bell [Wed, 19 Sep 2012 13:30:01 +0000 (14:30 +0100)] 
Add dictionary for BSkyB

13 years agoremove compilation warnings
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

13 years agoremoved 2 compilation warnings
Alan Buxey [Tue, 18 Sep 2012 19:53:42 +0000 (20:53 +0100)] 
removed 2 compilation warnings

macaddr->length and sizeof are unsigned longs

13 years agoDon't use ci to iterate over subsections if we might need to use it for logging later
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

13 years agoUpdate links that point to wiki pages
Arran Cudbard-Bell [Mon, 17 Sep 2012 12:52:45 +0000 (13:52 +0100)] 
Update links that point to wiki pages

13 years agoAdd bounds check for max_queue_size
Arran Cudbard-Bell [Mon, 17 Sep 2012 12:42:51 +0000 (13:42 +0100)] 
Add bounds check for max_queue_size

13 years agoUse max_queue_size when initializing the queues
Alan T. DeKok [Tue, 21 Aug 2012 13:31:09 +0000 (15:31 +0200)] 
Use max_queue_size when initializing the queues

13 years agoAdd alphanumeric char class
Arran Cudbard-Bell [Sun, 16 Sep 2012 08:49:33 +0000 (09:49 +0100)] 
Add alphanumeric char class

13 years agoUse -rpath on install, so that we know the installation path
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

13 years agoBetter errors. Use install path, if it exists
Alan T. DeKok [Sun, 16 Sep 2012 07:38:32 +0000 (09:38 +0200)] 
Better errors.  Use install path, if it exists

13 years agoAdd randstr expansion to generate random strings up to 256 bytes
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

13 years agoAs posted to the Wiki
Alan T. DeKok [Sun, 29 Apr 2012 07:23:23 +0000 (09:23 +0200)] 
As posted to the Wiki

13 years agoRemove --finish for library directory
Alan T. DeKok [Fri, 14 Sep 2012 15:01:18 +0000 (17:01 +0200)] 
Remove --finish for library directory

13 years agoFinish getting rid of radwatch
Alan T. DeKok [Fri, 14 Sep 2012 15:01:08 +0000 (17:01 +0200)] 
Finish getting rid of radwatch

13 years agoSkip OCSP if there's no host / port / url
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.

13 years agoFix typo
Arran Cudbard-Bell [Fri, 14 Sep 2012 07:45:34 +0000 (08:45 +0100)] 
Fix typo

13 years agogit show-ref works in more cases than git tag
Arran Cudbard-Bell [Thu, 13 Sep 2012 18:21:46 +0000 (19:21 +0100)] 
git show-ref works in more cases than git tag

13 years agoHacks to make it work with jlibtool
Alan T. DeKok [Thu, 13 Sep 2012 13:00:13 +0000 (15:00 +0200)] 
Hacks to make it work with jlibtool

13 years agoFix pattern substitution to work only for C/CPP
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

13 years agoAllow building without TLS
Alan T. DeKok [Thu, 13 Sep 2012 12:54:46 +0000 (14:54 +0200)] 
Allow building without TLS

13 years agoAccept --quiet as a synonym for --silent
Alan T. DeKok [Thu, 13 Sep 2012 12:39:36 +0000 (14:39 +0200)] 
Accept --quiet as a synonym for --silent