aboutsummaryrefslogtreecommitdiffstats
path: root/ncp2222.py
AgeCommit message (Collapse)AuthorFilesLines
2002-06-26Put in a note about the two SAP number lists in this file and inGuy Harris1-1/+10
"packet-ipx.c". svn path=/trunk/; revision=5766
2002-06-24Update from Greg Morris.Gilbert Ramirez1-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
2002-06-09Add in names for NDS verbs, from a list found by a Web search that foundGuy Harris1-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
2002-06-07Fix the decode of NCP 8701.Gilbert Ramirez1-72/+86
svn path=/trunk/; revision=5651
2002-05-25Fix indentation of bitfield-checking code so that all variablesGilbert Ramirez1-6/+7
contained within a bitfield are properly registered. svn path=/trunk/; revision=5565
2002-05-25Fix the bit value for "Last Access" in the ExtendedInfo bitmask, and addGuy Harris1-3/+4
the bit for "64 Bit File Sizes". svn path=/trunk/; revision=5561
2002-05-24Fix the definition of AllocateMode; it's only ever used as a 2-byteGilbert Ramirez1-5/+5
value, so make it a val_string16 instead of a val_string8. svn path=/trunk/; revision=5547
2002-05-24Have bitfields check the type of bf_booleans inside of them, ensuringGilbert Ramirez1-76/+100
they're the right width. Fix the definitions of AccessRightsMask and JobControlFlagsWord, and add AccessRightsMaskWord. svn path=/trunk/; revision=5546
2002-05-17Update from Greg Morris.Gilbert Ramirez1-365/+773
Increase the max number of allowable req_cond_index's. svn path=/trunk/; revision=5497
2002-05-17DirectoryBase should be a uint32.Gilbert Ramirez1-2/+2
svn path=/trunk/; revision=5495
2002-05-16Move the #defines for NCP packet types to "packet-ncp-int.h", and useGuy Harris1-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
2002-05-16For response packets, add a field showing the number of the frameGilbert Ramirez1-1/+6
containing the request packet. svn path=/trunk/; revision=5485
2002-05-15Add a comment about the Name Space field and its possible use toGuy Harris1-1/+11
indicate the character set for strings. svn path=/trunk/; revision=5471
2002-05-14Fix JobFileHandle and JobFileHandleLong.Gilbert Ramirez1-4/+3
svn path=/trunk/; revision=5467
2002-05-13Change the name under which variables are hashed during processing.Gilbert Ramirez1-6/+6
svn path=/trunk/; revision=5458
2002-05-09Merge the work in Novell_NCP_branch into the mainline code.Gilbert Ramirez1-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
2002-01-21Include files from the "epan" directory and subdirectories thereof withGuy Harris1-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
2002-01-11From Guy Harris, after checking his Python code.Gilbert Ramirez1-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
2002-01-10Allow NCP types to define bitfields. In order to implementGilbert Ramirez1-87/+206
sub-trees, I added new functions to ptvcursor: ptvcursor_add_no_advance() ptvcursor_tvbuff() ptvcursor_current_offset() Note that no NCP type that actually uses bitfields has been checked in yet. svn path=/trunk/; revision=4509
2001-11-13Hopefully the last time I have to change my e-mail address.Gilbert Ramirez1-2/+2
svn path=/trunk/; revision=4199
2001-06-28Handle a few of the NCP types from the traces sent in by Pete,Gilbert Ramirez1-473/+636
<psailor@uswest.net> svn path=/trunk/; revision=3617
2001-06-18From Joerg Mayer: explicitly fill in all members of aGuy Harris1-7/+7
"header_field_info" structure, including the ones that are later set by the routines to register fields. svn path=/trunk/; revision=3561
2001-06-02Changes to structure initializations not to initialize some but not allGuy Harris1-2/+2
members, from Joerg Mayer. svn path=/trunk/; revision=3501
2000-09-22Move #included C code from an *.h file to an *.inc file.Gilbert Ramirez1-2/+2
svn path=/trunk/; revision=2456
2000-09-06Fix offset bug in func 0x1737, and added code to automatically checkGilbert Ramirez1-11/+45
offsets. Bug found by Marcel Cox <marcel.cox@myrealbox.com> svn path=/trunk/; revision=2389
2000-08-30Add FT_STRINGZ type. NCP dissector is only one that uses it right now.Gilbert Ramirez1-7/+17
Remove tvb_get_stringz from quake dissector and add tvb_get_nstringz, tvb_get_nstringz0, and tvb_strnlen to tvbuff.c. Remove multiple definitions of pntohl and friends from various places (except for wiretap) and put into pint.h Consolidate duplicate code for turning FT_* enums into strings (ala the glossary). svn path=/trunk/; revision=2382
2000-08-22Change FT_NSTRING_UINT8 to FT_UINT_STRING. The length parameter passedGilbert Ramirez1-7/+19
to proto_tree_add_item() will indicate if the length of the string is indicated by an UINT8, UINT16, UINT24, or UINT32. Change NCP dissector-maker to produce FT_UINT_STRING. Fix off-by-one in dissection of some NCP reply packets. svn path=/trunk/; revision=2334
2000-08-09- make-reg-dotLaurent Deniel1-46/+46
Do not assume that all dissectors are in the source directory. This is the case for instance for packet-ncp2222.c which is generated in the production directory (current). This is particularly important when the generation is not made in the source directory. - ncp2222.py Remove tabs in generated source to make the generated code nicer and to make work the make-reg-dotc. Without that fix, all NCP packet dissections dump core ... svn path=/trunk/; revision=2241
2000-08-08Convert comments to docstrings.Gilbert Ramirez1-319/+329
svn path=/trunk/; revision=2229
2000-07-28Add the re-write of the NetWare Core Protocol dissector. It's mostlyGilbert Ramirez1-0/+1406
a framework for the dissector; of the more than 400 NCP packet types, only a handful are defined. But this dissector framework is much better than the previous one. svn path=/trunk/; revision=2173