Re: MIN-ACCESS support

2008-12-16 Thread Wes Hardaker
> On Tue, 16 Dec 2008 15:53:21 -0500, "Lab Partner" > said: LP> Is it a valid/accepted approach to allow users to just write back the value LP> that I return for get requests to meet those MIN-ACCESS requirements (any LP> other value would fail with wrongValue)? If they're setting it to

MIN-ACCESS support

2008-12-16 Thread Lab Partner
Using Net-SNMP's API, I've implemented some third-party objects that were also given an associated MIN-ACCESS of read-write. Some of these objects are fixed configurations for my device and users really can't change the values however. Is it a valid/accepted approach to allow users to just write b

Re: Null terminated strings "magic tie" implementation proposal

2008-12-16 Thread Thomas Anders
Eugene Yasman wrote: > Although the flag difinition (#define WATCHER_SIZE_STRLEN 0x08) could > be found in current SVN repository trunk and the comment says 'since > Net-SNMP 5.5'. The same would be true for your proposed helper if we'd add it. New features/additions (in other words: anything e

Re: IPV4Z handling in OID string

2008-12-16 Thread brian retford
I certainly will, I guess I was interested in people's opinion about whether it was valid or not - I'm not really sure if the textual conventions cover converting nodes in an OID to human readable format or if that is all kind of ad-hoc - hence the correct solution might be to change the length che

Re: IPV4Z handling in OID string

2008-12-16 Thread Wes Hardaker
> On Mon, 15 Dec 2008 16:10:24 -0800, "brian retford" > said: br> I seem to have ruined my diff due to copy and paste stupidity, and by br> diff'ing across 2 versions and only giving you a partial diff. Here's a diff br> against 5.4.2.1: Can you submit the patch to our patch tracking da

Re: Reg Net-SNMP 5.4.2.1

2008-12-16 Thread Wes Hardaker
> On Tue, 16 Dec 2008 12:26:22 +0530, "Venkatrangan G" > said: VG> My application runs on a board having just around 32 MB and getting VG> valgrind to the box is thus impossible. Hence mtrace was the only viable VG> option but somehow it fails to log in my case, can you please what could

Re: Null terminated strings "magic tie" implementation proposal

2008-12-16 Thread Eugene Yasman
Thank you for answering Magnus, Sorry for disturbing you, but I've searched net-snmp-5.4.2.1 (the most current/supported release) sources for WATCHER_SIZE_STRLEN flag and haven't found one, the only flags defined at ./include/net-snmp/agent/watcher.h are: #define WATCHER_FIXED_SIZE0x01 #defin

RE: Reg Net-SNMP 5.4.2.1

2008-12-16 Thread Venkatrangan G
My application runs on a board having just around 32 MB and getting valgrind to the box is thus impossible. Hence mtrace was the only viable option but somehow it fails to log in my case, can you please what could possible be wrone in our bukild that made mtrace not to work -Original Messag

Re: help

2008-12-16 Thread Thomas Anders
jamshid omidi wrote: > i use freebsd 7 > and i went install snmp from port collection > i go to /usr/ports/net-mgmt/net-snmp and run > make > in middle of work suddenly power down and my system power off > now when i want install and run make again > a message appear like this > "stop in /usr/ports