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