summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2008-05-15 14:05:23 +0000
committerMohit Mehta <mohit.mehta@vyatta.com>2008-05-15 14:05:23 +0000
commit538d34ebc5e07da801ac9f9ee3d0bd51bb86e5c2 (patch)
treec910ea0cfeb16b905d4a5803b831d1ee3608c33b
parentda2bcad5417af59877495f422c0773ab297c230f (diff)
downloadvyatta-cfg-system-538d34ebc5e07da801ac9f9ee3d0bd51bb86e5c2.tar.gz
vyatta-cfg-system-538d34ebc5e07da801ac9f9ee3d0bd51bb86e5c2.zip
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
-rw-r--r--scripts/snmp/vyatta-snmp.pl1
1 files changed, 1 insertions, 0 deletions
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;
}