3.0.1之前更多的版本信息1
时间:2007-06-17 来源:liufirst
- Include some new documentation and changes provided by Karl Auer.
- Add a workaround for some Lexmark printers that send a double-NUL-
terminated host-name option, which would break DNS updates.
- Fix an off-by-one error in the MAC-address checking code for
DHCPRELEASE that was added in 3.0.1rc5.
- Fix a bug where client-specific information was not being discarded
from the lease when it expired or was released, resulting in
problems if the lease was reallocated to a different client.
- If more than one allocation pool is specified that has the same set
of constraints as another allocation pool on the same shared
network, merge the two pools.
- Don't print an error in fallback_discard, since this just causes
confusion and does not appear to be helping to encourage anyone to
fix this bug.
Changes since 3.0.1rc4
- Fix a bug that would cause the DHCP server to spin if asked to parse
a certain kind of incorrect statement.
- Fix a related bug that would prevent an error from being reported in
the same case.
- Additional documentation.
- Make sure that the hardware address matches the lease when
processing a DHCPRELEASE message.
Changes since 3.0.1rc3
- A minor bug fix in the arguments to a logging function call.
- Documentation update for dhcpd.conf.
Changes since 3.0.1rc2
- Allow the primary to send a POOLREQ message. This isn't what the current
failover draft says to do, so we may have to back it out if I can't get the
authors to relent, but the scheme for balancing that's specified in the
current draft seems needlessly hairy, so I'm floating a trial balloon.
The rc1 code did not implement the method described in the draft either.
Changes since 3.0.1rc1
- Treat NXDOMAIN and NXRRSET as success when we are trying to delete a
domain or RRSET. This allows the DHCP server to forget about a name
it added to the DNS once it's been removed, even if the DHCP server
wasn't the one that removed it.
- Install defaults for failover maximum outstanding updates and maximum
silent time. This prevents problems that might occur if these values
were not configured.
- Don't do DDNS deletes if ddns-update-style is none.
- Return relay agent information options in DHCPNAK. This prevents DHCPNAK
messages from being dropped when the relay agent information option contains
routing information.
- Fix a problem where coming up in recover wouldn't result in an update
request being sent.
- Add some more chatty messages when we start a recovery update and when it's
done.
- Fix a possible problem where some state might have been left around
after the peer lost contact and regained contact about how many updates
were pending.
- Don't nix a lease update because of a lease conflict. This test has
never (as far as I know) prevented a mistake, and it appears to cause
problems with failover.
- Add support in rc history code for keeping a selective history, rather
than a history of all references and dereferences. This code is only used
when extensive additional debugging is enabled.
Changes since 3.0
- Make allocators for hash tables. As a side effect, this fixes a memory
smash in the subclass allocation code.
- Fix a small bug in omshell where if you try to close an object when
no object is open, it dumps core.
- Fix an obscure coredump that could occur on shutdown.
- Fix a bug in the recording of host declaration rubouts in the lease file.
- Fix two potential spins in the host deletion code.
- Fix a core dump that would happen if an application tried to update
a host object attribute with a null value.
Changes since 3.0 Release Candidate 12
- Fix a memory leak in the evaluation code.
- Fix an obscure core dump.
- Print a couple of new warnings when parsing the configuration file
when crucial information is left out.
- Log "no free leases" as an error.
- Documentation updates.
Changes since 3.0 Release Candidate 11
- Always return a subnet selection option if one is sent.
- Fix a warning that was being printed because an automatic data
structure wasn't zeroed.
- Fix some failover state transitions that were being handled
incorrectly.
- When supersede_lease is called on a lease whose end time has already
expired, but for which a state transition has not yet been done, do
a state transition. This fixes the case where if the secondary
allocated a lease to a client and the lease "expired" while the
secondary was in partner-down, no expiry event would actually
happen, so the lease would remain active until the primary was
restarted.
Changes since 3.0 Release Candidate 10
- Fix a bug that was preventing released leases from changing state
in failover-enabled pools.
- Fix a core dump in the client identifier finder code (for host
declarations).
- Finish fixing a bug where bogus data would sometimes get logged to
the dhclient.leases file because it was opened as descriptor 2.
- Fix the Linux dhclient-script according to suggestions made by
several people on the dhcp-client mailing list.
- Log successful DNS updates at LOG_INFO, not LOG_ERROR.
- Print an error message and refuse to run if a failover peer is
defined but not referenced by any pools.
- Correct a confusing error message in failover.
Changes since 3.0 Release Candidate 9
- Fix a bug in lease allocation for Dynamic BOOTP clients.
Changes since 3.0 Release Candidate 8 Patchlevel 2
- Fix a bug that prevented update-static-leases from working.
- Document failover-state OMAPI object.
- Fix a compilation error on SunOS 4.
Changes since 3.0 Release Candidate 8 Patchlevel 1
- Fix a parsing bug that broke dns updates (both interim and ad-hoc).
This was introduced in rc8pl1 as an unintended result of the memory
leakage fixes that were in pl1.
- Fix a long-standing bug where the server would record that an update
had been done for a client with no name, even though no update had
been done, and then when the client's lease expired the deletion of
that nonexistant record would time out because the name was the null
string.
- Clean up the omshell, dhcpctl and omapi man pages a bit.
Changes since 3.0 Release Candidate 8
- Fix a bug that could cause the DHCP server to spin if
one-lease-per-client was enabled.
- Fix a bug that was causing core dumps on BSD/os in the presence of
malformed packets.
- In partner-down state, don't restrict lease lengths to MCLT.
- On the failover secondary, record the MCLT received from the primary
so that if we come up without a connection to the primary we don't
wind up giving out zero-length leases.
- Fix some compilation problems on BSD/os.
- Fix a bunch of memory leaks.
- Fix a couple of bugs in the option printer.
- Fix an obscure error reporting bug in the dns update code, and also
make the message clearer when a key algorithm isn't supported.
- Fix a bug in the tracing code that prevented trace runs that used
tcp connections from being played back.
- Add some additional debugging capability for catching memory leaks
on exit.
- Make the client release the lease correctly on shutdown.
- Add some configurability to the build system.
- Install omshell manual page in man1, not man8.
- Craig Gwydir sent in a patch that fixes a long-standing bug in the
DHCP client that could cause core dumps, but that for some reason
hadn't been noticed until now.
Changes since 3.0 Release Candidate 7
- Fix a bug in failover where we weren't sending updates after a
transition from communications-interrupted to normal.
- Handle expired/released/reset -> free transition according to the
protocol specification (this works - the other way not only wasn't
conformant, but also didn't work).
- Add a control object in both client and server that allows either
daemon to be shut down cleanly.
- When writing a lease, if we run out of disk space, shut down the
output file and insist on writing a new one before proceeding.
- In the server, if the OMAPI listener port is occupied, keep trying
to get it, rather than simply giving up and exiting.
- Support fetching variables from leases and also updating and adding
variables to leases via OMAPI.
- If two failover peers have wildly different clocks, refuse to start
doing failover.
- Fix a bug in the DNS update code that could cause core dumps when
running on alpha processors.
- Fixed a bug in ddns updates for static lease entries, thanks to a
patch from Andrey M Linkevitch.
- Add support for Darwin/MacOS X
- Install omshell (including new documentation).
- Support DNS updates in the client (this is a very obscure feature
that most DHCP client users probably will not be able to use).
- Somewhat cleaner status logging in the client.
- Make OMAPI key naming syntax compatible with the way keys are
actually named (key names are domain names).
- Fix a bug in the lease file writer.
- Install DHCP ISC headers in a different place than BIND 9 ISC
headers, to avoid causing trouble in BIND 9 builds.
- Don't send updates for attributes on an object when the attributes
haven't changed. Support deleting attributes on remote objects.
- Fix a number of bugs in omshell, and add the unset and refresh
statements.
- Handle disconnects in OMAPI a little bit more intelligently (so that
the caller gets ECONNRESET instead of EINVAL).
- Fix a bunch of bugs in the handling of clients that have existing
leases when the try to renew their leases while failover is
operating.
Changes since 3.0 Release Candidate 6
- Fix a core dump that could happen when processing a DHCPREQUEST from
a client that had a host declaration that contained both a
fixed-address declaration and a dhcp-client-identifier option
declaration, if the client identifier was longer than nine bytes.
- Fix a memory leak that could happen in certain obscure cases when
using omapi to manipulate leases.
- Fix some bugs and omissions in omshell.
Changes since 3.0 Release Candidate 5
- Fix a bug in omapi_object_dereference that prevented objects in
chains from having their reference counts decreased on dereference.
- Fix a bug in omapi_object_dereference that would prevent object
chains from being freed upon removal of the last reference external
to the chain.
- Fix a number of other memory leaks in the OMAPI protocol subsystem.
- Add code in the OMAPI protocol handler to trace memory leakage.
- Clean up the memory allocation/reference history printer.
- Support input of dotted quads and colon-separated hex lists as
attribute values in omshell.
- Fix a typo in the Linux interface discovery code.
- Conditionalize a piece of trace code that wasn't conditional.
Changes since 3.0 Release Candidate 4
- Fix a bug that would prevent leases from being abandoned properly on
DHCPDECLINE.
- Fix failover peer OMAPI support.
- In failover, correctly handle expiration of leases. Previously,
leases would never be reclaimed because they couldn't make the
transition from EXPIRED to FREE.
- Fix some broken failover state transitions.
- Documentation fixes.
- Take out an unnecessary check in DHCP relay agent information option
stashing code that was preventing REBINDING clients from rebinding.
- Prevent failover peers from allocating leases in DHCPREQUEST
processing if the lease belongs to the other server.
- Record server version in lease file introductory comment.
- Correctly report connection errors in OMAPI and failover.
- Make authentication signature algorithm name comparisons in OMAPI
case-insensitive.
- Fix compile problem on SunOS 4.x
- If a signature algorithm is not terminated with '.', terminate it so
that comparisons between fully-qualified names will work
consistently.
- Different SIOCGIFCONF probe code, may "fix" problem on some Linux
systems with the probe not working correctly.
- Don't allow user to type omapi key on command line of omshell.
Changes since 3.0 Release Candidate 3
- Do lease billing on startup in a way that I *think* will finally do
the billing correctly - the previous method could overbill as a
result of duplicate leases.
- Document OMAPI server objects.
Changes since 3.0 Release Candidate 2 Patchlevel 1
- Fix some problems in the DDNS update code. Thanks to Albert
Herranz for figuring out the main problem.
- Fix some reference counting errors on host entries that were causing
core dumps.
- Fix a byte-swap bug in the token ring code, thanks to Jochen
Friedrich.
- Fix a bug in lease billing, thanks to Jonas Bulow.
Changes since 3.0 Release Candidate 2
- Change the conditions under which a DHCPRELEASE is actually
committed to be consistent with lease binding states rather than
using the lease end time. This may fix some problems with the
billing class code.
- Fix a bug where lease updates would fail on Digital Unix (and maybe
others) because malloc was called with a size of zero.
- Fix a core dump that happens when the DHCP server can't create its
trace file.
Changes since 3.0 Release Candidate 1 Patchlevel 1
- Fix the dhcp_failover_put_message to not attempt to allocate a
zero-length buffer. Some versions of malloc() fail if you try to
allocate a zero-length buffer, and this was causing problems on,
e.g., Digital Unix.
- Fix a case where the failover code was printing an error message
when no error had occurred.
- Fix a problem where when a server went down and back up again, the
peer would not see a state transition and so would stay in the
non-communicating state.
- Be smart about going into recover_wait.
- Fix a problem in the failover implementation where peers would fail
to come into sync if interrupted in the RECOVER state. This could
have been the cause of some problems people have reported recently.
- Fix a problem with billing classes where they would not be unbilled
when the client lease expired.
- If select fails, figure out which descriptor is bad, and cut it out
of the I/O loop. This prevents a potentially nasty spin. I
haven't heard any report it in a while, but it came up consistently
in testing.
- Fix a bug in the relay agent where if you specified interfaces on
the command line, it would fail.
- Fix a couple of small bugs in the omapi connection object (no known
user impact).
- Add the missing 3.0 Beta 1 lease conversion script.
- Read dhcp client script hooks if they exist, rather than only if
they're executable.
Changes since 3.0 Release Candidate 1
- Fix a memory smash that happens when fixed-address leases are used.
ANY SITE AT WHICH FIXED-ADDRESS STATEMENTS ARE BEING USED SHOULD
UPGRADE IMMEDIATELY. This has been a long-standing bug - thanks to
Alvise Nobile for discovering it and helping me to find it!
- Fix a small bug in binary-to-ascii, thanks to H. Peter Anvin of
Transmeta.
- There is a known problem with the DHCP server doing failover on
Compaq Alpha systems. This patchlevel is not a release candidate
because of this bug. The bug should be straightforward to fix, so
a new release candidate is expected shortly.
- There is a known problem in the DDNS update code that is probably a
bug, and is not, as far as we know, fixed in this patchlevel.
Changes since 3.0 Beta 2 Patchlevel 24
- Went over problematic failover state transitions and made them all
work, so that failover should now much less fragile.
- Add some dhcpctl and omapi documentation
- Fix compile errors when compiling with unusual predefines.
- Make Token Ring work on Linux 2.4
- Fix the Digital Unix BPF_WORDALIGN bug.
- Fix some dhcp client documentation errors.
- Update some parts of the README file.
- Support GCC on SCO.
Changes since 3.0 Beta 2 Patchlevel 23
- Fix a bug in the DNS update code where a status code was not being
checked. This may have been causing core dumps.
- When parsing the lease file, if a lease declaration includes a
billing class statement, and the lease already has a billing class,
unbill the old class.
- When processing failover transactions, where acks will be deferred,
process the state transition immediately.
- Don't try to use the new SIOCGIFCONF buffer size detection code on
Linux 2.0, which doesn't provide this functionality.
- Apply a patch suggested by Tuan Uong for a problem in dlpi.c.
- Fix a problem in using the which command in the configure script.
- Fix a parse error in the client when setting up an omapi listener.
- Document the -n and -g flags to the client.
- Make sure there is always a stdin and stdout on startup. This
prevents shell scripts from accidentally writing error messages into
configuration files that happen to be opened as stderr.
- If an interface is removed, the client will now notice that it is
gone rather than spinning. This has only been tested on NetBSD.
- The client will attempt to get an address even if it can't create a
lease file.
- Don't overwrite tracefiles.
- Fix some memory allocation bugs in failover.
Changes since 3.0 Beta 2 Patchlevel 22
- Apply some patches suggested by Cyrille Lefevre, who is maintaining
the FreeBSD ISC DHCP Distribution port.
- Fix a core dump in DHCPRELEASE.
Changes since 3.0 Beta 2 Patchlevel 21
- This time for sure: fix the spin described in the changes for pl20.
Changes since 3.0 Beta 2 Patchlevel 20
- Fix a problem with Linux detecting large numbers of interfaces (Ben)
- Fix a memory smash in the quotify code, which was introduced in
pl19.
- Actually fix the spin described in the changes for pl20. The
previous fix only partially fixed the problem - enough to get it
past the regression test.