Re: MFD agent : IP-address user-context in _cache_load() ?

2005-04-15 Thread Christian Jönsson
Robert Story wrote: On Thu, 14 Apr 2005 14:17:39 +0200 Christian wrote: CJ I am brand new at this (snmp, net-snmp, etc) and I am writing an agent CJ using the mib2c.mfd.conf generated code-framework (container-cached) CJ from net-snmp 5.2.1, Great! Stop by the IRC channel if you want more

Re: MFD agent : IP-address user-context in _cache_load() ?

2005-04-15 Thread Robert Story
On Fri, 15 Apr 2005 10:41:18 +0200 Christian wrote: CJ Trying to figure out where a packet came from is strongly discouraged. CJ Once a PDU has been authenticated and accepted, it shouldn't matter where CJ it came from. If you need different data from different hosts, SNMP CJ contexts is the right

Re: MFD agent : IP-address user-context in _cache_load() ?

2005-04-15 Thread Robert Story
On Fri, 15 Apr 2005 10:41:18 +0200 Christian wrote: CJ I know it's not really something that one usually wants, but I really CJ need to get ahold of the (local) IP-adress/interface on which the CJ snmp-request was received, where it came from (who requested) is not at CJ all important. The

MFD agent : IP-address user-context in _cache_load() ?

2005-04-14 Thread Christian Jönsson
Hello I am brand new at this (snmp, net-snmp, etc) and I am writing an agent using the mib2c.mfd.conf generated code-framework (container-cached) from net-snmp 5.2.1, I've been reading throught the tutorials, mailing-list and source-code; trying to understand how things work, but there is still

Re: MFD agent : IP-address user-context in _cache_load() ?

2005-04-14 Thread Robert Story
On Thu, 14 Apr 2005 14:17:39 +0200 Christian wrote: CJ I am brand new at this (snmp, net-snmp, etc) and I am writing an agent CJ using the mib2c.mfd.conf generated code-framework (container-cached) CJ from net-snmp 5.2.1, Great! Stop by the IRC channel if you want more interactive help. You