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