b1ee608e3d10caa45245efeff73ff235b7d01aee
[freeradius.git] / todo / TODO
1 URGENT:
2
3 o Stop unloading modules on HUP so that we can have persistant
4   handles/socketc/etc from module_init().  Alan D. and Alan C. had a good
5   plan for when to load/reload modules on the list recently...I say
6   run with that.
7 o modular radutmp and radwtmp, as per Alan Curry's old patches.
8 o merge OSF/OSFIA patches from Cistron.
9 o double-check Cistron 'compat' mode, so that all current users of
10   Cistron can upgrade "out of the box" to FreeRADIUS
11
12
13 MEDIUM PRIORITY
14 o go through all of the code and reformat it, for project standards
15 o go through all of the code, removing unnecessary #include's, and
16   generating a standard include file order which will work across all
17   platforms.
18 o go through *.c and *.h, adding comments at the top with a copyright,
19   and a GPL license.
20 o fix the proxy receive code, so that we don't have to look through ALL
21   of the requests to find the matching proxy.  This might be hard to do..
22   It would also involve thread locking issues.
23 o rad_malloc() fixes:  child processes/threads ALWAYS kill themselves
24   if malloc() fails.  The main server process does a 'sleep' for N
25   seconds, and tries again.  After T tries, it gives up, and calls exit().
26
27 LOW PRIORITY:
28 o Write better documentation
29 o Manual pages for the daemon, utilities and conffiles (some done)
30 o Fix all FIXME's in the source.
31 o Fix DBM support:
32   - Multiple defaults (done)
33   - Fallthrough (hard for not DEFAULT entries)
34 o split rlm_files into rlm_users, rlm_fastusers (in-memory hash),
35   rlm_detail, rlm_dbm... they all should share as much code as
36   possible though, not be big cut-and-paste jobs
37 o better SNMP statistics support, for the auth/acct servers, and for
38   each client.
39 o fix the request list walking code, to scan each element no more than
40   once per second.
41
42 WAIT UNTIL NEXT RELEASE:
43 o UPDATE accounting requests aren't handled as in 1.5.4.3 for wtmp
44   Is this a problem ? Need to fix in rlm_unix.c
45 o New module: rlm_fastradwtmp. with a radutmp-style active session
46   database to guarantee wtmp records are always written in matching
47   pairs. Because radlast is slow.
48 o New module: rlm_attrmap. assigns a single attribute based on a
49   username, with ed-friendly/awk-friendly config file. Because the
50   users file is too complicated.
51 o have a config file (or section in radiusd.conf) that tells rlm_sql
52   what the names of the tables and columns are instead of hardcoding
53   them
54 o replace the module_t method table with a set of register_* functions
55   (so different instances of the same module can offer different
56   methods)
57 o enable server to run with child processes
58   (This is a little more difficult than the threading changes)
59 o switch all timers from time() to gettimeofday() so processing is
60   less bursty
61 o SNMP support for querying users who are on-line.
62 o New module: rlm_nsupdate (dyndns). Because dynamic addresses are
63   cruel.
64 o New module: rlm_perl.
65
66 WILL NOT TO:
67 o module initialization AFTER forking, not before.
68         --- The modules should NOT be setting up any process-dependent
69         --- information.
70
71 o there should be a way that radius itself could
72   rotate the wtmp file properly. It should write "logout" records for
73   all users, move the file to wtmp.0, and create a new wtmp file with
74   "login" records for all currently online users.
75         --- This work is for an external process to do ---
76
77 DONE:
78 o Integrated Alan Curry's module failover patch.
79 o add more support for new configuration files
80 o Fixed potentially long locks on radutmp file by radcheck thread
81   This means unlocking the file, forking checkrad, and then locking
82   the file again.
83 o get rlm_unix to work with multiple instances
84 o partial split of rlm_files into rlm_fastusers and rlm_detail
85 o enable server to run in threaded mode
86 o rlm_realm module for COMPLETE control of proxying on any attribute
87 o re-transmits of proxied packets
88 o operator support in pairmove.
89 o stripping Prefix/Suffix in accounting
90 o new configuration file /etc/raddb/radius.conf
91 o Radius proxy support.
92 o Max-Simultaneous-Use parameter to avoid double logins.
93 o Specify a program to be run on succesful login
94 o Prefix/Suffix support
95 o Change radutmp format to v2 (see radutmp.h)
96 o move radutmp to /var/log ?
97 o Compatibility with radius-2.0
98 o Support for pidfile
99 o Configurable logging: both radutmp/radwtmp and details files
100 o session_id is not numeric but an 8-byte (?) string !
101 o Detect reboot packet sent by portmaster and clear radutmp / wtmp
102 o Seperate /etc/raddb/clients into public and private file (secret == secret!)
103   Add ts-type field to clients file for checklogin.pl
104   Better: return clients to old form (no shortname) and add a new file,
105   "nas" or so. Matching on this file is done based on Nas-Ip-Address
106   instead of the IP address of the sender. Better if there's a proxy
107   in between.
108 o Allow spaces in usernames (using " or \ to escape)
109 o Return Proxy-State A/V pairs, in the right order.
110 o retransmits from the terminal server get proxied with
111   a new ID and random_vector. We should check for this!
112 o Limit logins based on time/date 
113   (for example, Login-Hour = 8-18, Login-Day = 0-5 for business hours)
114 o take out host-order IP addresses
115 o Support Connect-Rate