Re: [tkined] new scotty-3.0.0 snapshot available

Simon Chow (skchow@cisco.com)
Wed, 28 Apr 1999 16:37:36 -0500

Juergen,

I recently started to play with Scotty 3.0.0, specifically the SNMPv3
usm stuff, I was not able to get authentication working, when I
dig through the email archive, i found this email which state that
the authen/priv stuff is not supported yet. Any time frame
on usm support?

I also notice a problem with the way Scotty command generator
handles REPORT, this may be a know issue, but I will mention
it anyway, when I send a SNMP request with authentication
enabled, the agent sends back a REPORT indicating
usmStatsWrongDigests, however, Scotty crash when it sees
a REPORT being send to the generator.

-address = 172.22.148.3
-port = 161
-version = SNMPv3
-user = snmpv3user
-readAuthKey = <binary info - deleted>
-authPassWord = snmpv3user
-privPassWord = privat
-readSecurity = md5/noPriv
-writeSecurity = noAuth/noPriv
-timeout = 5
-retries = 3
-window = 10
-delay = 0
get 1324 noError
1. sysUpTime.0
[0.0.0.0:60345] -> [172.22.148.3:161] (119 bytes):
30:75:02:01:03:30:0E:02:02:05:2C:02:02:08:00:04
01:05:02:01:03:04:32:30:30:04:0C:00:00:00:09:02
00:00:E0:FE:BA:14:00:02:01:00:02:01:00:04:0A:73
6E:6D:70:76:33:75:73:65:72:04:0C:00:00:00:00:00
00:00:00:00:00:00:00:04:00:30:2C:04:0C:00:00:00
09:02:00:00:E0:FE:BA:14:00:04:00:A0:1A:02:02:05
2C:02:01:00:02:01:00:30:0E:30:0C:06:08:2B:06:01
02:01:01:03:00:05:00
[172.22.148.3:161] -> [0.0.0.0:60345] (112 bytes):
30:6E:02:01:03:30:0E:02:02:05:2C:02:02:08:00:04
01:08:02:01:03:04:28:30:26:04:0C:00:00:00:09:02
00:00:E0:FE:BA:14:00:02:01:07:02:03:01:1D:32:04
0A:73:6E:6D:70:76:33:75:73:65:72:04:00:04:00:30
2F:04:0C:00:00:00:09:02:00:00:E0:FE:BA:14:00:04
00:A8:1D:02:02:05:2C:02:01:00:02:01:00:30:11:30
0F:06:0A:2B:06:01:06:03:0F:01:01:05:00:41:01:0E
report 1324 noError
1. 1.3.6.1.6.3.15.1.1.5.0 Counter32 14
{1.3.6.1.6.3.15.1.1.5.0 Counter32 14}
Tcl_SetStringObj called with shared object
Abort - core dumped

/Simon Chow

At 08:06 PM 11/4/98 +0100, Juergen Schoenwaelder wrote:
>
>There is a new snapshot available. The most important changes:
>
>o Works with Tcl8.0.3 now.
>
>o Cached MIB files are now stored in a cache which is located in the
> users home directory (can be overwritten by setting tnm(cache))
> instead of a shared directory. (This avoids some nasty problems with
> access rights.)
>
>o There are two new mib commands:
>
> Tnm::mib pack oid value ?value ...?
> The Tnm::mib pack command allows to construct object
> identifier values for elements in conceptual tables.
> The oid argument identifies a conceptual row. The
> values are used to build a instance identifier accord-
> ing to the object type definitions of the index com-
> ponents. The command returns the complete object iden-
> tifer needed to access the element identified by the
> values.
>
> Tnm::mib unpack oid
> The Tnm::mib unpack command extracts the instance iden-
> tification information from the object identifer value
> oid which indentifies an element in a conceptual table.
> This command allows to access values for auxiliary
> index objects that are defined to be not-accessible.
> The command returns the list of values that identify
> the instance in the same order as the result of the
> corresponding Tnm::mib index" command. The values are
> rendered according to the object type definition for
> the index components.
>
>o Tcl library functions have been rewritten to use these commands
> in order to extract and display the index of arbitrary tables.
>
>o Some other library functions have been rewritten to honor some
> SNMP error codes. (This makes it faster to retrieve groups of
> scalars where the agent does not implement all scalars or some
> scalars are not accessible due to access control.)
>
>o We think we have found and fixed the "discover is so slow on
> Windows" problem. The problem was actually in the command to
> create sessions rather in the message processing code. (Erik
> deserves a big beer for hunting this bug!)
>
>You can find the Windows binary snapshot as well as the UNIX and
>Windows sources at the usual place:
>
> ftp://ftp.ibr.cs.tu-bs.de/pub/local/tkined/devel/
>
>The files are:
>
> scotty-98-10-30-win.zip
> scotty-98-11-04.tar.gz
>
>(The Windows snapshot is slightly older but this should not cause any
>serious problems.) The next snapshot will have a major rewrite of the
>internals of the SNMP engine. It will use Tcl_Objs internally in order
>to make the code shorter and hopefully even more efficient. Once this
>is in place and debugged, we will be able to complete authentication
>and privacy for SNMPv3.
> Juergen
>
>Juergen Schoenwaelder schoenw@ibr.cs.tu-bs.de http://www.cs.tu-bs.de/~schoenw
>Technical University Braunschweig, Dept. Operating Systems & Computer Networks
>Bueltenweg 74/75, 38106 Braunschweig, Germany. (Tel. +49 531 / 391 3289)
>--
>!! This message is brought to you via the `tkined & scotty' mailing list.
>!! Please do not reply to this message to unsubscribe. To subscribe or
>!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
>!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.