aboutsummaryrefslogtreecommitdiffstats
path: root/ncp2222.py
AgeCommit message (Collapse)AuthorFilesLines
2004-06-15From Greg Morris:guy1-7/+7
a few updates to ncp2222.py to include more detail to summary window for NCP's 26, 28, 30; fixed NCP 87/31 to not show as malformed when HandleInfoLevel contains value 0x00. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11146 f5534014-38df-0310-8fa8-9805f1628bb7
2004-02-29From Greg Morris:guy1-14/+23
Novell Modular Authentication Services support; fix some return values and decodes; show the NDS reply buffer only in service request packets. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10263 f5534014-38df-0310-8fa8-9805f1628bb7
2003-11-01From Greg Morris:guy1-22/+103
1. Add several return values 2. Fix the reply structure for NCP 22/48, 23/122 3. Fix the request structure for NCP 23/121 4. ServerID should be displayed as a hex value. 5. ServerStationLong should be LE. 6. JobNumberList should be JobNumberLong. 7. Fix 87/64, 87/65, 87/66, 87/68, 87/69 - These are not Advanced Audit Service, they really 64 bit file support NCP's. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8855 f5534014-38df-0310-8fa8-9805f1628bb7
2003-08-25From Greg Morris:guy1-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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8256 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-21Add some missing entries to "ncp_nds_verb_vals[]".guy1-1/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8059 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-20Use "ncp_nds_verb_vals" for the NDS Verb item.guy1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8056 f5534014-38df-0310-8fa8-9805f1628bb7
2003-06-11SetCmdValueNum needs to be used with a fixed length, not -1. Thus,gram1-3/+3
use rec() instead of srec(). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7847 f5534014-38df-0310-8fa8-9805f1628bb7
2003-06-05Get rid of trailing white space.guy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7786 f5534014-38df-0310-8fa8-9805f1628bb7
2003-05-02From Greg Morris: change the endianness of CCFilehandle to match otherguy1-2/+2
NCP's. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7633 f5534014-38df-0310-8fa8-9805f1628bb7
2003-04-25From Greg Morris:guy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7559 f5534014-38df-0310-8fa8-9805f1628bb7
2003-04-08From Greg Morris: level 2 oplock support, add additional error codes,guy1-6/+10
fix the "Delete a File or Subdirectory" item. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7412 f5534014-38df-0310-8fa8-9805f1628bb7
2003-02-19Updates from Greg Morris:guy1-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) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7172 f5534014-38df-0310-8fa8-9805f1628bb7
2003-02-11The Novell Web site's information for Scan Directory Disk Space appearsguy1-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). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7123 f5534014-38df-0310-8fa8-9805f1628bb7
2003-02-08Update URLs for NCP documentation.guy1-4/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7105 f5534014-38df-0310-8fa8-9805f1628bb7
2003-02-080xff00 is a valid completion code for Keyed Object Login requests.guy1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7104 f5534014-38df-0310-8fa8-9805f1628bb7
2003-02-08Make the request frame number field an FT_FRAMENUM.guy1-3/+3
0xff00 is a valid reply to "Get Name Space Information". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7102 f5534014-38df-0310-8fa8-9805f1628bb7
2003-02-08Fix a typo in the "Defined Name Spaces" field name.guy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7101 f5534014-38df-0310-8fa8-9805f1628bb7
2003-02-08Force the endianness of the dates and times in DirectoryInstance andguy1-18/+13
FileInstance to big-endian. Those structures apparently contain a last access date rather than a creation time. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7098 f5534014-38df-0310-8fa8-9805f1628bb7
2003-02-05The "Subdirectory" bit in search attributes means "subdirectories only",guy1-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). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7083 f5534014-38df-0310-8fa8-9805f1628bb7
2003-02-05Various XXXDirectoryID values always appear to be big-endian (includingguy1-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...). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7081 f5534014-38df-0310-8fa8-9805f1628bb7
2003-02-05An object of type 0x5555 is apparently a "Site Lock".guy1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7080 f5534014-38df-0310-8fa8-9805f1628bb7
2003-02-05FileSize appears to be big-endian in DOSFileEntryStruct and FileInstanceguy1-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". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7077 f5534014-38df-0310-8fa8-9805f1628bb7
2003-01-30The MemberType field in various bindery operations is 2 bytes, not 1guy1-8/+8
byte or 4 bytes. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7049 f5534014-38df-0310-8fa8-9805f1628bb7
2003-01-22Keep track of and display the time between Call and Reply in NCP packets.sahlberg1-1/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6968 f5534014-38df-0310-8fa8-9805f1628bb7
2003-01-06"hf_nds_time_filter" is put into the tree as an integral value; make itguy1-2/+2
one. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6851 f5534014-38df-0310-8fa8-9805f1628bb7
2002-12-02Don't cast away constness, and fix variable and structure memberguy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6726 f5534014-38df-0310-8fa8-9805f1628bb7
2002-10-21From Greg Morris:guy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6463 f5534014-38df-0310-8fa8-9805f1628bb7
2002-10-10Fix some spelling errors.guy1-14/+14
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6410 f5534014-38df-0310-8fa8-9805f1628bb7
2002-10-10Mark some fields as NDS fields.guy1-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6409 f5534014-38df-0310-8fa8-9805f1628bb7
2002-10-10Rename "ncp.nds_string" to "ncp.nds_tree_name", as it's not a genericguy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6408 f5534014-38df-0310-8fa8-9805f1628bb7
2002-09-26Warning fixes for the ncp code by Greg Morris and J�rg Mayer.jmayer1-1/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6338 f5534014-38df-0310-8fa8-9805f1628bb7
2002-09-25Greg Morris:jmayer1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6331 f5534014-38df-0310-8fa8-9805f1628bb7
2002-09-22From Greg Morris: More NDS decodes.gerald1-513/+1725
Fix a typo in get_string(). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6313 f5534014-38df-0310-8fa8-9805f1628bb7
2002-08-23Give the NDS Verb field a value_string table, so you can filter on itguy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6075 f5534014-38df-0310-8fa8-9805f1628bb7
2002-08-23From Greg Morris:gram1-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) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6069 f5534014-38df-0310-8fa8-9805f1628bb7
2002-06-26Put in a note about the two SAP number lists in this file and inguy1-1/+10
"packet-ipx.c". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5766 f5534014-38df-0310-8fa8-9805f1628bb7
2002-06-24Update from Greg Morris.gram1-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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5758 f5534014-38df-0310-8fa8-9805f1628bb7
2002-06-09Add in names for NDS verbs, from a list found by a Web search that foundguy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5658 f5534014-38df-0310-8fa8-9805f1628bb7
2002-06-07Fix the decode of NCP 8701.gram1-72/+86
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5651 f5534014-38df-0310-8fa8-9805f1628bb7
2002-05-25Fix indentation of bitfield-checking code so that all variablesgram1-6/+7
contained within a bitfield are properly registered. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5565 f5534014-38df-0310-8fa8-9805f1628bb7
2002-05-25Fix the bit value for "Last Access" in the ExtendedInfo bitmask, and addguy1-3/+4
the bit for "64 Bit File Sizes". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5561 f5534014-38df-0310-8fa8-9805f1628bb7
2002-05-24Fix the definition of AllocateMode; it's only ever used as a 2-bytegram1-5/+5
value, so make it a val_string16 instead of a val_string8. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5547 f5534014-38df-0310-8fa8-9805f1628bb7
2002-05-24Have bitfields check the type of bf_booleans inside of them, ensuringgram1-76/+100
they're the right width. Fix the definitions of AccessRightsMask and JobControlFlagsWord, and add AccessRightsMaskWord. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5546 f5534014-38df-0310-8fa8-9805f1628bb7
2002-05-17Update from Greg Morris.gram1-365/+773
Increase the max number of allowable req_cond_index's. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5497 f5534014-38df-0310-8fa8-9805f1628bb7
2002-05-17DirectoryBase should be a uint32.gram1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5495 f5534014-38df-0310-8fa8-9805f1628bb7
2002-05-16Move the #defines for NCP packet types to "packet-ncp-int.h", and useguy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5489 f5534014-38df-0310-8fa8-9805f1628bb7
2002-05-16For response packets, add a field showing the number of the framegram1-1/+6
containing the request packet. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5485 f5534014-38df-0310-8fa8-9805f1628bb7
2002-05-15Add a comment about the Name Space field and its possible use toguy1-1/+11
indicate the character set for strings. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5471 f5534014-38df-0310-8fa8-9805f1628bb7
2002-05-14Fix JobFileHandle and JobFileHandleLong.gram1-4/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5467 f5534014-38df-0310-8fa8-9805f1628bb7
2002-05-13Change the name under which variables are hashed during processing.gram1-6/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5458 f5534014-38df-0310-8fa8-9805f1628bb7