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

224 Commits

Author SHA1 Message Date
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
Ted Lemon
c256bae9ba Add use-host-decl-names keyword 1996-09-09 07:04:29 +00:00
Ted Lemon
e2ac581437 Support for -lf and -cf flags 1996-09-02 21:16:25 +00:00
Ted Lemon
6cdd0d0d26 Remove dead local variables; fix shared-network subnet list code 1996-08-30 23:39:37 +00:00
Ted Lemon
5fea7b10ff Add get-lease-hostnames parameter 1996-08-29 23:02:40 +00:00
Ted Lemon
ef6f87b4d6 Fix signed/unsigned char type mismatch 1996-08-29 20:12:37 +00:00
Ted Lemon
88ddda34a5 Don't proceed if errors are found in dhcpd.conf 1996-08-29 09:49:53 +00:00
Ted Lemon
2d59f5901f Rehash nomenclature; allow range declaration to take a single address 1996-08-29 09:14:39 +00:00
Ted Lemon
5376e3e969 Fix BNF comments; neaten up; minor parser fixes 1996-08-28 01:28:27 +00:00
Ted Lemon
7dfc8ac273 redo parser for new file format 1996-08-27 09:40:17 +00:00