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