2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 22:05:23 +00:00
Commit Graph

1342 Commits

Author SHA1 Message Date
Ted Lemon
157de15813 - Add a note to the documentation for the slp-directory-agent option
to help users of Novell products.
2001-01-25 21:54:00 +00:00
Ted Lemon
76a8f1634c Fix a small cosmetic error. 2001-01-25 08:24:33 +00:00
Ted Lemon
b49c02cc7f - Fix a possible core dump in option parsing.
- Print error messages in some cases where the parser was breaking
  silently.
2001-01-25 08:23:49 +00:00
Ted Lemon
1472e6f3e4 - Use option_chain_head structure for linked option spaces.
- Fix a memory leak.
2001-01-25 08:21:59 +00:00
Ted Lemon
320eda6ad6 document the user-class option. 2001-01-25 08:20:53 +00:00
Ted Lemon
1687c64b43 Add TRANSMISSION keyword 2001-01-25 08:20:24 +00:00
Ted Lemon
fe48fc2c85 Add allocators for option_chain_head structure. 2001-01-25 08:18:37 +00:00
Ted Lemon
b1c45d8a31 Do careful bounds checking on the incoming fqdn option. 2001-01-19 10:56:06 +00:00
Ted Lemon
6cff8371b5 Fix some compile problems. 2001-01-17 16:56:48 +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
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
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
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
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
27b3dc1d62 Add support for printing NXDOMAIN and YXDOMAIN prerequisites. 2001-01-06 21:32:26 +00:00
Ted Lemon
7167c65402 Globalize resolver state. 2001-01-03 23:43:24 +00:00
Ted Lemon
63a0ff886d - Make it possible for parse_option_token to modify the format pointer, to
support the 'N' and 'E' option codes.
2001-01-03 23:33:18 +00:00
Ted Lemon
2bf47722e9 Don't make bogus statements a fatal error. 2001-01-03 23:15:33 +00:00
Ted Lemon
21fd88eaec - Register the interface_initialize function (fixes a problem with
uninitialized interfaces being registered anyway and causing the
  server to exit).
2001-01-03 23:13:46 +00:00
Ted Lemon
90439d6bfe Fix up internal documentation for option parse codes. 2000-12-29 06:46:23 +00:00
Ted Lemon
42c6a80350 Add support for parsing enumerations. 2000-12-29 06:45:49 +00:00
Ted Lemon
3a9992b455 Add support (not debugged) for printing enumerations. 2000-12-29 06:45:00 +00:00
Ted Lemon
3fdb840514 Correctly implement the subnet selection option. 2000-12-28 23:20:53 +00:00
Ted Lemon
aab30e3b02 Fix debug message for 'static' operator. 2000-12-28 23:20:28 +00:00
Ted Lemon
630786fcff - Fix typo in base64 table (Albert Herranz).
- Allow key names to be any valid domain name.
2000-12-28 23:18:36 +00:00
Ted Lemon
98a8d72e71 - Fix up a minor nit in the fqdn code.
- Consistently tack an end option onto any outgoing option buffer.
2000-12-28 23:16:19 +00:00
Ted Lemon
a034015fac Move interface code so that it doesn't pollute the relay agent. 2000-12-28 23:14:46 +00:00
Ted Lemon
e93c7089ca Account for word alignment of buffer returned by bpf. 2000-12-28 23:13:07 +00:00
Damien Neil
b992d7e23d DDNS implementation rewrite. DDNS should now operate according to
<draft-ietf-dhc-dhcp-dns-12.txt>.

common/options.c, common/tables.c, includes/dhcp.h:
  Split the fqdn.name option into fqdn.hostname and fqdn.domainname.

includes/dhcpd.h, server/Makefile.dist, server/ddns.c, server/dhcp.c,
server/mdb.c, server/stables.c:
  Added a new file (server/ddns.c) containing the DDNS updates code.
  This file exports two functions: ddns_updates() and ddns_removals().
  ddns_updates() is called when a lease is granted, and ddns_removals()
  is called when the lease expires or is released.

server/dhcpd.c:
  Remove the previous DDNS update code, and add default code for the
  ddns-hostname, ddns-domainname, ddns-ttl, and ddns-rev-domainname
  server options.
2000-12-11 18:56:45 +00:00
Ted Lemon
2f98b84e37 Support unqualified signature algorithm names and base64 in quotes. 2000-12-05 07:15:16 +00:00
Ted Lemon
752214df9a Document client-state operator. 2000-12-05 07:13:16 +00:00
Ted Lemon
cf19946363 Add client state keywords. 2000-12-05 07:12:18 +00:00
Damien Neil
81beacfb83 Added a case to handle log statements in write_statements(), avoiding
server death when log statements appear in commit or expiry clauses.
2000-12-02 00:04:22 +00:00
Ted Lemon
eec641ca22 Word-align BPF buffers. 2000-11-30 18:12:56 +00:00
Ted Lemon
8df547bf26 Fix an uninitialized variable reference 2000-11-29 13:38:36 +00:00
Ted Lemon
16121af516 - Add client-state expression.
- Fix debugging printf formats.
- Pass client state to eval functions.
2000-11-28 23:23:13 +00:00
Ted Lemon
6d531e7fd2 Add printer for client-state. 2000-11-28 23:18:40 +00:00
Ted Lemon
9a7f6fcd0b - Move some common functions from clparse.c.
- Print an error if not is invoked on a non-boolean expression.  Add
  client-state function.
2000-11-28 23:16:26 +00:00
Ted Lemon
dd15a833d1 - Pass client state to eval functions.
- Fix a couple of bugs in agent option handling.
2000-11-28 23:10:28 +00:00
Ted Lemon
63b4fbf9ae Pass client state to eval functions. 2000-11-28 22:50:38 +00:00