Re: Does "killall -HUP snmpd" unload dynamic module?

2009-06-01 Thread Tewen Hsieh
Hi Wes Hardaker, Thanks for your reply. Could you help me to understand another question? If there is malloc( ) in my dynamic module, does it cause any memory leak problem when I use "killall -HUP snmpd" to reload config file? Is the dynamic allocated memory freed by OS automatically? Or I shoul

trap only user access

2009-06-01 Thread EYRE Bernadette
Hello snmp-coders, In Linux based net-snmp 5.4.2 can one configure a user to only receive traps? This means the same user will not be able to do GET or SET operations on any of the supported propitiatory mibs. Also can one change the security modes by calling the net-snmp library api(s)? thanks

Net-SNMP 5.3.3 released

2009-06-01 Thread Robert Story
This is a maintenance release of the 5.3.x line. This message contains a list of specific bugs that have been fixed, and patches that have been applied in released versions. Please see the NEWS file for a summary of the major changes, and the ChangeLog file for a comprehensive listing of all chan

IPV4 and IPV6

2009-06-01 Thread prasanth
Hi Dave, As you said to add the rocommunity6 and rwcommunity6 ..so i added on my own to my snmpd.comf file rocommunity6 public rwcommunity6 public but when i try to run the daemon it is generating like: line26: Warning: Unknown token: rocommunity

Re: IPv4 and IPv6 configuration

2009-06-01 Thread Dave Shield
2009/6/1 prasanth : > my snmpd.conf no where > contain rocommunity6 or rwcommunity6. > and when i am trying to get sysuptime then it is giving timeout Yes - that's right. You need to add an equivalent "rocommunity6" line to allow IPv6 requests. Otherwise the agent will indeed drop these pack

Re:IPv4 and IPv6 configuration

2009-06-01 Thread prasanth
hi all, Thanks for the reply Dave i have followed the same steps which you have told the configure with --enalbe-ipv6 is working fine and i have done Configure access control for SNMPv1/SNMPv2c but my snmpd.conf no where contain rocommunity6 or rwcommunity6 the contens of my snmpd.comf is only

Help on getting an interface name

2009-06-01 Thread lanas
Hello all, In getName(int index) (mibgroup/tunnel.c) there are two ways to get the interface name. Here are excerpts: The first way: #ifndef USING_IF_MIB_IFTABLE_IFTABLE_MODULE oid name[MAX_OID_LEN] = { 1, 3, 6, 1, 2, 1, 2, 2, 1, 2 }; size_t length = 10; struct variable ifName_variable =

Re: net snmp for both IPV4 and IPv6

2009-06-01 Thread Dave Shield
2009/6/1 prasanth : > ...I have to > configure 5.4.2.1 version so that the agent will work for both IPV4 and > IPV6 . > > so what are the steps i need to approach in order to acheive this - Ensure that the software has been configured with IPv6 support (you may need to re-run

net snmp for both IPV4 and IPv6

2009-06-01 Thread prasanth
Hi all, I am working with SNMP on slackware 12 and i have to configure 5.4.2.1 version so that the agent will work for both IPV4 and IPV6 . so what are the steps i need to approach in order to acheive this so could please anyone guide me in this task . Is it possible to do t