[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-bugs
Subject:    [ net-snmp-Bugs-409181 ] can't set more than 794 octets
From:       noreply () sourceforge ! net
Date:       2001-05-25 10:41:16
[Download RAW message or body]

Bugs item #409181, was updated on 2001-03-16 09:52
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=112694&aid=409181&group_id=12694

Category: apps
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 3
Submitted By: Nobody/Anonymous (nobody)
Assigned to: John Naylon (jbpn)
Summary: can't set more than 794 octets

Initial Comment:
snmpset can't set more than 794 octets as an octets 
string.  application crash

tested under ucd-snmp 4.1.1 and 4.2 under windows.

We need that to send a certificate to a Cable modem.


----------------------------------------------------------------------

>Comment By: John Naylon (jbpn)
Date: 2001-05-25 03:41

Message:
Logged In: YES 
user_id=93926

I'm closing this bug report since the Win32 issues don't
relate to the original subject line.

----------------------------------------------------------------------

Comment By: John Naylon (jbpn)
Date: 2001-05-14 02:37

Message:
Logged In: YES 
user_id=93926

Oh dear.  The Win32 port does sometimes break, since not
many of the developers have a very great interest in it.  I
don't normally build for Win32 myself.  You might like to
send an email to net-snmp-coders@lists.sourceforge.net about
this (and probably subscribe too).

----------------------------------------------------------------------

Comment By: Steve Malenfant (smalenfant)
Date: 2001-05-11 11:36

Message:
Logged In: YES 
user_id=194334

Wow... doesn't compile in Win32...  4.2.1 compile without 
any problem, but the latest CVS tree doesn't...  And I'm 
not sure it works on FreeBsd too...  On freebsd, it seems 
to compile but can't install...

Deleting intermediate files and output files for 
project 'libsnmp - Win32 Debug'.
--------------------Configuration: libsnmp - Win32 Debug----
----------------
Compiling...
asn1.c
c:\net-snmp\snmplib\asn1.c(2268) : warning C4244: '=' : 
conversion from 'unsigned long ' to 'unsigned char ', 
possible loss of data
c:\net-snmp\snmplib\asn1.c(2275) : warning C4244: '=' : 
conversion from 'unsigned long ' to 'unsigned char ', 
possible loss of data
c:\net-snmp\snmplib\asn1.c(2301) : warning 
C4090: 'function' : different 'const' qualifiers
c:\net-snmp\snmplib\asn1.c(2301) : warning 
C4024: 'debugmsg_oid' : different types for formal and 
actual parameter 2
callback.c
default_store.c
int64.c
keytools.c
lcd_time.c
md5.c
mib.c
mt_support.c
parse.c
read_config.c
scapi.c
snmp.c
snmp_alarm.c
c:\net-snmp\snmplib\snmp_alarm.c(77) : warning 
C4013: 'gettimeofday' undefined; assuming extern returning 
int
snmp_api.c
c:\net-snmp\snmplib\snmp_api.c(1082) : warning C4018: '<' : 
signed/unsigned mismatch
c:\net-snmp\snmplib\snmp_api.c(1349) : warning 
C4013: 'usm_get_user_from_list' undefined; assuming extern 
returning int
c:\net-snmp\snmplib\snmp_api.c(1352) : warning 
C4013: 'usm_get_userList' undefined; assuming extern 
returning int
c:\net-snmp\snmplib\snmp_api.c(1352) : warning 
C4047: '=' : 'struct usmUser *' differs in levels of 
indirection from 'int '
c:\net-snmp\snmplib\snmp_api.c(1356) : error C2027: use of 
undefined type 'usmUser'
        c:\net-snmp\snmplib\snmp_api.c(1344) : see 
declaration of 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1362) : error C2037: left 
of 'name' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1363) : error C2037: left 
of 'secName' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1364) : error C2037: left 
of 'name' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1364) : error C2037: left 
of 'secName' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1365) : warning 
C4013: 'usm_free_user' undefined; assuming extern returning 
int
c:\net-snmp\snmplib\snmp_api.c(1371) : error C2037: left 
of 'engineID' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1371) : warning 
C4047: 'function' : 'unsigned char ** ' differs in levels 
of indirection from 'unsigned char *'
c:\net-snmp\snmplib\snmp_api.c(1371) : warning 
C4024: 'memdup' : different types for formal and actual 
parameter 1
c:\net-snmp\snmplib\snmp_api.c(1372) : warning 
C4047: 'function' : 'const unsigned char *' differs in 
levels of indirection from 'unsigned int '
c:\net-snmp\snmplib\snmp_api.c(1372) : warning 
C4024: 'memdup' : different types for formal and actual 
parameter 2
c:\net-snmp\snmplib\snmp_api.c(1372) : error 
C2198: 'memdup' : too few actual parameters
c:\net-snmp\snmplib\snmp_api.c(1376) : error C2037: left 
of 'engineIDLen' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1382) : error C2037: left 
of 'authProtocol' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1382) : error C2037: left 
of 'authProtocol' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1382) : error 
C2198: 'free' : too few actual parameters
c:\net-snmp\snmplib\snmp_api.c(1382) : error C2037: left 
of 'authProtocol' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1383) : error C2037: left 
of 'authProtocol' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1386) : error C2037: left 
of 'authProtocol' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1390) : error C2037: left 
of 'authProtocolLen' specifies undefined 
struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1395) : error C2037: left 
of 'privProtocol' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1395) : error C2037: left 
of 'privProtocol' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1395) : error 
C2198: 'free' : too few actual parameters
c:\net-snmp\snmplib\snmp_api.c(1395) : error C2037: left 
of 'privProtocol' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1396) : error C2037: left 
of 'privProtocol' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1399) : error C2037: left 
of 'privProtocol' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1403) : error C2037: left 
of 'privProtocolLen' specifies undefined 
struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1408) : error C2037: left 
of 'authKey' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1408) : error C2037: left 
of 'authKey' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1408) : error 
C2198: 'free' : too few actual parameters
c:\net-snmp\snmplib\snmp_api.c(1408) : error C2037: left 
of 'authKey' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1409) : error C2037: left 
of 'authKey' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1410) : error C2037: left 
of 'authKey' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1414) : error C2037: left 
of 'authKeyLen' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1415) : error C2037: left 
of 'authProtocol' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1415) : error C2037: left 
of 'authProtocolLen' specifies undefined 
struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1416) : warning 
C4133: 'function' : incompatible types - from 'unsigned 
char *' to 'unsigned long *'
c:\net-snmp\snmplib\snmp_api.c(1418) : error C2037: left 
of 'authKey' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1418) : error C2037: left 
of 'authKeyLen' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1418) : error 
C2198: 'generate_kul' : too few actual parameters
c:\net-snmp\snmplib\snmp_api.c(1426) : error C2037: left 
of 'privKey' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1426) : error C2037: left 
of 'privKey' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1426) : error 
C2198: 'free' : too few actual parameters
c:\net-snmp\snmplib\snmp_api.c(1426) : error C2037: left 
of 'privKey' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1427) : error C2037: left 
of 'privKey' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1428) : error C2037: left 
of 'privKey' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1432) : error C2037: left 
of 'privKeyLen' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1433) : error C2037: left 
of 'authProtocol' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1433) : error C2037: left 
of 'authProtocolLen' specifies undefined 
struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1434) : warning 
C4133: 'function' : incompatible types - from 'unsigned 
char *' to 'unsigned long *'
c:\net-snmp\snmplib\snmp_api.c(1436) : error C2037: left 
of 'privKey' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1436) : error C2037: left 
of 'privKeyLen' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1436) : error 
C2198: 'generate_kul' : too few actual parameters
c:\net-snmp\snmplib\snmp_api.c(1442) : error C2037: left 
of 'userStatus' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1443) : error C2037: left 
of 'userStorageType' specifies undefined 
struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1447) : warning 
C4013: 'usm_add_user' undefined; assuming extern returning 
int
c:\net-snmp\snmplib\snmp_api.c(1609) : warning 
C4013: 'usm_get_user' undefined; assuming extern returning 
int
c:\net-snmp\snmplib\snmp_api.c(1609) : warning 
C4047: '=' : 'struct usmUser *' differs in levels of 
indirection from 'int '
c:\net-snmp\snmplib\snmp_api.c(1611) : error C2027: use of 
undefined type 'usmUser'
        c:\net-snmp\snmplib\snmp_api.c(1596) : see 
declaration of 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1617) : error C2037: left 
of 'name' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1618) : error C2037: left 
of 'secName' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1619) : error C2037: left 
of 'authProtocolLen' specifies undefined 
struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1620) : error C2037: left 
of 'authProtocol' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1621) : error C2037: left 
of 'authProtocolLen' specifies undefined 
struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1621) : error 
C2198: 'snmp_duplicate_objid' : too few actual parameters
c:\net-snmp\snmplib\snmp_api.c(1622) : error C2037: left 
of 'privProtocolLen' specifies undefined 
struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1623) : error C2037: left 
of 'privProtocol' specifies undefined struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1624) : error C2037: left 
of 'privProtocolLen' specifies undefined 
struct/union 'usmUser'
c:\net-snmp\snmplib\snmp_api.c(1624) : error 
C2198: 'snmp_duplicate_objid' : too few actual parameters
c:\net-snmp\snmplib\snmp_api.c(4517) : warning C4018: '>' : 
signed/unsigned mismatch
c:\net-snmp\snmplib\snmp_api.c(5382) : warning 
C4018: '<=' : signed/unsigned mismatch
c:\net-snmp\snmplib\snmp_api.c(5382) : warning 
C4018: '<=' : signed/unsigned mismatch
c:\net-snmp\snmplib\snmp_api.c(5394) : warning 
C4090: 'function' : different 'const' qualifiers
c:\net-snmp\snmplib\snmp_api.c(5394) : warning 
C4024: 'snmp_pdu_add_variable' : different types for formal 
and actual parameter 5
c:\net-snmp\snmplib\snmp_api.c(5451) : warning 
C4018: '>=' : signed/unsigned mismatch
snmp_auth.c
snmp_client.c
snmp_debug.c
c:\net-snmp\snmplib\snmp_client.c(609) : warning C4761: 
integral size mismatch in argument; conversion supplied
c:\net-snmp\snmplib\snmp_client.c(618) : warning C4761: 
integral size mismatch in argument; conversion supplied
snmp_logging.c
snmpusm.c
snmpv3.c
system.c
tools.c
vacm.c
Error executing cl.exe.

snmp_d.lib - 59 error(s), 27 warning(s)

----------------------------------------------------------------------

Comment By: John Naylon (jbpn)
Date: 2001-05-11 10:03

Message:
Logged In: YES 
user_id=93926

Hmm... I had the impression that there was a nightly
tarball, but I can now not find any references to it. 
Sorry!

----------------------------------------------------------------------

Comment By: Steve Malenfant (smalenfant)
Date: 2001-05-11 09:54

Message:
Logged In: YES 
user_id=194334

You will probably say I'm stupid, but I can't make the CVS 
thing to work...  Is it possible to get all the newest 
source code available somewhere or send it by e-mail.  Is 
there a way to communicate directly?

----------------------------------------------------------------------

Comment By: John Naylon (jbpn)
Date: 2001-05-11 07:41

Message:
Logged In: YES 
user_id=93926

Hi,

  I've committed code to remove the use of fixed-length
buffers in mib.c, which is what was causing your problems. 
If you feel like checking out the latest CVS code and trying
it out, I would be very interested to hear of your
experiences.  Issues probably still remain in snmp_debug.c,
so please try with debugging off initially.

John

----------------------------------------------------------------------

Comment By: John Naylon (jbpn)
Date: 2001-05-09 02:15

Message:
Logged In: YES 
user_id=93926

I am working on it!  I'm not keen on simply extending
SPRINT_MAX_LEN because it feels "wasteful", and even then
does not solve the problem: whatever size you pick, you can
cause to overflow.  One solution is to use reallocating
buffers all over the place, and this is what I am
implementing.  However, it's not a trivial change, and it is
taking some time.

Re: setting large octet values, you could consider writing
your own tool.  Start with snmpset.c and write a program
that takes a command-line argument that is a file which it
opens to get the OCTET STRING value for a SET operation.  I
don't really believe this functionality belongs in snmpset.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2001-05-08 20:41

Message:
Logged In: NO 

Since that thing worked for week...  Is there someone that 
could really look deep into it and see if we can enlarge 
that SPRINT_MAX_LEN?  Why is this a fix length?

And, as an enhancement, when we specify "x" or "s" as a set 
type, could we take the value of "s" from a text file and 
the value of "x" from a binary file?  Cause sending more 
than 2000 caracter (1000 bytes) on the command line has 
some problem with Windows.

----------------------------------------------------------------------

Comment By: John Naylon (jbpn)
Date: 2001-04-16 06:50

Message:
Logged In: YES 
user_id=93926

Glad it worked for you!

Notes:

  - snmp_add_var in snmp_api.c cannot cope with
    large valued OIDs or OCTET STRINGs

  - snmp_debug.c can't cope with large OIDs or
    OCTET STRINGs

  - mib.c looks suspicious.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2001-04-12 08:56

Message:
Logged In: NO 

that worked!!!

I doubled the value!!!

/* #define SPRINT_MAX_LEN		2560 */
#define SPRINT_MAX_LEN		5120

It was crashing before with and without the -d!

thank you all!  we are in business now!

----------------------------------------------------------------------

Comment By: John Naylon (jbpn)
Date: 2001-04-12 03:00

Message:
Logged In: YES 
user_id=93926

Thanks for follwing up.

Does the crash occur if you don't supply the "-d" option on
the command line?

As a quick experiment, you could also try changing the
definition of SPRINT_MAX_LEN in snmp_impl.h to something
larger and recompiling.


----------------------------------------------------------------------

Comment By: John Naylon (jbpn)
Date: 2001-04-12 02:53

Message:
Logged In: YES 
user_id=93926

Thanks for follwing up.

Does the crash occur if you don't supply the "-d" option on
the command line?

As a quick experiment, you could also try changing the
definition of SPRINT_MAX_LEN in snmp_impl.h to something
larger and recompiling.


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2001-04-11 14:33

Message:
Logged In: NO 

And version 4.2.1 doesn't fix this....

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2001-04-11 14:33

Message:
Logged In: NO 

I'm sorry about the explanation...  I'm french so...  
Remember, this is in Windows.  Seems that Unix doesn't 
crash (not sure about that).  And I didn't follow up, but 
now I will monitor this discussion.

When we get or set a string of higher than 1588 caracters
(file on disk 794 bytes).  snmpget, snmpwalk or set will 
crash on set or get.

Here is the mib object :
   docsBpi2CmtsAuthBpkmCmCert    OBJECT-TYPE
        SYNTAX    X509Certificate
        MAX-ACCESS     read-only
        STATUS    current
        DESCRIPTION
             "The X509 CM Certificate sent as part of a BPKM
        Authorization Request.
        Note: The NULL string must be returned if the entire
        certificate is not retained in the CMTS."
        REFERENCE
             "DOCSIS Baseline Privacy Plus Interface 
Specification,
        Section 9.2."
        ::= { docsBpi2CmtsAuthEntry 21 }


Description of x509Certificate :

   X509Certificate ::= TEXTUAL-CONVENTION
        STATUS    current
        DESCRIPTION
            "An X509 digital certificate encoded as an 
ASN.1 DER
        object."
        SYNTAX    OCTET STRING (SIZE (0..1487))

When we access a get or set a X509Certificate, when we have 
more than 794 octets (bytes).  it will crash

command line example :

snmpwalk -m all -Oqs 10.11.124.16 public 
docsBpi2CmtsAuthBpkmCmCert

windows application popup will appear and say :
snmpwalk.exe has generated an error blablabla

with snmpwalk -d I get this :

C:\>snmpwalk -d -m all -Oqs 10.11.85.3 public 
docsBpi2CmtsAuthBpkmCmCert

Sending 46 bytes to 10.11.85.3:161
0000: 30 2C 02 01  00 04 06 70  75 62 6C 69  63 A1 1F 02    
0,.....public...
0016: 02 23 41 02  01 00 02 01  00 30 13 30  11 06 0D 
2B    .#A......0.0...+
0032: 06 01 02 01  0A 7F 06 01  02 02 01 15  05 
00          ..............


Received 974 bytes from 10.11.85.3:161
0000: 30 82 03 CA  02 01 00 04  06 70 75 62  6C 69 63 A2    
0........public.
0016: 82 03 BB 02  02 23 41 02  01 00 02 01  00 30 82 
03    .....#A......0..
0032: AD 30 82 03  A9 06 16 2B  06 01 02 01  0A 7F 06 
01    .0.....+........
0048: 02 02 01 15  05 00 10 81  15 07 81 10  0F 04 82 
03    ................
0064: 8D 30 82 03  89 30 82 02  71 A0 03 02  01 02 02 
04    .0...0..q.......
0080: 38 9E 91 77  30 0D 06 09  2A 86 48 86  F7 0D 01 01    
8..w0...*.H.....
0096: 05 05 00 30  81 AF 31 0B  30 09 06 03  55 04 06 
13    ...0..1.0...U...
0112: 02 55 53 31  1B 30 19 06  03 55 04 0A  13 12 54 
68    .US1.0...U....Th
0128: 6F 6D 73 6F  6E 20 4D 75  6C 74 69 4D  65 64 69 61    
omson MultiMedia
0144: 31 0F 30 0D  06 03 55 04  0B 13 06 44  4F 43 53 49    
1.0...U....DOCSI
0160: 53 31 2E 30  2C 06 03 55  04 0B 13 25  31 30 31 20    
S1.0,..U...%101
0176: 57 65 73 74  20 31 30 33  72 64 20 53  74 72 65 65    
West 103rd Stree
0192: 74 20 49 6E  64 69 61 6E  61 70 6F 6C  69 73 20 49    
t Indianapolis I
0208: 4E 31 42 30  40 06 03 55  04 03 13 39  54 68 6F 6D    
N1B0@..U...9Thom
0224: 73 6F 6E 20  4D 75 6C 74  69 4D 65 64  69 61 20 43    
son MultiMedia C
0240: 61 62 6C 65  20 4D 6F 64  65 6D 20 52  6F 6F 74 20    
able Modem Root
0256: 43 65 72 74  69 66 69 63  61 74 65 20  41 75 74 68    
Certificate Auth
0272: 6F 72 69 74  79 30 1E 17  0D 30 30 31  30 32 35 30    
ority0...0010250
0288: 30 33 38 30  36 5A 17 0D  32 30 31 30  32 35 30 37    
03806Z..20102507
0304: 30 39 33 39  5A 30 81 8F  31 0B 30 09  06 03 55 04    
0939Z0..1.0...U.
0320: 06 13 02 55  53 31 1B 30  19 06 03 55  04 0A 13 
12    ...US1.0...U....
0336: 54 68 6F 6D  73 6F 6E 20  4D 75 6C 74  69 4D 65 64    
Thomson MultiMed
0352: 69 61 31 2E  30 2C 06 03  55 04 0B 13  25 31 30 31    
ia1.0,..U...%101
0368: 20 57 65 73  74 20 31 30  33 72 64 20  53 74 72 
65     West 103rd Stre
0384: 65 74 20 49  6E 64 69 61  6E 61 70 6F  6C 69 73 20    
et Indianapolis
0400: 49 4E 31 17  30 15 06 03  55 04 03 13  0E 32 30 36    
IN1.0...U....206
0416: 30 31 30 34  33 33 34 35  34 31 33 31  1A 30 18 06    
010433454131.0..
0432: 03 55 04 03  13 11 30 30  3A 31 30 3A  39 35 3A 
30    .U....00:10:95:0
0448: 37 3A 39 30  3A 30 46 30  81 9F 30 0D  06 09 2A 86    
7:90:0F0..0...*.
0464: 48 86 F7 0D  01 01 01 05  00 03 81 8D  00 30 81 89    
H............0..
0480: 02 81 81 00  BF 9B E2 EC  A3 4B 15 B8  AB D2 AC 
D2    .........K......
0496: 25 A3 80 4D  89 EC 93 EF  59 5B CA 59  E5 69 06 3F    
%..M....Y[.Y.i.?
0512: 2C 11 B9 F8  52 5F BF A4  76 F1 01 F9  31 FB 15 
27    ,...R_..v...1..'
0528: CC 0C E5 A7  D9 AD F0 0C  3B E1 DD 12  6F 3B 3F 
0B    ........;...o;?.
0544: B8 5C EC 6F  B0 88 A4 A7  4F 6B F7 6D  BE 9A 86 
18    .\.o....Ok.m....
0560: 88 C0 48 F8  36 50 9E 5F  71 91 DE 1C  01 4C E6 
92    ..H.6P._q....L..
0576: 3E 59 E3 5D  9F F3 AB F3  45 35 2A 61  E1 89 11 C1    
>Y.]....E5*a....
0592: 78 05 AB 50  11 F8 5C 97  51 14 BE 23  33 A6 77 8E    
x..P..\.Q..#3.w.
0608: EC BA 20 ED  02 03 01 00  01 A3 4F 30  4D 30 0B 
06    .. .......O0M0..
0624: 03 55 1D 0F  04 04 03 02  03 28 30 1F  06 03 55 
1D    .U.......(0...U.
0640: 23 04 18 30  16 80 14 3B  B0 D7 32 DE  39 4E B3 14    
#..0...;..2.9N..
0656: 90 B6 22 15  2B 50 E1 A4  9A 3A 44 30  1D 06 03 
55    ..".+P...:D0...U
0672: 1D 0E 04 16  04 14 32 EA  16 D0 64 90  47 F5 97 
3C    ......2...d.G..<
0688: 49 34 2C 0E  DF 78 B0 C6  EB D1 30 0D  06 09 2A 86    
I4,..x....0...*.
0704: 48 86 F7 0D  01 01 05 05  00 03 82 01  01 00 B1 9C    
H...............
0720: C2 7C 7B 21  7E 77 CD 0B  CC F1 4F 23  E9 DF F8 
18    .|{!~w....O#....
0736: DB 41 D7 A9  B5 BF 2D B9  F7 29 42 F0  CA C9 70 
51    .A....-..)B...pQ
0752: 36 C1 AD 54  B1 2C 27 34  94 66 56 C1  50 A1 41 BB    
6..T.,'4.fV.P.A.
0768: EC F2 4B E2  5D A7 46 33  B9 24 01 8F  4E 2B AD 
67    ..K.].F3.$..N+.g
0784: 6D A1 8C 56  39 E9 DD 76  EF 5E EF 14  87 F3 E5 DB    
m..V9..v.^......
0800: 2A 9F E2 22  85 2B C5 F9  A5 7F F3 93  AD 18 1D 2F    
*..".+........./
0816: 0F 89 FE 1E  B7 DB AA 3D  0E 82 EF BC  1B 24 63 
F2    .......=.....$c.
0832: 65 8A B6 0F  ED A3 C8 B4  22 03 39 8E  53 00 89 AC    
e.......".9.S...
0848: 11 89 C8 0A  02 A0 3B 72  A8 33 0E 71  07 91 1D 
43    ......;r.3.q...C
0864: 81 54 79 89  3A 34 C6 B5  8F 98 15 E7  23 02 05 
0A    .Ty.:4......#...
0880: 44 6D CE 52  2C 42 A2 6D  A8 16 4C 19  39 CF 88 D9    
Dm.R,B.m..L.9...
0896: 5C 0E 55 15  A5 FF 4D A5  CC 81 63 0A  42 49 98 67    
\.U...M...c.BI.g
0912: 21 46 67 34  AD 99 D5 66  12 CC C9 AC  3F C9 98 
42    !Fg4...f....?..B
0928: 9F 35 E9 1F  27 89 5B 55  77 4C AC 4D  97 64 3B 
9C    .5..'.[UwL.M.d;.
0944: 75 6B 1B E2  42 64 1F DB  CC 03 95 00  99 6B C0 F8    
uk..Bd.......k..
0960: E3 02 D1 48  B0 37 BD 89  45 CA F4 F2  78 
F9          ...H.7..E...x.

Hope this is clear... please send me an e-mail to know 
more...

Steve

----------------------------------------------------------------------

Comment By: John Naylon (jbpn)
Date: 2001-04-05 04:08

Message:
Logged In: YES 
user_id=93926

Please could you supply the *exact* command line you are
using.  I can see where a problem may be arising.

----------------------------------------------------------------------

Comment By: Wes Hardaker (hardaker)
Date: 2001-04-04 07:41

Message:
Logged In: YES 
user_id=76242

A couple of bugs have been fixed that *may* (or may not)
have fixed this problem.  When 4.2.1 is released (probably
later today), can you see if it fixes the problem for you?

----------------------------------------------------------------------

Comment By: Dave Shield (dts12)
Date: 2001-03-19 08:59

Message:
Logged In: YES 
user_id=88893

I've managed to SET a string of length 840, without
too much trouble.  (I had to fudge the MIB-defined
range, and bump up the internal storage within the
agent, but that's only 'cos I was using sysLocation).

Is it the agent, or the application that doesn't like
this?  Does the request get sent out, or not?
(Try 'snmpset -d' to tell)

Dave

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=112694&aid=409181&group_id=12694

_______________________________________________
Net-snmp-bugs mailing list
Net-snmp-bugs@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/net-snmp-bugs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic