Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37378478
en ru br
ALT Linux repositórios
S:4.7.0-alt1

Group :: Sistema/Servidores
RPM: nsd

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: 0001-Enable-control-by-default.patch
Download


diff -ruN nsd-4.3.7.orig/nsd-control-setup.sh.in nsd-4.3.7/nsd-control-setup.sh.in
--- nsd-4.3.7.orig/nsd-control-setup.sh.in	2021-07-22 14:05:51.000000000 +0000
+++ nsd-4.3.7/nsd-control-setup.sh.in	2021-07-23 08:21:33.590863092 +0000
@@ -197,7 +197,7 @@
 
 cleanup
 
-echo "Setup success. Certificates created. Enable in nsd.conf file to use"
+echo "Setup success. Certificates created."
 
 
 # create trusted usage pem
diff -ruN nsd-4.3.7.orig/nsd-control.8.in nsd-4.3.7/nsd-control.8.in
--- nsd-4.3.7.orig/nsd-control.8.in	2021-07-22 14:05:51.000000000 +0000
+++ nsd-4.3.7/nsd-control.8.in	2021-07-23 08:20:58.582348715 +0000
@@ -221,8 +221,6 @@
 If you change the access control permissions on the key files you can decide
 who can use nsd\-control, by default owner and group but not all users.
 The script preserves private keys present in the directory.
-After running the script as root, turn on \fBcontrol\-enable\fR in 
-\fInsd.conf\fR.
 .SH "STATISTIC COUNTERS"
 The \fIstats\fR command shows a number of statistic counters.
 .TP
diff -ruN nsd-4.3.7.orig/options.c nsd-4.3.7/options.c
--- nsd-4.3.7.orig/options.c	2021-07-22 14:05:51.000000000 +0000
+++ nsd-4.3.7/options.c	2021-07-23 08:21:59.127238304 +0000
@@ -134,7 +134,7 @@
 	opt->answer_cookie = 1;
 	opt->cookie_secret = NULL;
 	opt->cookie_secret_file = CONFIGDIR"/nsd_cookiesecrets.txt";
-	opt->control_enable = 0;
+	opt->control_enable = 1;
 	opt->control_interface = NULL;
 	opt->control_port = NSD_CONTROL_PORT;
 	opt->server_key_file = CONFIGDIR"/nsd_server.key";
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009