1 |
stephdl |
1.1 |
diff -Nur e-smith-nutUPS-2.4.0.old8793/root/etc/e-smith/templates/etc/hosts.allow/upsd e-smith-nutUPS-2.4.0.bz8793/root/etc/e-smith/templates/etc/hosts.allow/upsd |
2 |
|
|
--- e-smith-nutUPS-2.4.0.old8793/root/etc/e-smith/templates/etc/hosts.allow/upsd 1970-01-01 01:00:00.000000000 +0100 |
3 |
stephdl |
1.2 |
+++ e-smith-nutUPS-2.4.0.bz8793/root/etc/e-smith/templates/etc/hosts.allow/upsd 2015-01-22 10:38:53.743336465 +0100 |
4 |
stephdl |
1.1 |
@@ -0,0 +1,3 @@ |
5 |
|
|
+{ |
6 |
stephdl |
1.2 |
+ $DB->hosts_allow_spec('nut','nut'); |
7 |
stephdl |
1.1 |
+} |
8 |
stephdl |
1.2 |
diff -Nur e-smith-nutUPS-2.4.0.old8793/root/etc/e-smith/templates/etc/services/30Nut e-smith-nutUPS-2.4.0.bz8793/root/etc/e-smith/templates/etc/services/30Nut |
9 |
|
|
--- e-smith-nutUPS-2.4.0.old8793/root/etc/e-smith/templates/etc/services/30Nut 1970-01-01 01:00:00.000000000 +0100 |
10 |
|
|
+++ e-smith-nutUPS-2.4.0.bz8793/root/etc/e-smith/templates/etc/services/30Nut 2015-01-22 11:15:15.714961712 +0100 |
11 |
|
|
@@ -0,0 +1,3 @@ |
12 |
|
|
+#Nut Service |
13 |
|
|
+nut 3493/tcp # Network UPS Tools |
14 |
|
|
+nut 3493/udp # Network UPS Tools |
15 |
stephdl |
1.1 |
diff -Nur e-smith-nutUPS-2.4.0.old8793/root/etc/e-smith/templates/etc/ups/upsd.conf/10Listen_Local_Network e-smith-nutUPS-2.4.0.bz8793/root/etc/e-smith/templates/etc/ups/upsd.conf/10Listen_Local_Network |
16 |
|
|
--- e-smith-nutUPS-2.4.0.old8793/root/etc/e-smith/templates/etc/ups/upsd.conf/10Listen_Local_Network 1970-01-01 01:00:00.000000000 +0100 |
17 |
stephdl |
1.2 |
+++ e-smith-nutUPS-2.4.0.bz8793/root/etc/e-smith/templates/etc/ups/upsd.conf/10Listen_Local_Network 2015-01-22 11:14:27.995311819 +0100 |
18 |
|
|
@@ -0,0 +1,2 @@ |
19 |
|
|
+LISTEN 127.0.0.1 |
20 |
|
|
+LISTEN {$LocalIP} |
21 |
stephdl |
1.1 |
diff -Nur e-smith-nutUPS-2.4.0.old8793/root/etc/e-smith/templates/etc/ups/upsd.conf/20ACL e-smith-nutUPS-2.4.0.bz8793/root/etc/e-smith/templates/etc/ups/upsd.conf/20ACL |
22 |
|
|
--- e-smith-nutUPS-2.4.0.old8793/root/etc/e-smith/templates/etc/ups/upsd.conf/20ACL 2015-01-22 08:59:03.647593780 +0100 |
23 |
|
|
+++ e-smith-nutUPS-2.4.0.bz8793/root/etc/e-smith/templates/etc/ups/upsd.conf/20ACL 1970-01-01 01:00:00.000000000 +0100 |
24 |
|
|
@@ -1,3 +0,0 @@ |
25 |
|
|
-ACL all 0.0.0.0/0 |
26 |
|
|
-ACL localhost 127.0.0.1/32 |
27 |
|
|
-ACL localnet { "$InternalInterface{Network}/$InternalInterface{Netmask}" } |
28 |
|
|
diff -Nur e-smith-nutUPS-2.4.0.old8793/root/etc/e-smith/templates/etc/ups/upsd.conf/40ACCESS e-smith-nutUPS-2.4.0.bz8793/root/etc/e-smith/templates/etc/ups/upsd.conf/40ACCESS |
29 |
|
|
--- e-smith-nutUPS-2.4.0.old8793/root/etc/e-smith/templates/etc/ups/upsd.conf/40ACCESS 2015-01-22 08:59:03.647593780 +0100 |
30 |
|
|
+++ e-smith-nutUPS-2.4.0.bz8793/root/etc/e-smith/templates/etc/ups/upsd.conf/40ACCESS 1970-01-01 01:00:00.000000000 +0100 |
31 |
|
|
@@ -1,3 +0,0 @@ |
32 |
|
|
-ACCEPT localhost |
33 |
|
|
-ACCEPT localnet |
34 |
|
|
-REJECT all |