This is a discussion on AgentX Max Packet Size - BUG??? within the SNMP Users forums, part of the Networking and Network Related category; --===============1070740150== Content-Type: multipart/alternative; boundary="0-907499305-1190283658=:13215" --0-907499305-1190283658=:13215 Content-Type: text/plain; ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============1070740150==
Content-Type: multipart/alternative; boundary="0-907499305-1190283658=:13215" --0-907499305-1190283658=:13215 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi,=0A =0AI am developing an AgentX sub-agent using the net-SNMP library.= =0AThe sub-agent is working fine but I am unable to send large packets. Wh= en I looked at the source code (agentx\protocol.c), I have found out that t= he agentX has a packet size limit which is determined by BUFSIZ - 512 (BUFS= IZ is defined in the standard header file - stdio.h)=0A =0AIs this a bug? S= hould the packet size limit be equal to the client send/receive buffer or a= t least to the SNMP_MAX_MSG_SIZE (defined in snmp_api.h)?=0A =0A =0AMany th= anks,=0A =0AAlbert=0A=0A=0A __________________________________________= _________________ =0AWant ideas for reducing your carbon footprint? Visit Y= ahoo! For Good http://uk.promotions.yahoo.com/forgood/environment.html --0-907499305-1190283658=:13215 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable <html><head><style type=3D"text/css"><!-- DIV {margin:0px;} --></style></he= ad><body><div style=3D"font-family:arial, helvetica, sans-serif;font-size:1= 2pt"><DIV></DIV>=0A<DIV>Hi,</DIV>=0A<DIV> </DIV>=0A<DIV>I am developin= g an AgentX sub-agent using the net-SNMP library.</DIV>=0A<DIV>The sub-agen= t is working fine but I am unable to send large packets. When I = looked at the source code (agentx\protocol.c), I have found out that t= he agentX has a packet size limit which is determined by BUF= SIZ - 512 (BUFSIZ is defined in the standard header file - stdio.= h)</DIV>=0A<DIV> </DIV>=0A<DIV>Is this a bug? Should the packet size l= imit be equal to the client send/receive buffer or at least to the SNMP_MAX= _MSG_SIZE (defined in snmp_api.h)?</DIV>=0A<DIV> </DIV>=0A<DIV> <= /DIV>=0A<DIV>Many thanks,</DIV>=0A<DIV> </DIV>=0A<DIV>Albert<BR></DIV>= =0A<DIV></DIV></div><br>=0A=0A=0A <hr size=3D1> =0AFor ideas on reduci= ng your carbon footprint visit <a href=3D"http://uk.promotions.yahoo.com/fo= rgood/environment.html">Yahoo! For Good</a> this month.=0A</body></html> --0-907499305-1190283658=:13215-- --===============1070740150== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --===============1070740150== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users --===============1070740150==-- |