Francis Dupont
1d9774ab57
Cleanup IA_NA dependencies
2008-01-02 23:47:22 +00:00
Francis Dupont
c54db70868
fix dhcp6.status-code success parsing
2007-12-03 19:10:19 +00:00
Francis Dupont
20ae1affb0
almost editorial stuff
2007-11-30 21:51:43 +00:00
David Hankins
b1d3778ce8
- Relative time may now be used as a qualifier for 'allow' and 'deny' access
...
control lists. These directives may be used to assist in re-addressing
address pools without having to constantly reconfigure the server. Please
see 'man dhcpd.conf' for more information on allow/deny 'after time' syntax.
Thanks to a patch from Christof Chen. [ISC-Bugs #17110 ]
2007-10-31 19:13:33 +00:00
Michael Graff
5eab8594b6
Cast arguments for isspace(), isascii(), and other is*() functions to int.
2007-10-01 14:47:35 +00:00
Shane Kerr
f800f4f633
Support for zero-length options in config files.
...
See RT ticket #17029 for more.
2007-08-27 19:11:24 +00:00
Shane Kerr
28868515f6
Code cleanup to remove warnings from "gcc -Wall".
...
See RT ticket #16988 for more.
2007-07-13 06:43:43 +00:00
Evan Hunt
b55d0d5f53
Fixed a bug parsing ipv6 addresses in host-identifier statements. [rt16860]
2007-06-27 18:25:15 +00:00
Shane Kerr
bda3316935
Handle IPv6 parsing better. Adds generic whitespace handling to
...
parser.
See RT ticket #16862 for more.
2007-06-20 10:38:55 +00:00
David Hankins
dd3282251e
- Two new operators, ~= and ~~, have been integrated to implement
...
boolean matches by regular expression (such as may be used in
class matching statements). Thanks to a patch by Alexandr S.
Agranovsky, which underwent slight modification. [ISC-Bugs #8155 ]
2007-06-07 15:52:30 +00:00
Evan Hunt
804401cc8e
Merge in changes that were needed in 3.1.0 to silence NetBSD compiler
...
warnings. [rt16907]
2007-05-29 18:11:56 +00:00
Shane Kerr
66eaae186e
Handle hostnames that start with numbers.
...
This involved needing to look at more than one token at a time, so
this patch moves from read() to mmap() of files, as a way to gracefully
rewind.
See RT ticket #16516 for (a lot) more.
2007-05-23 15:29:49 +00:00
David Hankins
706792c9d3
Copyright++
2007-05-19 19:16:28 +00:00
David Hankins
fe5b0fdd70
- Replaced ./configure shellscripting with GNU Autoconf. [ISC-Bugs #16405b]
...
- RELNOTES/README++
- s/wether/whether/ in dhcp-options.5 manpage edits.
2007-05-19 18:47:15 +00:00
David Hankins
a512d11b6d
- Corrected some situations where variables might be used without being
...
initialized. [ISC-Bugs #16865 ]
- Silenced several other compiler warnings. [ISC-Bugs #16865 ]
- Include the more standard sys/uio.h rather than rely upon other header
files to include it (fixes a BSDI compile failure). [ISC-Bugs #16865 ]
2007-05-11 15:50:18 +00:00
David Hankins
98bd7ca099
DHCPv6 branch merged to HEAD.
2007-05-08 23:05:22 +00:00
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