Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable SNMPv1 #2156

Merged
merged 1 commit into from
Oct 31, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions src/snmpd/patch-5.7.3+dfsg/0004-Disable-SNMPv1.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From db633987abf1ea093cb1785b3cd37adfdb55e4cc Mon Sep 17 00:00:00 2001
From: Qi Luo <[email protected]>
Date: Mon, 15 Oct 2018 22:30:28 +0000
Subject: [PATCH] Disable SNMPv1

Signed-off-by: Qi Luo <[email protected]>
---
debian/rules | 1 +
1 file changed, 1 insertion(+)

diff --git a/debian/rules b/debian/rules
index 9eb8d2d..4c3b5b6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -42,6 +42,7 @@ endif
override_dh_auto_configure:
dh_auto_configure -- --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man \
--with-persistent-directory=/var/lib/snmp \
+ --disable-snmpv1 \
--enable-ucd-snmp-compatibility \
--enable-shared --with-cflags="$(CFLAGS) -DNETSNMP_USE_INLINE" \
--with-ldflags="$(LDFLAGS)" \
--
2.18.0

1 change: 1 addition & 0 deletions src/snmpd/patch-5.7.3+dfsg/series
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
0001-SNMP-Stop-spamming-logs-with-statfs-permission-denie.patch
0002-at.c-properly-check-return-status-from-realloc.-Than.patch
0003-CHANGES-BUG-2743-snmpd-crashes-when-receiving-a-GetN.patch
0004-Disable-SNMPv1.patch