setting snmpTargetAddrTAddress

2012-09-19 Thread Adam Lewis
ia: init_master_agent() netsnmp_transport_open_server() netsnmp_tdomain_transport_full() netsnmp_udp6_create_tstring() scope_id is set. Is this deliberate? Does it fall under transportDomainUdpIpv6z transport type? Regards, Adam.

RE: IPv6 addresses

2012-09-17 Thread Adam Lewis
or add a new attribute and continue to support old attribute if address is IPv4? Any suggestions appreciated. Regards, Adam. -- Live Security Virtual Conference Exclusive live event will cover all the ways today&#

IPv6 addresses

2012-09-17 Thread Adam Lewis
ress is IPv4? Any suggestions appreciated. Regards, Adam. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can

RE: What's the best way of finding out what's changed and why?

2012-05-09 Thread Lewis Adam-VNQM87
Okay, thanks Dave. I didn't look at the Git repository. Dissecting the ChangeLog, a typical couple of entries might be: 2011-09-22 Dave Shield * : commit c55f608f16f160f5e79dc057f8878def462973e1 Author: Dave Shield Date: Thu Sep 22 10:35:24 2011 +0100 2011-09-22 Steve Friedl *

What's the best way of finding out what's changed and why?

2012-05-09 Thread Lewis Adam-VNQM87
t the ChangeLog and CHANGES files as well as the tracker for bugs and patches but I can't find an obvious way of getting a definitive summary which references all the changes that have occurred. Is this possible? Reg

FREE and UNDO actions for vacm and usm tables

2012-04-24 Thread Lewis Adam-VNQM87
_ret. I guess I am just wondering if there is a reason for these differences or should it all be made consistent? Regards, Adam. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's

testing SNMP agent vulnerability

2012-04-05 Thread Lewis Adam-VNQM87
leaks. I am aware of snmp-fuzzer : http://www.vulnerabilityassessment.co.uk/snmpfuzzer.htm but I believe this does not exercise SNMPv3. Regards, Adam. -- Better than sec? Nothing is better than sec when it

RE: consistent response handling for running out of resources

2011-08-19 Thread Lewis Adam-VNQM87
I just did a grep through the net-snmp code [5.7 as well] and I can't see anywhere where the snmpSilentDrops stat gets updated. Am I missing something? Adam > -Original Message- > From: [email protected] [mailto:[email protected]] On > Behalf Of Dave

RE: consistent response handling for running out of resources

2011-08-18 Thread Lewis Adam-VNQM87
request rather than attempt to send a too big (or any other) error response. Is this the correct behavior? Adam. > -Original Message- > From: Wes Hardaker [mailto:[email protected]] > Sent: Thursday, August 18, 2011 4:51 PM > To: Lewis Adam-VNQM87 > Cc:

RE: consistent response handling for running out of resources

2011-08-11 Thread Lewis Adam-VNQM87
mited resources and it would be interesting to know how unix-style agents cope with the same sort of test. > -Original Message- > From: Robert Story [mailto:[email protected]] > Sent: Wednesday, August 10, 2011 2:50 PM > To: Lewis Adam-VNQM87 > Cc: [email protected]

consistent response handling for running out of resources

2011-08-04 Thread Lewis Adam-VNQM87
#x27;s the best place to implement it? I'm guessing we could modify snmp_pdu_parse() to check the count as it runs through the varbind list. Any thoughts would be welcome. Regards, Adam. -- BlackBerry® DevCon Ameri

RE: dynamically changing the SnmpEngineID

2011-06-30 Thread Lewis Adam-VNQM87
ntries() vacm_destroyAllViewEntries() vacm_destroyAllGroupEntries() usm_add_user() vacm_createGroupEntry() vacm_createAccessEntry() vacm_createViewEntry() > -Original Message- > From: Lewis Adam-VNQM87 > Sent: Wednesday, June 29, 2011 7:57 PM > To: [email protected]

RE: dynamically changing the SnmpEngineID

2011-06-29 Thread Lewis Adam-VNQM87
troyAllAccessEntries() vacm_destroyAllViewEntries() vacm_destroyAllGroupEntries() usm_add_user() vacm_createGroupEntry() vacm_createAccessEntry() vacm_createViewEntry() is there anything else I need to consider? Sessions? Other engine ID dependant structures that need to be destroyed

RE: dynamically changing the SnmpEngineID

2011-06-27 Thread Lewis Adam-VNQM87
on a regular basis. Regards, Adam -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and

dynamically changing the SnmpEngineID

2011-06-22 Thread Lewis Adam-VNQM87
that snmpEngineBoots and snmpEngineTime get used in timeliness calculations and I was concerned we might break this mechanism if we don't force a reboot. Any ideas? Regards, Adam. -- Simplify data backup and recover

RE: Trap retries

2011-03-24 Thread Lewis Adam-VNQM87
> -Original Message- > From: [email protected] > [mailto:[email protected]] On Behalf Of Dave Shield > Sent: Thursday, March 24, 2011 2:30 PM > To: Lewis Adam-VNQM87 > Cc: [email protected] > Subject: Re: Trap retries >

RE: Trap retries

2011-03-24 Thread Lewis Adam-VNQM87
> -Original Message- > From: [email protected] > [mailto:[email protected]] On Behalf Of Dave Shield > Sent: Thursday, March 24, 2011 1:44 PM > To: Lewis Adam-VNQM87 > Cc: [email protected] > Subject: Re: Trap retries >

RE: Trap retries

2011-03-24 Thread Lewis Adam-VNQM87
> -Original Message- > From: [email protected] > [mailto:[email protected]] On Behalf Of Dave Shield > Sent: Thursday, March 24, 2011 12:56 PM > To: Lewis Adam-VNQM87 > Cc: [email protected] > Subject: Re: Trap retries >

Trap retries

2011-03-24 Thread Lewis Adam-VNQM87
ds later. Any clarification would be appreciated, Adam. -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advan

Re: memory leak calling snmp_send()

2011-02-26 Thread Adam Mendlik
Here is a simple demo I put together that exemplifies the problem I'm seeing. If you run this code as-is, memory use will increase indefinately. However, if you take out the snmp_send() call and just call snmp_free_pdu(), memory use will remain perfectly flat. I should also mention that my netsnmp.

Re: memory leak calling snmp_send()

2011-02-24 Thread Adam Mendlik
I'm using 5.5.1.pre2. On Thu, Feb 24, 2011 at 4:26 AM, Bart Van Assche wrote: > On Wed, Feb 23, 2011 at 7:07 PM, Adam Mendlik wrote: > >> I've written a Windows service which consumes an inbound data stream and >> sends out SNMP traps using netsnmp.lib. >>

memory leak calling snmp_send()

2011-02-23 Thread Adam Mendlik
snmp_send() is leaking memory, how do I fix it, or should I be using a different function in this scenario? Thanks in advance, Adam -- Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Tim

RE: Inactive USM users still handle requests

2010-07-19 Thread Lewis Adam-VNQM87
Robert Story wrote: > It is a bug, and I saw that Wes just got through checking in a fix. Thanks for > prodding us. :-) Okay. Had a quick look at the patches and couldn't see anything. What's the best way of picking up the off

Inactive USM users still handle requests

2010-07-13 Thread Lewis Adam-VNQM87
or just a bug? It certainly seems wrong to allow a de-activated user to successfully issue commands. Regards, Adam. -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit

RE: question on net-snmp privacy

2010-02-16 Thread Bell, Adam
OK - sounds good. So if vacm is enabled - it should reject unauthenticated read and writes? That's sounds reasonable Adam -Original Message- From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield Sent: Tuesday, February 16, 2010 9:01 AM To:

RE: question on net-snmp privacy

2010-02-16 Thread Bell, Adam
does not solve this either because anyone could spoof the user name in the un-authenticated packet. Adam -Original Message- From: Dave Shield [mailto:[email protected]] Sent: Tuesday, February 16, 2010 4:13 AM To: Szudy Brett-CBS035 Cc: [email protected]

FW: perl modules

2009-10-05 Thread Bell, Adam
Hi all, I am trying to get mib2c to work properly.. net-snmp version 5.2.4 I have built and installed the net-snmp code with --with-perl-modules enabled. I then cd'd into perl perl Makefile.PL [-NET-SNMP-CONFIG="sh ../../net-snmp-config"] [-NET-SNMP-SOURCE=true] make make test make install Th

RE: processing of the multi varbinds in one snmpset command

2009-03-20 Thread Bell, Adam
I actually submitted code for multi-varbind processing using the table iterator approach last year too. Adam -Original Message- From: Dave Shield [mailto:[email protected]] Sent: Fri 3/20/2009 6:44 AM To: EYRE Bernadette Cc: [email protected] Subject: Re

RE: ASN_PRIV_IMPLIED_OCTET_STR (formerly SNMP verion...)

2009-03-03 Thread Bell, Adam
, ASN_UNSIGNED, 0); but have not looked deeper into this solution Thanks for the help, Adam -Original Message- From: [email protected] on behalf of Dave Shield Sent: Tue 3/3/2009 9:32 AM To: Bell, Adam Cc

RE: ASN_PRIV_IMPLIED_OCTET_STR (formerly SNMP verion...)

2009-03-02 Thread Bell, Adam
OK I try a few things and submit my solution when I have it working. Thanks, Adam -Original Message- From: [email protected] on behalf of Dave Shield Sent: Mon 3/2/2009 3:48 AM To: Bell, Adam Cc: [email protected] Subject: Re: ASN_PRIV_IMPLIED_OCTET_STR

ASN_PRIV_IMPLIED_OCTET_STR (formerly SNMP verion...)

2009-03-02 Thread Bell, Adam
info about the individual index lengths, the table_info->number_indexes == 3 (that is correct) The question is - how to split the index apart properly and get this to work? Is this something that has been fixed in later versions? Thanks, Adam -Original Message- From: Bell, A

RE: Question on SNMP version

2009-02-27 Thread Bell, Adam
the oid handler/recognition against registered OIDs but could you point at where to start looking. Is there some code to be added for this new type that would parse the OID without the length bytes in the encoding? Attached is some code for the current condition. Thanks so much,

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

Copyright issues

2009-02-25 Thread Bell, Adam
Network Associates Copyright Cisco Copyright Free Software Foundation and on and on. How does this impact the GPL license and or usage/distribution of net-snmp code? Thanks you in advance for your response. Adam The information contained in this electronic mail transmission may be privileged

RE: Question on SNMP version

2009-02-25 Thread Bell, Adam
the second encoding. Is there standard way to encode fixed length OCTECT Strings? Thanks, Adam The information contained in this electronic mail transmission may be privileged and confidential, and therefore, protected from disclosure. If you have received this communication in error, please

RE: processing multiple varbinds as a blob

2008-04-30 Thread Bell, Adam
OK Thanks -Original Message- From: Wes Hardaker [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 29, 2008 11:38 AM To: Bell, Adam Cc: Wes Hardaker; [email protected] Subject: Re: processing multiple varbinds as a blob >>>>> On Tue, 29 Apr 2008 10:56:

processing multiple varbinds as a blob

2008-04-28 Thread Bell, Adam
echecking, and free it when the check routines are complete. My question is. Is there a better way to do this that fits in with the architecture? Is there a way to set a vb as checked that is built in? Thanks in advance, Adam The information contained in this electronic mail transmission

RE: MIB design query (specifying the range for TC TruthValue)

2007-06-06 Thread Adam Bell
TruthValue already has a meaning, and redefining it is not a good idea. Why don't you just define an INTEGER with a single enumerated value of 1 for the specific MIB in question. Adam -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jayapra

linking in external libraries

2007-04-30 Thread Adam Bell
external library to the .so files? Is it required to link against the .so before the link for snmpd.(seems logical) Tha

RE: how to include "ASN_OBJECT_ID" in a trap with net-snmp

2007-04-20 Thread Adam Bell
I find the simplest way is to 1. Write the notification MIB with the varbinds defined 2. run mib2c with mib2c.notify.conf, this builds the varbind list automatically 3. link the code generated into the snmpd application 4. send the trap from snmpd -Original Message- From: [EMAIL PROTECTE

FW: Writing/building my trap send code

2007-03-28 Thread Adam Bell
appreciated, Adam -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam Bell Sent: Thursday, March 08, 2007 10:48 AM To: [email protected] Subject: Writing/building my trap send code All, I have read through the trap send related FAQs but I

RE: Decrease execute times of get_first_data_point() when getBulk

2007-03-19 Thread Adam Bell
My bad, I missed a '(' in the param list. There is a function call in the parameter list Prototypes match fine. Sorry all Adam -Original Message----- From: Adam Bell Sent: Friday, March 16, 2007 12:49 PM To: Adam Bell; Dave Shield Cc: [email protected] S

RE: Decrease execute times of get_first_data_point() when getBulk

2007-03-16 Thread Adam Bell
and found nothing like the second prototype. I am running v5.2.3 net-snmp. Any ideas? Adam -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam Bell Sent: Friday, March 16, 2007 9:06 AM To: Dave Shield Cc: [email protected] Subject: RE

RE: Decrease execute times of get_first_data_point() when getBulk

2007-03-16 Thread Adam Bell
going to be sent? Adam -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Friday, March 16, 2007 5:51 AM To: Adam Bell Cc: [email protected] Subject: Re: Decrease execute times of get_first_data_point() when getBulk On

RE: Decrease execute times of get_first_data_point() when getBulk

2007-03-15 Thread Adam Bell
lower level Is there a way to turn on the caching with mib2c.iterate_access.conf? Any advise is appreciated. Adam -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Tuesday, March 13, 2007 8:07 AM To: Zhang Chuan Cc: net-snmp-coders

RE: external application asks agent to send a trap - how to

2007-03-09 Thread Adam Bell
do post set IO processing. Thanks in advance, Adam The information contained in this electronic mail transmission may be privileged and confidential, and therefore, protected from disclosure. If you have received this communication in error, please notify us immediately by replying to this

RE: Decrease execute times of get_first_data_point() when getBulk

2007-03-09 Thread Adam Bell
Have you tried putting a timer on the data load so that when init runs, the table is not fetched again? This is my plan for the tables I must read. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zhang Chuan Sent: Thursday, March 08, 2007 9:26 PM To: net-snmp-coders@list

RE: mib2c generated code and GET_NEXT

2007-03-01 Thread Adam Bell
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Thursday, March 01, 2007 12:25 PM To: Adam Bell Cc: [email protected] Subject: Re: mib2c generated code and GET_NEXT On 01/03/07, Adam Bell <[EMAIL PROTECTED]>

mib2c generated code and GET_NEXT

2007-03-01 Thread Adam Bell
. The MODE_GET_NEXT and MODE_GET_BULK are not handled, maybe that is why the get_first and get_next handlers for the row search are missing too? What to do here? Thanks, Adam J. Bell The information contained in this

RE: configure options and removing mib modules are causing make f ailures

2007-02-19 Thread Adam Bell
there a limit to the number of options supplied to configure? In this configure scripts the enable-mini-agent and disable-debugging are not in the configure options because they are not working. Adam -Original Message- From: Magnus Fromreide [mailto:[EMAIL PROTECTED] Sent: Saturday

configure options and removing mib modules are causing make failures

2007-02-16 Thread Adam Bell
I am trying to integrate net-snmp v 5.4 into a small footprint device under Linux and am having a couple problems. 1. The configure option --enable-mini-agent causes ./.libs/libnetsnmpmibs.so: undefined reference to `initialize_table_ifXTable during make I am trying top make this as small as pos

table indexed by ipaddress bug

2004-12-02 Thread adam
somewhere (hopefully, in *one* place in the library) there needs to be a swap from network order off the wire into host order bound for memory. does anyone know if this is sufficient, or is it a bad idea? thanks in advance, adam --- SF email is