Ted Lemon
5cc21fb313
Alphabetize configuration options and add documentation for more of them.
2001-01-04 00:27:20 +00:00
Ted Lemon
d7f6db1575
- Oops, tack the ad-hoc ddns updates to the end of the root group statement
...
list if ad-hoc is enabled.
2001-01-04 00:23:39 +00:00
Ted Lemon
bf9d9d2720
If ddns-updates is not set, default to enabled.
2001-01-04 00:15:50 +00:00
Ted Lemon
385fcb2704
- Globalize resolver state.
...
- Fix an uninitialized variable.
- Log updates.
2001-01-04 00:08:16 +00:00
Ted Lemon
59ae3999dd
- Add a null statement type, so that uninitialized statements won't
...
masquerade as if statements.
2001-01-04 00:02:06 +00:00
Ted Lemon
de427245f2
- Globalize resolver state.
...
- Add an unset function for unsetting variables.
2001-01-03 23:50:13 +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
a256fd856f
- Add ddns-update-style configuration option, which depends on new
...
enumeration parsing support.
- Add ddns-styles enumeration for ddns-update-style option.
2000-12-29 06:51:21 +00:00
Ted Lemon
fafe846361
- Require user to declare a ddns update style.
...
- Put back support for old-style ddns updates.
- Add ddns-update-style parameter, which can be ad-hoc, interim or none.
2000-12-29 06:49:38 +00:00
Ted Lemon
5fac73d638
Only do new-style ddns updates if that style is enabled.
2000-12-29 06:48:14 +00:00
Ted Lemon
6cecb7c50d
Initialize omapi before trying to mess with interfaces.
2000-12-29 06:47:46 +00:00
Ted Lemon
6e8d142358
Add structure definitionns for enumerations.
2000-12-29 06:47:16 +00:00
Ted Lemon
dbcc689ea5
Add externs for enumerations and ddns styles.
2000-12-29 06:47:06 +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
3c8073547f
- Partially document new DDNS code.
...
- Move the DDNS parameters to where all the other parameters are documented,
and document the new parameters.
2000-12-29 05:10:41 +00:00
Ted Lemon
4bcdb16d41
Fix a case where leases could wind up with too many references.
2000-12-28 23:34:08 +00:00
Ted Lemon
a25a18d772
Document lease abandonment and reallocation.
2000-12-28 23:29:47 +00:00
Ted Lemon
4f76762762
- If we receive a dhcp-server-identifier option in a DHCPREQUEST, print it
...
in the log.
- Fix abandoned lease reclamation.
- Do correct reference counting when doing one-lease-per-client.
2000-12-28 23:28:17 +00:00
Ted Lemon
0598e123df
Tweak the way the dhcid is computed.
2000-12-28 23:23:46 +00:00
Ted Lemon
f5985f55bf
- Always decrement the reference count on an object before dereferencing it,
...
so that if there's a dangling pointer, it's caught at dereference time.
2000-12-28 23:22:43 +00:00
Ted Lemon
8bed305da3
Prototype interface_setup ().
2000-12-28 23:21:35 +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
Ted Lemon
fc303b3199
Oops, put a cvs tag on versions built from cvs
2000-12-13 21:49:24 +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
Damien Neil
8c3c655296
Properly add ".SIG-ALG.REG.INT." to OMAPI key algorithms.
2000-12-09 00:10:55 +00:00
Damien Neil
a323900510
Fix omapi_protocol_connect() to properly return ISC_R_INCOMPLETE
...
when necessary. This should fix problems with forming OMAPI connections
to remote hosts.
2000-12-09 00:07:46 +00:00
Ted Lemon
580523b013
Fix compile warning on Tru64
2000-12-06 17:24:26 +00:00
Ted Lemon
0ddc49b5fb
Maybe really really fix HP-UX build...
2000-12-05 16:45:41 +00:00
Ted Lemon
4adb894baf
Maybe really fix HP-UX build...
2000-12-05 16:29:28 +00:00
Ted Lemon
38d717583a
Don't blow away bindings and such when releasing or abandoning leases.
2000-12-05 07:32:26 +00:00
Ted Lemon
f229bd4c1d
Don't do the DNS update for static hosts.
2000-12-05 07:30:37 +00:00
Ted Lemon
c6708cba5c
Remember lease flags when doing the commit routine.
2000-12-05 07:21:31 +00:00
Ted Lemon
2165f83f2a
Add new tokens
2000-12-05 07:18:58 +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
Ted Lemon
c4232263d2
Maybe fix an HP-UX build problem.
2000-12-05 07:10:48 +00:00
Damien Neil
78c636eb93
Changed the variable 'n' in res_nmkupdate() from an unsigned to an int.
...
(There are circumstances under which a negative value may be assigned to
it.) This mirrors the state of the BIND 8 code.
2000-12-02 00:10:20 +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
cfb8d21408
Fix up hp-ux config hacks.
2000-11-30 20:49:41 +00:00