Ethereal-dev: Re: [ethereal-dev] Bugs in ncp2222.py

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Sun, 3 Sep 2000 22:31:45 -0400
On Sun, Sep 03, 2000 at 12:54:38PM +0200, Marcel Cox wrote:
> 
> This should be
> 
> >>>>>>>>>>>>
> # 2222/1737
> pkt = NCP(0x1737, "Scan Bindery Object", 'bindery')
> pkt.Request((17,64), [
>         [ 10, 4, ObjectID ],
>         [ 14, 2, ObjectType ],
>         [ 16, (1,48), ObjectName ],
> ])
> >>>>>>>>>>>><

Thanks. I'll put in some code in ncp.py to check for silly
mistakes like that.
 
> I have not verified the correctness of this NCP call, but the reply definition 
> is quite different from Novell's official definition:
> http://developer.novell.com/ndk/doc/docui/index.htm#../ncp/ncp__enu/data/a1wwxd7.htm^a1wwxd7

I'll take a look at those; until last week I did not know that
any official documentation existed. As noted in the comments at the
top of ncp2222.py, I had been using "Programmer's Guide to the
NetWare Core Protocol". But of course I'd trust Novell's documentation
more than the reverse-engineered data in the book.
 
> 
> More generally, I notice that only very few NCP decodes have been implemented so far.
> Do you need any help implementing the hundreds is missing NCP functions ?
> 
> MArcel

Oh yes!!!!! I haven't reviewed the official documentation at
developer.novell.com yet; perhaps it's in a rigourous format such that
we could write a program to extract the data from te website and convert it
to ncp2222.py-format.


--gilbert