Ted Lemon
ec3a042b5a
Allow setting of host-specific statements to supersede root group.
1999-10-05 02:48:09 +00:00
Ted Lemon
41ce579a22
Accept a packet argument in release_lease().
1999-10-05 02:47:12 +00:00
Ted Lemon
43f23dcc93
- Pass packet to release_lease (Brian Murrell).
...
- Don't release leases in one-lease-per-client code if they've already
expired (Shaun Clowes).
1999-10-05 02:46:17 +00:00
Ted Lemon
dff4af5c08
Don't write out contents of root group when writing a host declaration.
1999-10-05 02:44:37 +00:00
Ted Lemon
a05b1425f6
- Move handling of on_release hooks and nsupdate to release_lease().
...
- If one-lease-per-client is true, release the other lease even if it
hasn't yet expired.
1999-10-05 00:04:43 +00:00
Ted Lemon
1615a0987c
Move handling of on_release hooks and nsupdate to release_lease()
1999-10-05 00:03:24 +00:00
Ted Lemon
dc667e9271
- Fix misdeclaration/misuse of statement parser lose return value.
...
- Look up hosts by name (from Brian Murrell).
- Make it possible to safely stuff statements into host groups.
1999-10-04 23:53:57 +00:00
Ted Lemon
3db5bf9c4f
Fix one-lease-per-client.
1999-10-04 23:51:45 +00:00
Ted Lemon
d70e89d47b
Clear up an omission in the host group writing code.
1999-10-04 23:19:36 +00:00
Ted Lemon
35454d8a1a
Adjust to the New Parse Regime. Support named groups in lease file.
1999-10-01 03:37:29 +00:00
Ted Lemon
5a0931a111
- Add support for stuffing statements into groups.
...
- Return ISC_R_NOKEYS when a lookup fails because no keys were provided.
1999-10-01 03:27:37 +00:00
Ted Lemon
2c3c24f40b
Get rid of dynamic groups garbage and just dump them out of the hash table.
1999-10-01 03:26:45 +00:00
Ted Lemon
8f450cacb8
Implement -T flag.
1999-10-01 03:26:01 +00:00
Ted Lemon
897065dc1e
Document -t and -T flags.
1999-10-01 03:25:41 +00:00
Ted Lemon
4164f19682
Fix spelling error.
1999-10-01 03:25:24 +00:00
Ted Lemon
3b7c3de9e8
- Flesh out write_group.
...
- Allow db_startup to just do a syntax check on the lease file rather
than actually rewriting it, for the -T flag.
1999-10-01 03:24:59 +00:00
Ted Lemon
b9626cbb46
- Add support for creating named groups (but not yet for stuffing
...
values into them).
- Fix key conflict detection so that it's possible to send an update
that contains more than one key, so long as each key doesn't match a
different object.
- Fix numerous bugs in various update functions.
1999-09-29 00:00:35 +00:00
Ted Lemon
e2c5cba215
Move locate_network here, since it's server-specific.
1999-09-28 23:58:17 +00:00
Ted Lemon
daaeeac125
- Add named group support for host declarations.
...
- Add stub for saving named groups.
- Add a db_printable_len function for seeing if non-NUL-terminated
strings are plain ASCII, and use it in writing out UIDs for leases
and hosts.
1999-09-28 23:57:47 +00:00
Ted Lemon
29c35bedcc
- Support named groups.
...
- Support UID keyword in host declaration.
- Support UIDs that are text strings.
1999-09-28 23:55:55 +00:00
Ted Lemon
8b9bc09d4a
Build mdb.c
1999-09-28 22:57:34 +00:00
Ted Lemon
06ae74a60b
Integrate memory.c:1.61.
1999-09-28 22:52:50 +00:00
Ted Lemon
1bce8ee027
Server in-memory database functions.
1999-09-28 22:49:31 +00:00
Ted Lemon
96d7d13eb6
Allow 'on' statements in lease declarations.
1999-09-22 17:32:04 +00:00
Ted Lemon
ed2529e5bf
Get rid of any 'on' statements on a lease before running the in-scope statements.
1999-09-22 17:30:33 +00:00
Ted Lemon
fa098be8f9
Implement printing out of expressions so that they can be output to the lease database file and later read back in.
1999-09-22 01:45:57 +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
ccce1cc621
Change delete to remove for compatibility with C++
1999-09-16 04:53:38 +00:00
Ted Lemon
32e4f77644
Casts for Solaris, from Brian Murrell.
1999-09-16 00:52:50 +00:00
Ted Lemon
8ac1b7ba2f
- Two fixes for pastoes, from Brian Murrell
...
- Brian's support for looking up hosts without fixed address
declarations by looking up their leases and then using the
information in the lease to look up the host declaration.
1999-09-16 00:51:27 +00:00
Ted Lemon
2d92095d6e
Fix some uninitialized objects.
1999-09-15 19:47:38 +00:00
Ted Lemon
e92653f1ec
Bug fixes courtesy of Brian Murrell
1999-09-09 23:53:29 +00:00
Ted Lemon
110d052223
Add delete methods.
1999-09-09 23:33:43 +00:00
Ted Lemon
fafd89d21d
Support host declarations that delete previous host declarations.
1999-09-09 23:33:18 +00:00
Ted Lemon
ff129930ff
Support deletion of host declarations.
1999-09-09 23:32:22 +00:00
Ted Lemon
808db3d367
Fix various bugs.
1999-09-09 21:12:12 +00:00
Ted Lemon
52e79d1283
Support host declarations in lease database file.
1999-09-09 21:11:27 +00:00
Ted Lemon
972bde1863
Initialize RNG. Initialize OMAPI listener and DHCP OMAPI objects.
1999-09-08 01:50:19 +00:00
Ted Lemon
612fded735
Support dynamically-created host entries.
1999-09-08 01:49:56 +00:00
Ted Lemon
842c4dd960
Add omapi support.
1999-09-08 01:49:25 +00:00
Ted Lemon
1c5222526f
OMAPI interface for ISC DHCP server objects.
1999-09-08 01:36:05 +00:00
Ted Lemon
0085542655
Fix some lease time problems. Fix subclass permit problem.
1999-08-19 18:59:13 +00:00
Ted Lemon
1268b120bc
.ssd.example.net -> .in-addr.arpa in example.
1999-07-31 20:22:14 +00:00
Ted Lemon
7b9767eaa8
permit -> allow in example.
1999-07-31 18:10:45 +00:00
Ted Lemon
dce08243fb
- Use reference-counting allocators to allocate the expression and the
...
statement in the default classification rule.
- Fix function calls to expression evaluation functions.
1999-07-31 18:09:51 +00:00
Ted Lemon
ca1c700e43
- Rototill expression evaluation function prototypes.
...
- Hang onto the incoming packet so that it can be used in dhcp_reply when
cons_options is called.
1999-07-31 18:08:28 +00:00
Ted Lemon
2cc0151c5a
- Rototill function prototypes.
1999-07-31 18:07:16 +00:00
Ted Lemon
9e0e9ed858
- Remove NUL from end of host-name option after checking it, so that
...
host-name can reliably be used in concat expressions.
(From Brian Murrell)
1999-07-21 14:30:28 +00:00
Ted Lemon
2cd60a52cc
More documentation for classes.
1999-07-20 18:00:40 +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