aboutsummaryrefslogtreecommitdiffstats
path: root/ncp2222.py
Commit message (Collapse)AuthorAgeFilesLines
* From Greg Morris:Guy Harris2003-08-251-50/+147
| | | | | | | | | | | | | | | 1. Added Secret Store Services group 2. Added a number of NCP return values 3. Added support for NDS defragmentation 4. Fixed type from file to bindery on ncp's 23/20, 23/21, 23/22, 23/24, 23/27, 23/28, 23/29, 23/30, and 23/31 5. Fixed type from comm to nmas on ncp 91 6. Fixed ncp 92 to include 92/01, 92/02, 92/03, 92/04, 92/05, 92/06, 92/07, 92/08, 92/09, and 92/10 7. Added return value for 104/02 8. Fixed reply structures for NCP 123/60 and NCP 123/79 svn path=/trunk/; revision=8256
* Add some missing entries to "ncp_nds_verb_vals[]".Guy Harris2003-07-211-1/+3
| | | | svn path=/trunk/; revision=8059
* Use "ncp_nds_verb_vals" for the NDS Verb item.Guy Harris2003-07-201-2/+2
| | | | svn path=/trunk/; revision=8056
* SetCmdValueNum needs to be used with a fixed length, not -1. Thus,Gilbert Ramirez2003-06-111-3/+3
| | | | | | use rec() instead of srec(). svn path=/trunk/; revision=7847
* Get rid of trailing white space.Guy Harris2003-06-051-1087/+1090
| | | | | | | | | | | Fix a spelling error. Don't use lengths with ASCIIZ strings, as "proto_tree_add_item()" will, with a specified length, attempt to fetch the specified number of bytes for an FT_STRINGZ string, throwing an exception of there aren't that many bytes present. svn path=/trunk/; revision=7786
* From Greg Morris: change the endianness of CCFilehandle to match otherGuy Harris2003-05-021-2/+2
| | | | | | NCP's. svn path=/trunk/; revision=7633
* From Greg Morris:Guy Harris2003-04-251-18/+31
| | | | | | | | | NCP 123,62 did not display value for the set command. Set default value to guint32. Add some stuff for the Novell Modular Authentication Service. svn path=/trunk/; revision=7559
* From Greg Morris: level 2 oplock support, add additional error codes,Guy Harris2003-04-081-6/+10
| | | | | | fix the "Delete a File or Subdirectory" item. svn path=/trunk/; revision=7412
* Updates from Greg Morris:Guy Harris2003-02-191-74/+159
| | | | | | | | | | | | | 1. Added a number of NCP Error return values. 2. Added ability to pass byte strings to summary window. 3. Modified file NCP's to reflect file handle in summary window. 4. Changed all NCP's using QueueID from big endian to little endian. This is different from Novell's NCP documentation but matches same information obtained from NDS dissector. 5. Added over 50 more NDS error return values. 6. Partially fixed NDS Request verb 6 (Search Entries) svn path=/trunk/; revision=7172
* The Novell Web site's information for Scan Directory Disk Space appearsGuy Harris2003-02-111-5/+6
| | | | | | | | | | to be correct; remove the comment about what was there not matching. Note that the PropertyValue item in a Write Property Value request should perhaps be omitted if MoreFlag isn't set (it appears to be garbage if it's not set). svn path=/trunk/; revision=7123
* Update URLs for NCP documentation.Guy Harris2003-02-081-4/+5
| | | | svn path=/trunk/; revision=7105
* 0xff00 is a valid completion code for Keyed Object Login requests.Guy Harris2003-02-081-2/+2
| | | | svn path=/trunk/; revision=7104
* Make the request frame number field an FT_FRAMENUM.Guy Harris2003-02-081-3/+3
| | | | | | 0xff00 is a valid reply to "Get Name Space Information". svn path=/trunk/; revision=7102
* Fix a typo in the "Defined Name Spaces" field name.Guy Harris2003-02-081-14/+24
| | | | | | | | | | Properly display the reply to a Get Name Space Information request - there is a sequence of name space names, and a sequence of pairs of {associated name space, data stream name}, and there are also sequences of name space index numbers, but if we try to display anything after the list of loaded name spaces, nothing gets displayed at all. svn path=/trunk/; revision=7101
* Force the endianness of the dates and times in DirectoryInstance andGuy Harris2003-02-081-18/+13
| | | | | | | | | FileInstance to big-endian. Those structures apparently contain a last access date rather than a creation time. svn path=/trunk/; revision=7098
* The "Subdirectory" bit in search attributes means "subdirectories only",Guy Harris2003-02-051-41/+17
| | | | | | | | | | and in file attributes means "this is a subdirectory"; don't mix the two. The 1-byte and 2-byte search attributes appear to have the same bit definitions (except, obviously, for those that are in the topmost byte). svn path=/trunk/; revision=7083
* Various XXXDirectoryID values always appear to be big-endian (includingGuy Harris2003-02-051-39/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | the ones not specified as such when used), so declare them as such rather than specifying them as such when used. The SearchSequenceWord also appears to be big-endian. Note that we're not cracking the bits of a DirectoryAttributes field. The "Subdirectory" bit in search attributes is really "Subdirectories Only", as in "just show me subdirectories". Note some confusion about whether the bit numbers on the Novell Web site for search attributes are bit numbers or bit flags. Note that we appear to have gotten back attributes for a file rather than a directory in at least one search that had "Subdirectories Only" set - unless the problem is that the numbers in the Novell spec are bit numbers rather than bit flags. Update some items that claimed to have a 2-byte search attributes field to have a 1-byte search attributes field instead, to match the spec on the Novell site (of course, the spec could be wrong...). svn path=/trunk/; revision=7081
* An object of type 0x5555 is apparently a "Site Lock".Guy Harris2003-02-051-2/+2
| | | | svn path=/trunk/; revision=7080
* FileSize appears to be big-endian in DOSFileEntryStruct and FileInstanceGuy Harris2003-02-051-9/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | structures; make it so (which makes it big-endian on other structures as well). The same appears to be true of the UpdateID. There doesn't appear to be a reserved word between the SearchSequenceWord and DirectoryID fields of a DirectoryInstance or a FileInstance. The dates and times in a DirectoryInstance or a FileInstance appear to be big-endian; note that we need to add the ability to make those instances big-endian but leave others little-endian. Note that there's a sequence of NameSpaceNames and a sequence of DataStreamNames in the reply to a Get Name Space Operation request. A Login Object request has a 2-byte object type followed by a ClientName, just a UserName. The same applies to a Get Object Connection List request. Note that the DirectoryInstance or FileInstance in a File Search Continue reply appears to be garbage if the reply doesn't succeed with "OK". svn path=/trunk/; revision=7077
* The MemberType field in various bindery operations is 2 bytes, not 1Guy Harris2003-01-301-8/+8
| | | | | | byte or 4 bytes. svn path=/trunk/; revision=7049
* Keep track of and display the time between Call and Reply in NCP packets.Ronnie Sahlberg2003-01-221-1/+6
| | | | svn path=/trunk/; revision=6968
* "hf_nds_time_filter" is put into the tree as an integral value; make itGuy Harris2003-01-061-2/+2
| | | | | | one. svn path=/trunk/; revision=6851
* Don't cast away constness, and fix variable and structure memberGuy Harris2002-12-021-2/+2
| | | | | | | | | | | | | qualifiers as necessary to ensure that we don't have to. "strcmp()", "strcasecmp()", and "memcmp()" don't return booleans; don't test their results as if they did. Use "guint8", not "guchar", for a pointer to (one or more) 8-bit bytes. Update Michael Tuexen's e-mail address. svn path=/trunk/; revision=6726
* From Greg Morris:Guy Harris2002-10-211-20/+280
| | | | | | | | | | | Various NDS dissector enhancements including NDS verb 0x07, and proper ping flags for NDS ping version 10 request. Updated error codes for several NCP reply packets. NDPS enhancements. svn path=/trunk/; revision=6463
* Fix some spelling errors.Guy Harris2002-10-101-14/+14
| | | | svn path=/trunk/; revision=6410
* Mark some fields as NDS fields.Guy Harris2002-10-101-3/+3
| | | | svn path=/trunk/; revision=6409
* Rename "ncp.nds_string" to "ncp.nds_tree_name", as it's not a genericGuy Harris2002-10-101-10/+6
| | | | | | | | | | | string, it's a tree name (as the field's display name suggests). Get rid of the unused "ncp.nds_string_value" field. Fix up the names of some fields, and use "proto_tree_add_uint()" rather than "proto_tree_add_uint_format()" to add them to the protocol tree. svn path=/trunk/; revision=6408
* Warning fixes for the ncp code by Greg Morris and J�rg Mayer.Jörg Mayer2002-09-261-1/+2
| | | | svn path=/trunk/; revision=6338
* Greg Morris:Jörg Mayer2002-09-251-5/+17
| | | | | | | | | | | This update adds NCP 87/66. Also add additional error codes, added hf_definition for super class (NDS). Cleaned up some unused variables (Warnings when building Ethereal). Fixed NCP type 0x9999 (server busy packets to echo information to summary information), Added subtree format to NDS dissector to cleanup display. svn path=/trunk/; revision=6331
* From Greg Morris: More NDS decodes.Gerald Combs2002-09-221-513/+1725
| | | | | | Fix a typo in get_string(). svn path=/trunk/; revision=6313
* Give the NDS Verb field a value_string table, so you can filter on itGuy Harris2002-08-231-3/+83
| | | | | | | | | | without having to know the numerical values for the verbs. Use that table to convert the verb value to a verb name. Fix indentation. svn path=/trunk/; revision=6075
* From Greg Morris:Gilbert Ramirez2002-08-231-53/+133
| | | | | | | | | | | 1. Secret Store Services (NCP 94) (ncp2222.py) 2. NMAS (NCP 92) (ncp2222.py) 3. NDS information in summary screen (packet-ncp.c & packet-ncp2222.inc) 4. Sever broadcast packets (NCP type 0xbbbb) to notify workstation to clear op-lock (packet-ncp.c) 5. Large Internet Packets (LIP) (packet-ncp.c) 6. Unicode Support. (unicode_to_string function in packet-ncp2222.inc & ncp2222.py) svn path=/trunk/; revision=6069
* Put in a note about the two SAP number lists in this file and inGuy Harris2002-06-261-1/+10
| | | | | | "packet-ipx.c". svn path=/trunk/; revision=5766
* Update from Greg Morris.Gilbert Ramirez2002-06-241-81/+155
| | | | | | | | | 1. Fixes for NCP decodes (87/6), (30), (87/32) 2. Endianness fixes for a number of decodes 3. Added error codes for return values not defined 4. Added most common SAP types under ObjectType table svn path=/trunk/; revision=5758
* Add in names for NDS verbs, from a list found by a Web search that foundGuy Harris2002-06-091-5/+103
| | | | | | | | | | | | | | the source to an "ipxdump" utility from the Linux ncpfs package. The NetworkAddress field in a 23/26 GetInternetAddress reply appears to be big-endian; we assume it's big-endian in all messages. The NetworkSocket field in that reply also appears to be big-endian; it was already set up to be big-endian in other messages. Put in comments noting other things seen in captures. svn path=/trunk/; revision=5658
* Fix the decode of NCP 8701.Gilbert Ramirez2002-06-071-72/+86
| | | | svn path=/trunk/; revision=5651
* Fix indentation of bitfield-checking code so that all variablesGilbert Ramirez2002-05-251-6/+7
| | | | | | contained within a bitfield are properly registered. svn path=/trunk/; revision=5565
* Fix the bit value for "Last Access" in the ExtendedInfo bitmask, and addGuy Harris2002-05-251-3/+4
| | | | | | the bit for "64 Bit File Sizes". svn path=/trunk/; revision=5561
* Fix the definition of AllocateMode; it's only ever used as a 2-byteGilbert Ramirez2002-05-241-5/+5
| | | | | | value, so make it a val_string16 instead of a val_string8. svn path=/trunk/; revision=5547
* Have bitfields check the type of bf_booleans inside of them, ensuringGilbert Ramirez2002-05-241-76/+100
| | | | | | | | they're the right width. Fix the definitions of AccessRightsMask and JobControlFlagsWord, and add AccessRightsMaskWord. svn path=/trunk/; revision=5546
* Update from Greg Morris.Gilbert Ramirez2002-05-171-365/+773
| | | | | | Increase the max number of allowable req_cond_index's. svn path=/trunk/; revision=5497
* DirectoryBase should be a uint32.Gilbert Ramirez2002-05-171-2/+2
| | | | svn path=/trunk/; revision=5495
* Move the #defines for NCP packet types to "packet-ncp-int.h", and useGuy Harris2002-05-161-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | them in "packet-ncp2222.inc". The page at http://www.odyssea.com/whats_new/tcpipnet/tcpipnet.html indicates that a positive ACK (0x9999) NCP packet has the same completion code and connection status fields as a reply (0x3333) packet (but nothing after them); hand "dissect_ncp_reply()" the packet type as one of its arguments, and have it handle positive ACK packets as well as reply packets. It also indicates that bit 4 of the connection status indicates that the server is unavailable, and the page at http://www.unm.edu/~network/presentations/course/appendix/appendix_f/tsld088.htm speaks of that and of the significance of other bits; put a comment in "ncp2222.py", before the "hf_ncp_connection_status" field, about that. From looking at a capture, it appears that a "destroy service connection" (0x5555) packet should be treated like a "create service connection" (0x1111) packet and be handed to "dissect_ncp_request()". Note that perhaps watchdog packets should be handled by "dissect_ncp_reply()" as well. svn path=/trunk/; revision=5489
* For response packets, add a field showing the number of the frameGilbert Ramirez2002-05-161-1/+6
| | | | | | containing the request packet. svn path=/trunk/; revision=5485
* Add a comment about the Name Space field and its possible use toGuy Harris2002-05-151-1/+11
| | | | | | indicate the character set for strings. svn path=/trunk/; revision=5471
* Fix JobFileHandle and JobFileHandleLong.Gilbert Ramirez2002-05-141-4/+3
| | | | svn path=/trunk/; revision=5467
* Change the name under which variables are hashed during processing.Gilbert Ramirez2002-05-131-6/+6
| | | | svn path=/trunk/; revision=5458
* Merge the work in Novell_NCP_branch into the mainline code.Gilbert Ramirez2002-05-091-482/+10871
| | | | | | | | | | | | | A little work still needs to be done on the new NCP dissector -- make some of the COL_INFO texts more useful, handle a Unicode issue, and modify some of the cases that use "request conditions". But the NCP dissector as it stands is very usable now. Note: I didn't merge in the PROTO_LENGTH_UNTIL_END macro... I wanted to think about the various possible macros and review an email conversation I had with Guy on the subject. svn path=/trunk/; revision=5432
* Include files from the "epan" directory and subdirectories thereof withGuy Harris2002-01-211-3/+3
| | | | | | | | | | | | | "epan/..." pathnames, so as to avoid collisions with header files in any of the directories in which we look (e.g., "proto.h", as some other package has its own "proto.h" file which it installs in the top-level include directory). Don't add "-I" flags to search "epan", as that's no longer necessary (and we want includes of "epan" headers to fail if the "epan/" is left out, so that we don't re-introduce includes lacking "epan/"). svn path=/trunk/; revision=4586
* From Guy Harris, after checking his Python code.Gilbert Ramirez2002-01-111-8/+16
| | | | | | | | | | Some compilers don't mind zero-length arrays, but MSVC++ 6.0 does. "ncp2222.py" was generating a zero-length "ett[]" array. Make it generate the "ett[]" array and the call to "proto_register_subtree_array()" only if the list of items for "ett[]" is non-empty CVS: svn path=/trunk/; revision=4529