From 0e1c8b4ccc2ce2261eb6282504a2cf8f083b942a Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Fri, 29 Sep 2017 02:42:50 +0300 Subject: [PATCH] net-snmp: snmpd: listen on IPv6 by default Closes #4758. Signed-off-by: Stijn Tintel --- net/net-snmp/Makefile | 2 +- net/net-snmp/files/snmpd.conf | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile index 5f6a61d73..104a4d54a 100644 --- a/net/net-snmp/Makefile +++ b/net/net-snmp/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=net-snmp PKG_VERSION:=5.7.3 -PKG_RELEASE:=7 +PKG_RELEASE:=8 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/net-snmp diff --git a/net/net-snmp/files/snmpd.conf b/net/net-snmp/files/snmpd.conf index cf3f95cfe..b11905984 100644 --- a/net/net-snmp/files/snmpd.conf +++ b/net/net-snmp/files/snmpd.conf @@ -1,5 +1,5 @@ config agent - option agentaddress UDP:161 + option agentaddress UDP:161,UDP6:161 config agentx option agentxsocket /var/run/agentx.sock @@ -14,6 +14,16 @@ config com2sec private option source localhost option community private +config com2sec6 public + option secname ro + option source default + option community public + +config com2sec6 private + option secname rw + option source localhost + option community private + config group public_v1 option group public option version v1