Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77871 - Request new USE-flag to enable/disable smux mib-module in net-snmp
Summary: Request new USE-flag to enable/disable smux mib-module in net-snmp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-13 11:12 UTC by Erik Logtenberg
Modified: 2005-01-26 02:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Logtenberg 2005-01-13 11:12:44 UTC
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.
Comment 1 Aaron Walker (RETIRED) gentoo-dev 2005-01-26 02:41:40 UTC
Added smux local use flag.