2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 21:38:10 +00:00

42 Commits

Author SHA1 Message Date
Ted Lemon
4bd8800e89 Fix compilation errors introduced in the last set of checkins. 2000-01-26 14:56:18 +00:00
Ted Lemon
d00855e05c Indent only two spaces. Support event ganging. 2000-01-25 01:39:57 +00:00
Ted Lemon
ea4eec7e1b - Make writing of failover timestamps conditional.
- Support new on event paradigm.
- Save per-lease variables.
2000-01-08 01:46:54 +00:00
Ted Lemon
f36d5b137b Save failover-specific info even if FAILOVER_PROTOCOL isn't defined. 2000-01-05 18:43:33 +00:00
Ted Lemon
fa674bafa5 Print failover data if present. Support new struct hardware. 2000-01-05 18:15:28 +00:00
Ted Lemon
96359f83fd - Open the database file for appending before expiring pools, in case leases
need to be rewritten during the expirating process.
1999-11-07 20:28:23 +00:00
Ted Lemon
b5fa877f8f Write 'never;' instead of 'infinite' for unlimited leases. 1999-10-28 13:02:24 +00:00
Ted Lemon
05743349e6 Expire all outstanding unexpired leases after loading lease file on startup. 1999-10-08 22:29:52 +00:00
Ted Lemon
b1b7b521fe Get a clean compile with all known gcc warnings. 1999-10-07 06:36:35 +00:00
Ted Lemon
77a5f87162 Fix up char * -> unsigned char * mismatches. 1999-10-07 02:14:10 +00:00
Ted Lemon
dff4af5c08 Don't write out contents of root group when writing a host declaration. 1999-10-05 02:44:37 +00:00
Ted Lemon
d70e89d47b Clear up an omission in the host group writing code. 1999-10-04 23:19:36 +00:00
Ted Lemon
3b7c3de9e8 - Flesh out write_group.
- Allow db_startup to just do a syntax check on the lease file rather
  than actually rewriting it, for the -T flag.
1999-10-01 03:24:59 +00:00
Ted Lemon
daaeeac125 - Add named group support for host declarations.
- Add stub for saving named groups.
- Add a db_printable_len function for seeing if non-NUL-terminated
  strings are plain ASCII, and use it in writing out UIDs for leases
  and hosts.
1999-09-28 23:57:47 +00:00
Ted Lemon
fa098be8f9 Implement printing out of expressions so that they can be output to the lease database file and later read back in. 1999-09-22 01:45:57 +00:00
Ted Lemon
fafd89d21d Support host declarations that delete previous host declarations. 1999-09-09 23:33:18 +00:00
Ted Lemon
612fded735 Support dynamically-created host entries. 1999-09-08 01:49:56 +00:00
Ted Lemon
0ebffe9c74 - Record ddns information.
- Test names for printability using db_printable instead of doing it inline.
1999-07-01 19:55:12 +00:00
Ted Lemon
468746feee Adjust the message printed at the top of the lease database. 1999-05-06 20:28:29 +00:00
Ted Lemon
8f65e88db9 Print note at top of lease file so people won't ask about times being offset. 1999-04-23 22:30:56 +00:00
Ted Lemon
f39b6e0089 Update license. 1999-03-16 05:50:46 +00:00
Ted Lemon
8ae2d59584 Change names of error functions to be more consistent. 1999-02-24 17:56:53 +00:00
Ted Lemon
e2bfe7b3bf Write out name of class to which a lease is billed, if any. 1998-11-11 08:00:11 +00:00
Ted Lemon
6fdff3b8eb Don't write leases that contain non-printable or whitespace characters. 1998-08-05 19:32:20 +00:00
Ted Lemon
3f165a4027 Add a comment to document the non-presence of a Y2K bug, since people are getting paranoid about that. 1998-03-15 20:46:22 +00:00
Ted Lemon
3085653819 Create database with mode 0664 & ~umask, not 0666 & ~umask. 1997-12-02 07:44:56 +00:00
Ted Lemon
f79741e803 Always print two digits for day and month in leases. 1997-11-29 07:53:53 +00:00
Ted Lemon
36b65b9cc7 Fix up handling of hostname 1997-10-27 20:16:26 +00:00
Ted Lemon
355f034ada Put hostname in quotes 1997-10-07 19:59:31 +00:00
Ted Lemon
200d216c29 Don't trust client to provide a valid hostname. Be lenient in parsing client hostnames from lease file 1997-06-10 05:49:15 +00:00
Ted Lemon
17832ade8e Always write out two digits for single-byte quantities in arrays 1997-06-08 03:08:29 +00:00
Ted Lemon
00d6d87c9e Write out client_hostname and hostname values when writing out a lease 1997-05-09 08:22:00 +00:00
Ted Lemon
b16b7f330e Record the time of the db_startup rewrite of the lease file so that we don't rewrite the file again the next time we offer a lease. 1997-03-06 23:41:27 +00:00
Ted Lemon
4006d804a4 Support abandoned keyword in leases 1997-03-06 19:29:39 +00:00
Ted Lemon
e2ac581437 Support for -lf and -cf flags 1996-09-02 21:16:25 +00:00
Ted Lemon
a311504319 Make database code more robust; notice more errors; new lease file format; don't use unix time functions 1996-08-27 09:42:26 +00:00
Ted Lemon
08804a9a44 Periodically rewrite the lease database 1996-06-11 08:13:28 +00:00
Ted Lemon
bd11271c37 dynamic bootp support 1996-05-22 07:18:37 +00:00
Ted Lemon
a8b53b4220 Various user-provided patches 1996-03-16 17:50:30 +00:00
Ted Lemon
1358b87447 Keep a persistent database of leases 1996-03-02 05:13:36 +00:00
Ted Lemon
d9c6d82c49 Not doing the database this way 1996-02-20 00:37:40 +00:00
Ted Lemon
d7837182d3 DHCP Server Daemon 1995-11-29 07:40:04 +00:00