aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* And explain why the fact that RFC 2858 says you can't do what RFC 2545Guy Harris2001-07-031-2/+8
| | | | | | | | | | | | | | suggests, and that RFC 2858 obsoletes RFC 2283 which says you can, doesn't matter - Ethereal's job isn't to enforce protocol standards or to refuse to dissect stuff that doesn't conform to the final version of standards; if it can dissect stuff that's now illegal but that wasn't illegal in the past, and do so without causing problems when dissecting currently legal stuff, it should so so, so that if you have captures that include now-illegal stuff (perhaps from old devices that haven't been upgraded, or from old captures), you can still see what was happening. svn path=/trunk/; revision=3644
* Explain why we dissect more than one address in the MP_REACH_NLRIGuy Harris2001-07-031-1/+7
| | | | | | attribute. svn path=/trunk/; revision=3643
* If the reply status isn't handled, don't complain about an unknownGuy Harris2001-07-031-2/+2
| | | | | | | exception, complain about an unknown reply status - it isn't necessarily an exception. svn path=/trunk/; revision=3642
* Get rid of "tvb_bytes_exist()" calls that aren't protecting againstGuy Harris2001-07-031-34/+24
| | | | | | | | | | throwing an exception before we've decided whether a packet is an RPC packet or not - dissectors shouldn't, by and large, carefully avoid having tvbuff accessors throw exceptions, they should let them throw exceptions so that the frame is properly flagged as having been too short. svn path=/trunk/; revision=3641
* Dissect the bitfields in the frame control field, and put the textGuy Harris2001-07-031-4/+72
| | | | | | description of the frame type into the top-level line for that field. svn path=/trunk/; revision=3640
* Whitespace cleanups in protocol tree and summary lines.Guy Harris2001-07-031-7/+7
| | | | svn path=/trunk/; revision=3639
* Fixes from Ronnie Sahlberg. (Yo, any CMU or Transarc^H^H^H^H^H^H^H^HIBMGuy Harris2001-07-031-2/+55
| | | | | | | types care to clean this stuff up, in case there's any documentation of RX or AFS internal to CMU or Transarc/IBM?) svn path=/trunk/; revision=3638
* Tvbuffify the rlogin dissector.Guy Harris2001-07-031-221/+204
| | | | | | | | | | | | | | Get rid of some unneeded includes. "info_framenum" is set from an Ethereal frame number, and those are unsigned, so make it unsigned. No frame will have zero as its frame number, so start "info_framenum" as 0, not -1. Fix some long-standing bugs in the packet processing found either as a result of code inspection in the process of tvbuffifying or doing regression tests. svn path=/trunk/; revision=3637
* With IP fragment reassembly, the current frame when we're dissecting aGuy Harris2001-07-021-20/+2
| | | | | | | | | | | | packet isn't necessarily the first frame of the packet, so don't say that a reply is to a request "starting in" a given frame, just say it's in that frame. Don't manually check whether the stuff we're about to fetch from the tvbuff exists - just fetch it, and let the tvbuff accessors throw an exception if we go past the end of the packet. svn path=/trunk/; revision=3636
* Put the IGMP type field value into the PIM tree, as is done for otherGuy Harris2001-07-021-44/+42
| | | | | | | | | | | | | | | on-top-of-IGMP protocols, e.g. DVMRP. Label the PIM opcode field "Code" for PIMv1, to distinguish it from the IGMP type field. Make that field, and the PIMv2 opcode field, enumerated fields. For unknown opcode values, put the value into the summary line. Get rid of some unused variables. svn path=/trunk/; revision=3635
* Add PIMv1 support.Guy Harris2001-07-024-67/+474
| | | | svn path=/trunk/; revision=3634
* For DNS-over-TCP, put the length indicator into the tree for the DNSGuy Harris2001-07-021-4/+14
| | | | | | request/response. svn path=/trunk/; revision=3633
* Update Gerald's e-mail address.Guy Harris2001-07-021-3/+2
| | | | svn path=/trunk/; revision=3632
* Tvbuffify the DNS, NBNS, NBDS, and NBSS dissectors.Guy Harris2001-07-026-1310/+751
| | | | | | | Add a "tvb_memeql()" routine, for doing "memcmp()"-style equality comparisons. svn path=/trunk/; revision=3631
* Get rid of a now-unused variable; it's the only variable of typeGuy Harris2001-07-022-20/+3
| | | | | | "isis_hdr_t", so we can get rid of the definition of that as well. svn path=/trunk/; revision=3630
* Fetch fields from the ISIS header one at a time, rather than snarfingGuy Harris2001-07-022-58/+80
| | | | | | | | the entire ISIS header into a structure - that way, if we run out of packet data in the middle of the header, we at least dissect the stuff for which we have packet data. svn path=/trunk/; revision=3629
* Fetch values only once from the tvbuff, and save them in a variable,Guy Harris2001-07-021-16/+23
| | | | | | | | | | | | | | | | | rather than calling the tvbuff accessor multiple times. Use "proto_tree_add_item()" for fields whose values we don't care about in the code. BTW, apologies to Hannes Gredler - the changes with More IS-IS updates. HELLO message support in RSVP. were from him, but I forgot to put that in the checkin message. svn path=/trunk/; revision=3628
* Fix the file name in the comment, and update Gerald's e-mail address.Guy Harris2001-07-021-4/+3
| | | | svn path=/trunk/; revision=3627
* Tvbuffified ISIS dissector, from Ronnie Sahlberg.Guy Harris2001-07-0211-893/+921
| | | | svn path=/trunk/; revision=3626
* Fix a typo, discovered whilst testing the tvbuffified ISIS dissectorGuy Harris2001-07-011-2/+2
| | | | | | | | (the tvbuffified version is correct here; I'll check this in for reference purposes, even though I plan to check in the tvbuffified version later). svn path=/trunk/; revision=3625
* From Ronnie Sahlberg: fix the AFS macros to parse the element count inGuy Harris2001-06-301-7/+7
| | | | | | AFSCBFids and AFSCBs as a 32-bit integer rather than an 8-bit integer. svn path=/trunk/; revision=3624
* From Frank Singleton: when GIOP sub-dissectors register themselves, haveGuy Harris2001-06-293-24/+43
| | | | | | | | them supply a protocol ID, and have the code that calls the subdissectors check if the protocol is enabled and, if it isn't, not call the sub-dissector. svn path=/trunk/; revision=3623
* MSNIP support, from Ronnie Sahlberg.Guy Harris2001-06-296-11/+433
| | | | svn path=/trunk/; revision=3622
* Create a routine to do the tvbuff-length-adjusting andGuy Harris2001-06-295-53/+66
| | | | | | | | | | | | | "pinfo->{len,captured_len}"-adjusting currently done by the IP dissector, make the IP dissector call that rather than doing the work itself, make the IPv6 dissector call that rather than just adjusting the tvbuff length itself, and make the IPX dissector call that rather than just adjusting "pi.{len,captured_len}" itself. This cleans things up a bit, and causes trailers to be properly reported in IPX-over-Ethernet frames. svn path=/trunk/; revision=3621
* Update Gerald's e-mail address.Guy Harris2001-06-292-7/+4
| | | | svn path=/trunk/; revision=3620
* Include <string.h> to get "memcmp()" and "memcpy()" declared.Guy Harris2001-06-281-1/+3
| | | | svn path=/trunk/; revision=3619
* Updates from Mark Burton.Guy Harris2001-06-281-40/+234
| | | | svn path=/trunk/; revision=3618
* Handle a few of the NCP types from the traces sent in by Pete,Gilbert Ramirez2001-06-283-494/+722
| | | | | | <psailor@uswest.net> svn path=/trunk/; revision=3617
* Improved support for CORBA IDL "fixed" types, and other updates, fromGuy Harris2001-06-271-37/+66
| | | | | | Frank Singleton. svn path=/trunk/; revision=3616
* Improved support for CORBA IDL "fixed" types, and fix to handling ofGuy Harris2001-06-272-44/+247
| | | | | | explicit and heuristic GIOP dissectors, from Frank Singleton. svn path=/trunk/; revision=3615
* MRDISC support, from Ronnie Sahlberg.Guy Harris2001-06-276-4/+395
| | | | svn path=/trunk/; revision=3614
* Don't offer the ability to edit capture filters if Ethereal wasn'tGuy Harris2001-06-272-2/+10
| | | | | | linked with libpcap. svn path=/trunk/; revision=3613
* Fix a problem that shows up if you build without libpcap.Guy Harris2001-06-271-3/+3
| | | | svn path=/trunk/; revision=3612
* Replace "--enable-pcap" with "--with-pcap", and if an argument isGuy Harris2001-06-274-37/+123
| | | | | | | | | | | specified to "--with-pcap", add that directory to the include file and library search paths, so that you can use "--with-pcap=DIR" to search for libpcap in a directory other than the standard ones (either because it was installed somewhere other than under "/usr" or "/usr/local", or because you want to use a special version you've installed rather than the standard one). svn path=/trunk/; revision=3611
* If length arguments to "%*s" aren't of type "int", cast them to "int",Guy Harris2001-06-261-4/+4
| | | | | | as that's what C requires them to be. svn path=/trunk/; revision=3610
* Add HFILL to explicitly fill in some additional structure members.Guy Harris2001-06-262-6/+6
| | | | svn path=/trunk/; revision=3609
* indentation consistencies.Jun-ichiro itojun Hagino2001-06-262-437/+409
| | | | svn path=/trunk/; revision=3608
* Remove second entry for Michael Rozhavsky - "Additional OSPF LSA typesGuy Harris2001-06-251-4/+0
| | | | | | | and opaque-options flag" falls under the broader heading of "OSPF enhancements". svn path=/trunk/; revision=3607
* A better fix - we don't use "assigned" if the action was E_DECODE_NO, soGuy Harris2001-06-251-14/+9
| | | | | | | | | don't bother fetching it if the action is E_DECODE_NO; that means we can also avoid fetching the currently selected row if the action is E_DECODE_NO, so the fact that we've cleared the selection if the action is E_DECODE_NO doesn't matter. svn path=/trunk/; revision=3606
* In "decode_network()", get the information about the currently selectedGuy Harris2001-06-251-6/+13
| | | | | | | row *before* calling "decode_simple()", as, if the "Do not decode" radio button is selected, "decode_simple()" will clear the current selection. svn path=/trunk/; revision=3605
* More IS-IS updates.Guy Harris2001-06-238-60/+409
| | | | | | HELLO message support in RSVP. svn path=/trunk/; revision=3604
* Include "strerror.h" only on platforms that don't declare it in aGuy Harris2001-06-231-1/+3
| | | | | | | | standard header file, so we get the platform's declaration (which may include, for example, "dllexport"-type declarations) rather than the "workaround for platforms that lack it" declaration. svn path=/trunk/; revision=3603
* "index()" is non-standard, and MSVC++ 6.0 complained about it; the ANSIGuy Harris2001-06-231-4/+3
| | | | | | C standard has "strchr()" instead, so use it. svn path=/trunk/; revision=3602
* Support CIDR notation in IPv4 address filtering.Gilbert Ramirez2001-06-223-11/+85
| | | | svn path=/trunk/; revision=3601
* Allow the 802.11 management-frame protocol to be disabled.Guy Harris2001-06-221-1/+21
| | | | | | | | Don't bother doing the WEP processing and child-tvbuff construction for frames other than management and data frames, as they have no payload to be WEP-encrypted or dissected. svn path=/trunk/; revision=3600
* Dissect the payload of a management frame as a separate protocol, soGuy Harris2001-06-221-419/+416
| | | | | | | | | | | | | | | | | | | | | | | | | | | that you can open up that protocol without opening up the 802.11 MAC header; this can save some screen real estate. Make the tree item for all the WEP parameters a text item, rather than a "string" field with a null string pointer, as "strings" with null string pointers give the filtering code gastric distress. Dissect the WEP initialization vector as an FT_UINT24 (as it's a 3-byte field), and dissect the key ID as part of an FT_UINT8 (as it's in an 8-bit byte). After dissecting the frame control field, dissect the rest of the header in one switch statement, and then: handle WEP-encrypted frames with common code for all frame types; handle the payload of other frames. (If we can supply the relevant keys to Ethereal, we could perhaps add code to decrypt the WEP payload and then dissect the decrypted payload the same way we dissect un-encrypted payloads.) svn path=/trunk/; revision=3599
* Fix up some incorrect handling of the TO_DS and FROM_DS flags byGuy Harris2001-06-221-25/+34
| | | | | | | | | #defining all the bits in the flags field, and using those #defines in the macros to test the flag fields, the macros fot the data address types, the value_string table for the data frame to/from DS combinations, and the bitfields for the flag bits. svn path=/trunk/; revision=3598
* Fix a typo.Guy Harris2001-06-211-2/+2
| | | | svn path=/trunk/; revision=3597
* M2PA support, from Jeff Morriss.Guy Harris2001-06-215-2/+411
| | | | svn path=/trunk/; revision=3596
* some more dissectors of Uwe Girlich addedUwe Girlich2001-06-211-1/+7
| | | | svn path=/trunk/; revision=3595