RE: Maximum packet size exceeded in a request

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 ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-26-2005
Fong Tsui
 
Posts: n/a
Default RE: Maximum packet size exceeded in a request

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:07 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0