I am using Net-SNMP 5.3.0.1, and I am having problems with the size of the 
packets returned by getbulk. 
 
According to RFC 3416 (section 4.2.3): 
 
"   (1)   If the size of the message encapsulating the Response-PDU
          containing the requested number of variable bindings would be
          greater than either a local constraint or the maximum message
          size of the originator, then the response is generated with a
          lesser number of variable bindings. "
 
However, it seems that when the msgMaxSize of the originator is exceeded, 
Net-SNMP agent doesn't respond at all (timeout is seen in the command 
generator). The checking of the packet size is done right before sending it (in 
_sess_async_send), so I guess it is not that easy to go back and remove 
varbinds at that point (even more is the packet is already encrypted). 
 
Is this functionality implemented in any other Net-SNMP version? Any ideas 
about where this should be implemented?

Thanks,
Gabriel

-- Gabriel Sebastián del Blanco 
-- Motorola Software Group

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to