Module: check_mk
Branch: master
Commit: 3018ef0f48e139a0e7cc77852c8b79680982ea40
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3018ef0f48e139…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Feb 6 16:01:37 2014 +0100
FIX Minimum port for the mknotifyd is now 1024 (never use well known ports)
This limitation has been added to prevent permission problem errors and mixups
with other running services on a host.
---
.werks/666 | 9 +++++++++
ChangeLog | 1 +
web/plugins/wato/mknotifyd.py | 4 ++--
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/.werks/666 b/.werks/666
new file mode 100644
index 0000000..0946ce6
--- /dev/null
+++ b/.werks/666
@@ -0,0 +1,9 @@
+Title: Minimum port for the mknotifyd is now 1024 (never use well known ports)
+Level: 1
+Component: wato
+Version: 1.2.5i1
+Date: 1391698838
+Class: fix
+
+This limitation has been added to prevent permission problem errors and mixups
+with other running services on a host.
diff --git a/ChangeLog b/ChangeLog
index 8694e36..5a68ab2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -261,6 +261,7 @@
* 0271 FIX: Fixed sorting in duallist element (two lists with interchangable
elements)...
* 0131 FIX: Error rates for network interfaces can now be set smaller then 0.1 when
using Wato....
* 0690 FIX: Fix language jumping to German when saving user profiles
+ * 0666 FIX: Minimum port for the mknotifyd is now 1024 (never use well known
ports)...
Notifications:
* 0362 sms: now searching PATH for sendsms and smssend commands...
diff --git a/web/plugins/wato/mknotifyd.py b/web/plugins/wato/mknotifyd.py
index 9732b20..8694909 100644
--- a/web/plugins/wato/mknotifyd.py
+++ b/web/plugins/wato/mknotifyd.py
@@ -61,7 +61,7 @@ if mknotifyd_enabled:
),
Integer(
title = _("TCP port"),
- minvalue = 1,
+ minvalue = 1024,
maxvalue = 65535,
default_value = 6555,
),
@@ -102,7 +102,7 @@ if mknotifyd_enabled:
"notification_daemon_listen_port",
Optional(
Integer(
- minvalue = 1,
+ minvalue = 1024,
maxvalue = 65535,
default_value = 6555,
),