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

78 Commits

Author SHA1 Message Date
Shawn Routhier
6aaaf6a460 Fixes to lease input and output.
[ISC-Bugs #20418] - Some systems don't support the "%s" argument to
strftime, paste together the same string using mktime instead.
[ISC-Bugs #19596] - When parsing iaid values accept printable
characters.
[ISC-Bugs #21585] - Always print time values in omshell as hex
instead of ascii if the values happen to be printable characters.
2010-09-13 22:06:37 +00:00
Shawn Routhier
590298e746 Add some debugging output for use with the DDNS code. [ISC-Bugs 20916] 2010-05-26 22:25:10 +00:00
David Hankins
33692791d7 - "The LDAP Patch" that has been circulating for some time, written by
Brian Masney and S.Kalyanasundraram and maintained for application to
  the DHCP-4 sources by David Cantrell has been included.  Please be
  advised that these sources were contributed, and do not yet meet the
  high standards we place on production sources we include by default.
  As a result, the LDAP features are only included by using a compile-time
  option which defaults off, and if you enable it you do so under your
  own recognizance.  We will be improving this software over time.
  [ISC-Bugs #17741]
2010-03-24 21:49:03 +00:00
Shawn Routhier
7aa153b882 Primarly fix the trace code. This was broken during the modfictions of the
DDNS code to use the bind libraries.  This patch fixes that breakage and
includes support for the new DDNS code.  This patch also deletes some dead
code and neatens up some log messages.
2010-02-11 23:55:36 +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
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
Mark Andrews
62f6843db6 Remove infinite loop in token_print_indent_concat(). 2009-04-30 06:30:27 +00:00
Shawn Routhier
ae56655628 Update for 19054 - modifications to keep GCC 4.3 happy 2009-01-22 00:43:58 +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
28868515f6 Code cleanup to remove warnings from "gcc -Wall".
See RT ticket #16988 for more.
2007-07-13 06:43:43 +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
David Hankins
706792c9d3 Copyright++ 2007-05-19 19:16:28 +00:00
David Hankins
98bd7ca099 DHCPv6 branch merged to HEAD. 2007-05-08 23:05:22 +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
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
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
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
Murray
668c33c74a Sync with V3-RELEASE-BRANCH. Fixes remote root exploit. 2002-04-30 06:18:39 +00:00
Ted Lemon
a609e69bba sync with branch 2001-08-10 10:50:50 +00:00
Ted Lemon
d758ad8cac Merge changes between 3.0rc7 and 3.0rc8pl2. 2001-06-27 00:31:20 +00:00
Ted Lemon
33d1e366db Make print_hw_addr bulletproof. 2001-05-04 01:05:17 +00:00
Ted Lemon
80c897c871 Make things compile if DEBUG is defined. 2001-04-09 00:36:45 +00:00
Ted Lemon
b0b4f89c39 Add a missing else whose absence was causing memory smashes. 2001-03-20 07:26:57 +00:00
Ted Lemon
0efc1180e9 Add quotify functions. 2001-03-15 23:17:28 +00:00
Ted Lemon
84a2288c45 Don't save lease timestamp in database. 2001-02-12 19:46:59 +00:00
Ted Lemon
4cb55919c2 - Print null hardware address as blank, instead of as <null>.
- Use isc_result_totext to print ns update status, now that res_nupdate
  is returning an isc_result_t.
2001-01-16 23:12:47 +00:00
Ted Lemon
27b3dc1d62 Add support for printing NXDOMAIN and YXDOMAIN prerequisites. 2001-01-06 21:32:26 +00:00
Ted Lemon
6d531e7fd2 Add printer for client-state. 2000-11-28 23:18:40 +00:00
Ted Lemon
8e979eb6c4 Make print.c compile with DEBUG (and, coincidentally, make it work better). 2000-10-12 08:59:07 +00:00
Ted Lemon
f01408b861 Fix minor indentation nit. 2000-09-29 20:58:59 +00:00
Damien Neil
a83fe30733 Added binary &|^ operators. 2000-08-30 18:03:00 +00:00
Ted Lemon
49733f31d3 Go back to the BSD license. 2000-03-17 04:00:32 +00:00
Ted Lemon
c1cc0a7153 Generalize binary operator printing and add new binary operators. 2000-03-06 23:19:47 +00:00
Ted Lemon
48af32f4c0 Print function definitions (sort of). 2000-02-15 19:41:32 +00:00
Ted Lemon
f28971d813 Print function calls. 2000-02-05 18:05:45 +00:00
Ted Lemon
e2e4a76e08 Don't forget that pesky ampersand. 2000-02-03 04:43:36 +00:00
Ted Lemon
2d3bd461ae Get rid of double spacing when printing DNS results. 2000-02-03 04:38:08 +00:00
Ted Lemon
b4dc29fdd9 Use r_size, not strlen, to get length of r_data. 2000-02-03 04:31:25 +00:00
Ted Lemon
9458e9aa07 Minor solaris fixes. 2000-02-02 20:01:50 +00:00
Ted Lemon
7e799df19d Support the private resolver. 2000-02-02 07:22:33 +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
e89b6557e8 Use debugging malloc. Fix a few small botches in DNS expression printer. 2000-01-25 01:14:26 +00:00
Ted Lemon
2e23650878 - Add support for DNS return codes.
- Add support for null, defined and variable reference expressions.
2000-01-08 01:38:52 +00:00
Ted Lemon
5aae163517 Support new struct hardware. Add printers for new DNS functions. 2000-01-05 18:04:46 +00:00
Ted Lemon
d9eefc5dec Mass commit for Brian Murrell. 1999-11-20 18:36:32 +00:00