>>>>> On Tue, 29 Jun 2010 17:20:33 +0200, Boris Zweimueller 
>>>>> <[email protected]> said:

BZ> I'am currently implementing an agent with special
BZ> proxy-behaviour. It does some kind of proxying the same request
BZ> (from the outside) to multiple internal agents (for failover
BZ> reasons). To be able to use the same agent code for all agents, I
BZ> need to be sure not to forward a request to an agent where it
BZ> originally came from. Thats why I'd like to compare 'sender'
BZ> addresses.

Actually, no I'm not sure that's a good enough reason.  in particular
I'd probably come up with a different solution instead (likely involving
using access control to prevent access).

But, if you want to go the address route then some example code to look
at is near line 2860 of agent/mibgroup/disman/mteTriggerTable.c
-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to