Mark Andrews
7900af4bef
- Removed the restriction on using IPv6 address in IPv4 mode. This allow
...
IPv4 options which contain IPv6 address to be specified. For example
the 6rd option can be specified and use like this:
option 6rd code 212 = { integer 8, integer 8,
ip6-address, array of ip-address };
option 6rd 16 10 2001:: 1.2.3.4, 5.6.7.8;
2011-02-18 01:41:30 +00:00
Shawn Routhier
e1a402115d
When processing the format flags for a given option consume the
...
flag indicating an optional value correctly. A symptom of this
bug was an infinite loop when trying to parse the slp-service-scope
option. Thanks to a patch from Marius Tomaschewski.
[ISC-Bugs #22055 ]
2010-12-29 22:56:01 +00:00
Mark Andrews
1babd56eeb
Use (unsigned char) not (int) to silence (char) array index warnings.
2010-09-17 01:51:37 +00:00
Shawn Routhier
83d409ae59
Parse date strings more properly - the code now handles semi-colons in
...
date strings correctly. Thanks to a patch from Jiri Popelka at Red Hat.
[ISC-Bugs #21501 , #20598 ]
2010-09-13 19:23:28 +00:00
Shawn Routhier
57fbc77221
Another batch of fixes
...
Correct error handling in DLPI [ISC-Bugs #20378 ]
Remove __sun__ and __hpux__ typedefs in osdep.h as they are now being
checked in configure. [ISC-Bugs #20443 ]
Modify how the cmsg header is allocated the v6 send and received routines
to compile on more compilers. [ISC-Bugs #20524 ]
When parsing a domain name free the memory for the name after we are
done with it. [ISC-Bugs #20824 ]
2010-09-09 22:18:02 +00:00
Shawn Routhier
98bf16077d
Support for asynchronous ddns per ticket 19216 - convert to using isclib and
...
dnslib.
2009-10-28 04:12:30 +00:00
Shawn Routhier
2c85ac9b24
Switch isc urls from http to https and correct sw to services or software
...
for new web site as appropirate.
2009-07-23 18:52:21 +00:00
David Hankins
86f1d4b723
- Versions 3.0.x syntax with multiple name->code option definitions is now
...
supported. Note that, similarly to 3.0.x, for by-code lookups only the
last option definition is used. [ISC-Bugs #17613 ]
2009-07-16 18:02:28 +00:00
David Hankins
33ea4622a8
- Added a configuration function, 'gethostname()', which calls the system
...
function of the same name and presents the results as a data expression.
This function can be used to incorporate the system level hostname of
the system the DHCP software is operating on in responses or queries (such
as including a failover partner's hostname in a dhcp message or binding
scope, or having a DHCP client send any system hostname in the host-name or
FQDN options by default). [ISC-Bugs #17351 ]
2009-07-06 23:29:52 +00:00
Shawn Routhier
ae56655628
Update for 19054 - modifications to keep GCC 4.3 happy
2009-01-22 00:43:58 +00:00
David Hankins
399d3dbe29
- A bug cleaning up unknown-xxx temporary option definitions was fixed.
...
[ISC-Bugs #18735 ]
2008-10-08 16:26:42 +00:00
Francis Dupont
507fe25f11
fix 'o'
2008-03-17 16:08:54 +00:00
David Hankins
66cebfcb89
- ./configure was extended to cover many optional build features, such
...
as failover, server tracing, debugging, and the execute() command.
[ISC-Bugs #17678 ]
2008-02-28 21:21:56 +00:00
Evan Hunt
dccb6edf66
Updated copyright strings for 4.1.0a1 release
2008-01-24 02:43:06 +00:00
Evan Hunt
4cafb81543
Added explicit parser support for zero-length DHCP options, such as
...
rapid-commit, via format code 'Z' [rt17355]
2008-01-23 19:19:22 +00:00
Evan Hunt
771484ac04
Exit with warning when DHCPv6 config is used but -6 isn't specified [rt17334]
2008-01-22 18:48:04 +00:00
David Hankins
219a65eb6e
- Fixed a compilation problems on platforms that define a value for FDDI,
...
which conflicts with a dhcp configuration syntax token by the same name.
[ISC-Bugs #16898 ]
2008-01-16 22:57:01 +00:00
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