2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-24 10:58:13 +00:00

170 Commits

Author SHA1 Message Date
David Hankins
67674ffb38 - Timestamp parsing errors that indicated missing "minutes" fields rather
than the actually missing "seconds" fields have been repaired thanks to
  a patch from Kevin Steves. [ISC_Bugs #16505]
2007-04-16 17:32:02 +00:00
Shane Kerr
c57db45ce9 Spelling fixes. See RT ticket 16513 for details. 2007-01-29 10:25:55 +00:00
Evan Hunt
253c8b6ad1 Change "execute" from numeric expression to executable statement, so
it will not be necessary to use eval(execute(...)) [rt16620]
2007-01-28 23:00:19 +00:00
Shane Kerr
4cba29f04f Pulling in rt16318, a set of fixes for 3.1 from Hankins. 2006-08-04 10:59:33 +00:00
David Hankins
b543fea9d4 - A new common configuration executable statement, execute(), has been
added.  This permits dhcpd or dhclient to execute a named external
  program with command line arguments specified from other configuration
  language.  Thanks to a patch written by Mattias Ronnblom, gotten to us
  via Robin Breathe. [ISC-Bugs #13728]
2006-07-31 22:19:51 +00:00
Shane Kerr
d5341d9b5f New options added, and some magic code to parse unknown options.
See ticket rt15925.
2006-07-26 15:43:52 +00:00
Shane Kerr
272ef1bca0 Hankin's fixes for hash-related core dumps on HEAD. 2006-07-25 09:59:39 +00:00
David Hankins
dba5803b95 - Support for compressed 'domain name list' style DHCP option contents, and
in particular the domain search option (#119) was added. [ISC-Bugs #15934]
2006-07-22 02:24:16 +00:00
David Hankins
5e86441636 - A new common (server or client) option, 'db-time-format local;', has
been added which prints the local time in /var/db/dhcpd.leases rather
  than UTC.  Thanks to a patch from Ken Lalonde. [ISC-Bugs #2678]
2006-06-06 16:35:18 +00:00
David Hankins
d19e2cf7de Compiler warnings (a few were bugfixes internal to HEAD development) silenced.
[ISC-Bugs #16133]
2006-06-05 16:42:59 +00:00
David Hankins
f7fdb21693 - Varying option space code and length bit widths (8/16/32) are now
supported.  This is a milestone in acheiving RFC 3925 "VIVSO" and
  DHCPv6 support. [ISC-Bugs #15979]
2006-06-01 20:23:18 +00:00
David Hankins
febbd40203 - The dhclient 'reject ...;' statement, which rejects leases given by named
server-identifiers, now permits address ranges to be specified in CIDR
  notation. [ISC-Bugs #1435]
2006-05-15 15:07:50 +00:00
David Hankins
2727c1cf8f - lcase() and ucase() configuration expressions have been added which adjust
their arguments from upper to lower and lower to upper cases respectively.
  [ISC-Bugs #1597]
2006-05-11 16:31:29 +00:00
David Hankins
88cd8aca9e - Merge changes between 3.0.3RC1 and 3.0.4-BETA-3 into HEAD (silence
robie).
2006-02-24 23:16:32 +00:00
David Hankins
98311e4ba9 MASSIVE merge from V3-RELEASE-BRANCH into HEAD. HEAD and V3-RELEASE are
now synced as of tag V3-0-3-BETA-1.
2005-03-17 20:15:29 +00:00
Ted Lemon
d758ad8cac Merge changes between 3.0rc7 and 3.0rc8pl2. 2001-06-27 00:31:20 +00:00
Ted Lemon
351556132f If the algorithm name is not properly terminated with a '.', add one. 2001-05-02 16:59:30 +00:00
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