NET-SNMP 5.4.2.1 Unix Domain Socket doesn't work

shay naveh <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAE46C8ps7fchE181pwi1Hpb+iyHtUueAHHP9nYMdSLkr2XV-JA@mail.gmail.com>
Hi All,
I am working on a feature which designed to run *snmpd* with Unix Domain
Sockets rather than TCP/UDP.

I am running 2 tests:
1. /usr/sbin/snmpd -C -c /etc/snmp/snmpd.local.conf 40161
2. /usr/sbin/snmpd -C -c /etc/snmp/snmpd.local.conf /tmp/test

Than, running:
snmpget -r 1 -v 2c -c public 40161 <some_oid> - works perfect
snmpget -r 1 -v 2c -c public /tmp/test <some_oid> - doesn't work

Using strace and netstat, i can tell the socket is open. More than that,
the /tmp/test do receive the SNMP request, but seems to do nothing with it.
In particular it does not send any message back on pipe.

Before running into code, fixing the issue...
Does Unix Domain Sockets are fully supported in NET-SNMP 5.4.2.1? If so,
what do i miss in configuration?

Thx,
Shay

------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World&#153; now supports Android&#153; Apps 
for the BlackBerry&reg; PlayBook&#153;. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.