sync with udhcp bug fixes
[oweals/busybox.git] / networking / udhcp / ChangeLog
1 0.9.9 (pending)
2 + Fixed a little endian problem in mton (Bastian Blank <waldi@debian.org>)
3 + Fixed a arpping alignment problem (Rui He <rhe@3eti.com>)
4 + Added sanity check for max_leases (udhcp bug #1285) (me)
5 + Finally got rid of the trailing space in enviromental vars (me)
6 + added an new enviromental variable: $mask. It contains the number
7   of subnet bits for tools like ip route that require it.
8   (Bastian Blank <waldi@debian.org>, me)
9
10 0.9.8 (021031)
11 + split up README files (me)
12 + use /dev/urandom to seed xid's (instead of time(0)) (me)
13 + fixed renew behavior (me)
14 + udhcp now fits nicely into busybox
15   (Glenn McGrath <bug1@optushome.com.au> as well as myself)
16 + updated client manpage (me)
17 + both client and server now use sockets for signal handling,
18   hopefully, this will be the last needed change in signal
19   handling, I'm fairly certain all the possible races are now
20   closed. (me)
21 + The server now restarts the auto_time timer when it receives
22   a SIGUSR1 (write out config file). (me)
23 + Improve signal handling (David Poole)
24 + Fix to config file parsing (Matt Kraai)
25 + Fix load lease logic (me)
26 + Fix clear_lease logic (me)
27 + -h is now an alias for -H (udhcp bug #1253)
28 + Shorter timeout on not receiving offers (me)
29 + Improved signal behavior by client (me)
30 + Would never assign end address (Keith Smith <keith@ksmith.com>)
31 + Was improperly reporting yiaddr as siaddr (ben-udhcp@bdlow.net)
32   udhcp bug#1256
33 + Fixed reading of client id (David Poole <davep@portsmith.com>)
34 + change sys_errlist[] to strerror() as it aparently doesn't exist
35   (andersee <andersee@codepoet.org>)
36 + fixed get_raw_packet so it returns -2 on non fatal errors
37   (Ted Lemon <Ted.Lemon@nominum.com>)
38 + Improved (hopefully) NAKing behavior (me)
39 + Added -b option (Jouni Malinen)
40 + Compute checksums correctly on big endian hosts 
41   (Jouni Malinen <jkmaline@cc.hut.fi>)
42
43 0.9.7 (020526)
44 + Use add_lease in read_leases, sanitizes leases more, and clears out exprired
45   ones if there is no more room (me)
46 + Moved udhcpd.leases to /var/lib/misc/udhcpd.leases (Debian bug #147747)
47 + Change (obsolete) AF_INET in arping.c to PF_PACKET (Debian bug #127049)
48 + Added script hook for DHCPNAK (nak), as well as providing the message option
49   (me)
50 + Generate the paramaters request list by seeing what options in options.c are
51   ored with OPTION_REQ in options.c
52 + Fix dhcp renew forgetfullness on client (bug #1230)
53 + Fix dhcp release bug on client (bug #1231)
54 + Set option request list for DHCP renew (bug #1233)
55 + Set BOOTREQUEST/REPLY properly
56 + Change client-identifier field to popularly expected behavior (me)
57 + Only reopen port on errors (me)
58 + Change fork/close/setsid structures to daemon() (me)
59 + Allow user to specify udhcpd config file at run time (Steven, me)
60 + Write pidfile after changing it (Steven CTR Carr <Steven.CTR.Carr@tc.faa.gov>)
61 + Added env var docs to udhcpc man page (Matt)
62 + Standardized lowercase udhcp in documentation (me)
63 + Accept packets without a UDP checksum (me)
64 + Accept packets with extra garbage (me)
65 + Better error handling in files.c (me)
66 + Combined read_interface function to reduce COMBINED_BINARY size (me)
67 + Drop calc_length(), some servers choke on smaller packets (me)
68 + Try to clean some fat out (me)
69
70 0.9.6 (011001)
71 + Added bootp paramaters to server (me)
72 + Added bootp paramaters to client (me)
73 + Added vendor id to client (me)
74 + Better pidfile handling in client and server (me)
75 + Added man pages (Matt Kraai <kraai@alumni.carnegiemellon.edu>)
76
77 0.9.5 (010914)
78 + Fixed $HOME and $PATH env passing (me)
79 + Fixed client to only listen for raw packets on correct interface (me)
80 + added --quit,-q option to quit after a lease is obtained (me)
81 + Fixed 100% CPU utilization by client when interface is down (me)
82
83 0.9.4 (010827)
84 + Force broadcast to broken clients that request unicast (ie, MSFT 98)
85 + Make install rules (Adam J. Richter <adam@yggdrasil.com>)
86 + One scripts, instead of many (Adam)
87 + Removed script paramater info files (env vars only) (Adam)
88 + Controlling of forking behavior in client (Adam)
89 + General script.c/dhcpc.c cleanups (Adam)
90
91 0.9.3 (010820)
92 + Increased debugging verbosity (me)
93 + Cut trailing whitespace when reading config file (me)
94 + added hostname option to client (me)
95 + fixed a strncpy bug in script.c (me)
96 + fixed a leaky socket in dhcpc.c (me)
97 + fixed a leaky socket in dhcpd.c (me)
98
99 0.9.2 (010810)
100 + Added raw sockets to client (me)
101 + alignment fixes (Mark Huang)
102 + compiler warning fixes (Mark Huang)
103 + client now sends parameter list (Mark Huang/me)
104 + added ipttl option
105 + Does now not request broadcast packets
106
107 0.9.1 (010806)
108 + Added udhcpc client
109 + reorganized functions/files
110 + listening socket now only binds to one interface
111
112 0.9.0 (010720) Major rewrite, current changes, goals:
113 + should not segfault on bogus packets.
114 + Options can be read from sname and file fields.
115 + supports all DHCP messages (release, decline, inform).
116 + IP block is now specified by a range of IP's.
117 + Leases file now contains lease time (relative, or absolute).
118 + Just about any DHCP option is now supported.
119 + DNS entries are no longer read from resolv.conf
120 + Lease file can be written periodically when the process receives a SIGUSR1
121 + arpping should be supported on all arches.
122 + support for DHCP relays.
123 + DHCP messages can be unicast if the client requests it.
124 + many, many, many other things.
125
126 0.8.29 (000323)
127 + stable(?) release
128
129
130 0.8.28 (000323)
131 + removed alarm as it was causing server to go down
132 + removed debugging
133 + break down dhcpd.c into manageable files
134
135
136 0.8.27 (000221)
137 + OFFER also sends gateway/subnet (for picky dhcp clients)
138 + multiple DNS now handled from resolv.conf if available
139 + multiple WINS (from dhcpd.conf)
140
141 0.8.25 (000120)
142 + now compiles *and* runs on a generic linux system
143         tested with a windows 98 client and the sample config
144         files in the samples directory.
145
146 0.8.24 (000117)
147 + makeiplist tool has basic functionality in place
148 + new sample config files
149 + route add -host 255.255.255.255 dev eth0 added for generic linux
150
151 0.8.23 (000117)
152 + NETtel specific fix for ignoring dhcp requests on 2nd interface
153
154 0.8.22 (000113)
155 + minor changes to compile under a generic linux system
156 + minor config file location changes for a generic linux system
157 + makeiplist fixes.. still incomplete.. but etting closer
158
159 0.8.21 (000113)
160 + now sends the correct server ip instead of hardcoded value
161 + minor debugging fixes for critical messages
162
163 0.8.20 (000106)
164 + cut out dhcp server checking.. this was causing dialout ppp
165         sessions with idle time set to never time out.
166 + also removed the 10 second pause before launching.. as this
167         was originally to stop it replying to a dhcp client
168         on a NETtel which was really a bad way to do it in the
169         first place :-)
170
171 0.8.19 (000104)
172 + fixes for route add -host on a machine that needs to run both
173         a DHCP client and server (dual eth box)
174
175 0.8.18 (991220)
176
177 + Race conditions fixed by disabling alarm whilst the server is busy
178 + Fixed continous clearing of the offered array so that it is only cleared
179   when it is dirty - (could change the position of when dirty is set)
180
181 0.8.17 (991212)
182
183 - has problems clearing out the offered array
184
185 0.8.16 (991203)
186 + Non blocking error is changes to informational as it is not really
187   an error
188
189 0.8.15 (991129)
190 + Servs the dns field 3 times (Nettel only) so that windows servers
191   dont time out whilst nettel is booting
192
193 0.8.14 (991126)
194 + added owner check for the offered array so clean out time may be
195   increased
196 + added new func to print out chadder/MAC
197
198 0.8.13 (991125)
199 + added win95 support (w95 changed xid halfway through conversation)
200 + had to change the offered array to use hardware addresses instead of xid
201 + fixed re offered bug
202 + added more debugging
203
204 0.8.12 (991111)
205 + debugging was real bad.. cleaned up a bit.. needs overhaul
206
207
208 0.8.11 (991110)
209 + fixed up offeredAddr array to actually be used now!! offeredAddr is
210         used to see if another simultaneous connecting client was offered
211         an address that we are about to offer another client (multiple
212         client bug)
213 + removed re_offered variable as it breaks multiple client support
214 + added lease time to ACK -- doesn't work if in OFFER
215 + decreased internal array clear delay to 60 seconds
216 + minor findAddr bug (returning -1 instead of 0)
217 + if clients xid already in offeredAddr offer the same addr and don't add a
218         new addr to offered (caused by a client issuing multiple DISCOVERs)
219
220 0.8.10 (991105)
221 + \n bug in arpping
222 + minor debugging changes (removed printfs etc)
223 + started browseiplist (not finished)
224
225 0.8.9 (19991105)
226 + fixed options array size bug (options were cut off)
227
228 0.8.8 (19991105)
229 + ignores requests from dhcpcd on the same machine
230
231 0.8.7 (19991104)
232 + don't die if we can't bind to search for existing DHCP server
233 + slightly more verbose syslogging
234
235 0.8.6 (19991103)
236 + added makeiplist (not finished -- core dumps)
237 + minor debug changes
238
239 0.8.5 (19991029)
240 + exits if another DHCP server is already on the network
241 + added Linux Makefile
242
243 0.8.4 (19991026)
244 + minor bug fix in findaddr preventing an addr being found
245
246 0.8.3 (19991025)
247 + fixed up debugging
248 + minor hwaddr issues
249
250 0.8.2 (19991022)
251 + free leases (new arpping code from dhcpcd)
252 + fixed bug where crashes if no leases/iplist file
253 + syslogging and debugging switch
254 + serve DNS from resolv.conf
255 + fixed bug where new lease added if same mac offered
256 + now checks the ip is free b4 offering
257 + now supports wins server
258