Commit Graph

162 Commits

Author SHA1 Message Date
Mark Andrews
2ba574f329 1056. [bug] Rndc could catch an assertion failure on SIGINT due
to an uninitialized variable. [RT #1908]
2001-10-17 03:59:44 +00:00
Mark Andrews
c2bc56dc65 Move configuration checking to libbind9. 2001-09-20 15:17:07 +00:00
Mark Andrews
5fe21da364 999. [func] "rndc retransfer zone [class [view]]" added.
[RT #1752]
2001-09-15 14:23:29 +00:00
Andreas Gustafsson
588372b853 note that the configuration generated by rndc-confgen -a works on the local
host only (as suggested by Tale)
2001-09-11 19:18:12 +00:00
Mark Andrews
a91e1db13e install rndc-confgen.8 2001-09-07 05:55:24 +00:00
Andreas Gustafsson
b39ad8a69b when assigning to isc_mem_debugging, use symbolic names for
the flags, not magic integer constants
2001-09-06 23:14:42 +00:00
Brian Wellington
ed29aefe31 [RT #1709]
Change isc_entropy_usebestsource() to have saner semantics:
 - If an invalid file is specified, an error will be returned instead of the
   keyboard being used.
 - If no file is specified but a random device is present, the keyboard will
   be used if there is an error opening the random device.
 - ISC_ENTROPY_KEYBOARDYES indicates that the keyboard should be the
   only device used.  Otherwise, passing '-r keyboard' is meaningless
   on a machine with a random device, since the keyboard will not be used.

Change the callers in the dnssec tools and rndc-confgen to check for the
special file "keyboard" and call isc_entropy_usebestsource() with the right set
of parameters.
2001-09-05 22:32:09 +00:00
Andreas Gustafsson
5f5b407b19 regenerated 2001-08-29 17:20:00 +00:00
Mark Andrews
71bfe170e1 Explain the interaction of -u and -t. 2001-08-29 03:27:57 +00:00
Andreas Gustafsson
a0766ff416 cut-and-paste-o 2001-08-28 18:00:37 +00:00
Andreas Gustafsson
259b1b8c03 added rndc-confgen man page 2001-08-28 17:29:35 +00:00
Andreas Gustafsson
31f4d4ac63 removed -P (pseudorandom) option 2001-08-27 23:55:16 +00:00
Danny Mayer
7bda91f314 updated to add path for include files 2001-08-09 23:45:12 +00:00
Andreas Gustafsson
33682c92e9 regenerated docs 2001-08-09 00:19:44 +00:00
Andreas Gustafsson
f30cab801a spacing 2001-08-08 23:27:03 +00:00
Andreas Gustafsson
b1600c0b02 spacing; no newline at end of file 2001-08-08 23:26:58 +00:00
Andreas Gustafsson
c961e08413 spacing 2001-08-08 23:13:16 +00:00
Andreas Gustafsson
73a9f8ec94 need <isc/print.h> for snprintf on OSF/1 4 2001-08-08 19:42:53 +00:00
Andreas Gustafsson
eae21e533a declaring progname as a char pointer in util.c
and a char array in rndc-confgen.c doesn't work
2001-08-08 05:13:47 +00:00
Andreas Gustafsson
0a77211c80 Wrapped long lines in an error message, and fixed two bugs:
1) rndc would crash if rndc.conf could not be read
2) rndc running in named.key mode required a working
DNS to resolve the default server name "localhost",
causing a chicken-and-egg problem when using rndc
to fix a broken DNS.  Fixed by changing the default
to 127.0.0.1.  This will probably offend some IPv6
people.
2001-08-06 11:40:46 +00:00
Danny Mayer
e5656b4aeb Added support for win32 2001-08-06 05:35:16 +00:00
Danny Mayer
66352c0a05 Added support for key for win32 2001-08-06 05:34:26 +00:00
Danny Mayer
3571e1bda4 Added Copyright Statement 2001-08-06 05:33:17 +00:00
Mark Andrews
a769eca4e3 cleanup
document "rndc -k"
2001-08-06 04:25:08 +00:00
Mark Andrews
d8ec3078d4 relax safe_create(). 2001-08-04 08:15:02 +00:00
Andreas Gustafsson
4c69379d79 don't print empty lines until we can figure out
how to print them only when actually using keyboard
entropy.  The existing code was clearly wrong, as it used
an enumerated value as a boolean
2001-08-03 23:44:49 +00:00
Andreas Gustafsson
b769845105 improved comments 2001-08-03 23:06:46 +00:00
Andreas Gustafsson
7dacac1909 added .cvsignore file 2001-08-03 22:35:06 +00:00
Andreas Gustafsson
0094faa6e0 Reduced code duplication. Code duplication is evil. 2001-08-03 22:33:02 +00:00
Andreas Gustafsson
644772cf06 eliminated needless use of string literal concatenation 2001-08-03 22:12:42 +00:00
Andreas Gustafsson
dfe3edd7cd use ${srcdir}/include, not ./include, in the include path so
that builds into a separate object directory work; eliminiated the RNDCINCLUDES
and CONFINCLUDES macros since they are not really necessary;
eliminated -DRNDC_SYSCONFDIR option passed to compiler when compiling
rndc-confgen.c since it is not actually used
2001-08-03 22:03:10 +00:00
Mark Andrews
326bcfa0e2 rndc.key support 2001-08-03 05:56:22 +00:00
Danny Mayer
a59a1d313a Updated .mak files to remove dependancies 2001-08-02 07:05:43 +00:00
Andreas Gustafsson
929b55a64d consistency 2001-07-26 20:37:26 +00:00
Andreas Gustafsson
1ecd9d30a0 pass in the full name of the automatic configuration file from
the Makefile as RNDC_AUTOCONFFILE, so that it too can be overridden on Win32
if necessary
2001-07-26 20:14:46 +00:00
Andreas Gustafsson
5da31b1ebe define RNDC_CONFFILE 2001-07-26 20:08:03 +00:00
Andreas Gustafsson
dcfaeabc63 renamed RNDC_SYSCONFPATH to RNDC_CONFFILE; there's
nothing specifically SYS about it
2001-07-26 20:06:22 +00:00
Danny Mayer
922a15c7c0 Changes to support win32 2001-07-26 03:15:16 +00:00
Andreas Gustafsson
b0232b4bbe sloppy formatting 2001-07-23 16:32:40 +00:00
Danny Mayer
80b67b3a4f Modified to initialize conf path at run time and avoid redeclaring h_errno 2001-07-23 02:58:22 +00:00
Danny Mayer
0b98125d1e Added Scripts 2001-07-22 06:16:13 +00:00
Danny Mayer
9dec38d1ee Added support for win32 2001-07-19 06:22:52 +00:00
Andreas Gustafsson
07dcadc6e2 update_copyrights 2001-07-17 20:29:36 +00:00
Andreas Gustafsson
699095b077 regenerated docs 2001-07-13 01:50:31 +00:00
Andreas Gustafsson
b233a7b9bb include <isc/netdb.h>, not <netdb.h>, as the latter one
may not exist on all platform
2001-07-09 22:02:15 +00:00
Brian Wellington
bfafdac061 defining program as a 'char []' in rndc.c and 'exterm char *' in util.c
doesn't work.
2001-07-02 00:07:09 +00:00
Brian Wellington
1744ed4042 add ISC_FORMAT_PRINTF to notify() also 2001-07-02 00:06:22 +00:00
Brian Wellington
e1d05d3235 fix a call to fatal() where the entire mesage wasn't printed due to an
extra comma; add ISC_FORMAT_PRINTF() to the declaration of fatal.
[RT #1460]
2001-07-01 17:36:47 +00:00
Andreas Gustafsson
1e65b21566 signed/unsigned char mismatch caused compiler warning on Tru64 2001-06-29 23:32:09 +00:00
Brian Wellington
09f3e7461f rndc-confgen didn't build when the --with-openssl configure flag was used 2001-06-27 06:32:20 +00:00