aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* From Ronnie Sahlberg: display the opnum also for reply packets.Guy Harris2002-02-131-1/+2
| | | | svn path=/trunk/; revision=4728
* From Ronnie Sahlberg: display FILETIME values of 0x8000000000000000 asGuy Harris2002-02-131-2/+10
| | | | | | | "Infinity (absolute time)", and values of 0x7fffffffffffffff as "Infinity (relative time)". svn path=/trunk/; revision=4727
* Have the private data for the SCSI dissection routines be a pointer to aGuy Harris2002-02-134-94/+258
| | | | | | | | | | | | | | | | structure containing a 32-bit conversation ID (which uniquely identifies conversations between a SCSI initiator and target) and a 32-bit task ID (which uniquely identifies a task within that conversation). Have the NDMP dissector create conversations when it sees an "execute CDB" request, and use the conversation index as the conversation ID and the sequence number for requests and reply sequence for replies as the task ID. Have it use "dissect_scsi_payload()" to dissect the payload of "execute CDB" requests and replies. svn path=/trunk/; revision=4726
* Dissect "execute CDB" requests and replies.Guy Harris2002-02-121-20/+197
| | | | | | Get rid of extra trailing white space in some protocol tree items. svn path=/trunk/; revision=4725
* Move all the stuff in "packet-scsi.h" that's solely for the use ofGuy Harris2002-02-122-925/+928
| | | | | | | | | | | | "packet-scsi.c" into "packet-scsi.c"; the iSCSI dissector doesn't need its own versions of a pile of static data structures used only by "packet-scsi.c", nor does it need a pile of typedefs and #defines used only by "packet-scsi.c". The iSCSI dissector *does* use "scsi_status_val", so make that non-static, and export it from "packet-scsi.h". svn path=/trunk/; revision=4724
* Have a Q.931-over-TPKT TCP heuristic dissector.Guy Harris2002-02-121-277/+274
| | | | | | | | | Have the Q.931 PDU dissector, if it's Q.931-over-TPKT, check for user-user IEs with a protocol discriminator of "X.208 and X.209 coded user information" and, if it sees one, call an H.225.0 Call Setup dissector if it could find the handle for it. svn path=/trunk/; revision=4723
* Display the fragment length, and fragment ordinal number, in decimal.Guy Harris2002-02-121-3/+3
| | | | svn path=/trunk/; revision=4722
* From Ronnie Sahlberg:Guy Harris2002-02-123-203/+344
| | | | | | | | | | | | | | SAMR updates; a bugfix in dissect_ndr_pointer() (should not check referent id for aliases for unique pointers); enhancement to dissect_ndr_pointer() to make it possible to hand a generic int value to the dissector for the pointer object in a similar way as hf_index values are passed through the pointer layer. svn path=/trunk/; revision=4721
* dissect_frame() can throw a ReportedBoundsError; catch it inGilbert Ramirez2002-02-111-4/+9
| | | | | | dissect_packet(). svn path=/trunk/; revision=4720
* From Ronnie Sahlberg:Guy Harris2002-02-113-28/+36
| | | | | | | | | | | | fix to LookupRids to match what the IDL file says; fix to "dissect_ndr_uint64()" to specify the right length to "proto_tree_add_item()"; give the protocol tree items for array header counts and offsets the correct offsets in the packet. svn path=/trunk/; revision=4719
* From Todd Sabin:Guy Harris2002-02-102-14/+37
| | | | | | | | | | | | dissect dcerpc UDP replies correctly - use the opnum from the request, ont the reply (the opnum from the request is frequently wrong in Microsoft's DCE RPC implementation); don't crash if the packet isn't found in the hash tables; dissect SamrLookupDomain requests properly. svn path=/trunk/; revision=4718
* Put ARP hardware addresses that are MAC addresses into the protocol treeGuy Harris2002-02-101-34/+100
| | | | | | | | | | | | as FT_ETHER fields, not FT_BYTES fields. Only label Appletalk protocol addresses as "{Source,Target} ID"; label the others as "{Source,Target} protocol address", and have different fields for Appletalk and other protocol addresses. Don't put addresses into the protocol tree if they're zero-length. svn path=/trunk/; revision=4717
* Put ARP hardware addresses that are MAC addresses into the protocol treeGuy Harris2002-02-101-49/+100
| | | | | | | | | | | | | | | | as FT_ETHER fields, not FT_BYTES fields. Don't treat Experimental Ethernet addresses as being Ethernet addresses (they were 8 bytes long, not 48 bytes long). Put ARP protocol addresses that are IPv4 addresses into the protocol tree as FT_IPv4 fields, not FT_BYTES fields. Fix the checks for MAC hardware addresses and IPv4 protocol addresses, done to see if we should say a given Ethernet address has the same name as a given IP address, to check both the type and length. svn path=/trunk/; revision=4716
* From Ronnie Sahlberg: display the mailslot header items only if we haveGuy Harris2002-02-101-9/+10
| | | | | | | | a tvbuff with the mailslot header. Fix indentation. svn path=/trunk/; revision=4715
* From Ronnie Sahlberg: display the SAMR "Account Control" field in hex.Guy Harris2002-02-101-3/+4
| | | | svn path=/trunk/; revision=4714
* Make the fields that correspond to Boolean bitfields be FT_BOOLEANs.Guy Harris2002-02-102-37/+37
| | | | | | Display the VLDB flags in hex, not decimal. svn path=/trunk/; revision=4713
* Support for the new restart TLV, from Hannes Gredler.Guy Harris2002-02-092-4/+67
| | | | svn path=/trunk/; revision=4712
* rename some macros, start getting rid of redundant macros, add more vldb ↵Nathan Neulinger2002-02-084-159/+167
| | | | | | dissection svn path=/trunk/; revision=4711
* Fixes from Ronnie Sahlberg.Guy Harris2002-02-082-84/+178
| | | | svn path=/trunk/; revision=4710
* Have Wiretap set the snapshot length to 0 if it can't be derived fromGuy Harris2002-02-0825-276/+509
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reading the capture file. Have callers of "wtap_snapshot_length()" treat a value of 0 as "unknown", and default to WTAP_MAX_PACKET_SIZE (so that, when writing a capture file in a format that *does* store the snapshot length, we can at least put *something* in the file). If we don't know the snapshot length of the current capture file, don't display a value in the summary window. Don't use "cfile.snap" as the snapshot length option when capturing - doing so causes Ethereal to default, when capturing, to the snapshot length of the last capture file that you read in, rather than to the snapshot length of the last capture you did (or the initial default of "no snapshot length"). Redo the "Capture Options" dialog box to group options into sections with frames around them, and add units to the snapshot length, maximum file size, and capture duration options, as per a suggestion by Ulf Lamping. Also add units to the capture count option. Make the snapshot length, capture count, maximum file size, and capture duration options into a combination of a check box and a spin button. If the check box is not checked, the limit in question is inactive (snapshot length of 65535, no max packet count, no max file size, no max capture duration); if it's checked, the spinbox specifies the limit. Default all of the check boxes to "not checked" and all of the spin boxes to small values. Use "gtk_toggle_button_get_active()" rather than directly fetching the state of a check box. svn path=/trunk/; revision=4709
* From Ronnie Sahlberg: add dissectors for the rest of SAMR.Guy Harris2002-02-082-167/+1310
| | | | svn path=/trunk/; revision=4708
* Support in Wiretap for DLT_HHDLC, from Tomas Kukosa.Guy Harris2002-02-074-4/+10
| | | | svn path=/trunk/; revision=4707
* Additional cipher suite names for SSL, from Nathan Neulinger and ScottGuy Harris2002-02-072-1/+5
| | | | | | Renfro. svn path=/trunk/; revision=4706
* If you compile with IBM's compiler on AIX 5.1, the compiler apparentlyGuy Harris2002-02-061-25/+25
| | | | | | | | somehow doesn't like the structure member name "fh_len", for some reason (probably some #define in some header file); change that (and other "fh_len" variables) to "fh_length" instead. svn path=/trunk/; revision=4705
* Use "value_string" tables to map EAP code and type values to strings -Guy Harris2002-02-061-23/+19
| | | | | | and fix up the table for EAP types. svn path=/trunk/; revision=4704
* Old-style (non-tvbuffified) dissectors haven't been supported sinceGuy Harris2002-02-061-2/+1
| | | | | | 0.9.0 was released; get rid of the typedef for "old_dissector_t". svn path=/trunk/; revision=4703
* zlib 1.0.8 - the version that comes with X11 - does have "gzseek()",Guy Harris2002-02-065-51/+51
| | | | | | | | | | | | | | even if it doesn't have "gzgets()", so one might think we could use it by using our own replacement for "gzgets()". One would be wrong to think so, however, as the "gzseek()" it has doesn't actually work when reading uncompressed files. zlib 1.0.9 has "gzgets()", and fixes that bug, so we rever to checking for "gzgets()" rather than "gzseek()", so that we don't accept pre-1.0.9 versions of zlib, and we get rid of our "gzgets()" replacement. svn path=/trunk/; revision=4702
* From Ronnie Sahlberg:Guy Harris2002-02-062-14/+23
| | | | | | | | | | the count fields in SAMR replies aren't array max_count values, so don't display them as such; Put conformant and conformant varying array length/offset/etc. values into the protocol tree. svn path=/trunk/; revision=4701
* "log" is a name that belongs to the ANSI C89 standard; it refers to aGuy Harris2002-02-057-54/+56
| | | | | | | | | function that computes the natural logarithm of a double. Using it as the name of a pointer to a routine to do logging can cause namespace collisions; in fact, it *does* cause them on AIX. Rename the function argument to "logfunc". svn path=/trunk/; revision=4700
* The typedef in "epan/value_string.h" declares "value_string" to be aGuy Harris2002-02-051-4/+4
| | | | | | | | | typedef for "struct _value_string"; as such, the incomplete structure declaration in "epan/proto.h" should declare "struct _value_string", not "struct value_string", and casts and declarations in that header should also use "struct _value_string", not "struct value_string". svn path=/trunk/; revision=4699
* add idle to rx ack value stringsNathan Neulinger2002-02-052-2/+4
| | | | svn path=/trunk/; revision=4698
* Have configure check for pod2man, thus creating a POD2MAN makefileGilbert Ramirez2002-02-052-8/+9
| | | | | | variable, allowing it to be overridden during make. svn path=/trunk/; revision=4697
* Clean up a bunch of things:Guy Harris2002-02-052-55/+79
| | | | | | | | | | | | | use value_string tables and make numerical fields numeric, with associated value_string tables, rather than strings; make a signed integer field signed, which means we don't have to format the item for it in the protocol tree ourselves; give it a long protocol name, and make the short protocol name all-caps, as with other short protocol names. svn path=/trunk/; revision=4696
* "Raw IP" could be IPv4 or IPv6; look at the first byte of the packetGuy Harris2002-02-051-11/+46
| | | | | | | | | | | | (i.e., the byte of the IP header containing the IP version number) to see which it is, and handle the packet either as IPv4, IPv6, or "other" based on the IP version number. The "if" chain for handling various packet types using DLT_RAW doesn't need returns after every clause; it should just return after falling off the end (and shouldn't call "g_assert_not_reached()" once we do that). svn path=/trunk/; revision=4695
* From Ricardo Barroetave�a: support dissectors that are handedGuy Harris2002-02-034-71/+211
| | | | | | | | | | reassembled TCP data being able to indicate that they need still more reassembly, so that, for example, a dissector can indicate that it needs reassembly in order to dissect a header that says how long the PDU is and, when that reassembly is done and it dissects the header, it can then indicate that it needs more reassembly to get the entire PDU. svn path=/trunk/; revision=4694
* Get rid of an extra space.Guy Harris2002-02-031-2/+2
| | | | svn path=/trunk/; revision=4693
* Catch ReportedBoundsError exceptions when dissecting NDMP messages, andGuy Harris2002-02-031-9/+38
| | | | | | | | | report the error but don't re-throw the exception; that way, we can continue to dissect additional NDMP messages in the frame or reassembled chunk of data, even if one of them happens to be too short for what's in it. svn path=/trunk/; revision=4692
* In C89, you can't declare variables at arbitrary points in code; moveGuy Harris2002-02-031-2/+2
| | | | | | | the declaration of "tmp" in the "OUT_STRING()" to the beginning of the block. svn path=/trunk/; revision=4691
* dissect flags, more vldb fixesNathan Neulinger2002-02-034-5/+49
| | | | svn path=/trunk/; revision=4690
* Fix string parsing from rx packets. Previously was calculating the nextNathan Neulinger2002-02-031-15/+11
| | | | | | | offset incorrectly, which resulted in the rest of the packet being shifted by a few bytes, and therefore all garbage. svn path=/trunk/; revision=4689
* add packet flag for slow-start/jumbogramNathan Neulinger2002-02-032-2/+4
| | | | svn path=/trunk/; revision=4688
* add a couple rx opcodesNathan Neulinger2002-02-031-1/+4
| | | | svn path=/trunk/; revision=4687
* Sigh. Strings in SDP may have tabs in them, so we need to useGuy Harris2002-02-021-3/+7
| | | | | | | | | | "format_text()" to display them, so that the tabs show up as "\t". (We eventually need to use that when displaying string fields - and arrange that it properly handle the character set of the font being used for display, in Ethereal, and the character set of the user's locale, in Tethereal). svn path=/trunk/; revision=4685
* Update version to 0.9.1. Add NEWS entries for 0.9.1 changes.Gerald Combs2002-02-024-7/+215
| | | | svn path=/trunk/; revision=4684
* The argument to "proto_tree_add_string()" must be a null-terminatedGuy Harris2002-02-021-5/+9
| | | | | | string; make it so. svn path=/trunk/; revision=4683
* From Michael Tuexen:Guy Harris2002-02-021-8/+16
| | | | | | | | | | | add a hidden "sctp.port" field, with two instances per protocol tree, one with the source port and one with the destination port (like "tcp.port" and "udp.port"); replace "sctp.checksum_correct" with "sctp.checksum_bad" (like "tcp.checksum_bad" and "udp.checksum_bad"). svn path=/trunk/; revision=4682
* From Heikki Vatiainen:Guy Harris2002-02-023-18/+53
| | | | | | | | | | | | | check for GNU "sed", and skip the "bad sed" checks if it's found; check for "/bin/sed" as well as "/usr/bin/sed" on Solaris; put the "sed" checks into a separate section of code with its own test for the host OS, to make it a bit cleaner to add any checks needed on other OSes. svn path=/trunk/; revision=4681
* Small fix from Michael Tuexen.Guy Harris2002-02-021-2/+2
| | | | svn path=/trunk/; revision=4680
* IAPP support, from Alfred Arnold.Guy Harris2002-02-025-2/+576
| | | | svn path=/trunk/; revision=4679
* Put in a "break" statement after the "default:" clause; GCC may allowGuy Harris2002-02-021-1/+2
| | | | | | | you to have a label with no statement after it, but other C compilers (e.g, MSVC++ 6.0) don't. svn path=/trunk/; revision=4678