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