Broken pipe issue..

2007-10-08 Thread Senthil Nathan
Dear All, . I am using net-snmp5.1.2 version in Red hat environment for my application. I am using mib2c iterate config options for code conversion for the table node.I am using snmp sub agent which gets the data external to the system. I have to process the SNMP set request for my snmp table

Re: fixing library binding issue in 5.4.1

2007-10-08 Thread Wes Hardaker
> "TA" == Thomas Anders <[EMAIL PROTECTED]> writes: TA> Now, if one uses the same code *from within snmptrapd* (as done by TA> default through snmp_perl_trapd.pl as shipped), the code *does* work TA> because snmptrapd has dropauth itself. This is also why test #36 TA> ("snmptrapd embedded perl

Re: fixing library binding issue in 5.4.1

2007-10-08 Thread Thomas Anders
Wes Hardaker wrote: > The 5.4.1 code: > > - Has an int in snmptrapd.c called "dropauth". > - This int is referenced (extern) in snmptrapd_handlers.c > - snmptrapd_handlers.c gets compiled into libnetsnmptrapd > - TrapReceiver.xs (part of the NetSNMP::TrapReceiver perl module) fails > to load at

Re: fixing library binding issue in 5.4.1

2007-10-08 Thread Wes Hardaker
> "WH" == Wes Hardaker <[EMAIL PROTECTED]> writes: WH> Same problem + a similar problems = new patch: And that patch had syntax errors; but you'll get the drift. I have a working one. -- Wes Hardaker Sparta, Inc. - Thi

Re: fixing library binding issue in 5.4.1

2007-10-08 Thread Wes Hardaker
> "WH" == Wes Hardaker <[EMAIL PROTECTED]> writes: WH> The 5.4.1 code: Same problem + a similar problems = new patch: Index: apps/snmptrapd_ds.h === --- apps/snmptrapd_ds.h (revision 16710) +++ apps/snmptrapd_ds.h (working copy)

fixing library binding issue in 5.4.1

2007-10-08 Thread Wes Hardaker
The 5.4.1 code: - Has an int in snmptrapd.c called "dropauth". - This int is referenced (extern) in snmptrapd_handlers.c - snmptrapd_handlers.c gets compiled into libnetsnmptrapd - TrapReceiver.xs (part of the NetSNMP::TrapReceiver perl module) fails to load at run-time because it links to libn

Re: has any-one tried static linking of net-snmp libraries?

2007-10-08 Thread Thomas Anders
Ashwin Gokhale wrote: > I'm working on an embedded system where the Master > Agent and SubAgent (of netsnmp-5.4.1) communicate over > AgentX. The SubAgent in this case is co-located with > the rest of the tasks/threads of my embedded system. > I'm trying to compile my embedded system using static >

memory leak and socket in Net-SNMP version 5.3.1 - trap

2007-10-08 Thread Kobi Vaknin (kvaknin)
Hello all I've encounter with memory leak and unclose sockets in the snmp agent -Net-SNMP version 5.3.1: scenarios: * for each HUP signal sent to the agent ( for configuration update) while in the snmpd.conf include trap directive ( v1 or v2 ). for example "trap2sink 64.

has any-one tried static linking of net-snmp libraries?

2007-10-08 Thread Ashwin Gokhale
Hello, I'm working on an embedded system where the Master Agent and SubAgent (of netsnmp-5.4.1) communicate over AgentX. The SubAgent in this case is co-located with the rest of the tasks/threads of my embedded system. I'm trying to compile my embedded system using static linking of the net-snmp l