freeradius.git
10 years agoMerge pull request #350 from alanbuxey/v2.x.x
Arran Cudbard-Bell [Mon, 8 Jul 2013 18:35:53 +0000 (11:35 -0700)]
Merge pull request #350 from alanbuxey/v2.x.x

DANTE VSA dictionary added

10 years agoDANTE VSA dictionary added
Alan Buxey [Fri, 5 Jul 2013 20:29:57 +0000 (21:29 +0100)]
DANTE VSA dictionary added

DANTE - IANA number 27262 - first attribute released is RADSEC TTL to
stop loops - like TCP TTL...

10 years agoAdd note on rlm_expr
Arran Cudbard-Bell [Fri, 5 Jul 2013 12:59:56 +0000 (08:59 -0400)]
Add note on rlm_expr

10 years agoMore notes on rlm_expr
Arran Cudbard-Bell [Fri, 5 Jul 2013 12:54:55 +0000 (08:54 -0400)]
More notes on rlm_expr

10 years agoAlways fixup after deleting a black child node in rbtree
skids [Tue, 25 Jun 2013 00:40:48 +0000 (20:40 -0400)]
Always fixup after deleting a black child node in rbtree

This prevents rbtree_delete from creating unbalanced/illegal rbtrees.

10 years agoUse a consistent callback return code
skids [Thu, 20 Jun 2013 20:54:31 +0000 (16:54 -0400)]
Use a consistent callback return code

  This is the one place in the codebase where a positive return code
  is used in an rbtree_walk callback.  Changing it negative should have no
  effect, and keeps options open as to whether to introduce new symbols
  for the next patch to follow, or to change the libfreeradius API
  slightly WRT rbtree callback return codes.

  Whether any third-party add-ons may use positive return codes is not
  known.

10 years agoFix obvious pasto in PostOrder walk.
skids [Thu, 20 Jun 2013 02:47:33 +0000 (22:47 -0400)]
Fix obvious pasto in PostOrder walk.

10 years agoMerge pull request #334 from leprechau/patch-1
Arran Cudbard-Bell [Thu, 27 Jun 2013 12:47:01 +0000 (05:47 -0700)]
Merge pull request #334 from leprechau/patch-1

fix typo

10 years agoFix typo
Alan T. DeKok [Thu, 27 Jun 2013 12:45:24 +0000 (08:45 -0400)]
Fix typo

10 years agofix typo
Aaron Hurt [Thu, 27 Jun 2013 12:44:50 +0000 (07:44 -0500)]
fix typo

10 years agoCatch invalid attribute names for idiots
Alan T. DeKok [Tue, 25 Jun 2013 14:05:12 +0000 (10:05 -0400)]
Catch invalid attribute names for idiots

10 years agocopyright
Arran Cudbard-Bell [Tue, 25 Jun 2013 06:21:29 +0000 (08:21 +0200)]
copyright

10 years agoadd aerohive dictionary
Aaron Hurt [Tue, 25 Jun 2013 05:29:01 +0000 (00:29 -0500)]
add aerohive dictionary

10 years agoerror if wait is not enabled and exec xlat is called
Arran Cudbard-Bell [Mon, 24 Jun 2013 19:40:53 +0000 (20:40 +0100)]
error if wait is not enabled and exec xlat is called

10 years agoMerge pull request #324 from isp-sns-bskyb/v2.x.x
Arran Cudbard-Bell [Mon, 24 Jun 2013 12:28:49 +0000 (05:28 -0700)]
Merge pull request #324 from isp-sns-bskyb/v2.x.x

Changed attributes to octets type

10 years agoChanged attributes to octets type
Rob McAuley [Mon, 24 Jun 2013 12:24:59 +0000 (13:24 +0100)]
Changed attributes to octets type

10 years agoFix lib readline check
Arran Cudbard-Bell [Fri, 21 Jun 2013 11:10:31 +0000 (12:10 +0100)]
Fix lib readline check

10 years agoAdded 3GPP-RAT-Type values from 3GPP TS 29.274
Semih [Thu, 20 Jun 2013 17:51:33 +0000 (20:51 +0300)]
Added 3GPP-RAT-Type values from 3GPP TS 29.274

10 years agoFix error in libreadline check
Arran Cudbard-Bell [Wed, 19 Jun 2013 21:04:01 +0000 (22:04 +0100)]
Fix error in libreadline check

10 years agoRemove .cache file from libltld on make distclean
Arran Cudbard-Bell [Wed, 19 Jun 2013 10:50:06 +0000 (11:50 +0100)]
Remove .cache file from libltld on make distclean

10 years agoNote recent changes
Alan T. DeKok [Wed, 19 Jun 2013 20:12:27 +0000 (16:12 -0400)]
Note recent changes

10 years agoConvert error to warning.
Alan T. DeKok [Wed, 19 Jun 2013 20:01:59 +0000 (16:01 -0400)]
Convert error to warning.

Apparently the User-Name and MS-CHAP identity can be of completely
different character sets.  Ouch!

10 years agoFix digest size for sha1
Arran Cudbard-Bell [Thu, 13 Jun 2013 09:26:05 +0000 (10:26 +0100)]
Fix digest size for sha1

10 years agoDo the lookups only for client certificates
Alan T. DeKok [Thu, 6 Jun 2013 16:48:52 +0000 (12:48 -0400)]
Do the lookups only for client certificates

10 years agoPort TLS-Client-Cert-X509v3* from "master" branch
Alan T. DeKok [Thu, 6 Jun 2013 16:40:23 +0000 (12:40 -0400)]
Port TLS-Client-Cert-X509v3* from "master" branch

11 years agoUpdated VSAs for Nomadix Access Gateway
Ethan Hayon [Tue, 4 Jun 2013 17:27:58 +0000 (13:27 -0400)]
Updated VSAs for Nomadix Access Gateway

11 years agoIt's stupid to use assertions for run-time syntax checks
Alan T. DeKok [Mon, 3 Jun 2013 14:23:11 +0000 (10:23 -0400)]
It's stupid to use assertions for run-time syntax checks

11 years agoNote recent changes
Alan T. DeKok [Thu, 23 May 2013 13:39:02 +0000 (09:39 -0400)]
Note recent changes

11 years agoUpdates
Alan T. DeKok [Tue, 21 May 2013 17:03:59 +0000 (13:03 -0400)]
Updates

11 years agoMerge pull request #293 from fajarnugraha/v2.x.x-suse-20130510
Alan DeKok [Tue, 21 May 2013 13:10:57 +0000 (06:10 -0700)]
Merge pull request #293 from fajarnugraha/v2.x.x-suse-20130510

Fix suse package to build and run cleanly for current v2.x.x branch

11 years agosuse: build fixes
Fajar A. Nugraha [Tue, 21 May 2013 09:05:48 +0000 (16:05 +0700)]
suse: build fixes

* Bump version to 2.2.1
* Only requires sqlite3-devel and libpcap-devel on Suse 11.x and above
* README was renamed to README.rst

11 years agoMake radlog available in the "init" function of the Perl code
Alan T. DeKok [Mon, 13 May 2013 16:31:20 +0000 (12:31 -0400)]
Make radlog available in the "init" function of the Perl code

11 years agoMerge pull request #286 from fajarnugraha/v2.x.x-redhat-20130509
Arran Cudbard-Bell [Thu, 9 May 2013 22:51:15 +0000 (15:51 -0700)]
Merge pull request #286 from fajarnugraha/v2.x.x-redhat-20130509

Fix redhat package to build and run cleanly for current v2.x.x branch

11 years agoRFC 6930 and dictionary
Alan T. DeKok [Thu, 9 May 2013 17:45:47 +0000 (13:45 -0400)]
RFC 6930 and dictionary

11 years agoRFC 6911 and dictionary
Alan T. DeKok [Thu, 9 May 2013 17:43:51 +0000 (13:43 -0400)]
RFC 6911 and dictionary

11 years agoredhat: package all modules in freeradius RPM
Fajar A. Nugraha [Thu, 9 May 2013 11:11:18 +0000 (18:11 +0700)]
redhat: package all modules in freeradius RPM

11 years agoredhat: only keep the last changelog from original spec file
Fajar A. Nugraha [Thu, 9 May 2013 11:09:57 +0000 (18:09 +0700)]
redhat: only keep the last changelog from original spec file

11 years agoredhat: package everything in freeradius rpm
Fajar A. Nugraha [Thu, 9 May 2013 11:04:05 +0000 (18:04 +0700)]
redhat: package everything in freeradius rpm

11 years agoredhat: removed obsolete patches
Fajar A. Nugraha [Thu, 9 May 2013 08:52:59 +0000 (15:52 +0700)]
redhat: removed obsolete patches

11 years agoredhat: README was renamed to README.rst
Fajar A. Nugraha [Thu, 9 May 2013 08:54:03 +0000 (15:54 +0700)]
redhat: README was renamed to README.rst

11 years agoredhat: refresh freeradius-cert-config.patch
Fajar A. Nugraha [Thu, 9 May 2013 09:19:35 +0000 (16:19 +0700)]
redhat: refresh freeradius-cert-config.patch

11 years agoredhat: add "make" to BuildRequires list
Fajar A. Nugraha [Thu, 9 May 2013 09:21:20 +0000 (16:21 +0700)]
redhat: add "make" to BuildRequires list

11 years agoredhat: bump version in specfile to 2.2.1
Fajar A. Nugraha [Thu, 9 May 2013 08:49:39 +0000 (15:49 +0700)]
redhat: bump version in specfile to 2.2.1

11 years agoRefer to smbpasswd module, not etc_smbpasswd
Alan T. DeKok [Wed, 8 May 2013 13:24:17 +0000 (09:24 -0400)]
Refer to smbpasswd module, not etc_smbpasswd

11 years agoBetter checks for decoding base64
Alan T. DeKok [Mon, 6 May 2013 13:00:10 +0000 (09:00 -0400)]
Better checks for decoding base64

If it's not base64, don't do anything

11 years agoWorry about sign overflow in comparisons
Alan T. DeKok [Fri, 3 May 2013 18:12:21 +0000 (14:12 -0400)]
Worry about sign overflow in comparisons

11 years agoFix typo from previous commit
Alan T. DeKok [Wed, 1 May 2013 19:49:09 +0000 (15:49 -0400)]
Fix typo from previous commit

11 years agoThere's light at the end of the tunnel
Alan T. DeKok [Wed, 1 May 2013 18:45:39 +0000 (14:45 -0400)]
There's light at the end of the tunnel

11 years agoAllow two contiguous sub-TLVs of the same number
Alan T. DeKok [Wed, 1 May 2013 12:59:43 +0000 (08:59 -0400)]
Allow two contiguous sub-TLVs of the same number

11 years agoSet the length of the SoH string
Alan T. DeKok [Tue, 30 Apr 2013 22:03:30 +0000 (18:03 -0400)]
Set the length of the SoH string

11 years agoFrom Runcom
Alan T. DeKok [Mon, 29 Apr 2013 18:20:17 +0000 (14:20 -0400)]
From Runcom

11 years ago%t is UTC if global utc is set
Alan T. DeKok [Sat, 27 Apr 2013 15:04:10 +0000 (11:04 -0400)]
%t is UTC if global utc is set

11 years agoUse base64 xlat for xlat base64
Alan T. DeKok [Sat, 27 Apr 2013 15:03:54 +0000 (11:03 -0400)]
Use base64 xlat for xlat base64

11 years agoMerge pull request #281 from alanbuxey/v2.x.x
Arran Cudbard-Bell [Fri, 26 Apr 2013 13:48:14 +0000 (06:48 -0700)]
Merge pull request #281 from alanbuxey/v2.x.x

backport of sha1 expr support

11 years agobackport of sha1 expr support
Alan Buxey [Fri, 26 Apr 2013 11:01:28 +0000 (12:01 +0100)]
backport of sha1 expr support

%{sha1:…} added to HEAD. now this useful function backported to v2.x.x

11 years agoAdd dlink dictionary
Arran Cudbard-Bell [Tue, 23 Apr 2013 11:24:59 +0000 (07:24 -0400)]
Add dlink dictionary

11 years agoUpdates as provided by Giles Scott
Arran Cudbard-Bell [Mon, 22 Apr 2013 19:35:20 +0000 (15:35 -0400)]
Updates as provided by Giles Scott

11 years agoNote recent changes
Alan T. DeKok [Thu, 11 Apr 2013 13:56:07 +0000 (09:56 -0400)]
Note recent changes

11 years agoNote that TLS "random_file" isn't required.
Alan T. DeKok [Thu, 11 Apr 2013 13:51:16 +0000 (09:51 -0400)]
Note that TLS "random_file" isn't required.

OpenSSL reads /dev/urandom anyways.

11 years agodhclient is ISC's thing. Let's rename it
Alan T. DeKok [Thu, 11 Apr 2013 13:22:42 +0000 (09:22 -0400)]
dhclient is ISC's thing.  Let's rename it

11 years agoFix typo
Alan T. DeKok [Tue, 9 Apr 2013 19:00:26 +0000 (15:00 -0400)]
Fix typo

11 years agoReset priority when returning up the call stack
Alan T. DeKok [Tue, 2 Apr 2013 20:21:43 +0000 (16:21 -0400)]
Reset priority when returning up the call stack

11 years agoFix typo: & not &&
Alan T. DeKok [Tue, 2 Apr 2013 15:10:26 +0000 (11:10 -0400)]
Fix typo: & not &&

11 years agoRun through the format script
Alan T. DeKok [Fri, 29 Mar 2013 14:28:03 +0000 (10:28 -0400)]
Run through the format script

11 years agoFix typo and do chrgrp of radiusd (if applicable)
Alan T. DeKok [Fri, 29 Mar 2013 14:26:26 +0000 (10:26 -0400)]
Fix typo and do chrgrp of radiusd (if applicable)

Manual fix for pull #262

11 years agoAdded "show config <path>" to radmin
Alan T. DeKok [Fri, 29 Mar 2013 14:23:47 +0000 (10:23 -0400)]
Added "show config <path>" to radmin

11 years agoUpdated Trapeze dictionary and added one for Meru (as submitted by John Carter)
Arran Cudbard-Bell [Thu, 28 Mar 2013 15:11:24 +0000 (11:11 -0400)]
Updated Trapeze dictionary and added one for Meru (as submitted by John Carter)

11 years agoMerge pull request #256 from olivierbeytrison/v2.x.x
Arran Cudbard-Bell [Thu, 28 Mar 2013 12:46:35 +0000 (05:46 -0700)]
Merge pull request #256 from olivierbeytrison/v2.x.x

fix typo

11 years agofix typo
Olivier Beytrison [Thu, 28 Mar 2013 09:54:26 +0000 (10:54 +0100)]
fix typo

11 years agoNote recent changes
Alan T. DeKok [Tue, 26 Mar 2013 20:55:47 +0000 (16:55 -0400)]
Note recent changes

11 years agoHacks to remove crash on exit
Alan T. DeKok [Tue, 26 Mar 2013 20:47:51 +0000 (16:47 -0400)]
Hacks to remove crash on exit

11 years agoAllow setting Packet-Dst-Port when giaddr is set
Alan T. DeKok [Tue, 26 Mar 2013 12:23:34 +0000 (08:23 -0400)]
Allow setting Packet-Dst-Port when giaddr is set

11 years agoFix horrible hack
Alan T. DeKok [Sun, 24 Mar 2013 13:54:31 +0000 (09:54 -0400)]
Fix horrible hack

The core of rlm_eap expects that "inst" is the structure
containing the parsed config variables.  Using "inst->conf"
instead confuses things.  And is a horrible idea.

So... we just put the conf stuff as the first structure in 'inst'
It's horrid, but simpler than going through and fixing it
correctly.

11 years agoMake "yes" the default for require_message_authenticator
Alan T. DeKok [Tue, 19 Mar 2013 13:18:23 +0000 (09:18 -0400)]
Make "yes" the default for require_message_authenticator

11 years agoMerge pull request #231 from olivierbeytrison/v2.x.x
Arran Cudbard-Bell [Tue, 19 Mar 2013 13:06:08 +0000 (06:06 -0700)]
Merge pull request #231 from olivierbeytrison/v2.x.x

fix dhcp.c for --disable-developper

11 years agofix dhcp.c for --disable-developper
Olivier Beytrison [Tue, 19 Mar 2013 10:41:00 +0000 (11:41 +0100)]
fix dhcp.c for --disable-developper

11 years agoIgnore NULL pathnames
Alan T. DeKok [Sun, 17 Mar 2013 03:54:54 +0000 (23:54 -0400)]
Ignore NULL pathnames

11 years agoUse correct spacing when printing out config file parsing
Alan T. DeKok [Sun, 17 Mar 2013 03:50:01 +0000 (23:50 -0400)]
Use correct spacing when printing out config file parsing

use spaces, not tabs
use %.*s for CONF_PAIRS, too.  Otherwise their indentation
doesn't match that of the parent CONF_SECTION

11 years agoFix minor typos
Alan T. DeKok [Wed, 13 Mar 2013 18:29:40 +0000 (14:29 -0400)]
Fix minor typos

11 years agoFix examples to match Makefile
Alan T. DeKok [Wed, 13 Mar 2013 18:10:37 +0000 (14:10 -0400)]
Fix examples to match Makefile

Apparently some people pedantically read everything, and
get excited when not everything is up to date

11 years agofixed some typos
Alan Buxey [Thu, 14 Mar 2013 20:43:52 +0000 (20:43 +0000)]
fixed some typos

typos….some essential for documentation to be correct, others just annoying

11 years agoNote TLS certificate validation
Arran Cudbard-Bell [Thu, 14 Mar 2013 14:10:34 +0000 (11:10 -0300)]
Note TLS certificate validation

11 years agoAdd notes on virtual_server
Arran Cudbard-Bell [Thu, 14 Mar 2013 14:00:58 +0000 (11:00 -0300)]
Add notes on virtual_server

11 years agoIgnore more things
Arran Cudbard-Bell [Wed, 13 Mar 2013 20:35:18 +0000 (16:35 -0400)]
Ignore more things

11 years agorlm_eap virtual servers now call postauth for both accept and reject
Arran Cudbard-Bell [Wed, 13 Mar 2013 20:22:34 +0000 (16:22 -0400)]
rlm_eap virtual servers now call postauth for both accept and reject

Add rad_virtual_server to call rad_authenticate and rad_postauth

Patch by Matthew Newton

11 years agodded rfc6677.txt to the repository
Alan Buxey [Mon, 11 Mar 2013 11:00:49 +0000 (11:00 +0000)]
dded rfc6677.txt to the repository

..matching recent 3.x update

11 years agowe dont want to rotate this file (already fixed in 3.x)
Alan Buxey [Mon, 11 Mar 2013 11:00:09 +0000 (11:00 +0000)]
we dont want to rotate this file (already fixed in 3.x)

dont rotate radutmp out of the way - its not a log, its a state.

11 years agoAdd call to AC_CANONICAL_SYSTEM to populate $host
Arran Cudbard-Bell [Fri, 8 Mar 2013 19:19:34 +0000 (14:19 -0500)]
Add call to AC_CANONICAL_SYSTEM to populate $host

11 years agoEnsure we exit 0 when rcode=1
Alan T. DeKok [Fri, 8 Mar 2013 14:56:38 +0000 (09:56 -0500)]
Ensure we exit 0 when rcode=1

11 years agoClean up error / debug messages
Alan T. DeKok [Fri, 8 Mar 2013 14:28:04 +0000 (09:28 -0500)]
Clean up error / debug messages

11 years agokeeping up with the RFCs
Alan Buxey [Thu, 7 Mar 2013 20:52:19 +0000 (20:52 +0000)]
keeping up with the RFCs

RFC 6677.  awaiting RFC-ietf-abfab-gss-eap-09 to be passed before
further dictionary changes

11 years agoadded RFC6677 to the main include list
Alan Buxey [Thu, 7 Mar 2013 20:55:54 +0000 (20:55 +0000)]
added RFC6677 to the main include list

wont get used otherwise...

11 years agoMinor verbiology
Alan T. DeKok [Thu, 7 Mar 2013 17:14:12 +0000 (12:14 -0500)]
Minor verbiology

11 years agoMissed in last commit
Alan T. DeKok [Thu, 7 Mar 2013 14:54:26 +0000 (09:54 -0500)]
Missed in last commit

11 years agoNote recent changes
Alan T. DeKok [Thu, 7 Mar 2013 14:48:57 +0000 (09:48 -0500)]
Note recent changes

11 years agodon't count status server requests in internal stats
Jakob Hirsch [Wed, 6 Mar 2013 17:34:52 +0000 (18:34 +0100)]
don't count status server requests in internal stats

Requests to to status server should not be added to the internal counters,
notably the Access-Accept replies. See also the thread in
http://lists.freeradius.org/pipermail/freeradius-devel/2013-March/007801.html

11 years agoDon't dlclose() modules on "radiusd -m"
Alan T. DeKok [Thu, 7 Mar 2013 14:28:56 +0000 (09:28 -0500)]
Don't dlclose() modules on "radiusd -m"

It's a bit counter-intuitive to the meaning of "-m", but
it means that the libraries hang around, so that valgrind
can find symbols in them.

11 years agoClean up the text before 2.2.1
Alan T. DeKok [Wed, 6 Mar 2013 15:20:28 +0000 (10:20 -0500)]
Clean up the text before 2.2.1

And mention DHCP, too

11 years agoApparently -y is needed too
Arran Cudbard-Bell [Wed, 6 Mar 2013 14:59:20 +0000 (09:59 -0500)]
Apparently -y is needed too

11 years agoFix userparse function
Alan T. DeKok [Wed, 6 Mar 2013 14:03:30 +0000 (09:03 -0500)]
Fix userparse function

Remove quadratic addition of vp to list.  Instead, keep track
of the current tail, insert it there, and then add the entire list
in one swell foop.

Also check if we're returning T_OP_INVALID, and if so, free the
intermediate VPs.  This ensures that we either return something,
or an error and nothing else.

It also means that the caller doesn't have to worry about freeing
intermediate VPs if there's a parse error on later ones