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