[AGENT++] Constraint the SNMP agent to accept SNMP requests from predefined host

Frank Fock fock at agentpp.com
Sat Jun 25 11:59:20 CEST 2005


Hello Pierre,

The AGENT++Win32 master agent uses and initializes the source
address validation (from the Win registry). This should be a good
starting point.

Best regards,
Frank

Pierre Pacchioni wrote:

>Hello,
>
>Is it possible to constraint the Agent to accept connection from a (set)
>predefined host(s)?
>In our application we want to restrict the access to the agent to let say one
>predefined host. I had a quick look at the code and I found a
>set_address_validation() method on the RequestList class. Browsing the code I
>found that when this flag is turn on, the snmpTargetAddrEntry and the
>snmpTargetAddrExtEntry tables are used to check if the access is allowed or not
>to the agent. I guess restricting the access to the agent is possible using
>that "tables". 
>Is someone already used that tables to do such access control? And yes it would
>be great to receive a code snapshopt showing how to use that tables.
>Thanks in advance for your help,
>Pierre. 
>_______________________________________________
>AGENTPP mailing list
>AGENTPP at agentpp.org
>http://lists.agentpp.org/mailman/listinfo/agentpp
>
>  
>





More information about the AGENTPP mailing list