From cf8fdd181a256e375e50365f08efef5470d46337 Mon Sep 17 00:00:00 2001 From: Uwe Kleine-König Date: Tue, 3 Sep 2013 22:29:47 +0200 Subject: net-snmp: make the agent's availability via TCP/UDP configurable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This needs a patch to net-snmp's autoconf magic because without it it makes no difference if you pass --enable-agentx-dom-sock-only or --disable-...; in both cases only domain sockets were allowed. So default to the conservative setting as this is what older builds resulted in. Signed-off-by: Uwe Kleine-König Signed-off-by: Michael Olbrich --- rules/net-snmp.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'rules/net-snmp.in') diff --git a/rules/net-snmp.in b/rules/net-snmp.in index 6205a1946..1ddc293a7 100644 --- a/rules/net-snmp.in +++ b/rules/net-snmp.in @@ -118,4 +118,9 @@ config NET_SNMP_MIB_INSTALL_DIR string default "/usr/share/snmp/mibs" +config NET_SNMP_DOM_SOCK_ONLY + bool "Only allow domain socket connections to the agent" if NET_SNMP_AGENT + default y + help + Enable this to disable TCP and UDP connections to the agent. endif -- cgit v1.2.3