AgentX Max Packet Size - BUG???

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


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-20-2007
ALBERT BEZZINA
 
Posts: n/a
Default AgentX Max Packet Size - BUG???

--===============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>&nbsp;</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&nbsp;I am unable to send large packets.&nbsp; When I =
looked at the source code&nbsp;(agentx\protocol.c), I have found out that t=
he agentX has&nbsp;a&nbsp;packet size limit which is determined by&nbsp;BUF=
SIZ&nbsp;- 512 (BUFSIZ is defined in the standard header file -&nbsp;stdio.=
h)</DIV>=0A<DIV>&nbsp;</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>&nbsp;</DIV>=0A<DIV>&nbsp;<=
/DIV>=0A<DIV>Many thanks,</DIV>=0A<DIV>&nbsp;</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==--

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 06:04 AM.


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