« Back
You are in :
Recent Topics »
OEMs & Developers »
Agent Toolkit Java Edition » How to set max repetitions on agent code generated from MIB
Hi dtmansy ,
You can limit those values only at the manager end.There is nothing to do in Agent's side.
In UI-based manager application you can change it in MibBrowser Settings
else you can change it in command-line application inputs i.e Max-Repetitors & Non-Repetitors value
try with with our example application snmpbulk.java which i have attached
kindly refer the following link in our help documentations
http://snmp.adventnet.com/help/snmpapi/snmpv3/snmp_operations/snmp_getbulk.html
Kind Regards
You can limit those values only at the manager end.There is nothing to do in Agent's side.
In UI-based manager application you can change it in MibBrowser Settings
else you can change it in command-line application inputs i.e Max-Repetitors & Non-Repetitors value
try with with our example application snmpbulk.java which i have attached
kindly refer the following link in our help documentations
http://snmp.adventnet.com/help/snmpapi/snmpv3/snmp_operations/snmp_getbulk.html
Kind Regards
Hi tmanoj,
Thanks. I understand that those values can be limited at the manager end. But I wanted to add some protections in my application to prevent a hostile manager from attacking me by sending getbulk requests with no or very large limits forcing my agent to return thousands of OIDs using CPU and other resources. It would be nice to add a configurable max that would protect my agent and still be satisfactory to the real managers in our network.
Thanks. I understand that those values can be limited at the manager end. But I wanted to add some protections in my application to prevent a hostile manager from attacking me by sending getbulk requests with no or very large limits forcing my agent to return thousands of OIDs using CPU and other resources. It would be nice to add a configurable max that would protect my agent and still be satisfactory to the real managers in our network.
Post Actions
Corp