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

153 Commits

Author SHA1 Message Date
Ted Lemon
7b01f134e8 Make it compile with DEBUG_EXPRESSION_PARSE. 2001-04-09 00:41:45 +00:00
Ted Lemon
b3519f23f1 Support NUL characters in STRING tokens. 2001-03-17 00:47:39 +00:00
Ted Lemon
0b69dcc870 Change EOF to END_OF_FILE in tokenizer for enum compatibility. 2001-03-01 18:17:09 +00:00
Ted Lemon
76d12bd8d0 Update copyright date. 2001-02-12 19:44:54 +00:00
Ted Lemon
543ce4f87d Oops, add constant for requesting state 2001-01-26 05:56:29 +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
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
8a34e9e6ed Parse client state names as numbers. 2001-01-11 23:14:11 +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
42c6a80350 Add support for parsing enumerations. 2000-12-29 06:45:49 +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
2f98b84e37 Support unqualified signature algorithm names and base64 in quotes. 2000-12-05 07:15:16 +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
f769d5ac91 Initialize option_space_foreach for ad-hoc option spaces. 2000-11-24 04:04:04 +00:00
Ted Lemon
962dc4ab09 - Add support for user-defined encapsulations.
- Add code to detect impossible or unlikely tests and flag them with
  warnings, but don't enable this code until after the 3.0 release.
  For example, it would flag a warning on this code:

	if (substring (foo, 0, 3) = 01:02:03:04) { ...

  because this comparison can never succeed.
2000-10-10 22:45:25 +00:00
Ted Lemon
9007657d14 Oops, fix a jungian slip in parse code. 2000-10-04 18:47:41 +00:00
Ted Lemon
7d452841d1 Correctly parse unknown-ddd hardware types. 2000-10-03 19:33:37 +00:00
Ted Lemon
b0f452b3e3 The second argument to suffix is numeric. 2000-09-27 19:13:57 +00:00
Ted Lemon
ca5956dcad Fix a Tru64 compile error. 2000-09-21 07:52:19 +00:00
Ted Lemon
a37eb375c7 ANSIfy and thereby neaten up a declaration. 2000-09-20 00:08:27 +00:00
Ted Lemon
d8fc506074 - Add Peter Marschall's new sub-array parser.
- Add support for options that have optional parts.
2000-09-16 20:01:09 +00:00
Ted Lemon
8f01f9ec85 Fix base64 decoder. 2000-09-01 23:07:35 +00:00
Damien Neil
3c98e80b46 Added binary operators: & | ^. 2000-08-28 21:22:41 +00:00
Damien Neil
1b234d446f Finished up function call support. 2000-08-28 19:36:39 +00:00
Damien Neil
e7a9c29390 Added log() statement to allow logging from config files. 2000-08-22 21:51:39 +00:00
Damien Neil
49146f3c15 Added authentication support. The tsig_key structure has been renamed
to auth_key and moved into libomapi.  libomapi now depends on libres,
which contains the data signing routines.
2000-08-03 21:00:41 +00:00
Ted Lemon
fcd9651fd7 Add support for arbitrary parenthetical expressions. 2000-07-06 09:57:23 +00:00
Ted Lemon
4f9e9f47a9 Put some extra paranoia in logging subroutines. 2000-06-29 20:05:18 +00:00
Ted Lemon
6b474b5b4a Make from64 unsigned (not sure this matters). 2000-06-20 19:59:50 +00:00
Ted Lemon
165bce70b2 Fix up various platform-specific errors. 2000-05-17 16:04:26 +00:00
Ted Lemon
20916cae75 - Fix all the OMAPI objects in the DHCP server and client that weren't
being correctly reference-counted.
- Make and use object-specific allocators.
- Add reference/dereference support to hash functions and to timeout
  functions.
2000-05-16 23:03:49 +00:00
Ted Lemon
88ab5737a7 If a DNS name is specified with a trailing '.', remember it. 2000-04-20 00:56:56 +00:00
Ted Lemon
13b0934ec4 Fix a signed vs. unsigned char * problem. Allow semicolon after key. 2000-04-14 16:26:37 +00:00
Ted Lemon
028b1f6a4f Redo key declarations to match BIND. Add base64 parsing. 2000-04-06 22:46:26 +00:00
Ted Lemon
ef91cb3908 STRING -> STRING_TOKEN 2000-04-04 06:27:35 +00:00
Ted Lemon
68f5590808 Make universe_hash using new_hash. 2000-03-18 03:34:11 +00:00
Ted Lemon
7d9784f6fc Patch in TSIG, just to see how to get it to work. 2000-03-18 02:15:52 +00:00
Ted Lemon
49733f31d3 Go back to the BSD license. 2000-03-17 04:00:32 +00:00
Ted Lemon
fa392aeac7 Parse TSIG keys and DNS zones. 2000-03-06 23:17:24 +00:00
Ted Lemon
31cb2a5f6d Parse arithmetic operators and functions. 2000-02-15 19:41:01 +00:00
Ted Lemon
08514fb895 Add support for function calls and typed variables. 2000-02-05 18:07:17 +00:00
Ted Lemon
588af26930 Support parsing of configuration options in generic blocks. 2000-02-02 17:10:43 +00:00
Ted Lemon
cfdfb9f126 AIX and Digital Unix compatibility fixes. 2000-02-01 03:19:56 +00:00
Ted Lemon
4bd8800e89 Fix compilation errors introduced in the last set of checkins. 2000-01-26 14:56:18 +00:00
Ted Lemon
fdac15d902 - Pull up 3.0 changes.
- Support malloc debug.
- Parse ganged events, let, unset, parenthesized if statements, eval.
- Part of backwards compatibility for BCTEL (doesn't work yet)
2000-01-25 01:13:21 +00:00
Ted Lemon
f579f39f72 Add support for DNS return codes. Add support for null, defined and variable reference expressions. Support switch, case, default, set. 2000-01-08 01:36:39 +00:00
Ted Lemon
9fb2fb2887 - Support new DNS functions and parse old DNS syntax into new functions.
- New struct hardware support.
2000-01-05 18:03:49 +00:00
Ted Lemon
d9eefc5dec Mass commit for Brian Murrell. 1999-11-20 18:36:32 +00:00
Ted Lemon
7cb0f9f3b0 Move parse_allow_deny out of common code. 1999-11-13 23:53:57 +00:00
Ted Lemon
166e63ebd7 Fix a couple of mistakes in handling parse errors. 1999-11-07 20:27:04 +00:00