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