It seems there is a bug in agentX for exceed maximum packet size (verion
5.0.9). 

Does anybody have a clue and fix?

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Fong
Tsui
Sent: Monday, September 26, 2005 12:04 PM
To: [email protected]
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, 

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 = 0x7fffffff;

For udp (snmplib/snmpUDPDomain.c)
    t->msgMaxSize = 0xffff - 8 - 20;
For udp (snmplib/snmpUDPIPv6Domain.c)
    t->msgMaxSize = 0xffff - 8 - 40;

For unix (snmplib/snmpUnixDomain.c)
    t->msgMaxSize = 0x7fffffff;


Thanks,

FT




-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-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
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to