Re: Regarding SET requests

2005-10-25 Thread madanagopal
hai, > > madanagopal> If a SET request is pending in the agent, what other > madanagopal> requests will be put on hold until that SET request is > madanagopal> processed? Is it that requests for oids handled by > madanagopal> handlers different from the one for that SET request will > madanagopal

EtherLike-MIB implementation

2005-10-25 Thread Robert Iakobashvili
Hi, Net-SNMP-5.2.1.2, OS-linux Is it correct, that there is no net-snmp implementation of EtherLike-MIB for linux? Are there any plans to add it? Sincerely, Robert Iakobashvili - NAVIGARE NECESSE EST coroberti at gmail dot com --

Re: password in config file?

2005-10-25 Thread Wes Hardaker
> On Tue, 25 Oct 2005 11:05:49 -0700, "Fong Tsui" <[EMAIL PROTECTED]> said: Fong> When I enable v3 trap, I set the following in snmpd.conf Fong> trapsess -v 3 -e 0x0102030405 -u myuser -l authNoPriv -a MD5 -A Fong> 123456789 localhost:162 Fong> It works fine. But I wonder the password is hum

Re: Regarding SET requests

2005-10-25 Thread Wes Hardaker
> On Tue, 25 Oct 2005 17:52:41 +0530 (IST), madanagopal <[EMAIL PROTECTED]> > said: madanagopal> If a SET request is pending in the agent, what other madanagopal> requests will be put on hold until that SET request is madanagopal> processed? Is it that requests for oids handled by madanag

Re: how to write proxy snmp routines? Thanks

2005-10-25 Thread Wes Hardaker
> On Tue, 25 Oct 2005 08:54:24 +0800, livia xie <[EMAIL PROTECTED]> said: livia> I want to manage a group of network devices through a proxy livia> agent on the base of net-snmp. But now I don't know how to livia> start and what to do. Could anyone give me some advice? Is livia> there any API

Re: password in config file?

2005-10-25 Thread Thomas Anders
Fong Tsui wrote: When I enable v3 trap, I set the following in snmpd.conf trapsess -v 3 -e 0x0102030405 -u myuser -l authNoPriv -a MD5 -A 123456789 localhost:162 It works fine. But I wonder the password is human readable? Is there security concern? Adjust the snmpd.conf file permissions so t

Re: "make test" failures in MAIN

2005-10-25 Thread Thomas Anders
Dave Shield wrote: There's a simple temporary workaround. In the routine vacm_create_simple(), look for the code strcpy( viewname, "_all_" ); view_ptr = NULL; and comment these two lines out. That will revert to the previous behaviour of separate views, which works OK. Seems

size of 5.2 snmpd in CVS seems wrong

2005-10-25 Thread John J. Reardon
I have a build of net-snmp refreshed from CVS on 10/20. I also have a build of net-snmp-5.2.1.2. I have configured with the same exact options and built in the same way. The problem is the CVS exe is gigantic, while the 5.2.1.2 exe is very small. I was wondering what gives? It looks like both

Re: Agent Extensibility

2005-10-25 Thread Robert Story
On Tue, 25 Oct 2005 14:49:05 -0300 Jordan wrote: JJLDS> > I suggest you build a version with debug enabled, for testing. JJLDS> JJLDS> Do I have to put a directive in Makefile or I compile with configure JJLDS> shown by the site? No, the default configure parameters should leave debugging enabl

Re: "make test" failures in MAIN

2005-10-25 Thread Dave Shield
I think I've tracked down the source of the problem. One of the changes I made was to introduce a couple of fixed views - "_all_" and "_none_", rather than defining a separate (anonymous) view for each unrestricted access setting. These are set up as part of the the vacm_conf initialisation. Unf

Re: Agent Extensibility

2005-10-25 Thread Jordan Janeiro Lopes da Silva
> On Mon, 24 Oct 2005 16:56:59 -0300 Jordan wrote: > JJLDS> > snmpd -f -Lo -Dagentx > JJLDS> > JJLDS> This commando doesn't shows me any message of debug > in the JJLDS> console that runs the daemon. > > Sounds like your libraries are compile without debug, which is going > to mak

password in config file?

2005-10-25 Thread Fong Tsui
When I enable v3 trap, I set the following in snmpd.conf trapsess -v 3 -e 0x0102030405 -u myuser -l authNoPriv -a MD5 -A 123456789 localhost:162 It works fine. But I wonder the password is human readable? Is there security concern? Thanks, FT ---

Re: "make test" failures in MAIN

2005-10-25 Thread Dave Shield
On Tue, 2005-10-25 at 18:22 +0200, Thomas Anders wrote: > CVS MAIN seems to currently suffer a few "make test" failures (Linux/x86): > Dave, any chance this is related to your latest auth* token changes? Yes - I notice you and Robert casting aspersions in my direction :-) Unfortunately, these su

"make test" failures in MAIN

2005-10-25 Thread Thomas Anders
-Coders, CVS MAIN seems to currently suffer a few "make test" failures (Linux/x86): 20:testing SNMPv3 snmptrapd USM user management with snmpusm...FAIL 21:testing SNMPv3 informs received and sent by tools...FAIL 22:testing SNMPv3 informs (authNoPriv) received and sent by tools...FAIL 23:test

Re: Agent Extensibility

2005-10-25 Thread Robert Story
On Mon, 24 Oct 2005 16:56:59 -0300 Jordan wrote: JJLDS> >snmpd -f -Lo -Dagentx JJLDS> JJLDS> This commando doesn't shows me any message of debug in the JJLDS> console that runs the daemon. Sounds like your libraries are compile without debug, which is going to make it difficult t

Re: Running Agents With Virtual IP Addresses on different ports

2005-10-25 Thread Thomas Anders
Dave Shield wrote: $ sudo snmpd -f -Le 10.1.2.3 NET-SNMP version 5.2.1.2 $ sudo snmpd -f -Le 127.0.0.1 [init_smux] bind failed: Address already in use NET-SNMP version 5.2.1.2 (in separate windows, of course!) I must admit that I haven't tried it with t

Re: state of the trapd auth speech

2005-10-25 Thread Dave Shield
On Sat, 2005-10-22 at 10:18 -0700, Wes Hardaker wrote: > Dave> I'd like to see if we could stretch them to > Dave> cover 97 or 98% of cases :-) > > Feel free! OK - you can relax now, Wes. I think I've finished meddling with your new auth* tokens. I hope I haven't mangled your intentions too ba

Re: sending V3 traps

2005-10-25 Thread Dave Shield
On Tue, 2005-10-25 at 17:39 +0530, Kandasamy wrote: > To send v1/v2 trap/inform net-snmp uses community string, trapsink > trap2sink informsink configured in the snmpd.conf. > > In case of V3, we don't have any information stored in it? Wrong. Have a look at the 'snmpd.conf' man pag

Regarding SET requests

2005-10-25 Thread madanagopal
hai, If a SET request is pending in the agent, what other requests will be put on hold until that SET request is processed? Is it that requests for oids handled by handlers different from the one for that SET request will also put on hold? What about requests for other contexts? We are com

sending V3 traps

2005-10-25 Thread Kandasamy
Hi To send v1/v2 trap/inform net-snmp uses community string, trapsink trap2sink informsink configured in the snmpd.conf. In case of V3, we don't have any information stored in it? (In net-snmp 5.2.1). "snmpconf -g basic_setup" command is not asking any information about

Re: Endian - ness issue

2005-10-25 Thread Peder Chr. Norgaard
On Mon, 24 Oct 2005, Dave Shield wrote: > > On Mon, 2005-10-24 at 11:01 -0400, Robert Story wrote: > > On Mon, 24 Oct 2005 14:01:44 +0100 Dave wrote: > > DS> > I do agree with Peder on shared IPv4/IPv6 storage as a char array (and > > DS> > that's what I did for the data access functions for the M

Re: Running Agents With Virtual IP Addresses on different ports

2005-10-25 Thread Dave Shield
On Tue, 2005-10-25 at 14:45 +0530, aakansha rajvi wrote: > On 10/25/05, Dave Shield <[EMAIL PROTECTED]> wrote: > You mean something like > > snmpd 10.1.2.3 > snmpd 10.4.5.6 > snmpd 176.16.1.1 > > Yes .. Is it possible to sta

Re: Running Agents With Virtual IP Addresses on different ports

2005-10-25 Thread aakansha rajvi
On 10/25/05, Dave Shield <[EMAIL PROTECTED]> wrote: On Tue, 2005-10-25 at 12:06 +0530, aakansha rajvi wrote:> I would like to run multiple agents on different port in a single> managed device(Linux machine) wirh Virtual IP Addresses.You mean something like snmpd   10.1.2.3snmpd   1

Re: Running Agents With Virtual IP Addresses on different ports

2005-10-25 Thread Dave Shield
On Tue, 2005-10-25 at 12:06 +0530, aakansha rajvi wrote: > I would like to run multiple agents on different port in a single > managed device(Linux machine) wirh Virtual IP Addresses. You mean something like snmpd 10.1.2.3 snmpd 10.4.5.6 snmpd 176.16.1.1 > Do anybo