crypto problem....

2006-09-19 Thread Nikanth K
I have developed a Agentx subagent on SUSE 10.I use a different implementation of crypto instead of openssl's.But there seems to be a bug in the implementation of the sc_hash function that calls EVP_DigestFinal_ex In OpenSSL code nothing was done for "ctx->digest->cleanup". It is NULL. And hence it

when client timeout and resends the request

2006-08-31 Thread Nikanth K
when a client timeouts and resends the request - will it get duplicate responses or will it get only one response?How is it handled by the master agent? do the client detect duplicates responses or/and the master agent detect duplicate requests?

Re: subagent - how long can it take to respond to a get request?

2006-08-31 Thread Nikanth K
That's how the Net-SNMP client tools work, yes.They'll make the request, and if they don't receive an answer within a reasonable time, they'll try again.  Only when a certain number ofretries have timed out will they report failure.Try   "snmpgetnext -d ." to see this happening.But a typical se

subagent - how long can it take to respond to a get request?

2006-08-31 Thread Nikanth K
I know that SNMP works over UDP.I am developing a subagent over agentx. When I get a GEt request I need to do some calculations based on the values at that time and return it.It takes some time to fetch & calculate those value. So how long can I take or is there any other way in the SNMP protocol i

TRAPS + get requests

2006-04-28 Thread Nikanth K
Hi I am developing an agentx subagent on SUSE. The problem is, I want to handle GET requests as well as TRAPS to be sent by the same subagent. But to handle get requests we need to loop on    while(1)     {     agent_check_and_process(1); /* 0 == don't block */     } And I w