2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-28 12:57:42 +00:00

218 Commits

Author SHA1 Message Date
David Hankins
d19e2cf7de Compiler warnings (a few were bugfixes internal to HEAD development) silenced.
[ISC-Bugs #16133]
2006-06-05 16:42:59 +00:00
David Hankins
f7fdb21693 - Varying option space code and length bit widths (8/16/32) are now
supported.  This is a milestone in acheiving RFC 3925 "VIVSO" and
  DHCPv6 support. [ISC-Bugs #15979]
2006-06-01 20:23:18 +00:00
David Hankins
dcc557db27 - Some time value size fixes in 3.0.4 brought on from FreeBSD /usr/ports were
misapplied to server values rather than client values.  The server no longer
  advertises 8-byte lease-time options when on 64-bit platforms.
  [ISC-Bugs #16036]
2006-05-17 20:15:32 +00:00
David Hankins
febbd40203 - The dhclient 'reject ...;' statement, which rejects leases given by named
server-identifiers, now permits address ranges to be specified in CIDR
  notation. [ISC-Bugs #1435]
2006-05-15 15:07:50 +00:00
David Hankins
3a16098f0b Pulling work between V3-0-4B3 and present v3-release-branch to HEAD. 2006-05-05 20:32:31 +00:00
David Hankins
a55ccdd037 - Support for 'reserved' (psuedo-static) and BOOTP leases via failover
was introduced. [ISC-Bugs #13672]
- The failover implementation was updated to comply with revision 12 of
  the protocol draft. [ISC-Bugs #13672]
2006-04-27 17:26:42 +00:00
David Hankins
25b988c68f - The IO system now tracks all local IP addresses, so that the DHCP
applications (particularly the dhcrelay) can discern between what frames
  were tranmsitted to it, and what frames are being carried through it which
  it should not intercept. [ISC-Bugs #15573]
2006-02-27 23:56:13 +00:00
David Hankins
88cd8aca9e - Merge changes between 3.0.3RC1 and 3.0.4-BETA-3 into HEAD (silence
robie).
2006-02-24 23:16:32 +00:00
David Hankins
06e77c34fb Corrections to changes made on HEAD pursuant to review of changes between
V3.0.3 and HEAD.  [ISC-Bugs #15348]
2005-09-30 17:57:32 +00:00
David Hankins
c75473d800 Merge changes between 3.0.3b1 and 3.0.3rc1 to HEAD. 2005-07-07 16:39:08 +00:00
David Hankins
98311e4ba9 MASSIVE merge from V3-RELEASE-BRANCH into HEAD. HEAD and V3-RELEASE are
now synced as of tag V3-0-3-BETA-1.
2005-03-17 20:15:29 +00:00
Ted Lemon
a609e69bba sync with branch 2001-08-10 10:50:50 +00:00
James Brister
f3fe382d68 Fixes for QoS support. 2001-07-10 20:36:06 +00:00
Ted Lemon
d758ad8cac Merge changes between 3.0rc7 and 3.0rc8pl2. 2001-06-27 00:31:20 +00:00
James Brister
899d754f27 OMAPI class and subclass support. 2001-06-22 16:47:20 +00:00
Ted Lemon
31bbee784c Sync with 3.0rc7 2001-05-17 19:04:09 +00:00
Ted Lemon
96c823d5e8 Add line-oriented argument to new_parse(). 2001-05-02 06:48:42 +00:00
Ted Lemon
e540864ef1 Fix prototypes. 2001-04-16 22:15:23 +00:00
Ted Lemon
fd547e9817 Fix up a -DDEBUG compile error. 2001-04-09 00:46:39 +00:00
Ted Lemon
c1f22aef47 - Add S_STOPPED state for downed interfaces.
- Add subclass prototypes.
- Remove duplicate class prototypes.
2001-04-05 22:49:40 +00:00
Ted Lemon
e47988bfd7 fix up dhclient script defaults. 2001-03-22 07:01:11 +00:00
Ted Lemon
b3519f23f1 Support NUL characters in STRING tokens. 2001-03-17 00:47:39 +00:00
Ben Cottrell
3d2aa1bff4 More DLPI patches from Joost. His patch was way garbled, but this is my
best interpretation of it. The only thing confusing me is that I thought
he'd fixed all the byte order dependencies in an elegant way, but I
still see some rather ugly #ifdefs in this code. Oh well. At least it
works on minbar.
2001-03-16 22:12:19 +00:00
Ted Lemon
d73c240408 Add quotify prototypes. 2001-03-15 23:17:48 +00:00
Ted Lemon
af5ad6dff0 Declare dhcp_failover_toack_queue_timeout (). 2001-02-22 06:41:51 +00:00
Damien Neil
988c1ca71f Added failover ack queueing. Failover update messages are no longer
immediately responded to, but are placed on a queue (attached to
the dhcp_failover_state_t structure).  Updated leases are committed
only when the queue is drained, giving a significant performance
increase.

The toack queue is drained:
  a) when the queue size exceeds half the partner's max-unacked-updates
     setting, or
  b) two seconds after the last update message is received.

Added 'refcnt' and 'next' fields to the failover_message_t structure,
to allow messages to be placed on the toack queue.

On the sending side, leases are no longer committed immediately after
being acked.  Rather, the commit is deferred until no further acks are
pending.  This also gives a major gain in performance.
2001-02-22 00:15:54 +00:00
Ted Lemon
f3aad41060 Add trace-related prototypes and compress lease structure. 2001-02-12 20:44:25 +00:00
Ted Lemon
625f7cee54 New protos; change type of agent option on lease. 2001-01-25 08:25:12 +00:00
Ted Lemon
a861af5af8 Fix find_cached_zone declaration. 2001-01-17 08:25:10 +00:00
Ted Lemon
cc4473a0aa Add new config parameters, adjust and add prototypes. 2001-01-16 23:24:02 +00:00
Ted Lemon
afc0ca251f Add defines for update parameters. 2001-01-11 23:14:37 +00:00
Ted Lemon
2f7ca09230 Publicize some function declarations. 2001-01-11 02:15:31 +00:00
Ted Lemon
26cb4b2d7c Add define for client-updates configuration variable. 2001-01-08 08:22:35 +00:00
Ted Lemon
de427245f2 - Globalize resolver state.
- Add an unset function for unsetting variables.
2001-01-03 23:50:13 +00:00
Ted Lemon
dbcc689ea5 Add externs for enumerations and ddns styles. 2000-12-29 06:47:06 +00:00
Ted Lemon
8bed305da3 Prototype interface_setup (). 2000-12-28 23:21:35 +00:00
Damien Neil
b992d7e23d DDNS implementation rewrite. DDNS should now operate according to
<draft-ietf-dhc-dhcp-dns-12.txt>.

common/options.c, common/tables.c, includes/dhcp.h:
  Split the fqdn.name option into fqdn.hostname and fqdn.domainname.

includes/dhcpd.h, server/Makefile.dist, server/ddns.c, server/dhcp.c,
server/mdb.c, server/stables.c:
  Added a new file (server/ddns.c) containing the DDNS updates code.
  This file exports two functions: ddns_updates() and ddns_removals().
  ddns_updates() is called when a lease is granted, and ddns_removals()
  is called when the lease expires or is released.

server/dhcpd.c:
  Remove the previous DDNS update code, and add default code for the
  ddns-hostname, ddns-domainname, ddns-ttl, and ddns-rev-domainname
  server options.
2000-12-11 18:56:45 +00:00
Ted Lemon
159bcce309 Fix prototypes 2000-11-28 23:30:06 +00:00
Ted Lemon
6f56b7e293 Fix up and add prototypes. 2000-11-24 04:13:12 +00:00
Ted Lemon
bca944231b Disable unicast broadcast hack, but leave a place for it to be configured. 2000-10-13 18:58:12 +00:00
Ted Lemon
b2398d9738 Update zone caching prototypes 2000-10-12 09:00:33 +00:00
Ted Lemon
432604c33a Add vendor_space_name to client_config. Lots of prototypes. 2000-10-10 22:56:25 +00:00
Ted Lemon
af380050fc Add some prototypes. 2000-09-01 23:08:07 +00:00
Ted Lemon
8d3aec71d3 Add more prototypes 2000-08-31 04:38:36 +00:00
Damien Neil
1b234d446f Finished up function call support. 2000-08-28 19:36:39 +00:00
Ted Lemon
c489f07560 Add declarations for all kinds of cool new failover functions. 2000-08-24 18:31:36 +00:00
Damien Neil
49146f3c15 Added authentication support. The tsig_key structure has been renamed
to auth_key and moved into libomapi.  libomapi now depends on libres,
which contains the data signing routines.
2000-08-03 21:00:41 +00:00
Damien Neil
c62871ba64 Moved hash.c from libdhcp to libomapi, in anticipation of moving the
tsig_key structure into libomapi.  (tsig_keys are stored in a hashtable,
and libomapi should not depend on libdhcp.)
2000-08-01 22:55:07 +00:00
Damien Neil
c8d531a6f9 Moved convert.c from libdhcp to libomapi. (libomapi should not depend
on libdhcp.)
2000-08-01 22:34:36 +00:00
Ted Lemon
6ceb9118e9 Reference count binding scopes. Align IP headers on output. 2000-07-27 09:03:08 +00:00