Re: Chrooting an SNMP AgentX application

2008-11-16 Thread Vincent Bernat
OoO En ce début d'après-midi nuageux du samedi 15 novembre 2008, vers 14:15, je disais: I am writing some kind of application (https://trac.luffy.cx/lldpd) that behaves like an AgentX using NetSNMP API. I would like to do some privilege separation and chrooting. However, NetSNMP

Timeout for snmpget

2008-11-16 Thread Ambika Tripathy
Hi Experts, I am using net-snmp-5.0.11.2 version source to test http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_MIB_Module example. But when trying to execute the snmpget -v 1 -c public localhost NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0 it is showing Timeout: No Response from

RE: Unknown engine ID

2008-11-16 Thread Mike Ayers
From: Cardoza, Eric [mailto:[EMAIL PROTECTED] Sent: Saturday, November 15, 2008 9:38 PM From: Cardoza, Eric D. Sent: Friday, November 14, 2008 3:03 PM Resending a message that has not been answered is OK, but it's best to wait until after the weekend, as a good portion of everyday

RE: Timeout for snmpget

2008-11-16 Thread Mike Ayers
From: Ambika Tripathy [mailto:[EMAIL PROTECTED] Sent: Sunday, November 16, 2008 1:49 AM I am using net-snmp-5.0.11.2 version source to test http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_MIB_Modul e example. If you're doing tutorials, please use a more recent version, if

RE: Timeout for snmpget

2008-11-16 Thread Ambika Tripathy
Hi Mike, Thanks for your quick reply. Okay I used 5.4.2.1 version also with the same answer. After starting snmpd from /usr/local/sbin/snmpd, I checked the ps -A | grep snmp and it was running. When I GDB snmpd, I found it was taking some different port than 161. Should I

RE: Timeout for snmpget

2008-11-16 Thread Mike Ayers
From: Ambika Tripathy [mailto:[EMAIL PROTECTED] Sent: Sunday, November 16, 2008 3:20 PM Thanks for your quick reply. Okay I used 5.4.2.1 version also with the same answer. After starting snmpd from /usr/local/sbin/snmpd, I checked the ps -A | grep snmp and it was running. When I

Re: Chrooting an SNMP AgentX application

2008-11-16 Thread Vincent Bernat
OoO En cette matinée pluvieuse du dimanche 16 novembre 2008, vers 10:16, je disais: [privilege separation] Would it be possible to write a custom transport which inherits and replaces Unix one with a netsnmp_unix_transport() function that will handle correctly the opening of the