Re: Question about Diffie-Helman with net-snmp

2017-10-18 Thread Robert Story
On Wed, 20 Sep 2017 14:52:07 +0800 Chih-Ting wrote: CTK> I met a problem about snmpv3 Diffie-Helman with net-snmp. CTK> CTK> Cable modem use SnmpV3 Kickstart Manager Public Number to get CTK> its v3 user's password finally. CTK> SecurityName: "docsisManager" CTK> Random Number: [snip] CTK> CTK> I

RE: Question about Net-SNMP IF-MIB on HP-UX 11.31

2013-07-24 Thread Hackley, Brian (Customer Solution Center - Unix Network L2 Support)
Hi all, I still have not heard from anyone, but if you do get a chance to look into this and reply, it would be appreciated. If I get a chance to figure it out, I'll post a reply. Thanks, Brian E. Hackley Unix Network Support Engineer Hewlett-Packard Company [email protected]

Re: Question about Net-SNMP IF-MIB on HP-UX 11.31

2013-07-24 Thread Johannes Schmidt-Fischer
Hi Brian, as you've probably seen from the net-snmp README file for the HP-UX support I'm the guy who implemented HP-UX support for net-snmp - but this was about seven years ago, and I'm no longer engaged in the net-snmp development. As far as I can recall the implementation uses the HP-UX prov

Re: Question to Logfile

2013-01-30 Thread Niels Baggesen
On Tue, Jan 29, 2013 at 04:55:12PM +0100, [email protected] wrote: > My string (one of 20 different strings I tried): > snmpset -v 2c -c private 10.239.14.120 sysLocation.0 s "181005234, > Ausstellungsraum Koeln2, Rezeption, 02236-600151" -Lf c:\temp\logfile.txt First of all, move to -L option bac

Re: Question About Net-SNMP Version 5.3.2.2 (FW: SMS snmpWalk)

2012-04-06 Thread Dave Shield
On 5 April 2012 20:16, Kathleen Brown wrote: > What we have is a (hardware, not VMWare) server running the management > for our intrusion prevention system here on campus That would be the CampusManager system from Bradford, I presume? (We use that too) >  From a TippingPoint engineer I got the

Re: question on Diffie-Helman with net-snmp

2011-04-20 Thread Wes Hardaker
> On Wed, 20 Apr 2011 07:22:01 +0800, 吴馨 said: 吴> cable modem use SnmpV3 Kickstart Manager Public Number to get its v3 吴> user's password finally. Could you tell me which net-snmp command 吴> generate v3 user's password base on the public number and how to use 吴> the command? The diffie helma

Re: question about ucd snmp4.2 and net snmp 5.1

2010-10-06 Thread Dave Shield
On 6 October 2010 15:57, wrote: >  I would like some > information about the difference between ucd snmp 4.2 and net snmp 5.1. Well the most important information about these two release branches is that they are both obsolete. No development or support work is being done on eithe

Re: question regarding SNMPv3 engine implementation

2010-08-08 Thread Wes Hardaker
> Q1: Which of the following the SNMPv3 engine does: a. If the product > receives response messages, the product shall conduct a timeliness > check on the SNMPv3 message. b. An SNMPv3 engine shall perform time > synchronization using authenticated messages. Yes, the Net-SNMP implementation does

Re: Question adding a MIB file

2010-06-21 Thread Wes Hardaker
> On Fri, 18 Jun 2010 16:50:41 -0300, Cristian Navia > said: CN> i read the net-snmp.org webpage, check google and try different CN> things, i think im very n00b with this, but if u can help me with CN> this, would be a huge help =) "register" is a bit vague in your statements, as you d

Re: Question about SNMPv3 authentication

2010-06-19 Thread Dave Shield
> ZMM> I suspect that the values of "msgAuthoritativeEngineBoots"  and > ZMM> "msgAuthoritativeEngineTime"  change drastically when the standby > ZMM> agent becomes active.  As the newly active agent and the previous > ZMM> Active agent has the same EngineID,  the manager does not do a new > ZMM> "

Re: Question about SNMPv3 authentication

2010-06-18 Thread Wes Hardaker
> On Fri, 18 Jun 2010 18:43:42 -0700 (PDT), "Zaryab M. Munir" > said: ZMM> I suspect that the values of "msgAuthoritativeEngineBoots"  and  ZMM> "msgAuthoritativeEngineTime"  change drastically when the standby ZMM> agent becomes active.  As the newly active agent and the previous ZMM> A

RE: question on net-snmp privacy

2010-02-17 Thread Szudy Brett-CBS035
17, 2010 3:19 AM To: Szudy Brett-CBS035 Cc: Net-SNMP coders Subject: Re: question on net-snmp privacy [ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP c

Re: question on net-snmp privacy

2010-02-17 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On 16 F

Re: question on net-snmp privacy

2010-02-16 Thread Wes Hardaker
> On Tue, 16 Feb 2010 14:45:50 +, Dave Shield > said: DS> This is a local policy decision - it's not inherent in the SNMP protocol. And to make sure you understand completely: You can also configure the VACM to only allow authenticated *and* encrypted packets. Note that the USM/VA

Re: question on net-snmp privacy

2010-02-16 Thread Dave Shield
On 16 February 2010 14:11, Bell, Adam wrote: > So if vacm is enabled - it should reject unauthenticated read and writes? The agent should accept/reject requests based on whatever the access control configuration specifies. If VACM is configured to allow unauthenticated requests, then the age

RE: question on net-snmp privacy

2010-02-16 Thread Bell, Adam
Bell, Adam Cc: Szudy Brett-CBS035; [email protected] Subject: Re: question on net-snmp privacy On 16 February 2010 13:41, Bell, Adam wrote: > That is a huge security hole.  In fact knowing this, we will have to > add some kind of extension to explicitely disallow Any pac

RE: question on net-snmp privacy

2010-02-16 Thread Bell, Adam
Subject: Re: question on net-snmp privacy On 15 February 2010 23:48, Szudy Brett-CBS035 wrote: >  It > looks like in the code that in a message received the sec level bits > only matter for validation when they are set --in ot

Re: question on net-snmp privacy

2010-02-16 Thread Dave Shield
On 16 February 2010 13:41, Bell, Adam wrote: > That is a huge security hole.  In fact knowing this, we will have to add some > kind of extension to explicitely disallow Any packet that is not > authenticated. Why? If you configure the agent using "rouser" then this will reject any unauthent

Re: question on net-snmp privacy

2010-02-16 Thread Dave Shield
On 15 February 2010 23:48, Szudy Brett-CBS035 wrote: >  It looks > like in > the code that in a message received the sec level bits only matter for > validation when they are set --in other words, privacy & auth protocols > are only

Re: Question about netsnmp_table_row_register(...) API

2009-06-19 Thread Dave Shield
2009/6/19 Sathyanarayana Murthy, Harish Kolar : > I want to know whether is it possible using > any of the MIBs to know the IP address of a machine by knowing its mac > address. Not easily. The only relevant MIB table would appear to be IP-MIB::ipNetToPhysicalTable but that's des

Re: Question about netsnmp_table_row_register(...) API

2009-06-19 Thread Dave Shield
2009/6/19 Zaryab M. Munir : > Can someone help me in understanding the argument  (void *row). It's an arbitrary data structure, used to hold the "contents" of that row. Note that this is only ever interpreted by your code - the Net-SNMP helper code treats it as an opaque value. So the semantics o

RE: Question about netsnmp_table_row_register(...) API

2009-06-18 Thread Sathyanarayana Murthy, Harish Kolar
Hello everybody, In my application, i need to find the IP address of a machine from its mac address. I tried all the possibilities like inverseARP, using nbstat etc.. But nothing is working for me. I want to know whether is it possible using any of the MIBs to know the IP address of a machine b

Re: Question about the support of the bit type

2009-06-16 Thread Dave Shield
2009/6/16 Anthony Barre : > I'm trying to do a snmpset command on a bit value in my mib. The bit > value was introduced in SNMPv2. However, I don't find the letter used > to change a bit value in the man page. $ man snmpset The TYPE is a single character, one of: i INTEG

Re: question about the engineid

2009-04-15 Thread Wes Hardaker
> On Wed, 15 Apr 2009 13:32:37 +0800, Kang Chen > said: KC> When I want to receive a v3 trap using snmptrapd, I must assign the same KC> engineid both in snmpd.conf and snmptrapd.conf. KC> But, if I use MG-SOFT mibbrowser to receive the v3 trap, I need not to KC> assign the engineid in

Re: question about SNMPv3 trap

2009-04-14 Thread Dave Shield
2009/4/14 Kang Chen : > I want to know, if I haven’t write it in the snmpd.conf,  I want to > configure it with the mibbrowser, if it is possible and which mib table > support this feature? Yes - it's possible. The MIB tables you would need to set up are SNMP-TARGET-MIB::snmpTargetAddrTable

Re: question about the VACM

2009-03-31 Thread Dave Shield
2009/3/31 Kang Chen : > createUser leelin MD5 "authpass" DES "privpass" That line actually belongs in /var/net-snmp/snmpd.conf rather than here, but never mind. > rwuser leelin auth "rwuser" is a simplified version of access control. It should be used as an *alternative* to the group/view/access

Re: Question

2009-03-25 Thread Mark Ellison
Hi William, On 03/25/2009 10:53 AM, William Feliciano wrote: I was wondering if anyone had a code on how to create an snmp poll. I have read several books and I have not understood it. Which books have you read? Creating an SNMP poll is fairly straight forward. Have you checked the Net-S

Re: Question

2009-03-13 Thread Dave Shield
2009/3/13 Terry Martin : >   I do not see anything the help commands to allow > me to enter the port information to reach the MIB. A non-standard port is specified as part of the destination host string. > I have been using: > > snmpwalk -v 2c -c public 192.168.100.101:5070 That should connect

RE: Question on SNMP version

2009-02-27 Thread Bell, Adam
Adam -Original Message- From: Bell, Adam [mailto:[email protected]] Sent: Wednesday, February 25, 2009 12:26 PM To: Dave Shield Cc: [email protected] Subject: RE: Question on SNMP version Thanks for the pointer, will try it. -Original Message- From: dave

RE: Question on SNMP version

2009-02-25 Thread Bell, Adam
Thanks for the pointer, will try it. -Original Message- From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield Sent: Wednesday, February 25, 2009 5:56 AM To: Bell, Adam Cc: [email protected] Subject: Re: Question on SNMP version

Re: Question on SNMP version

2009-02-25 Thread Dave Shield
2009/2/24 Bell, Adam : > The table in question is using a Textual Convention definition for an > octet string that is fixed 18 bytes in length. > Therefore when encoding the index I expect > >        table.entry.firstrow.18bytesOfOID > rather than >        table.entry.18.18bytesOfOID. That sounds

RE: Question on SNMP version

2009-02-25 Thread Bell, Adam
Hi all, I have a very specific question about the encoding of a multi-oid table index. The table in question is using a Textual Convention definition for an octet string that is fixed 18 bytes in length. Therefore when encoding the index I expect table.entry.firstrow.18bytesOfOID rath

Re: Question on SNMP version

2009-02-24 Thread Dave Shield
2009/2/24 Sathyanarayana Murthy, Harish Kolar : > My question here is this version is of the agent or the SNMP manager who is > running this code? Neither. The version is of the protocol that is used between them. The agent and the manager must agree how they will communicate. Either they both u

Re: Question on MIB Text Files

2008-09-23 Thread Shachar Shemesh
Rajesh Gopalan wrote: > Hi, > I am using Net SNMP for all the management purposes in our project but > there exists a stringent memory constraint. Net SNMP, by default, while > installing installs the MIB text files under usr/local/share/snmp/mibs. > Also, while starting it looks for all the MIB te

Re: Question

2008-07-15 Thread Thomas Nail
Travis Howle - PGL, Inc. wrote: > > Hey guys, > > I have a really quick question and was wondering if anyone out there > could help me. > > I am trying to write a system in VB.NET or C# that will use your > Net_SNMP library to SET an attribute located on an Enterasys Networks > Switch. A little

Re: Question related to NIC management with SNMP.

2008-07-14 Thread Dave Shield
2008/7/9 <[EMAIL PROTECTED]>: >>Duplex status is a concept that is particularly applicable to Ethernet >>(and similar) networks. It is covered by the MIB object >>EtherLike-MIB::dot3StatsDuplexStatus (RFC 3635) > > Ok. Since I did not get grep results for this in the agent > implementation I bel

RE: Question related to NIC management with SNMP.

2008-07-09 Thread Shyam_Iyer
On 2008/6/26 shyam iyer <[EMAIL PROTECTED]>: >> Is it possible to get information like model, vendor, firmware >> version, duplex mode etc of the NIC using SNMP? On 2008/6/27 Dave Shield <[EMAIL PROTECTED]> >Duplex status is a concept that is particularly applicable to Ethernet >(and similar) ne

Re: Question related to NIC management with SNMP.

2008-06-27 Thread Dave Shield
2008/6/26 shyam iyer <[EMAIL PROTECTED]>: > Is it possible to get information like model, vendor, firmware version, > duplex mode etc of the NIC using SNMP? Duplex status is a concept that is particularly applicable to Ethernet (and similar) networks. It is covered by the MIB object EtherLike-MIB

Re: question with " SECURITY RELEASE: Multple Net-SNMP Versions Released"

2008-06-17 Thread Dave Shield
2008/6/17 SUN LI-WEN-VQB783 <[EMAIL PROTECTED]>: >I am an employee in Motorola. And we are imformed of the " SECURITY > RELEASE: Multple Net-SNMP Versions Released", however, we couldn't find the > patch for the net-snmp-5.2.1. Becuase we are using the version of > net-snmp-5.2.1, so we wonder

Re: Question about Windows version of SNMPTRAP.EXE

2008-05-05 Thread Dave Shield
2008/5/5 Steven Davidson <[EMAIL PROTECTED]>: > I've noticed that when I used SNMPTRAP from the command line that the port > used to send the trap message is UDP 161 and not UDP 162. How can I change > the behavior of the command line tool so that it uses UDP 162 as this is > what my trap receiver

Re: Question about the SNMP Port

2008-04-07 Thread Dave Shield
On 28/03/2008, Sun Le <[EMAIL PROTECTED]> wrote: > Just a thoughtCould I code the agent,using the specified port for > snmpd like 5077 etc,and communicating with the device on default snmp > 161 port?Is that possible? It's not particularly clear what you're trying to do here. The agent wo

Re: Question on mib/IP-MIB.txt

2008-02-20 Thread Chun Tian (binghe)
> On Wed, Feb 20, 2008 at 10:46:36PM +0800, Chun Tian (binghe) wrote: > >> Question is, the string end double-quote of this DESCRIPTION is >> commented >> by the "--" at line 3778, and it breaks my ASN.1 parser (which I >> wrote >> myself). I can't believe that Net-SNMP code can handle this >

Re: Question on mib/IP-MIB.txt

2008-02-20 Thread Juergen Schoenwaelder
On Wed, Feb 20, 2008 at 10:46:36PM +0800, Chun Tian (binghe) wrote: > Question is, the string end double-quote of this DESCRIPTION is commented > by the "--" at line 3778, and it breaks my ASN.1 parser (which I wrote > myself). I can't believe that Net-SNMP code can handle this correctly, is >

Re: Question on mib/IP-MIB.txt

2008-02-20 Thread Dave Shield
On 20/02/2008, Chun Tian (binghe) <[EMAIL PROTECTED]> wrote: > In mibs/IP-MIB.txt, there's a `ipMIBCompliance2 MODULE-COMPLIANCE' at line > 3683, the DESCRIPTION of this object range from line 3686 to 3778, like > this: [snip] > Question is, the string end double-quote of this DESCRIPTION is

Re: question on net-snmp

2007-09-17 Thread Dave Shield
On 17/09/2007, Ashwin Gokhale <[EMAIL PROTECTED]> wrote: > I'm using net-snmp5.4.1 for implementing/supporting > . both tables and scalars, > . I was wondering if it is possible to use the > same set of iterator (get/get-next) and handler > functions for multiple OIDs. The iterator hel

Re: Question: We need ECCN and CCATS number of netsnmp V5.4

2007-09-17 Thread Dave Shield
On 17/09/2007, <[EMAIL PROTECTED]> wrote: > Hi netsnmp experts, > > I am working for Nokia Siemens Networks and we intent to use netsnmp V5.4 in > one of our products. > We want to sell our product to the US and other countries, so we have to > take care about export classification and regulations.

Re: Question about error code during COMMIT stage of SNMP set operation

2007-04-11 Thread K R Venkateshan
Narayana Smaranas, Thanks a lot for your response. Narayana Smaranas, Venkatesha. --- Dave Shield <[EMAIL PROTECTED]> wrote: > On 09/04/07, K R Venkateshan > <[EMAIL PROTECTED]> wrote: > > If that be the case, is the way the SET operation > > works changed from UCD-SNMP to NET-SNMP > > impleme

Re: Question about error code during COMMIT stage of SNMP set operation

2007-04-09 Thread Dave Shield
On 09/04/07, K R Venkateshan <[EMAIL PROTECTED]> wrote: > If that be the case, is the way the SET operation > works changed from UCD-SNMP to NET-SNMP > implementations ? It's not how SET operations per-se are handled that has changed, but how *AgentX* SET operations are handled. See http://net-s

Re: Question about error code during COMMIT stage of SNMP set operation

2007-04-09 Thread K R Venkateshan
Narayana Smaranas, Thanks for your response. If that be the case, is the way the SET operation works changed from UCD-SNMP to NET-SNMP implementations ? In UCD-SNMP, the same subagent code was returning a "Commit failed" error. But no errors are returned in Net-snmp. Narayana Smaranas, Venk

Re: Question about error code during COMMIT stage of SNMP set operation

2007-04-06 Thread Wes Hardaker
> "KRV" == K R Venkateshan writes: KRV> But on a Net-SNMP system (5.1.4), the same sub-agent KRV> code, even though is returning a KRV> "SNMP_ERR-COMMITFAILED" or any other SNMP error, still KRV> the client does not receive any error as part of the KRV> SNMP response. KRV> But when I move t

Re: Question

2007-03-01 Thread Dave Shield
On 28/02/07, Matthew Guest <[EMAIL PROTECTED]> wrote: > Using version 5.4, how do you get snmptrapd to accept all version 1 and > 2 traps it receives regardless of the community in the trap? $ man snmptrapd.conf : ACCESS CONTROL : disableAuthorization yes

Re: Question related to timeliness

2007-01-22 Thread Thomas Anders
K R Venkateshan wrote: > I have a simple setup of a Ucd-Snmp Master agent on a > linux box and a third-party Snmp manager on another > system. [...] > Now I manually go and change the time on the Linux > box, to a older date (a couple of years back). After > changing the time, attempts to execute s

Re: Question related to timeliness

2007-01-22 Thread Dave Shield
On 22/01/07, K R Venkateshan <[EMAIL PROTECTED]> wrote: > I have a simple setup of a Ucd-Snmp Master agent on a > linux box and a third-party Snmp manager on another > system > Now I manually go and change the time on the Linux > box, to a older date (a couple of years back). After > changing

Re: question on timeticks and long into char stuffing

2007-01-17 Thread Dave Shield
On 16/01/07, Alef Veld <[EMAIL PROTECTED]> wrote: > I now use this code to get the timeticks, but i only gets 4 bytes (char) > The 8 extra allocated bytes were a desperate attempt to get more digits > but alas, that does not work. I still only get 4 digits. You will only *ever* get 4 bytes. As we'

Re: question on timeticks and long into char stuffing

2007-01-16 Thread Alef Veld
Ok, I now use this code to get the timeticks, but i only gets 4 bytes (char) The 8 extra allocated bytes were a desperate attempt to get more digits but alas, that does not work. I still only get 4 digits. Does anyone have a better way of doing this ? If i cast the 4th line as in sprintf(data->

Re: question on timeticks and long into char stuffing

2007-01-16 Thread Dave Shield
On 16/01/07, Alef Veld <[EMAIL PROTECTED]> wrote: > I'm not sure what you mean exactly by number 2 though. Do you > mean that the long is defined 32bits on my machine ? Not quite. Rather that TimeTicks is defined as 32 bits, regardless of the architecture of a particular system. Remember SNMP is

Re: question on timeticks and long into char stuffing

2007-01-16 Thread Steve Friedl
On Wed, Jan 17, 2007 at 12:01:19AM +0100, Alef Veld wrote: > Thanks Wes. > I figured out the 1 part. I'm not sure what you mean exactly by > number 2 though. Do you mean > that the long is defined 32bits on my machine ? If so, are you > implying i need an even bigger number to host the long * ?

Re: question on timeticks and long into char stuffing

2007-01-16 Thread Alef Veld
Thanks Wes. I figured out the 1 part. I'm not sure what you mean exactly by number 2 though. Do you mean that the long is defined 32bits on my machine ? If so, are you implying i need an even bigger number to host the long * ? I just need a proper way to stuff the long * dereferenced value in

Re: question on timeticks and long into char stuffing

2007-01-16 Thread Wes Hardaker
> "AV" == Alef Veld <[EMAIL PROTECTED]> writes: AV> The other question i have is, how do i calculate the uptime in days, AV> because all i have is the number of timeticks. Or can you actually AV> read out the days. I don't think so, so there must be some algorithm AV> for that. 2 points: 1)

RE: Question regarding the Iterator method

2006-12-20 Thread Graeme Wilson
to take a new copy or not. Cheers Graeme. > -Original Message- > From: Olivier Beytrison [mailto:[EMAIL PROTECTED] > Sent: 20 December 2006 10:17 > To: Graeme Wilson > Cc: [email protected] > Subject: Re: Question regarding the Iterator method >

Re: Question regarding the Iterator method

2006-12-20 Thread Olivier Beytrison
Graeme Wilson a écrit : >>I plan to use a simple mutex to avoid the linked list to be >>read/written >>at the same time. The application won't be under a heavy load so this >>isn't a critical point imo. >> >>Olivier B. >> > > > Oliver, > Where do you plan on locking/unlocking the mutex in th

RE: Question regarding the Iterator method

2006-12-20 Thread Graeme Wilson
> I plan to use a simple mutex to avoid the linked list to be > read/written > at the same time. The application won't be under a heavy load so this > isn't a critical point imo. > > Olivier B. > Oliver, Where do you plan on locking/unlocking the mutex in the subagent code? The obvious place

Re: Question regarding the Iterator method

2006-12-08 Thread Olivier Beytrison
Dave Shield wrote : > On 07/12/06, Magnus Fromreide <[EMAIL PROTECTED]> wrote: > >> On ons, 2006-12-06 at 18:41 +0100, Olivier Beytrison wrote: >> > We have small temperature sensors (embedded devices) that will >> > periodically send information through the network to a central server. >> > (th

Re: Question regarding the Iterator method

2006-12-08 Thread Dave Shield
On 07/12/06, Magnus Fromreide <[EMAIL PROTECTED]> wrote: > On ons, 2006-12-06 at 18:41 +0100, Olivier Beytrison wrote: > > We have small temperature sensors (embedded devices) that will > > periodically send information through the network to a central server. > > (those devices can't run their own

Re: Question regarding the Iterator method

2006-12-07 Thread Magnus Fromreide
Please keep answers on the list! On tor, 2006-12-07 at 06:59 +0100, Olivier Beytrison wrote: > Hello, > > That's what i meant. The "agent" reffer to the net-snmp daemon. So Yes, > the data are going to be held in the sub-agent. In this context "the agent" is the program that contains the code t

Re: Question regarding the Iterator method

2006-12-06 Thread Magnus Fromreide
On ons, 2006-12-06 at 18:41 +0100, Olivier Beytrison wrote: > Hello all, > > I'm currently running a project in my school, which need to provide > datas over SNMP. > > Here is a small overview of the context : > > We have small temperature sensors (embedded devices) that will > periodically send

Re: Question

2006-09-20 Thread Robert Story
On Thu, 14 Sep 2006 15:20:31 +0530 Jegan wrote: J> I have extended the net-snmp as an agent. Now i am able to simulate J> single device. How do i simulate multiple devices. How to make multiple J> device respond differently There are some ideas at http://www.freesnmp.com/net-snmp/faqs/#mu

Re: question marks ('?') in snmptable output

2006-08-31 Thread Dave Shield
On 31/08/06, Mike Varley <[EMAIL PROTECTED]> wrote: > One problem we have with this bug is it is very difficult to reproduce; > I am trying to create some samples which will simulate the failure. Oh :-( Never a good sign. > The current hypothesis is we have a buffer overrun, and its messing with

Re: question marks ('?') in snmptable output

2006-08-31 Thread Mike Varley
Thanks Dave. One problem we have with this bug is it is very difficult to reproduce; I am trying to create some samples which will simulate the failure. The indexes are accessible. Thanks for the clarification on what a 'gap' or '?' might be; it will help me in creating the samples :) The cur

Re: question marks ('?') in snmptable output

2006-08-31 Thread Dave Shield
On 31/08/06, Mike Varley <[EMAIL PROTECTED]> wrote: > Don't you hate it when people withhold information? :) a) You might say that - I couldn't possibly comment b) You get used to it after two or three years on the list :-( > So here is a more accurate sample of the output: > > id(index1) num(

Re: question marks ('?') in snmptable output

2006-08-31 Thread Mike Varley
Thanks Dave, here is some more information on our bug. Dave Shield wrote: > On 31/08/06, Mike Varley <[EMAIL PROTECTED]> wrote: > >> we are seeing an snmptable command respond with question >> marks ('?') as the result for some of the column entries; and I am >> wondering if this is normal be

Re: question marks ('?') in snmptable output

2006-08-31 Thread Dave Shield
On 31/08/06, Mike Varley <[EMAIL PROTECTED]> wrote: > we are seeing an snmptable command respond with question > marks ('?') as the result for some of the column entries; and I am > wondering if this is normal behaviour if net-snmp encounters an error > while trying to interpret a response. No

Re: question about snmp manage appliment software based on net-snmp

2006-07-03 Thread Partha Dutta
Hello,   I think this problem is coming beacuse you have not installed Open SSL n trying to use SNMP V3. Please install the same. Before doing that just check'$ whereis libcrypto" to find whether this is already installed or the correct version is already installed.   Regards, Partha.  On 7/3/06,

Re: question about snmp manage appliment software based on net-snmp

2006-07-03 Thread Thomas Anders
尧昱 wrote: > I am working on network management software, which is based on net-snmp, > under redhat, > I have writed the programSnmpApp.c, whose purpose is to get the > information from Agent, like snmpget in net-snmp > but, when I compiled it, gcc -L/usr/lib -o SnmpApp SnmpApp.c -lnetsnmp, >

Re: question about get_myaddr() in snmplib/system.c

2006-06-27 Thread Wes Hardaker
> On Mon, 26 Jun 2006 12:46:45 -0700, "Ramji Chandramouli" <[EMAIL > PROTECTED]> said: Ramji> I noticed that the get_myaddr() method in snmplib/system.c is Ramji> used to fill in the "agent address" field in a v1 trap pdu. On Ramji> unix systems, is it possible that the loopback address,

Re: Question regarding 2 copies of net-snmp in same linux box...

2006-02-07 Thread Thomas Anders
Wes Hardaker wrote: Rajagopal> Then I started my snmpd with the following command Rajagopal> "/usr/sbin/snmpd -L -f -c /usr/share/snmp/snmpd.conf" You're only loading one of them. The right way to do this is actually to tell the agent to look in both places: setenv SNMPCONFPATH /usr/share/snmp

Re: Question regarding 2 copies of net-snmp in same linux box...

2006-02-06 Thread Wes Hardaker
Rajagopal> The main motto of our project is that the SNMPv3 agent Rajagopal> should act as proxy for the SNMPV2 agent when somebody Rajagopal> tries to query the version 2 snmpd. Um, why wouldn't you have one agent that handled both requests? Or is the v2 agent only listening locally and the v3 a

Re: Question about processing request in Net-SNMP

2005-10-11 Thread Ronnel P. Maglasang
as a general approach for udp based apps, forking a new process for processing each message is not a good idea, you basically consumes much of the cpu/memory resouces. there is already buffering implementation at the ip stack layer. If you're noticing the agent missing some of the request (due to

Re: Question about processing request in Net-SNMP

2005-10-11 Thread Robert Story
On Tue, 11 Oct 2005 14:34:51 +0800 Pingping wrote: PH> Can Net-SNMP agent buffer requests? If can, how many request? No. The underlying OS may buffer incoming requests, but net-snmp processes them as they come in. PH> I trace the codes, It seems snmpd doesn't fork new process to process the PH>

Re: Question on usm_parse_security_parameters

2005-10-10 Thread Dave Shield
On Fri, 2005-10-07 at 20:04 -0400, Robert Story wrote: > On Fri, 7 Oct 2005 23:02:19 +0100 Dave wrote: > DS> Perhaps when the chaos of the 5.2.2 and 5.3 releases has > DS> died down, we could return to this again. > > Yeah, right! If I hand a nickel for every issue we've tabled, > never to be seen

Re: Question on usm_parse_security_parameters

2005-10-07 Thread Robert Story
On Fri, 7 Oct 2005 23:02:19 +0100 Dave wrote: DS> Perhaps when the chaos of the 5.2.2 and 5.3 releases has DS> died down, we could return to this again. Yeah, right! If I hand a nickel for every issue we've tabled, never to be seen again... ;-) (and what are you doing online at such an hour?) --

Re: Question on usm_parse_security_parameters

2005-10-07 Thread Dave Shield
DS> The difficulty is that it would blow a massive hole in DS> the principle of backward compatability. *All* DS> existing programs that use the Net-SNMP libraries DS> would need to be changed to match > I don't think that's true. The compiler generally accepts differently > named types so long a

Re: Question on usm_parse_security_parameters

2005-10-07 Thread Robert Story
On Mon, 03 Oct 2005 13:29:53 +0100 Dave wrote: DS> Replacing all int/long declarations with suitable DS> int32_t/int64_t (or unsigned equivalents) would be DS> a tedious but fairly straightforward process. The DS> difficulty is that it would blow a massive hole in DS> the principle of backward c

Re: Question on usm_parse_security_parameters

2005-10-03 Thread Dave Shield
On Sat, 2005-10-01 at 11:38 -0700, rwilcox wrote: > --- Robert Story <[EMAIL PROTECTED]> wrote: > > Knowing full well that it is a waste of my time to > > do so, I proposed a mega search/replace of all ints > > and longs with the new int32_t, with cleanup for > > int64_t where needed. > > > > I

Re: Question on usm_parse_security_parameters

2005-10-02 Thread rwilcox
--- Robert Story <[EMAIL PROTECTED]> wrote: > On Mon, 26 Sep 2005 15:08:37 -0700 Wes wrote: > WH> rwilcox> This is a problem for me because after > enginetime exceeds > WH> rwilcox> 65535, I begin receiving REPORT-PDUs > and then I see other > WH> rwilcox> corruption I am currently attributing >

Re: Question on usm_parse_security_parameters

2005-10-02 Thread Robert Story
On Mon, 26 Sep 2005 15:08:37 -0700 Wes wrote: WH> rwilcox> This is a problem for me because after enginetime exceeds WH> rwilcox> 65535, I begin receiving REPORT-PDUs and then I see other WH> rwilcox> corruption I am currently attributing to this 4 byte vs 2 WH> rwilcox> byte issue. WH> WH> Err...

Re: Question on usm_parse_security_parameters

2005-09-26 Thread Wes Hardaker
> On Wed, 21 Sep 2005 12:15:45 -0700 (PDT), rwilcox <[EMAIL PROTECTED]> > said: rwilcox> This is a problem for me because after enginetime exceeds rwilcox> 65535, I begin receiving REPORT-PDUs and then I see other rwilcox> corruption I am currently attributing to this 4 byte vs 2 rwilcox>

Re: question to notification example

2005-08-15 Thread Robert Story
On Tue, 09 Aug 2005 15:48:23 +0200 Torben wrote: TS> sorry, but I did not get the point. :-( TS> Why do I have to add at first the snmpTrapOID.0 with my notification OID TS> as variable? He already answered that question: TS> >Because that's how SNMPv2 (and SNMPv3) specifies which notification T

Re: question related to inform response

2005-08-09 Thread Robert Story
On Fri, 29 Jul 2005 16:17:16 -0500 Bogdan wrote: BA> Can someone tell me what the snmpd agent does when it send and inform BA> request and doesn't receive inform response in the time? I have a feeling BA> that it doesn't try to retransmit the inform request again. Am i right? I BA> think it should

Re: question to notification example

2005-08-09 Thread Torben Surmer
TED]> To: Torben Surmer <[EMAIL PROTECTED]> CC: [email protected] Subject: Re: question to notification example Date: Mon, 25 Jul 2005 09:32:03 +0100 On Sat, 2005-07-23 at 16:22 +0200, Torben Surmer wrote: > in the fine working notification sample > /* In the notifi

RE: Question for Handling the WRONGVALUE error

2005-08-02 Thread Lin, Zihui
Problem solved. It took me some time to figure out that requests->requestvb->val.string is not a string terminated by NULL. All the latest valid information is in the first 'requests->requestvb->val.len' characters. Cheers! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTEC

Re: question to notification example

2005-07-25 Thread Dave Shield
On Sat, 2005-07-23 at 16:22 +0200, Torben Surmer wrote: > in the fine working notification sample > /* In the notification, we have to assign our notification OID to > * the snmpTrapOID.0 object. Here is it's definition. */ > oid objid_snmptrap[] = { 1, 3, 6, 1, 2, 1, 4, 3, 0 }; > Do anyb

Re: Question on SNMPv1

2005-06-24 Thread Robert Story
On Thu, 23 Jun 2005 20:07:03 -0400 bryce wrote: B> Can the latest Net-SNMP binaries (windows XP) be set up to monitor my traps? B> [..] The snmptrapd responds with a 0x5de error, so its receiving something B> but its garbage. Seems like you've answered your own question there! B> What are the co

RE: question

2005-01-28 Thread Fong Tsui
Probably, the OID you are querying is not registered with the agent. Fong -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ping Ni (QD/LJC) Sent: Friday, January 28, 2005 1:43 AM To: '[email protected]' Subject: question hi: i have

Re: question on timeout value

2004-08-17 Thread Dave Shield
[ Sorry for the delay in responding ] > In snmpd.c, the timeout value is defined as: > #define TIMETICK 50L > > Does anyone have any insight how this value was determined? That value corresponds to half a second, and was chosen to allow a reasonably prompt reaction of the age

Re: question in the beginning index in OBJECT IDENTIFIER

2004-07-06 Thread Dave Shield
[Firstly, can you please send plain unencoded text. The base64 encoding with an "unusual" charset makes it harder to read the contents of your message. Thanks.] > One question regarding the OBJECT IDENTIFIER in your NET-SNMP-MIB.tx file. > Do you always have to

Re: question about snmp code

2004-07-06 Thread Dave Shield
> I have difficult in understanding the code of the net-snmp . > Could you give me a hand? What in particular? It's much easier to offer advice or assistance when you've got a specific query. Something general like "flow of the code" is very difficult to respond to. You don't even say whether

Re: Question?

2004-07-02 Thread Wes Hardaker
> On Thu, 01 Jul 2004 00:17:14 -0400, Ray Galante <[EMAIL PROTECTED]> said: Ray> I came across your e-mail in a text document Ray> (UCD-DEMO-MIB.text). I do not understand the purpose of this on Ray> my computer? Could you please enlighten me. You might start on our web page and go from there

Re: Question about snmp_sess_send error

2004-06-10 Thread Coders
On Thu, 10 Jun 2004 16:39:40 -0700 Toth, wrote: TGS> In at least one case (destination ip was 0.0.0.0) the snmp_sess_send TGS> command failed. The pdu was not freed up and this resulted in a memory TGS> leak. Right, that is how it is supposed to work. TGS> I am changinging the code to something