2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 05:47:45 +00:00

2505 Commits

Author SHA1 Message Date
Ted Lemon
1cfe0a8274 Add ping-check and update-static-leases flags. 2001-01-17 00:21:03 +00:00
Ted Lemon
abf0a2ab9f Document new parameters. 2001-01-17 00:02:53 +00:00
Ted Lemon
174f5ef554 Add a ping-check parameter. Pass old lease to ddns_updates. 2001-01-16 23:57:23 +00:00
Ted Lemon
ec64b4626d - Add conditional support for updating static entries.
- Use ISC result codes instead of ns rcodes.
- Fix a bug in the code that converts a lease from ad-hoc updates to
  interim-style updates.
2001-01-16 23:48:30 +00:00
Ted Lemon
2f2c77907b Fix up and add prototypes. 2001-01-16 23:30:38 +00:00
Ted Lemon
66d2353615 Move typedef for isc_result_t to result.h 2001-01-16 23:25:04 +00:00
Ted Lemon
cc4473a0aa Add new config parameters, adjust and add prototypes. 2001-01-16 23:24:02 +00:00
Ted Lemon
2c46528f22 Fix equal to compare arbitary types, rather than just data. 2001-01-16 23:15:38 +00:00
Ted Lemon
4cb55919c2 - Print null hardware address as blank, instead of as <null>.
- Use isc_result_totext to print ns update status, now that res_nupdate
  is returning an isc_result_t.
2001-01-16 23:12:47 +00:00
Ted Lemon
1898dcf70d - Fix expression parse context checking.
- Use ISC result codes for NS status checking.
- Add support for parsing Send to generic code.
- Behave correctly if there is no hardware address, or if it fails to parse.
2001-01-16 23:06:06 +00:00
Ted Lemon
33454222e7 Add a send statement that behaves the same as the supersede statement. 2001-01-16 23:00:49 +00:00
Ted Lemon
c50d828053 Use ISC-style result codes, rather than ns rcodes. 2001-01-16 22:54:03 +00:00
Ted Lemon
5ec697e605 Add 'new' token 2001-01-16 22:50:05 +00:00
Ted Lemon
c5b5e7d160 Let the generic parser parse send statements. 2001-01-16 22:49:31 +00:00
Ted Lemon
76981d9fcc Initialize hardware buffer before using it, just in case. 2001-01-16 22:46:01 +00:00
Ted Lemon
5abf0a4419 Use ISC result codes instead of NS rcodes to report update errors. 2001-01-16 22:34:47 +00:00
Ted Lemon
948274cfe7 Add update-optimization keyword. 2001-01-11 23:17:16 +00:00
Ted Lemon
5ee63c606e Document update-optimization config parameter. 2001-01-11 23:16:58 +00:00
Ted Lemon
ac9c906a33 Don't allow the client to specify the domain name for updates. 2001-01-11 23:16:31 +00:00
Ted Lemon
ebd0310bd2 Make ddns update optimization a configuration option. 2001-01-11 23:16:07 +00:00
Ted Lemon
6fdcc1a0d5 - Don't parse for semi twice in failover state.
- Parse client-updates in allow/deny statements.
2001-01-11 23:15:31 +00:00
Ted Lemon
afc0ca251f Add defines for update parameters. 2001-01-11 23:14:37 +00:00
Ted Lemon
8a34e9e6ed Parse client state names as numbers. 2001-01-11 23:14:11 +00:00
Ted Lemon
19903d4c86 Don't include the '.' in the fqdn.domainname. 2001-01-11 23:13:50 +00:00
Ted Lemon
5a2bee237b Add client-updates keyword. 2001-01-11 23:13:27 +00:00
Ted Lemon
ee83afae3a - Constify ns_updrec -> r_data.
- Remove common code.
- Get client updates working.
2001-01-11 02:18:11 +00:00
Ted Lemon
edefddce9f constify ns_updrec -> r_data. 2001-01-11 02:16:24 +00:00
Ted Lemon
2f7ca09230 Publicize some function declarations. 2001-01-11 02:15:31 +00:00
Ted Lemon
eb814f9d98 fqdn.fqdn starts at the beginning of the fqdn, not at the next token. 2001-01-11 02:14:51 +00:00
Ted Lemon
79c36eb70f - Move string set/reference/unset from ddns.c to here.
- Constify updrec -> r_name.
2001-01-11 02:14:23 +00:00
Ted Lemon
05528f7f05 Move the dhcid computer into common code. 2001-01-11 02:12:16 +00:00
Ted Lemon
87fec47565 Fix up some signed vs. unsigned char mismatches 2001-01-09 07:01:48 +00:00
Ted Lemon
f6eb925b20 - Fix linked option space to use pairs rather than direct links on option
cache structures, which may be used by more than one option state at
  the same time.
2001-01-09 06:56:11 +00:00
Ted Lemon
2321120a86 Oops, fix the cast from the previous commit so it actually helps. 2001-01-08 17:26:04 +00:00
Ted Lemon
478028e7ec - Fix the DDNS update code to correctly send a client FQDN option, to not
do the update if it seems unnecessary, and to handle client updates if
  configured to do so.
2001-01-08 17:24:45 +00:00
Ted Lemon
998205cee2 Add the FQDN_FQDN suboption. 2001-01-08 17:23:03 +00:00
Ted Lemon
8120ab76d0 Add fqdn.fqdn suboption. 2001-01-08 17:21:38 +00:00
Ted Lemon
42623ef893 - Store the complete FQDN as an accessible option, and use that when
encapsulating the FQDN option to the client.
2001-01-08 17:19:59 +00:00
Ted Lemon
b8a4e41a7a Fix a signed vs. unsigned problem. 2001-01-08 15:39:43 +00:00
Ted Lemon
fd35aacb24 Add client-updates config option. 2001-01-08 08:24:56 +00:00
Ted Lemon
3031654ab7 Document interim DDNS updates implementation. 2001-01-08 08:24:23 +00:00
Ted Lemon
797d58b313 Don't say (not authoritative) when we are. 2001-01-08 08:23:21 +00:00
Ted Lemon
26cb4b2d7c Add define for client-updates configuration variable. 2001-01-08 08:22:35 +00:00
Ted Lemon
6657e93a64 Don't try to move the lease if it doesn't have a pool. 2001-01-06 21:39:30 +00:00
Ted Lemon
48ceb859f8 Don't use the -gcc suffix in naming work directories 2001-01-06 21:38:50 +00:00
Ted Lemon
bdad826feb - Don't save the IP address as an ASCII string variable.Don't update
the PTR if the update of the A failed.
- Don't do the delete with the 'interim/rfc' code if we didn't do the
  add with the 'interim/rfc' code.
- Don't delete the dhcid RR if there is still a valid A RR, and don't
  just delete all A RRs when installing a new one - the client may
  legitimately have IP addresses on more than one subnet.
2001-01-06 21:37:21 +00:00
Ted Lemon
9c5706a682 Include net/if_arp.h for ARPHRD_* 2001-01-06 21:32:49 +00:00
Ted Lemon
27b3dc1d62 Add support for printing NXDOMAIN and YXDOMAIN prerequisites. 2001-01-06 21:32:26 +00:00
Ted Lemon
d8c76890f8 Use -c with bsdinstall on Tru64. 2001-01-04 00:33:03 +00:00
Ted Lemon
b282197910 - Move ddns_removals out of the on_release conditionals so that it actually
happens.
2001-01-04 00:30:53 +00:00