2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 05:17:57 +00:00

83 Commits

Author SHA1 Message Date
Ted Lemon
96d7d13eb6 Allow 'on' statements in lease declarations. 1999-09-22 17:32:04 +00:00
Ted Lemon
92ce3f81d1 Return error status when duplicate hostname found instead of bombing. 1999-09-16 05:12:38 +00:00
Ted Lemon
32e4f77644 Casts for Solaris, from Brian Murrell. 1999-09-16 00:52:50 +00:00
Ted Lemon
2d92095d6e Fix some uninitialized objects. 1999-09-15 19:47:38 +00:00
Ted Lemon
ff129930ff Support deletion of host declarations. 1999-09-09 23:32:22 +00:00
Ted Lemon
52e79d1283 Support host declarations in lease database file. 1999-09-09 21:11:27 +00:00
Ted Lemon
612fded735 Support dynamically-created host entries. 1999-09-08 01:49:56 +00:00
Ted Lemon
ad1a6484c1 - Add unknown-clients as an alternative to unknown clients in permit
statements.
1999-07-20 18:00:20 +00:00
Ted Lemon
79a65726f0 Massive rototill to support some new DDNS features. 1999-07-16 21:34:14 +00:00
Ted Lemon
4e2bf4f725 Parse ddns state in leases even if DDNS support is not compiled in. 1999-07-12 22:44:16 +00:00
Ted Lemon
f7c826883f Parse DNS update tokens if provided. 1999-07-01 19:32:29 +00:00
Ted Lemon
ca3a51a5f0 Use new class option constants. 1999-04-23 23:50:22 +00:00
Ted Lemon
e68de775cb - Fix some silly parse problems in class parsing.
- Remove ifdef'd-out AUTH/DENY parse code, which is now in parse.c.
- Fix use of uninitialized variable in parse_statement.
1999-04-08 19:39:54 +00:00
Ted Lemon
822d95c9df Add support for option space declaration. 1999-04-05 16:36:25 +00:00
Ted Lemon
b1013db725 Move support of server allow/deny into common code. 1999-03-30 15:20:10 +00:00
Ted Lemon
e5e41be4c5 Add missing break to fix POOL permit parse. Fix address range warning. 1999-03-29 18:59:54 +00:00
Ted Lemon
2d1b06e071 Pull up changes in Patchlevel 19 1999-03-26 19:19:46 +00:00
Ted Lemon
8230a054b4 Support defining new option names and codes.
Support server-identifier keyword.
1999-03-25 22:05:19 +00:00
Ted Lemon
c5b0f52958 Sanitize Solaris build. 1999-03-16 06:37:55 +00:00
Ted Lemon
f39b6e0089 Update license. 1999-03-16 05:50:46 +00:00
Ted Lemon
8b5001850f Differentiate between spawning and subclass matching. 1999-03-16 00:56:02 +00:00
Ted Lemon
ac3d438f08 When creating anonymous pools, initialize share and group pointers. 1999-03-09 23:43:36 +00:00
Ted Lemon
74f45f9642 Sync with 2.0b1pl16. Fix some pool allocation problems. 1999-02-25 23:30:43 +00:00
Ted Lemon
8ae2d59584 Change names of error functions to be more consistent. 1999-02-24 17:56:53 +00:00
Ted Lemon
1b8223ae21 Fix up authoritative parsing. 1999-02-23 19:07:14 +00:00
Ted Lemon
339b0231e4 Fix up mistakes in recent 2.0 pullups. 1999-02-14 19:40:22 +00:00
Ted Lemon
763adef103 Pull up recent 2.0 changes.
Add failover peer declaration parser.
1999-02-14 19:08:51 +00:00
Ted Lemon
88dcab6226 Fix up class parsing to support billing. 1998-11-11 07:59:53 +00:00
Ted Lemon
f63b49298d Add pool/permit support. 1998-11-09 02:46:58 +00:00
Ted Lemon
de94ca7269 Add new classes to database after parsing them. Fix some miscellaneous bugs. 1998-11-06 02:58:17 +00:00
Ted Lemon
028a8588da When making list of IP addresses or hostnames, account for the first expression on the list. 1998-11-06 00:31:08 +00:00
Ted Lemon
6f8fb41f3b Move to reference-based expression allocation. 1998-11-06 00:16:52 +00:00
Ted Lemon
ece6ea338c Get rid of root group defaults. Merge trees into expressions. Allow host statements in class declarations (explicitly declaring a host to be in a specific class). Server universe declarations handled as statements. parse_allow_deny now creates statements. Grandfather old-style user and vendor class declarations. Add support for spawning classes. Can't flag dynamic bootp anymore. Move parse_ip_addr_or_hostname into common code. tree_cache -> option_cache. Move option parameter parsing into common parser. Put expression parser in common code. 1998-06-25 03:51:59 +00:00
Ted Lemon
86941a09d3 Move option name parsing into its own function. Use parse_cshl to parse colon-seperated hexadecimal lists. Add match expression parsing. 1998-04-20 18:05:19 +00:00
Ted Lemon
59b85ebd15 Add min-lease-time, min-secs and use-lease-addr-for-default-route. Allow empty option declarations. 1998-04-09 04:38:24 +00:00
Ted Lemon
f3c3d67454 Allow unnamed host declarations. 1998-03-17 06:20:51 +00:00
Ted Lemon
69858972fd Clean up unsigned char vs. signed char discrepencies. 1998-03-16 06:17:37 +00:00
Ted Lemon
338303a442 Prevent some type incompatibility warnings. 1998-03-15 21:16:39 +00:00
Ted Lemon
56a899315a Fix up handling of hostname 1997-10-27 20:22:40 +00:00
Ted Lemon
ffba70525e parse_string eats the semicolon 1997-06-10 06:00:23 +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
05a8d03c0b Use a different bit for hostname than for client-hostname 1997-06-03 01:06:10 +00:00
Ted Lemon
ccf5778aac Move parse_host_name to parse.c. Add support for recording client-supplied and locally-derived hostname in lease file 1997-05-09 08:21:25 +00:00
Ted Lemon
4006d804a4 Support abandoned keyword in leases 1997-03-06 19:29:39 +00:00
Ted Lemon
99fd97cc55 Add allow and deny keywords; allow or deny bootp service, booting (for known hosts that shouldn't be booted), dynamic_bootp and unknown clients 1997-02-22 08:41:01 +00:00
Ted Lemon
6311543119 Move common parsing functions into a seperate file, so the DHCP client and server don't have to share *all* their parsing code 1997-02-18 14:27:33 +00:00
Ted Lemon
f4d0f440ce Initialize declaration variable 1996-12-31 02:01:28 +00:00
Ted Lemon
0b5d360d4b replace ARPHRD with HTYPE 1996-11-08 20:09:41 +00:00
Ted Lemon
b179c99797 Remove dynamic bootp conflict checker; parse true booleans correctly 1996-09-13 18:58:20 +00:00
Ted Lemon
7084791cfd Don't use server-identifier to initialize next_server 1996-09-11 06:36:17 +00:00