update with todo items recently brought up on the mailing list, and add my
[freeradius.git] / todo / TODO
1 URGENT:
2
3 o UPDATE accounting requests aren't handled as in 1.5.4.3 for wtmp
4   Is this a problem ? Need to fix in rlm_unix.c
5 o Fix potentially long locks on radutmp file by radcheck thread
6 o modular radutmp and radwtmp, as per Alan Curry's old patches.
7 o configure fixes for builds on Solaris and HPUX.
8
9 MEDIUM PRIORITY
10 o add more support for new configuration files
11 o enable server to run with child processes
12   (This is a little more difficult than the threading changes)
13 o switch all timers from time() to gettimeofday() so processing is
14   less bursty
15 o replace the module_t method table with a set of register_* functions
16   (so different instances of the same module can offer different
17   methods)
18 o get rlm_unix and rlm_sql to work with multiple instances
19 o have a config file (or section in radiusd.conf) that tells rlm_sql
20   what the names of the tables and columns are instead of hardcoding
21   them
22
23
24 LOW PRIORITY:
25 o Write better documentation
26 o Manual pages for the daemon, utilities and conffiles (some done)
27 o Fix all FIXME's in the source.
28 o Fix DBM support:
29   - Multiple defaults (done)
30   - Fallthrough (hard for not DEFAULT entries)
31 o there should be a way that radius itself could
32   rotate the wtmp file properly. It should write "logout" records for
33   all users, move the file to wtmp.0, and create a new wtmp file with
34   "login" records for all currently online users.
35 o split rlm_files into rlm_users, rlm_fastusers (in-memory hash),
36   rlm_detail, rlm_dbm... they all should share as much code as
37   possible though, not be big cut-and-paste jobs
38 o New module: rlm_attrmap. assigns a single attribute based on a
39   username, with ed-friendly/awk-friendly config file. Because the
40   users file is too complicated.
41 o New module: rlm_fastradwtmp. with a radutmp-style active session
42   database to guarantee wtmp records are always written in matching
43   pairs. Because radlast is slow.
44 o New module: rlm_nsupdate (dyndns). Because dynamic addresses are
45   cruel.
46 o New module: rlm_perl.
47
48 DONE:
49 o enable server to run in threaded mode
50 o rlm_realm module for COMPLETE control of proxying on any attribute
51 o re-transmits of proxied packets
52 o operator support in pairmove.
53 o stripping Prefix/Suffix in accounting
54 o new configuration file /etc/raddb/radius.conf
55 o Radius proxy support.
56 o Max-Simultaneous-Use parameter to avoid double logins.
57 o Specify a program to be run on succesful login
58 o Prefix/Suffix support
59 o Change radutmp format to v2 (see radutmp.h)
60 o move radutmp to /var/log ?
61 o Compatibility with radius-2.0
62 o Support for pidfile
63 o Configurable logging: both radutmp/radwtmp and details files
64 o session_id is not numeric but an 8-byte (?) string !
65 o Detect reboot packet sent by portmaster and clear radutmp / wtmp
66 o Seperate /etc/raddb/clients into public and private file (secret == secret!)
67   Add ts-type field to clients file for checklogin.pl
68   Better: return clients to old form (no shortname) and add a new file,
69   "nas" or so. Matching on this file is done based on Nas-Ip-Address
70   instead of the IP address of the sender. Better if there's a proxy
71   in between.
72 o Allow spaces in usernames (using " or \ to escape)
73 o Return Proxy-State A/V pairs, in the right order.
74 o retransmits from the terminal server get proxied with
75   a new ID and random_vector. We should check for this!
76 o Limit logins based on time/date 
77   (for example, Login-Hour = 8-18, Login-Day = 0-5 for business hours)
78 o take out host-order IP addresses
79 o Support Connect-Rate