2009/4/8 down Load :
> Program received signal SIGSEGV, Segmentation fault.
> 0xd410 in ?? ()
Hmmm that's not really very informative.
I'd hoped to get something a little more meaningful as to exactly which
line was triggering the problem.
> 4) (gdb) print HRFS_entry
> $1 = 538197124
>
Hi,
I am extending the net-snmp agent (5.4.1).
RFC 3414 allows the following security postures ,
1. minimum-secure
2.semi-secure
3.very-secure (i.e., no-initial-configuration)
May i know the security posture in net-snmp ?
Thanks in advance.
-Pachi-
---
2009/4/8 Giuseppe Modugno :
> Is there a complete list (in any documentation pages or in the source
> code) of these "helpers"?
$ ls agent/helpers
Dave
--
This SF.net email is sponsored by:
High Quality Requirements i
I'm going to extend Net-SNMP agent writing a dynamically loadable
module. I'm studying the documentation and found the concept of
"helper handlers". I think they are very good and I'm almost sure to
use some of them to code my agent extension.
Is there a complete list (in any documentation page
Hi Dave,
1) cd /usr/local/sbin
You have mail in /usr/spool/mail/root
/usr/local/sbin#gdb snmpd
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain co
2009/4/8 down Load :
> 1) /usr/local/sbin/snmpd -f -Le -Dall
> trace: header_hrstoreEntry(): host/hr_storage.c, 476:
> host/hr_storage: var_hrstoreEntry: process
> HOST-RESOURCES-MIB::hrStorageType.45 ()
> Segmentation fault(coredump)
Yup - that's what I suspected you'd see.
The next
Hi All,
1) /usr/local/sbin/snmpd -f -Le -Dall
trace: netsnmp_add_varbind_to_cache(): snmp_agent.c, 1941:
snmp_agent: tp->start HOST-RESOURCES-MIB::hrStorageType, tp->end HOST-RESOURCES-
MIB::hrStorageDescr,
trace: netsnmp_add_varbind_to_cache(): snmp_agent.c, 1961:
verbose:asp: asp 20154208 reqi
Hi All,
1) /usr/local/sbin/snmpd -f -Le -D
/usr/local/sbin/snmpd: option requires an argument -- D
Usage: /usr/local/sbin/snmpd [OPTIONS] [LISTENING ADDRESSES]
Version: 5.4.2.1
Web: http://www.net-snmp.org/
Email: [email protected]
-a
2009/4/8 down Load :
> Hi All,
>
> 1) /usr/local/sbin/snmpd -f -Le -D
> /usr/local/sbin/snmpd: option requires an argument -- D
Sorry - that should have been "-Dall"
The point is to turn on *all* debugging output
(as I said yesterday - this is a lot!)
and see what happens just before the crash.
A