2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-24 19:08:08 +00:00

79 Commits

Author SHA1 Message Date
Thomas Markwalder
a07d99bbef [master] Corrects medium impact issues reported by Coverity.
Merges in rt36933
2014-08-28 08:12:30 -04:00
Thomas Markwalder
36e2c22493 [master] Corrects high impact issues reported by Coverity.
Merges in rt36712
2014-08-25 13:22:29 -04:00
Shawn Routhier
edad9be5cd [master] Remove vix.com and nominum.com
Remove old information from copyrights and
    man pages.
2014-01-26 10:52:15 -08:00
Shawn Routhier
a7341359cc -n [master]
[rt27912]
    Add code to suppor on {commit expiry release} statements for DHCPv6.
    There are several pieces to this change
    1) Add space in the iasubopt structure to hold the statement pointers
    2) Update the execute code to fill in the structures as necessary
    3) Execute the statements when appropriate
    Many of the changes in the non-v6 code are to pass the v6 structures
    around to the execute code.
2013-08-27 13:40:47 -07:00
Shawn Routhier
08b2d34783 [master]
Modify the class and subclass code to allow for dynamic addition and
removal of subclasses.  See 27452 for details.
2013-06-05 18:15:49 -07:00
Mark Andrews
9626483bbb - Address static analysis warnings.
[ISC-Bugs #33510] [ISC-Bugs #33511]
2013-05-23 14:21:20 +10:00
Shawn Routhier
0f750c4fb1 [master]
[rt23833]
Clean up a number of items identified by the Coverity
static analysis tool.  Runs courtesy of Red Hat.
2012-10-16 15:05:24 -07:00
Shawn Routhier
d289ee683e Remove unnecessary checks in the lease query code and clean up
several compiler issues (some dereferences of NULL and treating
an int as a boolean).
[ISC-Bugs #26203]
2012-04-10 21:26:44 +00:00
Tomek Mrugalski
dd9237c309 Fixed many compilation problems ("set, but not used" warnings) for
gcc 4.6 that may affect Ubuntu 11.10 users. [ISC-Bugs #27588]
2012-03-09 11:18:14 +00:00
Shawn Routhier
a35285748d Clean up some compiler warnings 2010-02-02 00:44:06 +00:00
Shawn Routhier
a47d63362f Update copyright years 2009-11-24 02:06:57 +00:00
Shawn Routhier
98bf16077d Support for asynchronous ddns per ticket 19216 - convert to using isclib and
dnslib.
2009-10-28 04:12:30 +00:00
Shawn Routhier
2c85ac9b24 Switch isc urls from http to https and correct sw to services or software
for new web site as appropirate.
2009-07-23 18:52:21 +00:00
Evan Hunt
61220a0091 Fix a coredump when adding a class via OMAPI [rt17162] 2008-05-06 22:59:51 +00:00
Evan Hunt
c40e954c55 Check whether files are zero length before parsing them [rt17757] 2008-03-07 20:12:44 +00:00
Evan Hunt
dccb6edf66 Updated copyright strings for 4.1.0a1 release 2008-01-24 02:43:06 +00:00
Evan Hunt
022fe95e5e Allow lease "ends" vaule to be updated by OMAPI. [rt17033] 2008-01-18 02:05:09 +00:00
Shane Kerr
28868515f6 Code cleanup to remove warnings from "gcc -Wall".
See RT ticket #16988 for more.
2007-07-13 06:43:43 +00:00
David Hankins
706792c9d3 Copyright++ 2007-05-19 19:16:28 +00:00
Evan Hunt
74dc3e0b27 Fixed a bug that caused OMAPI clients to hang when opening leases. [rt16495] 2007-05-07 17:19:17 +00:00
David Hankins
6708d944e1 - Some default hash table sizes were tweaked, some upwards, some downwards.
3.1.0a1's tables resulted in a reduction in default server memory use.
  The new selected values provide more of a zero sum (increasing the size
  of tables likely to be populated, decreasing the size of tables unlikely).

- Lease structures appear in three spearate hashes: by IP address, by UID,
  and by hardware address.  One type of table was used for all three, and
  improvements to IP address hashing were applied to all three (so UID and
  hardware addresses were treated like 4-byte integers).  There are now two
  types of tables, and the uid/hw hashes use functions more appropriate
  to their needs.

- The max-lease-misbalance percentage no longer causes scheduled rebalance
  runs to be skipped: it still governs the schedule, but every scheduled
  run will attempt balance.

[ISC-Bugs #16396]
2006-10-27 22:54:13 +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
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
00663f8159 Pass the non-const version of the pointer to memcpy - silence warnings. 2006-02-27 23:43:30 +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
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
09636c6550 Fix a signed vs. unsigned warning. 2002-01-17 17:04:00 +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
dc66a99558 Add line-oriented argument to new_parse(). 2001-05-02 07:11:38 +00:00
Ted Lemon
19f7a4d72d Fix some past-os 2001-04-30 22:39:10 +00:00
Ted Lemon
5aa40fc5a0 Add hooks for subclasses. 2001-04-05 22:54:57 +00:00
Ted Lemon
c466184540 Fix up NetBSD/alpha build. 2001-02-26 22:21:15 +00:00
Ted Lemon
e42c382659 Get rid of lease -> hostname, which isn't used. 2001-02-12 21:10:10 +00:00
Ted Lemon
9e3831637a Pass client state to eval functions. Lots of other stuff. 2000-11-28 23:27:24 +00:00
Damien Neil
2e3e0f9214 Fixed OMAPI lookups based on hardware-address. The hardware type
is now specified via the hardware-type field.
2000-10-20 01:01:41 +00:00
Ted Lemon
f717263951 Add object initializer support. Fix off-by-one bug in host stuffer. 2000-10-10 19:14:37 +00:00
Ted Lemon
8c63dd893f - Don't return information on the lease that's not present on the lease.
- Don't freak out when the client sends back information that's not settable.
2000-10-01 21:46:24 +00:00
Ted Lemon
36b1ebcf05 Byte-swap incoming integer data. 2000-09-29 18:22:05 +00:00
Ted Lemon
eadee39698 Panic commit. 2000-09-27 23:37:44 +00:00
Ted Lemon
72c7d498a2 Don't reference one group on top of another. 2000-09-08 01:34:30 +00:00
Damien Neil
4244dfb75f Fix assorted code which assumes that leases will always have an
associated hardware address.
2000-08-14 21:58:04 +00:00
Ted Lemon
0b1e395f13 Adjust arguments to omapi_object_type_register 2000-07-06 22:37:53 +00:00
Ted Lemon
229a47a832 Fix a signed vs. unsigned char pointer mismatch. 2000-06-24 06:31:51 +00:00
Ted Lemon
4e9f14044f Initialize the dhcp_type_host type definition. 2000-06-12 20:25:37 +00:00
Ted Lemon
e9f0d7c31b Don't use dhcp_lease_free unless COMPACT_LEASES is defined. 2000-06-07 00:28:21 +00:00