The net-analyzer/net-snmp package currently gets built with at least these mib-modules: --with-mib-modules="host smux ucd-snmp/dlmod". I specifically don't want the smux module to be built, because it causes net-snmpd to open a tcp listener, for communicating with smux-peers (which probably most gentoo users don't have). Snippet from 'netstat -al': Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 *:smux *:* LISTEN This behaviour does not occur when the smux mib-module is not built. So my request is: - simple solution, please remove the smux module from the default mib-modules list; hardly anyone would use that anyway. - better solution, please introduce a USE-flag, that controls wether or not the smux module will be built. For your information: I've searched through all net-snmp manpages that i could find, but i couldn't find a way to configure this behaviour in the snmpd.conf file, nor with commandline options. Hence, not building the module seems to be the only way to stop that listener. Reproducible: Always Steps to Reproduce: 1.emerge net-snmpd 2./etc/init.d/snmpd start 3.netstat -al Actual Results: Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 *:smux *:* LISTEN udp 0 0 localhost:snmp *:* Expected Results: Proto Recv-Q Send-Q Local Address Foreign Address State udp 0 0 localhost:snmp *:* The above should be sufficient info, it's not a bug - it's documented (but unwanted) behaviour with the current configure-options.
Added smux local use flag.