[tkined] Fix to trap processing, scotty 3.0.0 beta, November 1998 version

Peder Chr. Norgaard (pcn@tbit.dk)
Thu, 6 May 1999 21:19:41 +0200 (MET DST)

This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.

---559023410-851401618-926018381=:26693
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: 8BIT

Hi.
Phew. this took me almost a day to figure out. On the bright
side, now I know more about Tcl and Tcl Channels than before.

Why would scotty3 accept the BER encoding of my SNMP Responses but
not my SNMP Traps? The answer is of course, scotty does not parse my
Traps; it parses my Traps with CRs converted to LFs :-(

And the msgGlobalData of my test traps is exactly 13 bytes long...

best regards
--peder chr.

Peder Chr. Nørgaard System Developer, M. Sc.
Telebit Communications A/S tel: +45 86 28 81 77 - 49
Fabrikvej 11 fax: +45 86 28 81 86
DK-8260 Viby J Denmark e-mail: pcn@tbit.dk

---559023410-851401618-926018381=:26693
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=scottypatch
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.GSO.4.10.9905062119410.26693@mailhostnew.tbit.dk>
Content-Description: Patch to scotty 3.0.0 beta
Content-Disposition: attachment; filename=scottypatch

KioqIHVuaXgvdG5tVW5peFNubXAuYwlUaHUgTWF5ICA2IDE1OjU0OjM0IDE5
OTkNCi0tLSB1bml4L3RubVVuaXhTbm1wLmN+CVdlZCBPY3QgMjggMTY6MzM6
MDMgMTk5OA0KKioqKioqKioqKioqKioqDQoqKiogMTQxLDE0OCAqKioqDQog
IAkgICAgcmV0dXJuIFRDTF9FUlJPUjsNCiAgCX0NCiAgICAgIH0NCiEgDQoh
ICAgICBUY2xfU2V0Q2hhbm5lbE9wdGlvbiAoaW50ZXJwLCB0cmFwX2NoYW5u
ZWwsICItdHJhbnNsYXRpb24iLCAiYmluYXJ5Iik7DQogICAgICBUY2xfUmVn
aXN0ZXJDaGFubmVsKChUY2xfSW50ZXJwICopIE5VTEwsIHRyYXBfY2hhbm5l
bCk7DQogICAgICBUY2xfQ3JlYXRlQ2hhbm5lbEhhbmRsZXIodHJhcF9jaGFu
bmVsLCBUQ0xfUkVBREFCTEUsDQogIAkJCSAgICAgVHJhcFByb2MsIChDbGll
bnREYXRhKSBpbnRlcnApOw0KLS0tIDE0MSwxNDcgLS0tLQ0KICAJICAgIHJl
dHVybiBUQ0xfRVJST1I7DQogIAl9DQogICAgICB9DQohICAgICANCiAgICAg
IFRjbF9SZWdpc3RlckNoYW5uZWwoKFRjbF9JbnRlcnAgKikgTlVMTCwgdHJh
cF9jaGFubmVsKTsNCiAgICAgIFRjbF9DcmVhdGVDaGFubmVsSGFuZGxlcih0
cmFwX2NoYW5uZWwsIFRDTF9SRUFEQUJMRSwNCiAgCQkJICAgICBUcmFwUHJv
YywgKENsaWVudERhdGEpIGludGVycCk7DQo=
---559023410-851401618-926018381=:26693--

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