This is a discussion on RE: Maximum packet size exceeded in a request within the SNMP Coders forums, part of the Networking and Network Related category; It seems there is a bug in agentX for exceed maximum packet size (verion 5.0.9).=20 Does anybody ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
It seems there is a bug in agentX for exceed maximum packet size (verion
5.0.9).=20 Does anybody have a clue and fix? -----Original Message----- From: net-snmp-coders-admin@lists.sourceforge.net [mailto:net-snmp-coders-admin@lists.sourceforge.net] On Behalf Of Fong Tsui Sent: Monday, September 26, 2005 12:04 PM To: net-snmp-coders@lists.sourceforge.net Subject: Maximum packet size exceeded in a request Does anybody know in what situation "Maximum packet size exceeded in a request" from _sess_read() in snmp_api.c could happen? Is following related? Here is what I found,=20 msgMaxSize is set different between udp and tcp. Is it supposed to be the same? For tcp (in both snmplib/snmpTCPDomain.c and snmplib/snmpTCPDomain.c), it sets t->msgMaxSize =3D 0x7fffffff; For udp (snmplib/snmpUDPDomain.c) t->msgMaxSize =3D 0xffff - 8 - 20; For udp (snmplib/snmpUDPIPv6Domain.c) t->msgMaxSize =3D 0xffff - 8 - 40; For unix (snmplib/snmpUnixDomain.c) t->msgMaxSize =3D 0x7fffffff; Thanks, FT ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server.=20 Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |