]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
14 years agouse correct length for session_context_id and write a shorter value, to fit into it 29/head
Phil Mayers [Tue, 25 Oct 2011 11:49:10 +0000 (12:49 +0100)] 
use correct length for session_context_id and write a shorter value, to fit into it

14 years agoTell OpenSSL that the data is gone
Alan T. DeKok [Thu, 20 Oct 2011 12:22:24 +0000 (14:22 +0200)] 
Tell OpenSSL that the data is gone

14 years agoQuiet compiler warning
Alan T. DeKok [Wed, 19 Oct 2011 15:46:17 +0000 (17:46 +0200)] 
Quiet compiler warning

14 years agoReorder error message so we don't have use after free
Alan T. DeKok [Wed, 19 Oct 2011 15:44:47 +0000 (17:44 +0200)] 
Reorder error message so we don't have use after free

14 years agoInitialize the structure
Alan T. DeKok [Wed, 19 Oct 2011 15:43:28 +0000 (17:43 +0200)] 
Initialize the structure

14 years agoInitialize all of the structure
Alan T. DeKok [Wed, 19 Oct 2011 15:43:15 +0000 (17:43 +0200)] 
Initialize all of the structure

14 years agoFree memory on error
Alan T. DeKok [Wed, 19 Oct 2011 15:39:45 +0000 (17:39 +0200)] 
Free memory on error

14 years agoFree memory on instantiation error
Alan T. DeKok [Wed, 19 Oct 2011 15:38:56 +0000 (17:38 +0200)] 
Free memory on instantiation error

14 years agoFree memory on error
Alan T. DeKok [Wed, 19 Oct 2011 15:37:16 +0000 (17:37 +0200)] 
Free memory on error

14 years agoClose fp on error
Alan T. DeKok [Wed, 19 Oct 2011 15:35:56 +0000 (17:35 +0200)] 
Close fp on error

14 years agoCall closedir() on error
Alan T. DeKok [Wed, 19 Oct 2011 15:34:01 +0000 (17:34 +0200)] 
Call closedir() on error

14 years agoDon't leak on malformed packets
Alan T. DeKok [Wed, 19 Oct 2011 15:30:35 +0000 (17:30 +0200)] 
Don't leak on malformed packets

14 years agoCatch case where User-Name may be > 250 octets
Alan T. DeKok [Wed, 19 Oct 2011 15:26:36 +0000 (17:26 +0200)] 
Catch case where User-Name may be > 250 octets

14 years agoOnly "string" can have "encrypt=2"
Alan T. DeKok [Wed, 19 Oct 2011 15:20:37 +0000 (17:20 +0200)] 
Only "string" can have "encrypt=2"

14 years agoAdd FALL-THROUGH for 'case' without 'break'
Alan T. DeKok [Wed, 19 Oct 2011 15:10:12 +0000 (17:10 +0200)] 
Add FALL-THROUGH for 'case' without 'break'

14 years agoAdd FALL-THROUGH for 'case' without 'break'
Alan T. DeKok [Wed, 19 Oct 2011 15:08:58 +0000 (17:08 +0200)] 
Add FALL-THROUGH for 'case' without 'break'

14 years agoUnlink file only if it exists
Alan T. DeKok [Wed, 19 Oct 2011 15:05:25 +0000 (17:05 +0200)] 
Unlink file only if it exists

14 years agoCheck auth_pool_name
Alan T. DeKok [Wed, 19 Oct 2011 15:04:05 +0000 (17:04 +0200)] 
Check auth_pool_name

14 years agoAdd port if it's available
Alan T. DeKok [Wed, 19 Oct 2011 15:02:06 +0000 (17:02 +0200)] 
Add port if it's available

14 years agoCheck passed parameter
Alan T. DeKok [Wed, 19 Oct 2011 15:01:54 +0000 (17:01 +0200)] 
Check passed parameter

14 years agoError if there is no detail file listener
Alan T. DeKok [Wed, 19 Oct 2011 14:59:52 +0000 (16:59 +0200)] 
Error if there is no detail file listener

14 years agoFix sizeof() checks found by coverity
Alan T. DeKok [Wed, 19 Oct 2011 14:54:40 +0000 (16:54 +0200)] 
Fix sizeof() checks found by coverity

14 years agoClean up error message so it makes more sense
Alan T. DeKok [Wed, 19 Oct 2011 12:04:47 +0000 (14:04 +0200)] 
Clean up error message so it makes more sense

14 years agoUpdate to version 2.2.0
Alan T. DeKok [Wed, 19 Oct 2011 08:43:23 +0000 (10:43 +0200)] 
Update to version 2.2.0

We don't want to release a 2.1.13 :)

14 years agoFree cached VPs when SSL says that the session is freed
Alan T. DeKok [Wed, 19 Oct 2011 08:42:05 +0000 (10:42 +0200)] 
Free cached VPs when SSL says that the session is freed

14 years agoAdded example for radrelay
Alan T. DeKok [Tue, 18 Oct 2011 15:07:31 +0000 (17:07 +0200)] 
Added example for radrelay

14 years agoSwitch to SHA1 for message digest
Alan T. DeKok [Tue, 18 Oct 2011 06:37:21 +0000 (08:37 +0200)] 
Switch to SHA1 for message digest

MD5 has been attacked.  We shouldn't use it

14 years agoUpdate dependencies so that it works in more situations
Alan T. DeKok [Tue, 18 Oct 2011 06:37:05 +0000 (08:37 +0200)] 
Update dependencies so that it works in more situations

14 years agoAdded F5 dictionary, as posted to the list
Alan T. DeKok [Mon, 17 Oct 2011 15:41:25 +0000 (17:41 +0200)] 
Added F5 dictionary, as posted to the list

14 years agoTie radrelay && detail writer together
Alan T. DeKok [Mon, 17 Oct 2011 12:44:14 +0000 (14:44 +0200)] 
Tie radrelay && detail writer together

So that people can read the documentation and examples
and have it work

14 years agoFix typo
Alan T. DeKok [Fri, 7 Oct 2011 22:14:02 +0000 (00:14 +0200)] 
Fix typo

compare type to RAD_LISTEN_DETAIL

14 years agoUpdate RADIUS Dictionary Aruba
Alexis La Goutte [Mon, 3 Oct 2011 11:22:00 +0000 (13:22 +0200)] 
Update RADIUS Dictionary Aruba

14 years agoLast set of changes release_2_1_12
Alan T. DeKok [Fri, 30 Sep 2011 14:12:07 +0000 (16:12 +0200)] 
Last set of changes

14 years agoDrop dead link
Peter Lemenkov [Fri, 30 Sep 2011 11:48:58 +0000 (15:48 +0400)] 
Drop dead link

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
14 years agoNow it's possible to include Zyxel's dictionary by default
Peter Lemenkov [Fri, 30 Sep 2011 11:48:10 +0000 (15:48 +0400)] 
Now it's possible to include Zyxel's dictionary by default

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
14 years agoAnother one attribute
Peter Lemenkov [Fri, 30 Sep 2011 11:44:29 +0000 (15:44 +0400)] 
Another one attribute

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
14 years agoProper VENDOR value for Zyxel
Peter Lemenkov [Fri, 30 Sep 2011 11:44:02 +0000 (15:44 +0400)] 
Proper VENDOR value for Zyxel

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
14 years agoLoad "server {...}" sections properly
Alan T. DeKok [Thu, 29 Sep 2011 16:03:23 +0000 (18:03 +0200)] 
Load "server {...}" sections properly

14 years agoBe more graceful if caller passes us a NULL ptr
Alan T. DeKok [Thu, 29 Sep 2011 09:26:03 +0000 (11:26 +0200)] 
Be more graceful if caller passes us a NULL ptr

14 years agoNote changes for 2.1.12
Alan T. DeKok [Wed, 28 Sep 2011 11:06:10 +0000 (13:06 +0200)] 
Note changes for 2.1.12

14 years agoAdded SecurID module
Alan T. DeKok [Wed, 28 Sep 2011 10:59:59 +0000 (12:59 +0200)] 
Added SecurID module

14 years agoDon't really open sockets if we're doing -C
Alan T. DeKok [Thu, 22 Sep 2011 16:43:11 +0000 (18:43 +0200)] 
Don't really open sockets if we're doing -C

14 years agoAcct-Session-Id from Cisco exceeds 64 bytes. Extend it.
Alan T. DeKok [Thu, 22 Sep 2011 13:53:51 +0000 (15:53 +0200)] 
Acct-Session-Id from Cisco exceeds 64 bytes.  Extend it.

Add radpostauth/radhuntgroup tables to the oracle schema

14 years agoAdded missing post-auth configuration
Alan T. DeKok [Thu, 22 Sep 2011 13:53:13 +0000 (15:53 +0200)] 
Added missing post-auth configuration

14 years agoAlways send Message-Authenticator in radtest
John Dennis [Tue, 20 Sep 2011 21:56:22 +0000 (17:56 -0400)] 
Always send Message-Authenticator in radtest

Originally Message-Authenticator was introduced to provide message
integrity for EAP messages and originally the Message-Authenticator
attribute was only required for EAP messages.

But then RFC 5080 came along and suggested Message-Authenticator
always be sent as best practice.

   Any Access-Request packet that performs authorization checks,
   including Call Check, SHOULD contain a Message-Authenticator
   attribute.

RFC 5080 then goes on to say:

   ... server implementations may be configured to require the
   presence of a Message-Authenticator attribute in Access-Request
   packets.  Requests not containing a Message-Authenticator attribute
   MAY then be silently discarded.

The raddb/clients.conf has this configuration option to satisfy the
above suggestion in RFC 5080:

   require_message_authenticator = no|yes

If require_message_authenticator == yes then non-EAP auth-requests
generated by radtest will fail because currently radtest only supplies
the Message-Authenticator if EAP is being performed. With modern
Radius servers (e.g. FreeRADIUS) there is no harm in providing the
Message-Authenticator attribute for non-EAP packets, in fact it's
actually recommended in RFC 5080.

Therefore radtest should ALWAYS send the Message-Authenticator
attribute. If it's EAP or if the server is configured with
require_message_authenticator it must be present. If those conditions
do not hold it's benign. However if require_message_authenticator is
configured radtest will fail for non-EAP.

14 years agoAs posted to the list
Alan T. DeKok [Tue, 20 Sep 2011 17:56:02 +0000 (19:56 +0200)] 
As posted to the list

14 years agoFixed typo
Alan T. DeKok [Tue, 20 Sep 2011 07:25:51 +0000 (09:25 +0200)] 
Fixed typo

14 years agoAdd missing "man" files
Alan T. DeKok [Mon, 19 Sep 2011 17:45:35 +0000 (19:45 +0200)] 
Add missing "man" files

14 years agoNote changes
Alan T. DeKok [Mon, 19 Sep 2011 13:34:26 +0000 (15:34 +0200)] 
Note changes

14 years agoradsniff: decoding encrypted attributes
Bjørn Mork [Fri, 16 Sep 2011 17:50:07 +0000 (19:50 +0200)] 
radsniff: decoding encrypted attributes

Save authentication requests and use them to properly decode
entrypted attributes in matching replies.

Also decode encrypted attributes in CoA requests. Some VSAs
can be encrypted in CoA requests using a null vector.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
14 years agoMerge pull request #19 from angdraug/v2.1.x_rlm_sql_acct_noop_start
Alan DeKok [Sun, 18 Sep 2011 11:56:04 +0000 (04:56 -0700)] 
Merge pull request #19 from angdraug/v2.1.x_rlm_sql_acct_noop_start

rlm_sql acct noop Accounting-Start fix

14 years agoRevert "Remove values for Auth-Type, these values were only defined for legacy reasons"
Alan T. DeKok [Sun, 18 Sep 2011 11:23:35 +0000 (13:23 +0200)] 
Revert "Remove values for Auth-Type, these values were only defined for legacy reasons"

This reverts commit 296fcf9576394de5bf943e257a8d64751feaf636.

Removing Auth-Type = {Accept, Reject, MS-CHAP} breaks the server

14 years agoFix rlm_sql noop for accounting start 19/head
Dmitry Borodaenko [Sat, 6 Aug 2011 17:15:59 +0000 (20:15 +0300)] 
Fix rlm_sql noop for accounting start

When 6ed9727 was merged, else{} in the START case got placed against the
wrong if(). Unlike STOP and ALIVE cases, in START insert comes first,
and we only care if that affects 0 rows. If insert fails and we have to
go for an update, we don't have to check for NOOP because we can assume
the insert failed due to a conflicting row already in the database.

14 years agoNote more changes
Alan T. DeKok [Sun, 18 Sep 2011 07:25:47 +0000 (09:25 +0200)] 
Note more changes

14 years agoDocument all command line args & add missing man pages
John Dennis [Sun, 18 Sep 2011 07:17:45 +0000 (09:17 +0200)] 
Document all command line args & add missing man pages

Go through every installed command and verify:
  * There exists a man page for the command, if not create one
  * For every command line arg in each command:
    - Assure the arg appears in the synopis section of the man page
    - Assure the arg is documented in the options section of the man page
    - Assure the arg is documented in the "usage" emitted by the command

In addition to the above this patch also does:

* Clean up captitalization & the use of terminating periods.
* Removed superfluous unused l option from the getopt format string
  of radwho
* Remove rlm_ippool_tool.pod, superseded by rlm_ippool_tool.8 man page

The follow new man pages were added:

man/man1/smbencrypt.1
man/man5/checkrad.5
man/man8/radconf2xml.8
man/man8/radcrypt.8
man/man8/radsniff.8
src/modules/rlm_dbm/rlm_dbm_cat.8
src/modules/rlm_dbm//rlm_dbm_parse.8
src/modules/rlm_ippool/rlm_ippool_tool.8

14 years agoNote which Auth-Type we're creating
Alan T. DeKok [Wed, 14 Sep 2011 10:11:07 +0000 (12:11 +0200)] 
Note which Auth-Type we're creating

14 years agoNote recent changes
Alan T. DeKok [Wed, 14 Sep 2011 10:01:31 +0000 (12:01 +0200)] 
Note recent changes

14 years agoMake warning message more coherent
Alan T. DeKok [Wed, 14 Sep 2011 09:57:04 +0000 (11:57 +0200)] 
Make warning message more coherent

14 years agoWARNING on potential proxy loop
Alan T. DeKok [Wed, 14 Sep 2011 09:56:24 +0000 (11:56 +0200)] 
WARNING on potential proxy loop

14 years agoFixed long-standing typos
Alan T. DeKok [Mon, 12 Sep 2011 21:41:23 +0000 (23:41 +0200)] 
Fixed long-standing typos

I guess no one ever used this...

14 years agoRemove values for Auth-Type, these values were only defined for legacy reasons
Arran Cudbard-Bell [Mon, 12 Sep 2011 14:04:28 +0000 (16:04 +0200)] 
Remove values for Auth-Type, these values were only defined for legacy reasons

14 years agoFixed typo
Alan T. DeKok [Mon, 12 Sep 2011 13:00:00 +0000 (15:00 +0200)] 
Fixed typo

14 years agoDocument max_queue_size
Alan T. DeKok [Sat, 10 Sep 2011 18:12:01 +0000 (20:12 +0200)] 
Document max_queue_size

14 years agoLimit complaints to 1/s, not 1/packet
Alan T. DeKok [Sat, 10 Sep 2011 18:04:20 +0000 (20:04 +0200)] 
Limit complaints to 1/s, not 1/packet

14 years agoFixed typo
Alan T. DeKok [Wed, 7 Sep 2011 15:34:49 +0000 (17:34 +0200)] 
Fixed typo

14 years agoDocument keepalive
Alan T. DeKok [Wed, 7 Sep 2011 10:59:21 +0000 (12:59 +0200)] 
Document keepalive

14 years agoFixed typo
Alan T. DeKok [Mon, 5 Sep 2011 17:57:54 +0000 (13:57 -0400)] 
Fixed typo

14 years agoUpdated copyright year
Alan T. DeKok [Mon, 5 Sep 2011 15:39:53 +0000 (11:39 -0400)] 
Updated copyright year

14 years agoComplain if password is !UTF-8
Alan T. DeKok [Mon, 5 Sep 2011 14:05:21 +0000 (10:05 -0400)] 
Complain if password is !UTF-8

for the "shared secret is incorrect" check.  The old code
checked for "printable" characters.  Changing it to a check for
!UTF-8 is more general, and likely more robust with fewer false
positives

14 years agoAllow entry if UID or GID match
Alan T. DeKok [Sat, 3 Sep 2011 13:01:21 +0000 (09:01 -0400)] 
Allow entry if UID or GID match

14 years agoMore updates
Alan T. DeKok [Fri, 2 Sep 2011 21:38:56 +0000 (17:38 -0400)] 
More updates

14 years agoAdded %{rand:...} to generate uniformly distributed random numbers
Alan T. DeKok [Fri, 2 Sep 2011 21:38:00 +0000 (17:38 -0400)] 
Added %{rand:...} to generate uniformly distributed random numbers

14 years agoAdd support for NAS implementing standard IEEE802.1X mib (Tested against ProCurve...
Arran Cudbard-Bell [Wed, 31 Aug 2011 16:17:26 +0000 (18:17 +0200)] 
Add support for NAS implementing standard IEEE802.1X mib (Tested against ProCurve 3500)

Fix regular expressions to work with recent versions of snmp_get (should still be backwards compatible)

14 years agoBump for 2.1.12
Alan T. DeKok [Mon, 29 Aug 2011 14:06:31 +0000 (10:06 -0400)] 
Bump for 2.1.12

14 years agoNote policy for filtering user names
Alan T. DeKok [Mon, 29 Aug 2011 14:03:11 +0000 (10:03 -0400)] 
Note policy for filtering user names

14 years agoEnable possibility for ecdh by default
Alan T. DeKok [Sun, 28 Aug 2011 15:01:50 +0000 (11:01 -0400)] 
Enable possibility for ecdh by default

14 years agoNote recent changes
Alan T. DeKok [Sun, 28 Aug 2011 14:58:16 +0000 (10:58 -0400)] 
Note recent changes

14 years agoEnable elliptical curve cryptography
Alan T. DeKok [Sun, 28 Aug 2011 14:57:23 +0000 (10:57 -0400)] 
Enable elliptical curve cryptography

14 years agoMore/better documentation
Alan T. DeKok [Fri, 26 Aug 2011 11:09:05 +0000 (07:09 -0400)] 
More/better documentation

14 years agoradmin: fixup error message when attemting to delete non-dynamic client
Bjørn Mork [Wed, 24 Aug 2011 10:33:13 +0000 (12:33 +0200)] 
radmin: fixup error message when attemting to delete non-dynamic client

commit b9e5dd2c changed the command syntax in line with docs, but failed
to update the error message accordingly.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
14 years agoradmin: make "del client ipaddr" command behave as documented
Bjørn Mork [Tue, 23 Aug 2011 09:07:39 +0000 (11:07 +0200)] 
radmin: make "del client ipaddr" command behave as documented

Fixes this error:

 radmin> del client ipaddr 192.168.168.111
 ERROR: Must specify <ipaddr>

Signed-off-by: Bjørn Mork <bjorn@mork.no>
14 years agoNote recent changes
Alan T. DeKok [Sat, 20 Aug 2011 01:09:13 +0000 (21:09 -0400)] 
Note recent changes

14 years agoAdd mkdir, based on patch from Oliver Schroder
Alan T. DeKok [Thu, 18 Aug 2011 01:23:50 +0000 (21:23 -0400)] 
Add mkdir, based on patch from Oliver Schroder

This lets the module put logs into automagically created subdirs

14 years agoShould use 8th capture group for Called-Station-ID rewrite
Arran Cudbard-Bell [Fri, 19 Aug 2011 14:51:02 +0000 (16:51 +0200)] 
Should use 8th capture group for Called-Station-ID rewrite

14 years agoCatch sub-realms && example.net, too
Alan T. DeKok [Mon, 15 Aug 2011 13:20:45 +0000 (09:20 -0400)] 
Catch sub-realms && example.net, too

14 years agoClean up debug message
Alan T. DeKok [Mon, 15 Aug 2011 13:01:54 +0000 (09:01 -0400)] 
Clean up debug message

14 years agoAllow empty strings to mean NULL
Alan T. DeKok [Sat, 13 Aug 2011 14:56:28 +0000 (10:56 -0400)] 
Allow empty strings to mean NULL

this lets us specify the default (i.e. NULL) virtual server

14 years agoNote recent updates
Alan T. DeKok [Fri, 12 Aug 2011 14:32:34 +0000 (10:32 -0400)] 
Note recent updates

14 years agoAdd conflicting starent dictionary from bug #159
Alan T. DeKok [Fri, 12 Aug 2011 14:25:47 +0000 (10:25 -0400)] 
Add conflicting starent dictionary from bug #159

14 years agoUpdated with edits from bug #159
Alan T. DeKok [Fri, 12 Aug 2011 14:20:03 +0000 (10:20 -0400)] 
Updated with edits from bug #159

14 years agoAdded siemens dictionary
Alan T. DeKok [Fri, 12 Aug 2011 11:51:00 +0000 (07:51 -0400)] 
Added siemens dictionary

14 years agoAdding new attributes to the ERX dictionary
Bjørn Mork [Mon, 1 Aug 2011 08:57:55 +0000 (10:57 +0200)] 
Adding new attributes to the ERX dictionary

This should make it compatible with JUNOSe version 12.1.1
and JUNOS version 11.2.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
14 years agoReplace stale version of oracle configure script with one generated from current...
Arran Cudbard-Bell [Thu, 28 Jul 2011 14:32:40 +0000 (16:32 +0200)] 
Replace stale version of oracle configure script with one generated from current version of configure.in (now supports library versions 9, 10, 11 instead of just 10

14 years agoCheck cert validity
Alan T. DeKok [Wed, 27 Jul 2011 22:36:20 +0000 (18:36 -0400)] 
Check cert validity

In the process of checking the OCSP response there are only checks for the
correct signed OCSP answer in the function ocsp_check()
(src/modules/rlm_eap/types/rlm_eap_tls/rlm_eap_tls.c:349).

The problem is that the current code does not check the status of the certificate.
For example if a certificate is revoked. Thus, a user with a revoked certificate
is able to bypass the verification.

14 years agoAdded HUP on log rotate
Alan T. DeKok [Fri, 22 Jul 2011 12:32:00 +0000 (14:32 +0200)] 
Added HUP on log rotate

14 years agoNote URL on how to create various passwords
Alan T. DeKok [Sat, 16 Jul 2011 12:01:30 +0000 (08:01 -0400)] 
Note URL on how to create various passwords

14 years agoMore fixes for DHCP relaying
Alan T. DeKok [Wed, 13 Jul 2011 12:50:41 +0000 (14:50 +0200)] 
More fixes for DHCP relaying

14 years agoAllow it to send offers
Alan T. DeKok [Wed, 13 Jul 2011 12:50:26 +0000 (14:50 +0200)] 
Allow it to send offers

14 years agoWhen in debugging mode, print out VPs from header
Alan T. DeKok [Wed, 13 Jul 2011 12:50:08 +0000 (14:50 +0200)] 
When in debugging mode, print out VPs from header

14 years agoMerge pull request #12 from angdraug/v2.1.x_linelog_permissions_v2
Alan DeKok [Wed, 13 Jul 2011 09:40:20 +0000 (02:40 -0700)] 
Merge pull request #12 from angdraug/v2.1.x_linelog_permissions_v2

Configurable file permissions in rlm_linelog