Re: make perl error on winxp , need your help! thx

2005-07-22 Thread Alex Burger
Hi. Are you trying to compile Net-SNMP 5.1.2? Alex [EMAIL PROTECTED] wrote: > > hi all, > glad to see u! i'm new here. > i have finished building win32.dsw and libsdll.dsw in \win32,and then > use \win32\nmakeperl.bat to make perl modules,the error came as: > "Nmake : fatal error U1077:'link

flood log message - security concern?

2005-07-22 Thread Fong Tsui
We are using net-snmp package and one of our customers found malformed snmp query cause log message over flooded, eventually, froze the system. The problem is when querying from bad address, by default, it always log: Connection from REFUSED Is this security concern? I think we probably should

Re: mib2c for oid type cause segmentation fault, e.g. etherStatsDataSource

2005-07-22 Thread Emi . Yanagi
Robert, Thank you for looking into my problem. Robert Story <[EMAIL PROTECTED]> Robert Story <[EMAIL PROTECTED]> 07/22/2005 12:29 PM Please respond to [email protected] To [EMAIL PROTECTED] cc [email protected] Subject Re: mib2c for o

Re: netsnmp_enable_subagent() warning

2005-07-22 Thread Robert Story
On Fri, 22 Jul 2005 09:32:32 +0200 Jon wrote: JNL> When I compile my subagent module I get the following warning: JNL> JNL> warning: implicit declaration of function `netsnmp_enable_subagent' JNL> As the subagent works I guess it should be safe to ignore the warning??? Yes... This should be fi

Re: mib2c for oid type cause segmentation fault, e.g. etherStatsDataSource

2005-07-22 Thread Robert Story
On Thu, 21 Jul 2005 08:10:38 -0500 [EMAIL PROTECTED] wrote: EYC> It's easy to reproduce the problem in two steps: For you, maybe, not for me. I should have asked before, what release are you running? EYC> 1. Generate mib2c template for etherStatsTable using mib2c.mfd.conf , Did you accept all th

Re: deleting table rows

2005-07-22 Thread Robert Story
On Fri, 22 Jul 2005 10:26:16 +0200 Thorsten wrote: TF> for(row=table_set->table->first_row; row; row = row->next) TF> netsnmp_table_dataset_remove_and_delete_row(table_set, row); I don't know about that.. if you delete row, how can you expect row->next to work? But he didn't ask ab

Re: I need an example

2005-07-22 Thread Robert Story
On Wed, 20 Jul 2005 11:37:20 -0400 Juan wrote: JJAS> if I already saw, but they do not work for me, since the example of JJAS> snmpdemoapp communicates with agent that not this, and I need to do JJAS> this, to connect the example to agent that recived from snmpdemoapp, you JJAS> have some examp

Re: table_data2 questions

2005-07-22 Thread Robert Story
On Fri, 22 Jul 2005 09:47:25 +0100 Dave wrote: DS> On Thu, 2005-07-21 at 22:20 -0400, Robert Story wrote: DS> But it's subsequently proved impossible to use this as a straight DS> replacement. So you're probably right, and we should drop the DS> separate index_oid/index_oid_len fields. OK, will d

Re: link error for g++ net-snmp

2005-07-22 Thread Deepak Arya
Robert, I am compiling in Fedora-3,  this weekend i am going to use the flags and will update u. thanks Deepak Arya On 7/21/05, Robert Story <[EMAIL PROTECTED]> wrote: On Tue, 19 Jul 2005 23:02:19 -0400 Deepak wrote:DA> Thanks for everyone's help. right now i am able to compile my net-snmpDA> st

Re: I need an example

2005-07-22 Thread Juan José Abarca Soto
if I already saw, but they do not work for me, since the example of snmpdemoapp communicates with agent that not this, and I need to do this, to connect the example to agent that recived from snmpdemoapp, you have some example, that make this. thanks I am from chile, and i'am sorry from my

make perl error on winxp , need your help! thx

2005-07-22 Thread [EMAIL PROTECTED]
hi all,glad to see u! i'm new here.i have finished building win32.dsw and libsdll.dsw in \win32,and then use \win32\nmakeperl.bat to make perl modules,the error came as:"Nmake : fatal error U1077:'link':return code '0x460',stop.Nmake : fatal error U1077:'cd':return code '0x2',stop"the error output

Regarding the problem in the sample

2005-07-22 Thread harish babu
Hello, I tried to run mib2c and got an error. It pointed to run snmptranslate and then run mib2c.So while running the following command snmptranslate -m +CISCO-RHINO-MIB -IR ciscoLS1010ChassisFanLed I am getting the following error, No log handling enabled - turning on stderr logging Cannot

Re: Net-snmp-coders digest, Vol 1 #2657 - 6 msgs

2005-07-22 Thread Thorsten Freimann
Hi Torben, try: for(row=table_set->table->first_row; row; row = row->next) netsnmp_table_dataset_remove_and_delete_row(table_set, row); Thorsten > --__--__-- > > Message: 4 > From: "Torben Surmer" <[EMAIL PROTECTED]> > To: [email protected] > Subject: deleting table rows >

Problems with mib2c.iterate.conf

2005-07-22 Thread Jordan Janeiro Lopes da Silva
Hi everybody. I'm trying to implement a MIB using mib2c.iterate.conf. The code is generated and I've filled the corresponding parts: get_first_data_point, get_next_data_point, the switch part; the other part of the netsnmp_extract_iterator_context I've just commented, for test reasons. The values t

Re: table_data2 questions

2005-07-22 Thread Dave Shield
On Thu, 2005-07-21 at 22:20 -0400, Robert Story wrote: > turn-about is fair play, right? :-) 'Spose so. > I was moving the notification_log mib stuff into the agent library > today, and the cvs main version is based on table_dataset2. Hmmm... I must admit that I haven't done much with that part

Re: deleting table rows

2005-07-22 Thread Thorsten Freimann
Hi Torben, try: for(row=table_set->table->first_row; row; row = row->next) netsnmp_table_dataset_remove_and_delete_row(table_set, row); Thorsten > --__--__-- > > Message: 4 > From: "Torben Surmer" <[EMAIL PROTECTED]> > To: [email protected] > Subject

netsnmp_enable_subagent() warning

2005-07-22 Thread Jon Neerup Lassen
Hi When I compile my subagent module I get the following warning: warning: implicit declaration of function `netsnmp_enable_subagent' The subagent works though I have the following inludes #include #include #include As the subagent works I guess it should be safe to ignore the wa