Updates
[freeradius.git] / doc / ChangeLog
1 FreeRADIUS 1.1.2 ; $Date$, urgency=low
2
3         Bug fixes
4         * Corrected list of EAP handlers.
5         * Initialize variable in rlm_ldap.c.  This fixes RedHat
6           bug #136468.
7         * Escape more ldap strings, so configuration entries
8           that have magic LDAP characters don't break LDAP.
9           This closes bug #360.
10         * Added "suppress" configuration entry to rlm_detail,
11           to suppress certain attributes (e.g. User-Password).
12           This closes bug #359.
13         * Updated doc/rlm_ldap.  This closes bug #353.
14         * Moved rlm_eap_tls code from libeap to rlm_eap_tls.
15           This closes bug #350.
16         * Updated redhat/freeradius.spec.  This closes bug #330.
17         * Don't forcibly over-write Auth-Type in the mschap module.
18           This prevents an earlier module from forcing reject.
19         * Use the correct module reference in the authenticate section,
20           where Auth-Type wasn't explicitely specified.
21         * If there are typos in a subsection in radiusd.conf, exit
22           after printing an error, rather than continuing.
23         * Print Ascend "abinary" format as text rather than octets
24           when we receive it.
25
26         Feature improvements
27         * Allow Ascend "abinary" format to be specified as octets,
28          (e.g. Ascend-Data-Filter = 0x010203...)
29         * Added "cipher_list" configuration to the EAP-TLS module.
30           See "eap.conf" and "man 1 cipher" for details.
31         * Added "check_cert_issuer" configuration to the EAP-TLS module.
32           See "eap.conf" for details.
33         * More dictionary updates
34         * Write SSL errors to log file, rather than stderr.
35           This closes bug #347.
36
37 FreeRADIUS 1.1.1 ; $Date$, urgency=low
38         Security fixes
39         * Additional state checking in the EAP-MSCHAPv2 module.
40           Bug found by Steffen Schuster.
41         
42         Feature improvements
43         * More dictionary updates
44         * Additional tests and fixes for Digest module from Phillipe Sultan.
45         * Add new "phone" response mode to rlm_otp/cryptocard.
46         * Put the eap sessions into a tree, so that looking them up is very
47           fast, and no longer O(n) in the number of sessions.
48         * Install the schema examples for a set of backends with the rest
49           of the documentation.
50         * Add support for xlat expansion of attributes from LDAP.
51
52         Bug fixes
53         * Fix rlm_perl crash. (closes: #348)
54         * Fix handling of CoA-Request packets (close #344).  Also correct
55           name of CoA packets.
56         * Fix an error on x86_64 machines when reading dictionaries.
57           (closes: #312)
58         * Fix compilation errors on FreeBSD and NetBSD because of rlm_otp
59           module. (closes: #314 #328)
60         * Workaround Cisco bug in State attribute handling in rlm_otp.
61         * Support LP64 for async mode in rlm_otp.
62         * Fix libtool problems on Debian with rlm_eap_peap and rlm_eap_ttls
63           modules. (closes: #75)
64         * Make "use_tunneled_reply" work properly for PEAP.
65         * Copy the whole string when getting a one-to-one-mapped attribute
66           from LDAP (closes: #261)
67         * Fix net-snmp's ucd-snmp compatibility mode.
68
69 FreeRADIUS 1.1.0 ; Date: 2006/01/04 05:55:19, urgency=low
70         Feature improvements
71         * rlm_ldap has "set_auth_type" configuration option, which should
72           address some configuration problems when using it.
73         * Fix MIT Kerberos bug
74         * Modules can be load balanced, both in isolation and redundantly.
75           See doc/load-balance.txt for more information.
76         * rlm_perl is now marked "stable"
77         * N-tier certificate patch from Mohammed Petiwala.
78         * Copied dictionaries from the CVS head (many, many, more vendors)
79         * Enabled support for weird VSA formats, like Lucent and Starent.
80         * Support encrypted IP address and integers, for Juniper clients.
81         * Add PEAP machine authentication support in module "rlm_mschap".
82         * Support User-Password field encryption in digest mode.
83         * rlm_x99_token has become rlm_otp (with lots of changes).
84         * Add rlm_sqlcounter to the list of stable modules.
85         * Read MySQL specific options in sections [freeradius] and [client]
86           from file "my.cnf".
87         * Support the ${Cisco-AVPair[n]} syntax.
88         * Execute modules in {Pre,Post}-Proxy-Type stanzas.
89         * Add new options to radclient to run stress tests on the server.
90         * New module "rlm_sql_log" to postpone the storage of accounting data
91           in a SQL database. See rlm_sql_log(5) manpage.
92         * New program "radsqlrelay" which sends the SQL logfile according to
93           the SQL server's capabilities.
94
95         Bug fixes
96         * #306 (HUP when built with threads, but executed with -s)
97         * #285 (more attributes in dictionary.cisco.vpn3000)
98         * rlm_digest has a number of bug fixes to authentication types.
99         * Don't leak memory in module "rlm_sql".
100         * Update the dictionaries, so that VALUEs with the same name,
101           but different numbers, aren't allowed.
102         * Queue the request before looking for available threads.
103         * Don't free the check items after we received the proxy reply.
104         * Expand config variables in included files, too.
105         * Check the return value of accounting modules and don't proxy
106           invalid requests.
107         * In rlm_passwd, don't close a file stream more than once.
108         * Fix format string errors in rlm_sql.c, spotted by Primoz Bratanic.
109         * Walk the whole string in when escaping strings in rlm_ldap.
110         * Include crypt.h if it is available so we get a prototype for crypt(),
111           spotted by Konstantin Kubatkin.
112         * Removed (for almost all uses) length restrictions on vendor names
113           and VALUE names.
114         * Don't leak memory when proxying an Access-Challenge response.
115         * Make the sleep time user-defined, so radrelay can send more than
116           7 requests/s.
117         * Fix a memory leak in rlm_checkval.
118         * radclient doesn't resend countless times packets with invalid
119           signature.
120         * Fix segfault and mem leak in rlm_pam.
121
122 FreeRADIUS 1.0.5 ; Date: 2005/09/04 16:23:00, urgency=medium
123         Security Fixes
124         * SQL injection attack in the module "rlm_sqlcounter".
125         * Buffer overflows in the module "rlm_sqlcounter".
126         * Expansion of variable %t may write 26 bytes beyond the buffer
127           bound. Primoz Bratanic is credited with the discovery of these
128           three bugs.
129
130         Bug fixes
131         * Don't de-reference a NULL pointer if the auth-type is unknown
132           in the function rad_check_password().
133         * Escape more characters in the LDAP queries.
134           Bug found by Suse engineers.
135         * In rlm_sql_unixodbc, don't call rad_malloc from sql_error(),
136           it leaks memory.
137         * Fix an off-by-one error in the module rlm_sql_unixodbc.
138           Bug found by Suse engineers.
139         * In rlm_sql, resize the buffer for the value of SQL-User-Name.
140         * Initialize memory for a new SQL socket in the module rlm_sql.
141         * Don't add too many attributes after running an external program.
142           Bug found by Suse engineers.
143         * Fix an off-by-one error in the function getthing().
144         * snprintf() and vsnprintf() replacements were not compiled if
145           the autoconf tests didn't find the functions.
146         * Don't use vsprintf() anymore, but the replacement for vsnprintf()
147           in libradius instead.
148         * The function decode_attribute() may write beyond buffer bounds.
149           Bug found by Suse engineers.
150         * Fix a memset() in the function request_enqueue() which was
151           begining at the wrong address. Bug found by Matthias Ruttman.
152         * Fix an off-by-one error in the function xlat_copy().
153           Bug found by Primoz Bratanic.
154         * Fix other off-by-one errors in module "rlm_unix", too.
155           Bug found by Allan Bazinet.
156         * Fix a 2-byte over-run read in function rad_decode().
157         * Update thread pool queue properly.
158         * Autonconf tests try first any user-specified directory,
159           otherwise they may pick up the wrong version.
160         * Delete the autoconf tests for the libldap dependancies.
161         * Install all the regular files under the "doc" directory.
162         * Distinguish between exit code <0 (failure) and >0 (reject)
163           in Exec-Program-Wait. Patch from Thor Spruyt.
164         * Make Expiration work.
165         * Clean up the code for opening a proxy socket.
166         * When finding a realm to proxy to, if all are dead, wake them
167           if wake_all_if_all_dead is true.
168         * In radwho, print the NAS-Port as unsigned int.
169         * Use extended regex instead of basic regex in rlm_attr_filter.
170         * Catch the case where someone deletes a directory that rlm_detail
171           is using.
172         * Use the variable $(LDFLAGS) when linking a module.
173         * Ignore the Stripped-User-Name when a realm has the "nostrip"
174           directive.
175         * Add support for NT-Password in rlm_pap.
176         * In rlm_sqlcounter, use the time left to the next reset if it's
177           inferior to the time left in the counter.
178         * Calculate Message-Authenticator correctly for Accounting-Request
179           and Accounting-Response.  Bug found by Paolo Rotela.
180         * Build on MAC OS X.  Still need --disable-shared, though.
181         * Fix bug #255 (crash with expired CRL's, etc.)
182         * Fix quote removal of the values from a SQL database.
183         * Reap the zombie process after a command run from "Exec-Program".
184         * Allow to cancel proxy of accounting with "Proxy-To-Realm := LOCAL".
185         * Don't copy VSA's to an Access-Reject packet.
186
187 FreeRADIUS 1.0.4 ; Date: 2005/06/11 22:46:52, urgency=medium
188         * Fix installation problem.
189         * Increase a buffer size, so radrelay doesn't truncate values.
190         * Updates in the documentation. Patches from Thor Spruyt.
191
192 FreeRADIUS 1.0.3 ; Date: 2005/06/03 17:15:11, urgency=high
193         Security Fixes
194         * Always escape the strings in the SQL module.
195         * Check buffer bound when input character needs escaping in
196           the SQL module. Bug found by Primoz Bratanic.
197
198         Bug fixes
199         * Return EAP-Fail in Access-Reject, rather than an empty Access-Reject
200         * Don't send Proxy-State from home server in TTLS.
201         * Fixes for forking external programs, so the server doesn't
202           suddenly stop processing requests, or stop forking programs.
203         * radzap now works, but it's command-line options have changed
204           completely, and it's a shell script.
205         * radwho has updated command-line options, and no longer reads
206           Unix "utmp" files.
207         * Fix bug in calling checkrad script with NAS port > 9999999
208         * Fix long-standing bug when both crypt and pthreads are in use
209         * Don't SEGV when rlm_sql gets 'NULL' value from request.
210         * Re-arrange code in radrelay to not duplicate accounting packets.
211         * In rlm_attr_rewrite, change the value when the attribute type
212           is different from string.
213
214 FreeRADIUS 1.0.2 ; Date: 2005/02/13 01:03:20, urgency=medium
215         * Novell eDirectoty support.  Patch from Novell.
216         * localweb & Trapeze dictionary updates.
217         * EAP-SIM fixes.
218         * Make "Strip-User-Name = No" work.
219         * Don't declare zero-length arrays in rlm_passwd
220         * Bug fix to make udpfromto code work
221         * radrelay shouldn't dump core if it can't read a VP from the
222           detail file.
223         * Only initialize the random pool once.
224         * In rlm_sql, don't escape characters twice.
225         * Fix MD4 calculation on big-endian machines.
226         * In rlm_ldap, only claim Auth-Type if a plain text password is present.
227         * Treat Quintium VSAs like Cisco VSAs
228         * Locking fixes in threading code
229         * rlm_krb5 includes /usr/include/et for Fedora Core
230         * Fix post-auth REJECT stanza processing for rejections from external
231           processes or home RADIUS servers
232         * Fix building on gcc-4.0 by not trying to access static auth_port from
233           other files.
234         * Fix building SNMP support on Solaris 9, which needs -lkstat
235
236 FreeRADIUS 1.0.1 ; Date: 2004/09/02 10:52:03 , urgency=high
237         Denial-of-Service Security Fix
238         * Fix two remote crashes and a memory leak in RADIUS packet
239           decoding.
240
241         Bug fixes
242         * Fix premature "success" during EAP/TLS handshake.
243         * Dictionary handling now complains about identically named
244           values with different values, and rejects dictionary
245           entries with bad data
246         * Update dictionaries to deal with the above change.
247
248 FreeRADIUS 1.0.0 ; Date: 2004/07/17 06:31:32, urgency=low
249         pre3 -> release
250         * Fix LDAP dictionary map loading.
251         * Check login time allowance to packet timestampe where available.
252         * Compilation fix for machines withouth <pthread.h>.
253         * Man page improvements.
254         * Grab latest config.sub and config.guess (2004-03-12).
255
256         pre2 -> pre3
257         * Make IPv6 support work better.
258         * Updated 3com dictionary.
259         * Fixed MD5 code to be more portable.
260
261         pre1 -> pre2
262         * Updated SQL onoff query
263         * Updated Nomadix, RedBack and Valemont dictionaries.
264         * MD4/MD5 fixes.
265         * Don't complain about ports we're listening on when HUP'd.
266         * Permit -i to work for radclient.
267         * Fix bug in new proxy code.
268         * rlm_passwd is now a little friendlier.
269         
270         Non source-code changes
271         * Preliminary tests indicate that the server builds and runs on
272           Interix (SFU on Windows XP).
273         * EAP module configuration is now in "raddb/eap.conf", as it was
274           getting large.
275         * Updated GPL boilerplate in the source.
276         * Added new RFC's to doc/rfc/
277         * Added more "man" pages for many of the modules.  Many of the
278           'doc/rlm_*' files have been deleted, and replaced with 'man' pages.
279         * Added many new dictionaries: 3GPP, 3GPP2, Propel, Karlnet,
280           Sonicwall, Navini, Bristol University, Valemont, Mikrotik.
281         * doc/configurable_failover is now understandable by mere humans.
282         * Update scripts/rc.radiusd with examples of how to deal with
283           shared library issues.
284         * Added demo certs.
285         * Updates to configure scripts for MySQL.
286         * Updated doc/tuning_guide, with comments about SQL.
287
288         Core feature improvements
289         * Many, many minor bug fixes and feature enhancements.
290         * Added "reject" action in configurable failover for modules
291         * Added a "listen" directive, which supersedes the old
292           "bind_address" and "port" directives.  "listen" allows much
293           finer-grained control over what IP's, ports, and packets the
294           server pays attention to.
295         * The proxy code has been updated to work properly, and to
296           allocate new sockets for proxying packets when there are more
297           than 256 requests outstanding to a home server.  Many thanks
298           to Stephen Jaeger for help in debugging the new feature.
299         * Regular expression matches in brackets can now be referenced
300           as in Perl, via %{1}, %{2}, etc.
301         * added ability for mschap module to use ntlm_auth, to perform
302           MS-CHAPv1 and MS-CHAPv2 authentication against a Windows
303           Domain Controller.
304         * Check return value from registered xlat functions. If return
305           value is 0, treat the attribute as not found.  This lets things
306           like %{sql: select... :-FAILED} work.
307         * Realms can now be configured to ignore DEFAULT and NULL
308           realms.  This makes prefix/suffix realms co-exists a little
309           better.
310         * Added red-black tree implementation to src/lib.  The
311           dictionaries now use it, rather than singly linked lists.  Tests
312           indicate that the server is up to 30% faster.
313         * Updated MSCHAP module to be able to better deal with Windows
314           machines which put a username with domain into User-Name, but
315           which use only the username to create the MS-CHAP-Response.
316         * Made "hints" file more generic and flexible, without changing
317           old functionality.
318         * Enhanced configuration file variable handling.  See
319           doc/variables.txt for details.
320         * Checks for OpenSSL now enforce version number, and are common
321           across all modules, rather than being duplicated.
322         * Implement "udpfromto", which allows the server to work better in
323           LVS.  Code from Jan Berkel and Miquel van Smoorenburg.  To use
324           it, do:   ./configure --with-udpfromto=yes
325         * Re-arranged "walk over cached requests" code for clarity.
326         * The server now keeps more SNMP statistics about the packets it
327           has processed.
328         * De-coupled the queue of input requests from the pool of threads.
329           This allows "spikes" of requests to be queued, even though all
330           threads are busy.  This change significantly increases the
331           servers ability to process large numbers of requests on a
332           multi-CPU machine.
333         * Re-arranged the internal "core" request handling code, to
334           make a little more sense.
335         * Removed support for Replicate-To-Realm.  Use radrelay.
336         * Print & parse unknown attributes as Attr-%d, Vendor-%d-Attr-%d,
337           or VendorName-Attr-%d.
338         * rlm_passwd is now marked "stable", and has many bugs fixed.
339         * More flexible configuration for rlm_ldap.
340         * New implementation of parser for Ascend's data filter
341           attributes, that is now thread-safe and GPL'd.
342         * Preliminary (not entirely complete) support for IPv6 attributes,
343           including IFID.
344         * Added support for rejected packets to run an Post-Auth-Type REJECT
345           stanza instead of skipping post-auth entirely.
346         * Added support for %{*:Packet-Type} translation. (Not for %{check:})
347         * Added support for %{check:Attribute-Name} to go with
348           %{request:Attribute-Name} and the like.
349         * Add support to rlm_sql for post-authentication query execution.
350         * Add support to rlm_sql for accounting_update_query_alt
351         * Add support for supplementary groups of switched-to user
352         * Add support for xlat-ing backquoted reply values from SQL queries.
353         * Add Public Domain MD5 implementation by Colin Plumb
354         * Add Public Domain MD4 implementation by Colin Plumb and
355           Todd C. Miller
356         * Remove smbdes.c from libradius, and add to rlm_mschap and
357           rlm_eap_leap
358         * Replace GPL'd snprintf.c in libradius with LGPL'd snprintf.[ch]
359
360         EAP-module feature improvements
361         * Allow checking of EAP identity against certificate.
362         * EAP-TLS now checks Certificate Revocation List
363         * Added EAP-TTLS support in rlm_eap.  Tested with many clients,
364           and with tunneled PAP, CHAP, MS-CHAP, MSCHAPv2, EAP-MD5,
365           EAP-MSCHAPv2, and EAP-GTC.
366         * Added EAP-PEAP support, with tunneled EAP-MSCHAP-V2, and EAP-GTC.
367           Patch from Masao Nishiku.  (Many, many thanks!)
368         * Added EAP-SIM.
369         * Enabled proxying of the authentication request which is tunneled
370           inside of PEAP and TTLS.
371
372         Utility improvements
373         * Add support to checkrad.pl for mikrotik-brand NASs over SNMP
374         * Added rlm_ippool_tool, by Edwin Groothuis.
375         * Updates to radclient, so that you can specify multiple '-f'
376           options, and it will send those packets in parallel.  This
377           allows for significantly higher packet rates when load testing.
378
379         Bug fixes
380         * Fix a bug in the attr_filter module, which would throw away
381           the tag from tagged attributes.
382         * Bug fixes to thread handling from Malcolm Caldwell.
383         * Fixed a bug in libltdl which printed the wrong error message
384           when trying to link to a library.  Found by Paul Stewart.
385         * Correct error condition in rlm_krb5.  Patch from Jon Moore.
386         * Updates for 64-bit systems.
387         * Patch to make ctime_r work on non-compliant platforms.
388           Patch from Oliver Graf.
389         * Updates to rlm_ippool for stability.
390         * Catch packets which are just about 4K in size.
391            Bug found by Nils-Henner Krueger.
392         * Many fixes to the SQL module & sub-modules.
393
394 FreeRADIUS 0.9.3 ; Date: 2003/11/20 20:15:48, urgency=high
395
396         * Change rlm_eap to not log an error if given a non-EAP packet
397         * Fix rlm_ippool's call to pod2man for perl versions before 5.6
398         * Fix a remote DoS and due to mis-handling of tagged attributes,
399           and Tunnel-Password attribute.
400
401 FreeRADIUS 0.9.2 ; Date: 2003/10/14 19:00:09, urgency=low
402
403         * New rlm_ippool code to fix IP leaks
404         * New rlm_ippool_tool for manipulation of rlm_ippool databases
405
406         * Change radrelay to reject records without an Acct-Status-Type attribute
407         * Change rlm_counter to reject packets which predate last server reset
408         * Change version output to include GNU GPL information
409         * Change rlm_ldap to output bad search filters
410
411         * Fix compilation of various modules when not building with pthreads
412         * Fix segfault due to poorly initialised value in rlm_mschap
413         * Fix to only reject packets once
414         * Fix rlm_exec to work when wait=no
415         * Fix rlm_attr_filter to work in post-proxy (as intended)
416         * Fix rlm_sql to only try to load SQL drivers
417         * Fix to orrectly limit size of RADIUS packets
418         * Fix usage information to output to stdout when used with -h flag
419         * Fix configure to assume gethostbyname is BSD-Style on FreeBSD
420
421 FreeRADIUS 0.9.1 ; Date: 2003/09/04 14:56:34, urgency=low
422
423         * Replicate-To-Realm is deprecated, and hence no longer documented
424         * Document rlm_detail support for authorize and post-auth sections
425         * Improve slightly MySQL accounting record SQL query
426         * Opaquefied CHAP-Challenge
427         * Add attributes to Nomadix dictionary
428         * Fix rlm_exec's parsing of non-attribute return values
429         * Fix for a segfault while reading config files
430         * Fix for a segfault regarding hostname lengths
431         * Fix for a segfault while reading deprecated config files
432         * Fix compilation of radiusd.c when threads are disabled
433         * Recover from inability to relay
434         * Stop complaining in error log when a system call is interrupted.
435         * Don't print binary CHAP-Passwords into the logs
436         * Successfully detect GNU dbm >= 1.8.1's dbm compatibility library
437         * Fix rlm_unix to deal with requests without a username
438         * Fix "uninmplemented function" crash in postgresql driver on -HUP
439         * Revert INTERVAL types to BIGINT in postgresql example schema
440         * Fix radrelay to notice when it's out of IDs
441         * Fix radrelay to correctly skip bad attributes
442         * Fix radrelay to not leak IDs when discarding packets
443         * Fix configure to correctly identify systems without SYSV or GNU-style
444           gethostby{addr,name}_r.
445
446 FreeRADIUS 0.9.0 ; Date: 2003/07/04 21:01:29, urgency=low
447
448         * Many, many, bug fixes and feature enhancements.
449         * radrelay now updates packet 'id' on retransmissions.
450         * More checks for thread-safe functions.
451         * Fix CHAP related buffer overflow (ouch!), thanks to Masao NISHIKU.
452         * Issue warnings if deprecated configuration files are used.
453         * rlm_passwd can now add items to the reply, request, or config items.
454         * The rlm_digest, rlm_exec, and rlm_ippool modules are now marked
455           as 'stable', and included in the default build.
456         * Removed 'raduse'.  No one has used it for years.
457         * Massive fixes for Debian packaging.
458         * radclient can now send "disconnect" packets, to NASes which
459           support it.  The server, however, CANNOT send disconnect packets.
460         * Made Auth-Type, Acct-Type, etc. names consistent across
461           dictionary files and radiusd.conf.  The old (inconsistent) names
462           are still allowed for backwards compatibility.
463         * Cleaned up problems with the rlm_sql module.
464         * Updates to the rlm_ldap module.
465         * rlm_mschap no longer reads SMB password files.  See rlm_passwd,
466           instead.
467         * Changed default entry in the 'users' file to 'Auth-Type = System',
468           to allow EAP and Digest authentication to work automagically.
469         * Support for Cisco LEAP.
470         * Added many new dictionaries (Extreme, Wispr, ERX, Netscreen...)
471         * Removed support for ATTRIB_NMC.  It is now handled (better)
472           in a different manner.
473         * Dictionaries have been moved from /etc/raddb to /usr/share/freeradius
474         * Many documentation updates
475         * Ignore whitespace-only lines in the 'users' file.
476         * Patch to fix 'rlm_realm' from returning the DEFAULT entry when
477           we are looking for the NULL entry and it doesn't exist. Bug
478           noted by Nathan Miller.
479         * Disable child process spawning if we don't have threads.
480           The code doesn't work, so it's better to force the server
481           to run in single-process mode.
482         * New rlm_exec module, which allows a more generic way of
483           executing external programs.
484         * Preliminary large file support in 'configure' and in the server,
485           to support 2G+ detail files.
486         * Install documentation into /usr/local/share/doc/freeradius
487         * New/updated dictionaries for RedCreek, Bintec, Alcatel,
488           ITK, Telebit, and Cabletron.
489         * Updates to allow building on MAC OSX.
490         * Add support for Acct-Type,Session-Type and PostAuth-Type
491         * Removed builddbm.  It hasn't been used for ages.
492         * Added new post_proxy section, based on patch from Chris Brotsos.
493         * rlm_counter shouldn't reset the counters on instantiation,
494           if the reset is set to 'never'.
495         * Significant updates to the rlm_python and rlm_perl modules
496         * Fix the rlm_pap module to handle password lengths properly.
497         * Do SQL 'close' on bad sockets, to prevent descriptor leaks
498         * Case insensitivity option for rlm_radutmp
499         * New pseudo-round-robin load balancing for realms.
500         * Suppress empty SQL queries.
501         * Include strong PRNG
502         * Create 'snmp' configuration directive, so that we can disable
503           SNMP at run time, even if it's built into the server.
504         * Refresh realm as 'active' when we see a response from it,
505            Based on a patch by Angelos Karageorgiou.
506         * Don't core dump if Status-Server is received, but it's disabled.
507         * Support more variants of character fields in Oracle.
508           Patch from Stocker Gernot.
509         * Better parsing of dictionary files.
510         * Alteon web switch dictionary, from Thomas Linden
511
512 FreeRADIUS 0.8 ; Date: 2002/11/18 15:37:24, urgency=low
513
514         * Added Oracle-specific queries.
515         * Updated SQL queries to match schema.
516         * PostGreSQL reconnect patch.
517         * Added documentation on how to build on MAC OSX.
518         * Allowed SQL module to ignore unknown Acct-Status-Type values.
519         * Updated PostGreSQL queries and schema.
520         * Updated the log rotation configuration files.
521         * Colubris and updated Nomadix dictionaries, from Marko Myllynen.
522         * Normalized error messages from the SQL modules, so that they're
523           more informative.
524         * Added Suse specific directory and configuration files, from
525           Peter Nixon
526         * SQL fail-over patch, so that the module returns FAIL if
527           the back-end database is down.  Based on a patch from
528           Thomas Jalsovsky.
529         * Cleaned up the internal handling of the configuration
530           information, in preparation for better handling SIGHUP.
531         * Updated rlm_krb5 configuration to better find it's libraries
532           and include files.
533         * radclient now complains if it receives a reply from a machine
534           other than the one to which it sent the request.
535         * Updated Postgresql SQL queries to get the operator, too.
536         * Added Juniper dictionary.
537         * Added Cisco VPN3000, VPN5000, and BBSM dictionaries.
538         * New platform-neutral 'rc.radiusd'
539         * Configuration files with private information get chmod'd
540           0600 after installation.
541         * Preliminary support for clean shutdowns when a SIGTERM is
542           received.
543         * SNMP timeouts for checkrad, so there will be fewer situations
544           where it hangs for 30 seconds...
545         * Added code to clean up modules and memory when asked to exit
546           via SIGTERM.
547         * Removed all need for the old-style 'naslist' and 'client' files,
548           and noted that they are deprecated.
549         * Added support for Status-Server packets, stolen shamelessly
550           from Cistron RADIUSD.  This is despite the RFC's saying such
551           things are wrong.
552         * Bug fixes to rlm_dbm.
553         * Updates for checkrad, max40xx routine, from Aleksandr Kuzminsky.
554         * Disable caching of passwords for the Unix module.  It was
555           causing too much confusion.
556         * Fix a memory leak when proxying Authentication-Request's
557         * Attributes which are not found in the dictionary are now of
558           type 'octets', instead of 'string'.
559         * Support for "round-robin" load balancing, when proxying requests
560           to multiple servers for one realm.
561         * Minor changes for better HPUX support.
562         * Updated the documentation and README's
563         * Made FreeTDS build ONLY after hand-editing, as the FreeTDS
564           libraries are in a state of flux, due to active development.
565         * Fixes to help build the server on MAC OSX
566         * Cisco VPN 3000 dictionary, as posted to the list by Chris Deramus.
567         * Fix EAP problems with retransmission, from Rainer Weikusat.
568         * Updates to the Oracle module, from Andrea Gabellini.
569         * In xlat, Unix timestamps are unsigned ints.
570         * Security fixes for the Kerberos Module.
571         * New 'post-auth' section, to do additional processing of
572           requests after they've been authenticated.
573         * doc/aaa.txt describes how the server works.
574         * More uniform encoding/decoding of passwords, so that they will
575           be seen as clear-text where possible.
576         * radwho and radzap now read 'radiusd.conf' to discover where the
577           radutmp files are located.  Patch from Andrea Gabellini.
578         * Preliminary 'expression' module, to allow you to do cool things
579           like:    Session-Timeout = `%{expr:3600 - %{sql:SELECT ...}}`
580         * Added ability to do xlat on check items, and reply items,
581           so that the value of the reply attributes can be dynamically
582           generated.
583         * Added MIBs, taken from the RFC's.  This makes SNMP queries to
584           the server a little easier to set up.
585         * Don't SEGV when we receive a packet which is larger than the
586           size claimed in the RADIUS portion.  Patch from Vaughn Skinner.
587         * SNMP patches from Harrie Hazewinkel.
588         * Added Altiga dictionary, from Calum <calum.aug02@umtstrial.co.uk>
589         * New Rewrite-Rule for rlm_attr_rewrite, to selectively choose
590           which rewrite rule is performed, and when.
591         * Minor bug fixes for radrelay.
592         * Bug fixes in SQL and sub-modules.
593         * Major updates to dialup_admin.
594         * Fixed handling of tagged string attributes, so that the server
595           doesn't go off into never-never land.
596         * Cleaned up experimental rlm_smb, so that it builds on more
597           platforms.
598         * Don't over-write request->reply->vps with the Reply-Message,
599           when doing authentication rejects with Exec-Program-Wait.
600         * Added 'instantiate' section, so that modules like 'expr',
601           with only an 'xlat' function can be registered.
602         * Allow '{' and '}' in xlat'd strings.
603         * C++ compatibility patch from Andrey Kotrekhov, for libradius.
604         * Automatically decrypt/encrypt User-Password, so that debugging
605           mode will print out the text password, and not the random
606           garbage it previously showed.
607         * Cleaned up header files and function prototypes for the SQL
608           sub-modules.
609
610 FreeRADIUS 0.7 ; Date: 2002/07/26 18:01:50 , urgency=high
611
612         * Allow attributes of type 'date' to be sent in outgoing packets.
613           Bug found by Loh John Wu <ljwu@sandvine.com>
614         * Add 'Realm' attribute, even if it's a LOCAL realm.
615           Bug noted by Chris Brotsos.
616         * Added experimental SMB authentication module, which uses
617           PAP passwords to authenticate against an NT-Domain.
618           NT/LM-passwords are not currently supported.
619         * More documentation for rlm_passwd, rlm_mschap, and rlm_digest.
620         * 'configure' changes to better find sem_init and friends.
621         * Allow the use of previously installed libtool, and libltdl.
622           This appears to help a lot on FreeBSD.
623         * Fixes to work on non-threaded builds.
624           Patch from Rainer Weikusat.
625         * SQL now re-connects to the server, if the connection is lost.
626           Currently only MySQL is fixed, but other patches will follow.
627           Patch from Todd T. Fries.
628         * Added experimental use of dynamicly translated variables,
629           CallBack-Number = `%{request:Calling-Station-Id}`
630           sets the value of the CallBack-Number attribute to the value of
631           the Calling-Station-Id in the original request.
632         * Cute hack: Allow regex matching on IP addresses, by placing
633           the string representation of the IP address (1.2.3.4) into
634           the internal data structure.  This allows things like
635           NAS-IP-Address =~ "^192\.168", which may be useful.
636         * Add documentation for experimental rlm_dbm module.
637         * Added experimental Perl module.
638         * Added the relevant IETF RFC's (standards documents) to 'doc/rfc',
639           along with some simple perl scripts to convert them to cross-
640           referenced HTML.
641         * Updated the experimental Python module.
642         * Added Cisco SSG VSA's
643         * When rejecting authentication due to external Exec-Program, do
644           NOT free the reply pairs, as the server core will take care of
645           doing that.  Bug noted by Thomas Jalsovsky
646         * New experimental module: rlm_cram
647           Supports APOP, CRAM-MD5, CRAM-MD4, CRAM-SHA1 with it's own
648           VSA's. This module may be used for SMTP/POP3/IMAP4 server
649           authentication.
650         * Make Exec-Program and Exec-Program-Wait work in debugging mode.
651         * Finalize the radrelay additions, based on Cistron RADIUS
652           Patches from Simon <lists@routemeister.net>
653         * Fix issues with linking, by making libradius shared.
654         * Fix issues with MD4, MD5, SHA1, and use of OpenSSL
655         * Update rlm_x99_token module to compile.
656
657 FreeRADIUS 0.6.0 ; Date: Date: 2002/07/03 14:16:33 , urgency=high
658
659         * Many bug fixes.  For explicit details, see:
660                 http://www.freeradius.org/cvs-log/
661         * Change to the user/group specified in the config file in all
662           modes ( debug and daemon ).
663         * SQL sockets are rotated so that all are used, to prevent the
664           SQL server timing out and closing unused sockets.  Patch from
665           Todd T. Fries
666         * Sybase driver from mattias@nogui.se.
667         * Modules are now versioned.
668         * Delete garbage Proxy-Reply attributes sent by the home server
669           before performing our own reply.
670         * Fix race conditions when duplicate packets resulted in a request
671           being processed by two threads, at the same time.
672         * Add '-d' command-line option to radwho
673           Bug noted by Matthew Schumacher
674         * Corrected issue that when a home server never replied to a
675           proxied request, the server may die.
676         * In SQL, look in radcheck, if not found there, try radgroupcheck.
677           Patch from Thomas Jalsovsky.
678         * Set sql user name for ALIVE accounting packets, too.
679           Patch from Simon <lists@routemeister.net>.
680         * Use port-specific checking for realms, now that we can proxy to
681           different auth/acct servers for the same realms.
682           Patch from Eddie Stassen.
683         * Minor updates to encrypted tunnel passwords.
684         * Default 'run_dir' is now /var/run/radiusd, not var/run.
685           /var/run is writeable only by root, and radiusd may be run suid.
686         * Modules are now versioned, so that upgrading the server
687           ensures that the new modules are installed.
688         * Fix sql code, so that magic SQL characters don't get the
689           SQL server excited.
690         * Remove references to "UNKNOWN-NAS" in log messages.
691         * Properly handle fork() and obtaining child processes exit
692           status when using threads.  (pthread is broken w.r.t. signals)
693         * Correct code which would send erroneous reject, when the reject
694           was delayed, and a new request came in.
695         * Fix race condition where proxied requests would sometimes never
696           be re-sent.  Bug noted by Eddie Stassen.
697         * Corrected LDAP3 schema
698         * Implemented Digest authentication, as per IETF document
699           draft-sterman-aaa-sip-00.txt, to perform authentication against
700           a Cisco SIP server.
701         * If no password or group files have been specified in the config,
702           use the standard system calls to find them, rather than giving
703           up.  Patch from Steve Langasek.       
704         * Return Proxy-State attributes in a delated Access-Reject
705         * Corrected 'session zap' logic, when an old and unused session
706           is deleted from the databases.  Accounting packets with garbage
707           Client-IP-Address attributes should no longer be a problem.
708         * Bug fixed in LDAP attribute map, for MS-CHAP related attributes.
709         * Fixes to the EAP module to work better with XP.
710         * Support for MS-SQL, using the FreeTDS library,
711           from Dmitri Ageev
712         * New operators =* and !*.  See 'man 5 users' for details.
713         * Added translation for %{config:section.subsection.item}, to
714           allow run-time translation of internal configuration parameters.
715         * New rlm_sqlcounter module, to keep counters based on SQL data.
716         * Fix rlm_realm, to allow seperate proxying of accounting and
717           authentication requests.
718         * Bug fixes in PostgreSQL back-end, from Andrew Kukhta.
719         * Increase internal buffers, to allow large SQL query strings.
720         * Added debug level 3 (-xxx), where debug messages have time stamps.
721         * Fix 'radwho' to use the correct radutmp file, as found by
722           'configure' (but radwho still doesn't read radiusd.conf)
723         * Fix bugs in tunnel (tagged attribute) code, which would prevent
724           tagged attributes from being generated correctly in a packet.
725         * Build only 'stable' modules by default.  Experimental modules
726           require --with-experimental-modules to be passed to 'configure'
727         * New module rlm_ippool, to do server-side IP pooling.
728         * Fix rlm_eap module for portability, to work on non-x86 platforms.
729         * Re-connect to the LDAP server if the connection idles out
730         * Increased the visibility of the warning messages when doing
731           'make install'
732         * Fixed EAP module to use 16-bit integers, so that it will
733           work on big-endian architectures.
734
735 FreeRADIUS 0.5.0 ; Date: 2002/03/14 22:18:22, urgency=medium
736
737         * Many bug fixes.  For explicit details, see:
738                 http://www.freeradius.org/cvs-log/
739         * Added Foundry dictionary, from Thomas Keitel
740         * Fix a logic bug in the 'walk over request list' code, which
741           would sometimes result in a request being deleted while it
742           was still being processed.  Found by Rainer Clasen
743         * New 'tuning' guide, for optimizing the server's speed.
744         * The default ports are now 1812/1813, which is the standard.
745         * Fix a bug which would hang the server when many SQL connections
746           were open.  Found by Cvetan Ivanov <zezo@spnet.net>
747         * Updated MySQL schema, with sanity checks, based on a schema from
748           Thomas Huehn <huehn@eozaen.net>
749         * Added 'Aptis' (Nortel CVX) dictionary.
750         * Added Ipv6 attributes (as 'octets' type for now)
751         * 'xlat' capability for SQL, so other modules can do SQL queries.
752         * We don't need a shared secret for LOCAL realms.
753         * Added better description of internal variables.
754         * Configurable fail-over to DEFAULT realm.  Sometimes we don't
755           want to use the DEFAULT realm, if all configured realms are
756           marked dead.  From Rainer Clasen.
757         * new configuration items 'max_attributes' and 'reject_delay'
758           If the packet contains too many attributes, it can be rejected.
759           We can also delay sending an Access-Reject, which slows down
760           certain DoS attacks.
761         * Updates to redhat scripts and spec file, from Marko Myllynen.
762         * Python module (EXPERIMENTAL) from migs paraz <mparaz@yahoo.com>
763         * Add ability to find *best* match when comparing attributes.
764           If there is more than one attribute in a request and the first
765           one doesn't match, go check the second one, instead of failing.
766         * unixODBC support for SQL, from Dmitri Ageev <d_ageev@ortcc.ru>
767         * Use thread-safe versions of library calls.  This work is still
768           on-going.
769         * New rlm_passwd module, to allow general parsing of passwd-style
770           files.
771         * Preliminary EAP-TLS support.
772         * Updated LDAPv3 schema
773         * Correct checks for Odbc, and fix bugs in the module.
774           Andreas Kainz <aka@maxxio.at>
775         * MAN page fixes and updates
776         * Added PHP web interface 'dialup_admin'
777         * Password = "UNIX" or "PAM" backwards compatibility removed.
778         * Use the operators in the SQL schema and queries, and bug
779           fixes in the SQL module.
780           Randy Moore <ramoore@axion-it.net>
781         * fgetpwent() compatibility, for systems without it,
782           from Daniel Carroll <freeradius@defiant.mesastate.edu>
783         * Added PAP authentication module, as a step to removing
784           most authentication handlers in other modules.
785         * Send a Access-Reject after max_request_time
786         * Multiple fixes in the LDAP module.
787         * Quintum dictionary by Jeremy McNamara <jj@indie.org>
788         * Preliminary EAP Module with MD5 support
789           Contributed by Raghu <raghud@hereuare.com>
790         * Better sanity checking for bad VSA's when receiving a packet
791         * new 'xlat register' so that attribute values may be pulled
792           out of configurable databases at run-time.
793           e.g. %{ldap:ldap:///dc=company,dc=com?uid?sub?uid=%u}
794         * Minor fixes to debian package rules
795         * Attribute 'Password' deprecated in favor of 'User-Password'.
796         * MS-CHAP and MS-CHAPv2 MPPE support added.
797           Contributed by Takahiro Wagatsuma <waga@sic.shibaura-it.ac.jp>.
798         * X9.9 token enhancements (several).
799
800   --  Alan DeKok <aland@ox.org>
801
802 FreeRADIUS 0.4.0 ; urgency=low
803
804         * Allow the MS-CHAP module to work, and to read /etc/smbpass
805           3APA3A <3APA3A@SECURITY.NNOV.RU>
806         * Remove the server requirement that one of User-Password
807           or CHAP-Password exist when doing authentication.  These
808           checks should be handled by the modules.  This change
809           also prepares us for EAP.
810           Patch from Raghu <raghud@hereuare.com>
811         * Make NAS-Port-ID in radwho, raduse, etc. unsigned,
812           instead of signed.
813           Patch from John Morrissey <jwm@horde.net>
814         * Allow \t and \n inside of configuration strings.
815           Frank Cusack <fcusack@fcusack.com>
816         * X9.9 Challenge-Response token card support.
817           For now, only CRYPTOCard tokens are supported.
818           Frank Cusack <fcusack@fcusack.com>
819         * Fix core dump on Solaris in radwho.c
820           Patch from Eddie Stassen <eddies@saix.net>
821         * Fix leak / core dump in Oracle module.
822         * Fix memory leak in rlm_counter
823           Kostas Kalevras <kkalev@noc.ntua.gr>
824         * "LOCAL" realms do not need to have an entry in the 'clients'
825           file.  Philippe Levan <levan@epix.net>
826
827   --  Alan DeKok <aland@ox.org>
828
829 FreeRADIUS 0.3.0 ; urgency=low
830
831         * Added ability to send debug messages to the log file, when
832           running in daemon mode.
833         * Miscellaneous fixes to get Debian packaging working.
834         * When trapping a signal, don't SIGKILL children on a SIGTERM,
835           SIGTERM them, instead.  This allows Exec-Program scripts to
836           catch the signal, and finish processing, instead of dying.
837           Bug noted by Michael Chernyakhovsky <magmike@mail.ru>
838         * Increased limit on length of user name read from /etc/passwd,
839           to match the maximum allowed by RADIUS.
840           Bug noted by "Gonzalez B., Fernando" <fgonzalez@manquehue.cl>
841         * Configurable fail-over when proxying packets.  If the
842           home server doesn't respond to a repeated proxied request,
843           it's marked as 'dead', and the next one in the list is used.
844           Patch by Eddie Stassen <eddies@saix.net> and <spirn@21cn.com>
845         * Pass Access-Challenge attributes through the server, in
846           preparation for EAP.
847           Raghu <raghud@hereuare.com>
848         * More fixes for RFC compliance on the Message-Authenticator
849           Raghu <raghud@hereuare.com>
850         * Merged OSFC2/OSFSIA authentication patches from Cistron.
851           (Bug # 104)  The patches are not well tested, however.
852         * IBM DB2 UDB V7.1 SQL driver, contributed by
853           Joerg Wendland <wendland@scan-plus.de>
854         * Fix the IP + Port address assignment.
855           Bug found by "John Padula" <john_padula@aviancommunications.com>
856         * Patch to avoid smashing the contents of Ascend binary filters.
857           Michael Chernyakhovsky <magmike@mail.ru>
858         * Create and Validate Message-Authenticator attribute, in
859           preparation for EAP.
860         * Initialize variables properly in rlm_attr_filter.
861           Patch from Andriy I Pilipenko <bamby@marka.net.ua>
862         * Renamed RedHat init script from 'radiusd.init' to 'radiusd'.
863           This allows it to work properly with the RedHat rc system.
864           Patch from Christian Vogel <chris@amor.iksys.de>
865         * Fix the configure script checks for PostgreSQL, so that
866           they use the 'test' command properly.
867           Bug found by Robert Haskins <rhaskins@ziplink.net>
868         * Change instances of 'assert' to 'rad_assert', so that it
869           can log the error to the standard radius log files.
870           Patch from Vesselin Atanasov <vesselin@bgnet.bg>
871         * Patch to prevent segv when freeing results, from
872           Tomas Heredia <tomas@intermediasp.com>
873         * Added support for Exec-Program to acct.  Bug found by
874           <magmike@mail.ru>
875         * Corrected rlm_files so that raddb/acct_users works
876         * When doing synchronous proxying, update proxy next try
877           entries, so that the server doesn't eat CPU time.
878           Raghu <raghud@hereuare.com>
879         * Add primitive dictionary.nomadix <CBoyd@apogeetelecom.com>
880         * Log messages to console, if the logger hasn't been
881           initialized.  <vesselin@bgnet.bg>
882         * Log invalid user for proxy rejects, too. <help@visp.net>
883         * Fixed Expiration attribute handling.
884         * Added code to handle Ascend-Send-Secret and Ascend-Receive-Secret
885         * Removed non thread-pool code.  If we have threads, we now force
886           the use of thread pools.
887         * Update version number
888         * correct bug where proxied accounting packets would never have a
889           reply sent back to the NAS, or the reply would be sent twice.
890
891   --  Alan DeKok <aland@ox.org>
892         
893 FreeRADIUS Alpha 0.2.0, July 30, 2001.
894
895         * call openlog() again when using PAM, to get the correct log
896         facility.
897         * Update child thread code, to minimize race conditions.
898         * Make thread pools the default.  Using plain child threads is NOT
899         recommended.
900         * Ignore SIGPIPE to get ride of crashes when using ldap.
901         * Update proxying code to work better.
902         * Platform independent pthread_cancel()ling
903         * Fix 'unresponsive child pid' erroneous warning messages.
904         * Many changes to get various SQL modules working.
905         Note that there may still be some issues with Oracle.
906         * Added configure options 'with-rlm-FOO-include/lib-dir', so that
907         lower-level rlm_FOO modules can be configured via the top-level
908         configuration file.  This isn't completely done yet.
909         * Fix check for shared library using libtool info, instead of
910         assuming extension being ".so".
911         * Fixes for HPUX.  We probably need more.
912         * Many additional bug fixes and changes.