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