From 538d34ebc5e07da801ac9f9ee3d0bd51bb86e5c2 Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Thu, 15 May 2008 14:05:23 +0000 Subject: Fix Bug 3094 SMUX port is open to outside connections - writing 'smuxsocket localhost' in snmpd.conf to make the agent bind to 127.0.0.1 - this prevents smux port to be open to outside connections --- scripts/snmp/vyatta-snmp.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/snmp') diff --git a/scripts/snmp/vyatta-snmp.pl b/scripts/snmp/vyatta-snmp.pl index ea77f7b7..b43485b3 100644 --- a/scripts/snmp/vyatta-snmp.pl +++ b/scripts/snmp/vyatta-snmp.pl @@ -66,6 +66,7 @@ sub snmp_get_constants { $output .= "smuxpeer .1.3.6.1.4.1.3317.1.2.2\n"; # ospfd $output .= "smuxpeer .1.3.6.1.4.1.3317.1.2.5\n"; # bgpd $output .= "smuxpeer .1.3.6.1.4.1.3317.1.2.3\n"; # ripd + $output .= "smuxsocket localhost\n"; return $output; } -- cgit v1.2.3