Updates
[freeradius.git] / doc / ChangeLog
1 FreeRADIUS 2.1.5 Sun Jan 1 1:1:00 CEST 2009;  , urgency=medium
2         Feature improvements
3         * radclient exits with 0 on successful (accept / ack), and 1
4           otherwise (no response / reject)
5         * Added support for %{sql:UPDATE ..}, and insert/delete
6           Patch from Arran Cudbard-Bell
7         * Added sample "do not respond" policy.  See raddb/policy.conf
8         * Cleanups to Suse spec file from Norbert Wegener
9         * New VSAs for Juniper from Bjorn Mork
10         * Include more RFC dictionaries in the default install
11         * More documentation for the WiMAX module
12         * Added "chase_referrals" and "rebind" configuration to rlm_ldap.
13           This helps with Active Directory.  See raddb/modules/ldap
14         * Don't load pre/post-proxy if proxying is disabled.
15         * Added %{md5:...}, which returns MD5 hash in hex.
16         * Added configurable "retry_interval" and "poll_interval"
17           for "detail" listeners.
18         * Added "delete_mppe_keys" configuration option to rlm_wimax.
19           Apparently some WiMAX clients misbehave when they see those keys.
20         * Added experimental rlm_ruby from
21           http://github.com/Antti/freeradius-server/tree/master
22         * Add Tunnel attributes to ldap.attrmap
23         * Enable virtual servers to be reloaded on HUP.  For now, only
24           the "authorize", "authenticate", etc. processing sections are
25           reloaded.  Clients and "listen" sections are NOT reloaded.
26
27         Bug fixes
28         * Minor changes to allow building without VQP.
29         * Minor fixes from John Center
30         * Fixed raddebug example
31         * Don't crash when deleting attributes via unlang
32         * Be friendlier to very fast clients
33         * Updated the "detail" listener so that it only polls once,
34           and not many times in a row, leaking memory each time...
35         * Update comparison for Packet-Src-IP-Address (etc.) so that
36           the operators other than '==' work.
37         * Did autoconf magic to work around weird libtool bug
38         * Make rlm_perl keep tags for tagged attributes in more situations
39         * Update UID checking for radmin
40
41 FreeRADIUS 2.1.4 Tue Mar 10 17:05:00 CEST 2009;  , urgency=medium
42         Feature improvements
43         * Permit multiple "-e" in radmin.
44         * Add support for originating CoA-Request and Disconnect-Request.
45           See raddb/sites-available/originate-coa.
46         * Added "lifetime" and "max_queries" to raddb/sql.conf.
47           This helps address the problem of hung SQL sockets.
48         * Allow packets to be injected via radmin.  See "inject help"
49           in radmin.
50         * Answer VMPS reconfirmation request.  Patch from Hermann Lauer.
51         * Sample logrotate script in scripts/logrotate.freeradius
52         * Add configurable poll interval for "detail" listeners
53         * New "raddebug" command.  This prints debugging information from
54           a running server.  See "man raddebug.
55         * Add "require_message_authenticator" configuration to home_server
56           configuration.  This makes the server add Message-Authenticator
57           to all outgoing Access-Request packets.
58         * Added smsotp module, as contributed by Siemens.
59         * Enabled the administration socket in the default install.
60           See raddb/sites-available/control-socket, and "man radmin"
61         * Handle duplicate clients, such as with replicated or
62           load-balanced SQL servers and "readclients = yes"
63
64         Bug fixes
65         * Clean up control sockets when they are closed, so that we don't
66           leak memory.
67         * Define SUN_LEN for systems that don't have it.
68         * Correct some boundary conditions in the conditional checker ("if")
69           in "unlang".  Bug noted by Arran Cudbard-Bell.
70         * Work around minor building issues in gmake.  This should only
71           have affected developers.
72         * Change how we manage unprivileged user/group, so that we do not
73           create control sockets owned by root.
74         * Fixed more minor issues found by Coverity.
75         * Allow raddb/certs/bootstrap to run when there is no "make"
76           command installed.
77         * In radiusd.conf, run_dir depends on the name of the program,
78           and isn't hard-coded to "..../radiusd"
79         * Check for EOF in more places in the "detail" file reader.
80         * Added Freeswitch dictionary.
81         * Chop ethernet frames in VMPS, rather than droppping packets.
82         * Fix EAP-TLS bug.  Patch from Arnaud Ebalard
83         * Don't lose string for regex-compares in the "users" file.
84         * Expose more functions in rlm_sql to rlm_sqlippool, which 
85           helps on systems where RTLD_GLOBAL is off.
86         * Fix typos in MySQL schemas for ippools.
87         * Remove macro that was causing build issues on some platforms.
88         * Fixed issues with dead home servers.  Bug noted by Chris Moules.
89         * Fixed "access after free" with some dynamic clients.
90
91 FreeRADIUS 2.1.3 Fri Dec 5 17:40:00 CEST 2008;  , urgency=medium
92         Feature improvements
93         * Allow running with "user=radiusd" and binding to secure
94           sockets.
95         * Start sending Status-Server "are you alive" messages earlier,
96           which helps with proxying multiple realms to a home server.
97         * Removed thread pool code from rlm_perl.  It's not necessary.
98         * Added example Perl configuration to raddb/modules/perl
99         * Force OpenSSL to support certificates with SHA256.
100           This seems to be necessary for WiMAX certs.
101
102         Bug fixes
103         * Fix Debian patch to allow it to build.
104         * Fix potential NULL dereference in debugging mode on certain
105           platforms for TTLS and PEAP inner tunnels.
106         * Fix uninitialized memory in handling of vendor definitions
107         * Fix parsing of quoted (but non-string) attributes in the "users"
108           file.
109         * Initialize uknown NAS IP to 255.255.255.255, rather than 0.0.0.0
110         * use SUN_LEN in control socket, to avoid truncation on some
111           platforms.
112         * Correct internal handling of "debug condition" to prevent it
113           from being over-written.
114         * Check return code of regcomp in "unlang", so that invalid
115           regular expressions are caught rather than mishandled.
116         * Make rlm_sql use <ltdl.h>.  Addresses bug #610.
117         * Document list "type = status" better.  Closes bug #580.
118         * Set "default days" for certificates, because OpenSSL won't
119           do it.  This closes bug #615.
120         * Reference correct list in example raddb/modules/ldap.
121           Closes #596.
122         * Increase default schema size for Acct-Session-Id to 64.
123           Closes #540.
124         * Fix use of temporary files in dialup-admin.  Closes #605
125           and addresses CVE-2008-4474.
126         * Addressed a number of minor issues found by Coverity.
127         * Added DHCP option 150 to the dictionary.  Closes #618.
128
129 FreeRADIUS 2.1.2 Thurs Dec 3 10:47:00 CEST 2008;  , urgency=medium
130         Due to packaging issues, 2.1.2 has been pulled from the net.
131
132 FreeRADIUS 2.1.1 Thu Sep 25 11:03:00 CEST 2008;  , urgency=medium
133         Feature improvements
134         * Many more options and features in radmin.  See "man radmin" and
135           raddb/sites-available/control-socket
136         * Many more commands available via the control socket.  Connect
137           via "radmin", and type "help" for more information.
138         * Added dictionary.networkphysics and dictionary.lancom.
139         * Calculate WiMAX MIP keys, and added sample WiMAX SQL tables.
140
141         Bug fixes
142         * Fixed bug that made radmin not work
143         * Fixed Suse && Debian package scripts
144         * Fixed issues with dynamic clients
145         * Fixed configure checks for -lreadline
146         * rlm_sqlippool no longer needs to be linked to rlm_sql.
147         * Add statistics for detail file listeners.  This closes bug #593.
148         * Fixed printing of some WiMAX attributes.
149         * Fix double free on exit() in rlm_attr_filter
150         * Fixed build issues on Solaris.
151         * Fixed fast session resumption for EAP-TLS
152
153 FreeRADIUS 2.1.0 Fri Sep  5 13:20:01 CEST 2008;  , urgency=medium
154         Feature improvements
155         * Clients may now be defined dynamically, based on IP address.
156           See raddb/sites-available/dynamic-clients.
157         * SNMP support is now available through an experimental Perl script.
158           See scripts/snmp-proxy/README
159         * SNMP statistics are available through Status-Server packets.
160           See raddb/sites-available/status
161         * Added more Microsoft attributes from bug #568.
162         * The "linelog" module has more functionality and flexibility.
163           See raddb/modules/linelog.
164         * The debugging output has been sanitized.  It should be much
165           more readable.
166         * Debug logs can now be turned on/off while the server is running, for
167           a user, group, realm, etc.  See the "log" section of radiusd.conf.
168         * Added support for WiMAX Forum attributes.  The dynamic keys
169           are not yet calculated.  See share/dictionary.wimax
170         * Added session resumption for PEAP and TTLS.
171           See raddb/eap.conf, "cache" sub-section.
172         * Added "radmin" command-line tool for administering a running server.
173           See "man radmin" and raddb/sites-available/control-socket.
174
175         Bug fixes
176         * Double escaping of '\\' in the "users" (and some other) files
177           has been fixed.  If you have '\\' in the "users" file, your
178           configuration WILL NEED TO BE CHECKED, AND FIXED!
179         * Parse "security" section in radiusd.conf.  This was accidentally
180           deleted in 2.0.5.  Closes bug #566.
181         * Bind to interface before IP, which allows DHCP sockets to
182           listen on "*" for multiple interfaces.
183         * Fix handling of giaddr in DHCP responses.
184         * Corrected parsing of status_check in home_server so that it works.
185         * Fix hints so that "Puser" works again.
186         * Removed length restrictions on attribute names in the dictionaries.
187         * Update socket code to avoid C compiler optimizations.
188
189 FreeRADIUS 2.0.5 ; Date: 2008/06/07 17:17:00 , urgency=medium
190         Feature improvements
191         * Permit SQL authorize_reply_query to be empty.
192         * Allow setting response packet type in Post-Proxy-Type Fail
193           handler.
194         * Added install-chown target to set correct permission and ownership
195           make RADMIN=radmin RGROUP=radius install-chown
196         * Support for LDAP-Group and other dynamic comparison attributes
197           in unlang.  Developed from a patch by Jason Alderfer.
198         * Added chroot support.  See radiusd.conf for comments.
199         * Allow clients of 0/0.  We do not recommend using this, though.
200         * Moved many module configurations into raddb/modules/*
201         
202         Bug fixes
203         * Allow proxying to virtual servers for accounting packets, too.
204         * Added "num fields" function to PostgreSQL client.
205         * Updated proxy fallback mechanism to validate fallback servers,
206           and to process fallback requests in a child thread.
207         * rlm_realm returns "ok" for LOCAL realms, not "noop".
208         * Fixed some DHCP code handling.  The examples should now work.
209
210 FreeRADIUS 2.0.4 ; Date: 2008/04/30 08:56:40  , urgency=medium
211         Feature improvements
212         * Allow "virtual_server" in "realm" and "home_server" sections.
213           See raddb/proxy.conf and raddb/sites-available/virtual.example.com.
214         * Allow "passwd" module to be listed in "accounting" and "post-auth".
215         * Added "fallback" to "home_server_pool" configuration, to handle
216           the case of all home servers being dead.  See raddb/proxy.conf.
217         * Added sample text to raddb/sites-available/inner-tunnel which
218           can simplify debugging of inner tunnel configurations.
219         * Added regular expression matching in realm names.  See
220           raddb/proxy.conf for examples.
221         * Added simple DHCP server functionality.  For comments, see
222           raddb/sites-available/dhcp.
223         * Added file globbing capabilities to detail file reader
224         * Added sample raddb/sites-available/robust-proxy-accounting
225         * Clients in SQL can now refer to a virtual server.
226           Patch from Michael Bretterklieber.
227         * Added some examples of creating RADIUS administrator in SQL,
228           and assigning appropriate access rights.
229         
230         Bug fixes
231         * Install all files in raddb/sites-available
232         * Allow non-threaded builds.
233         * Don't treat '0x' as special for known attributes that are not
234           of type "octets".
235         * Fix log error in rlm_pap.
236         * Remove documentation about non-existent functionality.
237         * Updated warning messages in debug output.
238         * Fix handling of timeouts in rlm_ldap that affected 64-bit systems.
239           This fix was supposed to go into 2.0.3, but did not make it.
240         * Fix event handling in debug mode for failed proxy requests.
241         * Fix memleak in fifos.  Closes #537.
242         * Fix memleak on blocked threads.  Closes #538.
243         * Perform additional checks on NULL realms.  Closes #541.
244         * Fix handling of "clients" in "listen" section.
245         * When detail file cannot process a packet, sleep for longer
246           to let the rest of the server do something.
247         * Add missing table to raddb/sql/mssql/schema.sql.  Closes #545.
248         * Updated rlm_sql_postgresql to build with PostgreSQL 7.x. 
249           Closes #533.
250         * Fix "postauth" of rlm_ldap to look for LDAP-UserDn in the
251           correct place.
252         * Update rlm_attr_filter for some corner cases.  Closes #543.
253         * Fixed memory leak in libfreeradius event handler.
254         * In the SQL Accounting on/off queries, remove the restriction
255           that the session time had to be zero.
256         
257 FreeRADIUS 2.0.3 ; Date: 2008/03/17 09:22:17  , urgency=medium
258         Feature improvements
259         * Updated raddb/certs/ca.cnf with extensions to allow ca.der
260           to be imported as a CA on Symbian and Windows Mobile devices.
261           Closes bug #524
262         * Enable multiple matches in "hints" via Fall-Through = Yes.
263           Closes bug #477
264         * Added preliminary SQLite driver, contibuted by Apple.
265           Untested, with no sample configuration.  This address bug #470.
266         * Updated logging sub-system so that log messages from libfreeradius
267           can go to the log file, and not stdout.
268         * Added dictionary.rfc5176
269         * EAP module now checks for instance name, and uses that for
270           authentication.  This avoids the need to set Auth-Type when
271           there are multiple instances of the EAP module.
272         * Added Module-Return-Code attribute, which contains the value
273           returned by the previous module (ok/fail/update/etc.)
274
275         Bug fixes
276         * Corrected typos in rlm_dbm.  Closes bugs #521 and #522.
277         * Detail file "listen" sections now work much better.
278         * Don't allow old "log_*" to over-ride new format.  Closes bug #525
279         * Initialize allocated memory in Oracle SQL driver.  This fixes
280           occasional crashes on some systems.  Closes bug #518
281         * Call correct function in rlm_protocol_filter.  This enables the
282           module to build.  Closes bug #512.
283         * Added deprecated flag to build for rlm_krb5.  This allows it to
284           run on 64-bit systems.  Closes bug #491
285         * Corrected error message when parsing invalid configurations
286           so it doesn't crash.  Closes bug #527
287         * Fix handling of timeouts in rlm_ldap that affected 64-bit systems.
288         * Handle $INCLUDE's in "instantiate" section.  Closes #528.
289         * Format updates to "man" pages from Stephen Gran.
290
291 FreeRADIUS 2.0.2 ; Date: 2008/02/14 11:13:48  , urgency=medium
292         Feature improvements
293         * Added notes on how to debug the server in radiusd.conf
294         * Moved all "log_*" in radiusd.conf to log{} section.
295           The old configurations are still accepted, though.
296         * Added ca.der target in raddb/certs/Makefile.  This is
297           needed for importing CA certs into Windows.
298         * Added ability send raw attributes via "Raw-Attribute = 0x0102..."
299           This is available only debug builds.  It can be used
300           to create invalid packets! Use it with care.
301         * Permit "unlang" policies inside of Auth-Type{} sub-sections
302           of the authenticate{} section.  This makes some policies easier
303           to implement.
304         * "listen" sections can now have "type = proxy".  This lets you
305           control which IP is used for sending proxied requests.
306         * Added note on SSL performance to raddb/certs/README
307
308         Bug fixes
309         * Fixed reading of "detail" files.
310         * Allow inner EAP tunneled sessions to be proxied.
311         * Corrected MySQL schemas
312         * syslog now works in log{} section.
313         * Corrected typo in raddb/certs/client.cnf
314         * Updated raddb/sites-available/proxy-inner-tunnel to
315           permit authentication to work.
316         * Ignore zero-length attributes in received packets.
317         * Correct memcpy when dealing with unknown attributes.
318         * Corrected debugging messages in attr_rewrite.
319         * Corrected generation of State attribute in EAP.  This
320           fixes the "failed to remember handler" issues.
321         * Fall back to DEFAULT realm if no realm was found.
322           Based on a patch from Vincent Magnin.
323         * Updated example raddb/sites-available/proxy-inner-tunnel
324         * Corrected behavior of attr_filter to match documentation.
325           This is NOT backwards compatible with previous versions!
326           See "man rlm_attr_filter" for details.
327
328 FreeRADIUS 2.0.1 ; Date: 2008/01/22 13:29:37  , urgency=low
329         Feature improvements
330         * "unlang" has been expanded to do less run-time expansion,
331           and to have better handling of typed data.  See "man unlang"
332           for documentation and new examples.
333         
334         Bug fixes
335         * The 'acct_unique' module has been updated to understand
336           the deprecated (but still used) Client-IP-Address attribute.
337         * The EAP-MSCHAPv2 module no longer leaks MS-CHAP2-Success in
338           packets.
339         * Fixed crash in rlm_dbm.
340         * Fixed parsing of syslog configuration.
341
342 FreeRADIUS 2.0.0 ; Date: 2007/11/24 08:33:09 , urgency=low
343         Feature improvements
344         * Debugging mode is much clearer and easier to read.
345         * A new policy language makes many configurations trivial.
346           See "man unlang" for a complete description.
347         * Virtual servers are now supported.  This permits clear separation
348           of policies.  See raddb/sites-available/README
349         * EAP-TLS (PEAP, EAP-TTLS) and OpenSSL certificates "just work".
350           See raddb/certs/README for details.
351         * Proxying is much more configurable than before.
352           See proxy.conf for documentation on pools, and new config items.
353         * Full support for IPv6.
354         * Much more complete support for the RADIUS SNMP MIBs.
355         * HUP now works.  Only some modules are re-loaded,
356           and the server configuation is *not* reloaded.
357         * "check config" option now works.  See "man radiusd"
358         * radrelay functionality is now included in the server core.
359           See raddb/sites-available/copy-acct-to-home-server
360         * VMPS support.  It is minimal, but functional.
361         * Cleaned up internal API's and names, including library names.
362         
363         Bug fixes
364         * Many.