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