i
-Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Friday, April 18, 2008 4:56 PM
To: Emi Yanagi
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: SNMP-COMMUNITY-MIB security question
On 18/04/2008, Emi Yanagi <[EMAIL PROTECTE
Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Friday, April 18, 2008 4:56 PM
To: Emi Yanagi
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: SNMP-COMMUNITY-MIB security question
On 18/04/2008, Emi Yanagi <[EMAIL PROTECTED]> wrot
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Friday, April 18, 2008 4:19 PM
To: Emi Yanagi
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: SNMP-COMMUNITY-MIB security question
On 18/04/2008, Emi Yanagi <[EMAIL PROTECTED]> wrote:
> It seems there could be a
Dear net-snmp-coders,
I have a question on SNMP-COMMUNITY-MIB security that I need you
experts' advice.
It seems there could be a security hole in snmpCommunityTable. What if a
user who only has access to read-only community name "public", used it
to walk through snmpCommunityName, which w
Hi Dave,
I saw you opened Bugs item #1814048. Is there any update on this one:
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1814048&gro
up_id=12694
Thanks
Emi
-Original Message-----
From: Emi Yanagi
Sent: Tuesday, April 15, 2008 4:21 PM
To: 'Magnus Fromre
ogVariableValueType.0.2.1
RFC1155-SMI::enterprises.2021.10.1.1.1 = INTEGER: 1
#
Thanks for your support.
Emi
-Original Message-
From: Magnus Fromreide [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 15, 2008 2:50 PM
To: Emi Yanagi
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: Where is the
Hi Dave,
I am glad to know this bug was fixed, but I couldn't find the patch.
Could you please point me where I can download the patch for 5.3.1. I am
using Net-SNMP 5.3.1.
Thanks for your support.
Best regards,
Emi
fyRestart
The trap2sink in my snmpd.conf are:
trap2sink localhost notify 162
trap2sink udp6:[::1]:162 notify 162
Emi
-Original Message-----
From: Emi Yanagi
Sent: Thursday, November 15, 2007 4:33 PM
To: net-snmp-coders@lists.sourceforge.net
Subject: trap2sink IPv
Dear net-snmp-coders,
I tried the following syntax but neither worked for me.
trap2sink udp6:[fe80::214:22ff:fe7b:fca2]:162
trap2sink udp6:'[fe80::214:22ff:fe7b:fca2]':162
trap2sink with IPv4 address works just fine.
How to specify trap2sink with IPv6?
Thanks for your support.
Emi
-
From: Mitsuru Chinen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 06, 2007 5:01 PM
To: Emi Yanagi
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: Failed to query IPv6 enabled snmpd remotely
On Tue, 6 Nov 2007 08:06:16 -0800
"Emi Yanagi" <[EMAIL PROTECTED]> wrote:
>
, November 06, 2007 10:11 AM
To: Emi Yanagi
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: Failed to query IPv6 enabled snmpd remotely
On 06/11/2007, Emi Yanagi <[EMAIL PROTECTED]> wrote:
> $ snmpwalk udp6:'[fe80::200:50ff:fe3d:7aac]':161 sysUpTime
> SNMPv2-MIB::sysUpTime.0
] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Monday, October 29, 2007 6:09 AM
To: Emi Yanagi
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: Failed to query IPv6 enabled snmpd remotely
On 24/10/2007, Emi Yanagi <[EMAIL PROTECTED]> wrote:
> But when I query remotely from
at was missing then?
Thanks for your support.
Emi Yanagi
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJA
I submitted 1814048 for this bug.
Emi
-Original Message-
From: Robert Story [mailto:[EMAIL PROTECTED]
Sent: Monday, October 15, 2007 12:07 PM
To: Emi Yanagi
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: When there is "no instance" object in a table, snmpgetnext
skip t
ntion ;-) Please fix it.
Best regards,
Emi
-Original Message-
From: Robert Story [mailto:[EMAIL PROTECTED]
Sent: Monday, October 15, 2007 10:06 AM
To: Emi Yanagi
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: When there is "no instance" object in a table, snmpgetnext
skip
0x7f9a9db4) at snmpd.c:1011
(gdb)
Thanks
Emi
From: Jayaprakasha Guddenahalli Naganna [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 06, 2007 2:19 AM
To: Emi Yanagi; net-snmp-coders@lists.sourceforge.net
Subject: RE: When there is "no instance" object in a table,snmpgetnext skip
ble:results: found 2 indexes
helper:table:results: column: 4, indexes: 2 index: type=4(04),
value="" index: type=
66(42), value=Gauge32: 1
Thanks
Emi
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Thursday, September 06, 2007 4:
-MIB::nlmLogVariableID."".3.1 = OID:
SNMPv2-MIB::sysUpTime.0
Any idea how to improve snmpgetnext in this case?
Emi Yanagi
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files
snmpTargetAddrExtTable. Unfortunately, the MIB itself and RFC didn't
give me enough understanding how these objects suppose to work.
Thanks in advance for any insight.
Emi
-Original Message-
From: Thomas Anders [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 22, 2007 9:41 AM
To: Emi Yana
are not implemented yet, but I
think they could be done by calling UDP6/UNIX _getsnmpCommunity
functions from vacm_conf.c in the same way as I have done with UDP.
Plesae let me know if the snmpCommunityTable implementation is
acceptable, I welcome any feedbacks.
Best
populations below.
Please advice how to fix or work around this problem. I need to make
this part work for our customers.
Thanks for your support.
Emi Yanagi
-Original Message-
From: Nobody [mailto:[EMAIL PROTECTED] On Behalf Of
SourceForge.net
Sent: Thursday, July 19, 2007 2:36 PM
To
able
NOTIFICATION-LOG-MIB::nlmLogVariableTable = No Such Object available on
this agent at this OID
Is there anyone actually see this working?
Thanks for your support.
Emi
Dear net-snmp-coders,
It seems NOTIFICATION-LOG-MIB in 5.3.1 is only partially implemented. That
is, only nlmLogTime and nlmLogDateAndTime are supported. The rest of
nlmLogTable objects as well as other tables:
nlmConfigLogTable
nlmStatsLogTable
nlmLogVariableTable
are not implemente
Dear net-snmp-coders,
I submitted a patch for linkUp/linkDown traps generation. It also fixed
ifLinkUpDownTrapEnable effectiveness.
Regards,
Emi Yanagi
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express
Hi Robert,
I have another CLI process to control enable/disable the subagent traps
configuration. Currently I made the CLI work by snmpset the trap
configuration objects and save the p tokens in the permanent subagent .conf
file. This is working successfully to turn on/off subagent traps
generatio
Hi Dave,
The subagent framework is from mib2c.mfd.conf, I added
snmpd_register_config_handler() by myself so it can read from subagent
.conf file and save the p tokens to permanent subagent .conf file. That
part is working successfully.
I'm just wondering if there is a way to automatically re-rea
.conf is updated, how to make the subagent read the
new configuration without restart the subagent application?
Thanks for your support.
Emi Yanagi
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the
Dave,
Thank you.
I've been struggling with this problem for quite a while and couldn't go
any further, now I finally see some hope ;-)
Emi
"Dave Shield"
Thanks for the comments.
I tested INTEGER case of course, but not COUNTER64 case. I should remove it
for now, although I don't think it's too hard to adjust for COUNTER64.
Emi
Magnus Fromreide
Dave,
The reason for my implementing RMON is that my customers want it, not that
to reproduce the DISMAN-EVENT-MIB problem.
If you agreed it's an important one to fix internal queries over a
delegated session, please concentrate on fixing it. I'd be glad to help but
it's so deep into AgentX proto
Subject
Re: New Rmon alarmTable implemented
gated objects, only this time it is not delegated
object but the query session is derived from SNMP_VERSION_2c pdu, I suspect
there may be some problem in internal query session creation.
Emi Yanagi
Debug log --
sess_select: for all sessions: 13 (
should be then?
I appreciate any helps on this, because I am really stuck =).
Emi Yanagi
----- Forwarded by Emi Yanagi/Radisys_Corporation/US on 04/27/2007 03:46 PM
-
f the analysis is correct, the resolution then is to set internal query
session's callback_magic correctly, so the delegated session pointing to
the internal session's callback_magic. Does it make sense?
How to set callback_magic to do this in a right way?
Thanks for your supp
er due *real* soon. 533115 usec
verbose:sess_select: setting timer to 0.533115 sec, clear block (was 0)
I would like to continue debugging this problem but I need your help. I
would appreciate any insight or advice on how to solve this problem.
Thanks for your support.
creation [DEFAULT]
2) do not generate code for row creation
the _mfd_${context}_rowreq_from_index( ) function is not generated. This
function is called by _mfd_${context}_object_lookup( ) .
Thanks for your support.
Emi Yanagi
ATCA-2210 snmpd[21197]: agent_session 0x100ef610 released
I have hard time to figure out why this error occurs, and how to avoid this
error.
Any advices are greatly appreciated.
Emi Yanagi
-
Take Surveys. Earn Cash. Influenc
Hi Dave,
Thank you for sending me the patch on "error on subcontainer insert(-1)". I
got it.
On another thread, I have a question for you. I found the email on
SNMP-COMMUNITY-MIB you wrote a year ago. I would like to know what is the
status on SNMP-COMMUNITY-MIB development? Do you plan to publi
Hi Robert,
I found the email below on "error on subcontainer insert(-1)" from
net-snmp-coders emails, but I couldn't find the attached patch in the
email.
Would you please send me a copy of the patch, maybe provide some details?
Than
Mark,
It seems "container-cache" is not the default anymore in 5.3.1. So when you
generate mfd templates, you 'd have to choose "container-cache" in the
interactive setup.
Emi
Mark Atwood
am surprised to find 5.3.1
replaced xxxTable_cache_load() with xxxTable_container_load(), and this
function is called nowhere from the generated templates. Would you please
advice where to call xxxTable_container_load in the generated templates?
Thanks
Emi Yanagi
LOCK_PER_CALLBACK_SUBID is not defined.
Best regards
Emi Yanagi
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download
Dear net-snmp-coders,
I was able to reproduce RowStatus segmentation fault with
snmpNotifyFilterRowStatus in 5.3.1 master agent.
This problem can be easily reproduced by the following steps:
$ snmpset 10.1 snmpNotifyFilterRowStatus.3.65.66.67.1 i 4
SNMP-NOTIFICATION-MIB::snmpNotifyFilterRowS
Hi Robert,
Robert Story
<[EMAIL PROTECTED]
com>
Hi Robert,
The code was generated using 5.2.1 with mib2c.mfd.conf.
I recently upgraded to Net-SNMP 5.3.1, although my subagent didn't change,
the master agent and shared library are using 5.3.1. Then the reported
RowStatus segmentation fault occurs.
The same code didn't cause segmentation fault wi
quest mode get from set inside
_mfd_dot1qVlanStaticTable_object_lookup, there is a way to do that. Any
advice?
Thanks for your support.
Emi Yanagi
Debug log:
internal:dot1qVlanStaticTable:_mfd_dot1qVlanStaticTable_object_lookup:
c
Hi Dave,
I copied the netsnmp_query_xxx code from 5.3 to 5.2.1, and compiled without
problem.
My next question is how do I get session ID from a AgentX subagent? Since
RMON support is required in our subagent, netsnmp_query_get() needs to be
called from the subagent.
I appreciated your advice. T
Hi Dave,
Thank you for your prompt response. These netsnmp_query_xxx are really nice
API supported in 5.3. Unfortunately, we are using 5.2.1 and have no plan to
upgrade to 5.3.
Therefore, any suggestions on doing the equivalent to get variable and its
value in 5.2.1 would be greatly appreciated.
Hello Dave,
Okay, I understand RMON code is unsupported by Net-SNMP. But I still have
to make it work because my customers request RMON support in our SNMP
agent.
My questions then are the following:
Is there a Net-SNMP function to get netsnmp_subtree variable and its
value?
If not, plea
udpInDatagrams.0
By searching from net-snmp-coders Email Archive, I found the following
email, however, I couldn't see the patch. Would you please supply the patch
for fixing fetch_var_val()?
Thank you very much for your support.
Emi Y
Thanks, Dave!
It solved the problem.
Emi
"Dave Shield"
<[EMAIL PROTECTED]
iv.ac.uk>
Hi Dave,
Thank you for your prompt response.
We have no plan to upgrade from 5.2.1 to 5.2.2. Do you have a patch just to
fix this problem?
Thanks for you support,
Emi
"Dave Shield"
entOIDs.10
Please point me to a solution to this problem.
Thanks for your support.
Emi Yanagi
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to
Dear net-snmp-coders,
I am reporting a problem with IP-MIB in 5.2.1. When I do "snmpwalk 10.0.0.1
ip", snmpd crashes after
RFC1213-MIB::ip.35.1.4.4.4.4.10.0.0.2 = Hex-STRING: 00 14 22 7B FE 07
I know this OID is the beginning of ipNetToPhysicalTable, but I couldn't
find ipNetToPhysicalTable in
Hi Robert,
After I applied your patch of Feb.15,2005 to fix non-default contaxtName, I
see another problem.
Index: mibgroup/agentx/master_admin.c
===
RCS file:
/cvsroot/net-snmp/net-snmp/agent/mibgroup/agentx/master_admin.c,v
r
Dear net-snmp-coders,
In Version 5.3.0.1, snmpget on a nonexistent instance returns wrong error
code "noCreation".
$ snmpget localhost ifDescr.111
Error in packet
Reason: noCreation (That table does not support row creation or that
object can not ever be created)
Failed object: IF-
Dear net-snmp-coders,
I have a question on support IPv4 interfaces linkUp/linkDown traps. I am
trying to use disman/event-mib.
I have a snmpd.conf that has these three line:
agentSecName disman_event
rouser disman_event
linkUpDownNotifications yes
(See attached file: snmpd.conf)
But
Dear net-snmp-coders,
I found a bug in parse_one_oid_index() in snmplib/mib.c, this function
doesn't work when using ASN_PRIV_IMPLIED_OCTET_STR for MacAddress that is
not the last object in the INDEX, for example, dot1qStaticMulticastAddress
in dot1qStaticMulticastTable.
Output of ASN_PRIV_IMPLI
Dear net-snmp-coders,
Thanks for your replies.
RS>You created a new implementation, right? No copying of the existing
code?
Yes, I created a new implementation using mib2c.mfd.conf, not copying of
the agent/mibgroup/if-mib.
RS>So what flags *are* you using?
The only flag I am using is NETSNMP_CA
Dear net-snmp-coders,
I have a question about mib2c.mfd.conf generated template. If I want to NOT
populate ifOutQLen in ifTable for example, what is the graceful way to do
this in the subagent?
I tried to let ifOutQLen_get() return MFD_SKIP, but then if I do a
"snmpwalk ifOutQLen", I got "Timeou
Dear coders,
I implemented ifTable subagent using mib2c.mfd.conf, it works great but I
have some questions about CACHE. I want to trigger a cache reload only when
dynamic interfaces creating/removing happen. I do not want to use cache
flag NETSNMP_CACHE_AUTO_RELOAD because of performance reason.
Dear coders,
I used mib2c.mfd.conf generated dot3adAggPortTable template. After implemented the glue logic, everything works great on a snmpwalk. But there is a problem to set dot3adAggPortActorAdminState. According to IEEE8023-LAG mib, dot3adAggPortActorAdminState is a 8 bits string. However, mi
I finished implementing tables in BRIDGE-MIB and started implementing scalar objects. After generated mib2c template using mib2c.scalar.conf, I've got GET request work correctly for dot1dStpPriority.
Now I have question about implementing SET request, what exactly I need to do in MODE_SET_RESERVE2
Hi Dave,
That piece of code(lines 196-198) is generated by mib2c.
In fact, besides the change mentioned in your email, there is another change needs to be done inside memcpy.
I have verified the following code works correct.
rowreq_ctx->data.historyControlDataSource_len =
h
I used mib2c.mfd.conf for RMON.
Emi
">"Fong Tsui" <[EMAIL PROTECTED]>
"Fong Tsui" <[EMAIL PROTECTED]>
08/08/2005 05:40 PM
To
, <[EMAIL PROTECTED]>
cc
Subject
mib2c for RMON
What mib2c conf file(s) should be used for creating full RMON and RMON2
code?
Thanks,
FT
Hi Robert,
Using the patch you sent me on 7/25, I still have problem with mib2c generated OID type such as historyControlDataSource. See the snmpwalk result below, the populated oid length is 4 times of it should be.
$ snmpwalk localhost historyControlDataSource
RMON-MIB::historyControlDataSourc
Robert,
Yes, I was running with -Dall option when "Broken pipe" happened. Then what is the condition that -Dall will not cause "Broken pipe"?
If running without debug option, snmpwalk on etherStatsDataSource works okay now.
Thanks for the patch, it fixed the mib2c oid type segmentation fault pro
Robert,
I applied the patch, re-make, re-generate mib2c for etherStatsTable.
It's still broke, but at different place "Broken pipe". Please see the debug messages below:
$ snmpwalk localhost etherStatsTable
RMON-MIB::etherStatsIndex.1 = INTEGER: 1
RMON-MIB::etherStatsIndex.2 = INTEGER: 2
RMON-MI
the subagent works just fine. Only when I set etherStatsDataSource_len to none-zero it causes segmentation fault.
I attached the zip file with all the source code, see if you can find any problem.
[attachment "etherStatsTable.zip" deleted by Emi Yanagi/Radisys_Corporation/US]
Well, I
Robert,
It's easy to reproduce the problem in two steps:
1. Generate mib2c template for etherStatsTable using mib2c.mfd.conf ,
mib2c -c mib2c.mfd.conf etherStatsTable
2. The only change is to add the following lines in etherStatsTable_cache_load( )
oid etherStatsDataSource[] = {1
This is hard-coded just as the piece of code I copy&pasted in my email.
Please notice the following error happened before the error message in your email.
RMON-MIB::etherStatsDataSource = Wrong Type (should be OBJECT IDENTIFIER): Variable has bad type
I attached the head file etherStatsTable.h.
I have implemented several subagents for BRIDGE-MIB tables using mib2c and mib2c.mfd.conf. They all worked well. Now I came across a problem with RMON-MIB etherStatsTable etherStatsDataSource which is an oid type. If I don't set etherStatsDataSource and let it be the default 0.0, the etherStatsTab
I also noticed that agent_session created twice after the send_trap, I suspect the problem is the first agent_session was never released. Will that cause select() stop and master agent lose response?
snmp_agent: agent_sesion 0x1015de90 created
agentx/master: handle pdu (req=0x2104c5ba,trans=0x0,s
I got more debug information of the problem in the master agent when a subagent sent traps.
I started snmpd with debug tokens as below:
snmpd -f -Le -Dsnmpd/select -Dsnmp_agent -Dtrap -Dagentx/master
In the working case, I see snmpd/select is called right after agent_session release and before
I am seeing a problem in the master agent snmpd when a subagent sent linkUp/linkDown traps.
I started snmpd as below:
snmpd -f -Le -Dsnmpd/select -Dtimer -Dtrap
The debug log shows snmpd blocked after "snmpd: send_trap: TImeout". The select loop simply stopped working from there.
snmpd/select:
No, it was not cache timeout problem. Neither am I using ifXTable.
I have found the problem, it was caused by fdset not being cleared after read. I added FD_CLR, and the problem went away.
Anyway, I am interested in registering a handler for the pipe. Would you please point me some example for th
I customized ifTable subagent from netsnmp/agent/mibGroup/if-mib for our switch port interfaces. It works fine most of times, but I had this problem occasionally.
When I do a snmpwalk for example on ifOperStatus,
Okay case: after ifTable_cache_load(), it goes through from pre_request to post_reque
Hi,
Thanks for the accurate diagnostics.
I found that NETSNMP_CACHE_DONT_FREE_BEFORE_LOAD cache flag was on. After I removed this flag, the problem disappeared.
Then I have another question, NETSNMP_CACHE_DONT_FREE_BEFORE_LOAD cache flag is set in ifTable_container_init() in if-mib/ifTable_dat
Hi,
I implemented EtherLike-MIB AgentX subagent after generating template by mib2c and mib2c.mfd.conf.
Everything is working fine during the first cache_load, I can snmpwalk through the whole dot3StatsTable.
(debug message from the subagent below)
_mfd_dot3StatsTable_get_column: column=1, Ind
Hello Robert,
Thanks for you advice.
I understand table container is the way to add rows to ifTable in the code IF-MIB/data_access/interface_linux.c and interface_common.c. The function to create more rows is netsnmp_access_interface_entry_create(), so I modified it to create row #5 to #8 for exa
Hi Robert,
Thanks for writing.
I have been working on mib2c.iterate_access.conf to generate ifTable iterate_access, because that looks most close to what I want.
The obstacle I met here is in ifTable_access.c line 40,
*my_loop_context = /** XXX */ ;
*my_data_context = /** XXX */ ;
How
.
Would you give me some advise on how this subagent should register or allocate a single row of ifTable?
Thank you very much.
-Emi
----- Forwarded by Emi Yanagi/Radisys_Corporation/US on 03/24/2005 09:33 AM -----
Emi Yanagi/Radisys_Corporation/US
03/15/2005 03:39 PM
Hi,
I have a question about ifIndex and its instances. If I do a snmpwalk on ifIndex, I got
$snmpwalk 10.1 ifIndex
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4
In order to avoid some sort of collision with my switchp
83 matches
Mail list logo