aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix a typo.Guy Harris2000-04-131-2/+2
| | | | svn path=/trunk/; revision=1840
* Fix a typo.Guy Harris2000-04-131-43/+56
| | | | | | | | | | Use "%u" rather than a hex format to print length values and segment offsets, and use "%u" rather than "%d" to print unsigned values. In the CLNP dissector, chop off the payload and captured-payload lengths based on the segment length (along the lines of what we do for IP). svn path=/trunk/; revision=1839
* For I and S frames, the LLC control field is 2 bytes, so make itGuy Harris2000-04-131-2/+2
| | | | | | FT_UINT16 (that won't break things for U frames, where it's 1 byte). svn path=/trunk/; revision=1838
* Jeff Foster's SOCKS dissector, support for associating dissectorsGuy Harris2000-04-129-101/+1344
| | | | | | | | | | with conversations and having TCP and UDP check whether a packet is part of a conversation with a dissector and, if so, using that dissector on the conversation, and "ethertype()"-style support for allowing a dissector to call a sub-dissector via the same path that the TCP and UDP dissectors use, based on port numbers supplied by that dissector. svn path=/trunk/; revision=1837
* Build tethereal and editcap on Win32.Gilbert Ramirez2000-04-127-14/+78
| | | | | | Add RCS ID tags to Makefile.nmake's. svn path=/trunk/; revision=1836
* A further update from Mark Muhlestein.Guy Harris2000-04-121-2/+10
| | | | svn path=/trunk/; revision=1835
* Move to version 0.8.7.Gilbert Ramirez2000-04-123-8/+30
| | | | | | | | | | I'm going to go ahead and install the plugins in a "0.8.7" directory, and continue incrementing the micro number until the minor version changes to 9. Then for all of 0.9.x, the plugin directory will be "0.9" until the ABI changes again. This should cause less confusion, even if it means the plugins don't change between 0.8.6 and 0.8.7. svn path=/trunk/; revision=1834
* Ben Fowler's additions to exclude more files from "cvs diff" and theGuy Harris2000-04-121-0/+3
| | | | | | like. svn path=/trunk/; revision=1833
* Mark Muhlestein's code to support CIFS-atop-TCP (without the NetBIOSGuy Harris2000-04-123-27/+71
| | | | | | Session Service). svn path=/trunk/; revision=1832
* Change my e-mail address from @tivoli.com to @xiexie.orgGilbert Ramirez2000-04-125-10/+8
| | | | svn path=/trunk/; revision=1831
* Catch "loops" in compressed DNS names the same way the BSD DNS resolver,Guy Harris2000-04-121-5/+21
| | | | | | | | | | | | | and BIND, do, by counting the number of characters we look at and, if when we see a pointer, we see we've already looked at as many characters as there are in the DNS packet, we conclude that we're looping. Also, check for pointers that point past the end of the packet (not just past the end of the captured portion of the packet, i.e. cases where we didn't capture all of the packet, but cases where the packet is actually malformed). svn path=/trunk/; revision=1830
* Have proto_tree_set_boolean() call proto_tree_set_uint() so thatGilbert Ramirez2000-04-111-2/+2
| | | | | | bit shifting is handled correctly. svn path=/trunk/; revision=1829
* BGP confederations support (RFC1965).Jun-ichiro itojun Hagino2000-04-112-29/+62
| | | | | | From: Greg Hankins <gregh@twoguys.org> svn path=/trunk/; revision=1828
* Have separate global variables for the current "File:Open" andGuy Harris2000-04-101-26/+48
| | | | | | "File:Save {As}" dialog boxes, if any. svn path=/trunk/; revision=1827
* Add DOCSIS BPDU patch from Johannes Hennecke <Johannes.Hennecke@elsa.de>.Gerald Combs2000-04-102-2/+12
| | | | svn path=/trunk/; revision=1826
* The "llc_ctrl_vals[]" value_string table isn't used to generate theGuy Harris2000-04-091-3/+5
| | | | | | | | | | protocol tree text for the control field - that protocol tree entry is added by "dissect_xdlc_control()", which uses "proto_tree_add_uint_format()" - and it's not a simple enumerated field (which is why "proto_tree_add_uint_format()" is used, to show all the various bits of the field). Eliminate it. svn path=/trunk/; revision=1825
* The "llc_ctrl_vals[]" value_string table isn't used to generate theGuy Harris2000-04-081-10/+2
| | | | | | | | | | protocol tree text for the control field - that protocol tree entry is added by "dissect_xdlc_control()", which uses "proto_tree_add_uint_format()" - and it's not a simple enumerated field (which is why "proto_tree_add_uint_format()" is used, to more fully describe the field). Eliminate it. svn path=/trunk/; revision=1824
* Move calls to "dissector_add()" out of the register routines for TCP andGuy Harris2000-04-0870-957/+452
| | | | | | | | | | | | | | UDP and into the handoff registration routines for the protocols in question. Make the dissectors for those protocols static if they're not called outside the dissector's source file. Get rid of header files if all they did was declare dissectors that are now static; remove declarations of now-static dissectors from header files that do more than just declare the dissector. svn path=/trunk/; revision=1823
* Jeff Foster's rlogin dissector, and changes to the TCP dissector toGuy Harris2000-04-085-4/+496
| | | | | | export the urgent pointer (as the rlogin dissector needs it). svn path=/trunk/; revision=1822
* Minor update to SMB browse display code ...Richard Sharpe2000-04-081-2/+2
| | | | svn path=/trunk/; revision=1821
* Declare, in "wtap.h", Richard's new "wtap_read()" function.Guy Harris2000-04-081-1/+2
| | | | svn path=/trunk/; revision=1820
* Some stuff, like libdencode, needs a wiretap routine that allowsRichard Sharpe2000-04-081-1/+6
| | | | | | them to simply read through the capture file ... svn path=/trunk/; revision=1819
* Avoid using zero-length arrays - they're an extension that only someGuy Harris2000-04-071-6/+4
| | | | | | | | compilers support, and at least some versions of HP's PA-RISC C compiler, for example (which people do use to compile Ethereal), don't support them. svn path=/trunk/; revision=1818
* Disable "Update list of packets in real tiem" andGilbert Ramirez2000-04-071-1/+7
| | | | | | "Automatic scrolling in live capture" for Win32. svn path=/trunk/; revision=1817
* Patch for multiple %doc lines in RPM spec file.Gilbert Ramirez2000-04-071-2/+3
| | | | | | From Patrick Higgins <phiggins@transzap.com> svn path=/trunk/; revision=1816
* When searching for a frame that matches a filter expression, weGuy Harris2000-04-071-7/+7
| | | | | | | | | | shouldn't stop the search as soon as we get back to the starting frame, we should stop the search if the filter expression doesn't match and the frame we tried it on was the starting frame - it's OK if we find the starting frame, it's just not OK to continue if we don't find that frame. svn path=/trunk/; revision=1815
* Plug a memory leak in the "Find Frame" code - we weren't freeing theGuy Harris2000-04-071-2/+5
| | | | | | protocol tree after checking whether it matched the filter we supplied. svn path=/trunk/; revision=1814
* Move to version 0.8.6.Gilbert Ramirez2000-04-073-3/+11
| | | | svn path=/trunk/; revision=1812
* Define "popup_menu_object" only in "gtk/menu.c", and just declare it asGuy Harris2000-04-062-3/+5
| | | | | | | an "extern" in "gtk/menu.h", to avoid complaints from the linker on some platforms. svn path=/trunk/; revision=1810
* Update the document to reflect Gilbert's changes to splitGuy Harris2000-04-061-30/+98
| | | | | | | "proto_tree_add_item_format()" into multiple routines for different item types, and to note that a subtree can be added under any item. svn path=/trunk/; revision=1809
* Use the "-o" flag, rather than using the "-t" flag and redirecting theGuy Harris2000-04-061-1/+1
| | | | | | | | | standard output, in the rules to get Flex to produce scanner code; that way, if Flex fails to run for some reason, we don't leave around a zero-length or otherwise incorrect "XXX-scanner.c" file that might keep a subsequent make from thinking it has to generate that file. svn path=/trunk/; revision=1808
* Fix a typo in the rules to make "dfilter-grammar.c" andGuy Harris2000-04-061-2/+2
| | | | | | | | | | | | "dfilter-grammar.h". Use the "-o" flag, rather than using the "-t" flag and redirecting the standard output, in the rules to get Flex to produce scanner code; that way, if Flex fails to run for some reason, we don't leave around a zero-length or otherwise incorrect "XXX-scanner.c" file that might keep a subsequent make from thinking it has to generate that file. svn path=/trunk/; revision=1807
* After destroying the mem chunk for the packet list, null out the pointerGuy Harris2000-04-061-2/+4
| | | | | | | pointing to it, so that if we call "close_cap_file()" again, we don't try to destroy an already-destroyed mem chunk. svn path=/trunk/; revision=1806
* Add in an include of "snprintf.h" on platforms where it's necessary.Guy Harris2000-04-061-1/+11
| | | | svn path=/trunk/; revision=1805
* Add Attribute Tunnel-Password, from Florian Lohoff.Gilbert Ramirez2000-04-051-1/+4
| | | | svn path=/trunk/; revision=1804
* Spelling fix from Florian LohoffGilbert Ramirez2000-04-051-2/+2
| | | | svn path=/trunk/; revision=1803
* Update version and plugin directory.Gilbert Ramirez2000-04-051-2/+2
| | | | svn path=/trunk/; revision=1801
* Plugin API is at version 0.8.5 (reflected in directory name for plugins)Gilbert Ramirez2000-04-052-7/+7
| | | | svn path=/trunk/; revision=1800
* Packaging fixes.Gilbert Ramirez2000-04-051-1/+4
| | | | svn path=/trunk/; revision=1799
* Add a test to check if there is at least one enabled plugin before searchingOlivier Abad2000-04-042-4/+4
| | | | | | the plugin list. svn path=/trunk/; revision=1798
* Add "dissector_add()" to the list of routines exported to plugins viaGuy Harris2000-04-043-3/+10
| | | | | | the Big Function Pointer Table. svn path=/trunk/; revision=1797
* Add some additional notes aboutGuy Harris2000-04-041-5/+120
| | | | | | | | | | | building GTK+/GLib with 64-bit integer support when using HP's C compiler; libpcap; from Jost Martin. svn path=/trunk/; revision=1796
* Move to version 0.8.5Gilbert Ramirez2000-04-042-2/+57
| | | | svn path=/trunk/; revision=1795
* Add assertions from Ben Fowler <wapdev@leedsnet.com>.Gilbert Ramirez2000-04-041-2/+4
| | | | svn path=/trunk/; revision=1794
* Add #include "plugins.h" to get definition of HAVE_PLUGINSGilbert Ramirez2000-04-041-1/+3
| | | | svn path=/trunk/; revision=1793
* Add "clean" rules in subdirectories, and run subdirectory "nmake -fGuy Harris2000-04-042-0/+7
| | | | | | | | Makefile.nmake clean" when "nmake -f Makefile.nmake clean" is done in the top-level directory, so that "nmake -f Makefile.nmake clean" cleans everything up. svn path=/trunk/; revision=1792
* The Win32 port of libpcap requires that programs with which it's builtGuy Harris2000-04-043-3/+15
| | | | | | | | | | | | be built as multi-threaded programs; add "/MT" to the list of compiler flags. Add "clean" rules in subdirectories, and run subdirectory "nmake -f Makefile.nmake clean" when "nmake -f Makefile.nmake clean" is done in the top-level directory, so that "nmake -f Makefile.nmake clean" cleans everything up. svn path=/trunk/; revision=1791
* Turn "ethereal_proto_init()" and "ethereal_proto_cleanup()" intoGuy Harris2000-04-044-45/+36
| | | | | | | | | "dissect_init()" and "dissect_cleanup()", in "packet.c", so that we don't duplicate those routines in Ethereal and Tethereal (and so on), and don't have to remember to update N different versions of them if we have to change the way we do one-time initialization and cleanup. svn path=/trunk/; revision=1790
* Use the new split between protocol registration and protocol handoffGuy Harris2000-04-0412-34/+62
| | | | | | | | | | | | | | | | registration routines to get rid of the special handling of ONC RPC protocols - dissectors for ONC RPC-based protocols should register their protocol, fields, and ETT values in a protocol registration routine, and register themselves with the ONC RPC dissector in their protocol handoff routine, so that the latter is done after the ONC RPC dissector's protocol registration routine is called, so that the data structures needed when dissectors for ONC RPC protocols register themselves with the ONC RPC dissector have been initialized. Get rid of "init_dissect_rpc()", which initializes said data structures; do that in "proto_register_rpc()" instead. svn path=/trunk/; revision=1789
* Make "make-reg-dotc" generate a "register_all_protocol_handoffs()"Guy Harris2000-04-046-12/+41
| | | | | | | | | | | | | | | | | | routine, which calls all routines found in the dissector source files with names that match " proto_reg_handoff_[a-z_0-9A-Z]*". Call "register_all_protocol_handoffs()" after calling "register_all_protocols()" - "register_all_protocols()" needs to be called first, so that all protocols can register their fields, because registering a dissector as being called if field "proto.port" is equal to N requires that "proto.port" be a registered field. Give DNS a handoff registration routine, and register its dissector to be called if "udp.port" is UDP_PORT_DNS; remove the registration of DNS from "packet-udp.c", and make "dissect_dns()" static (as nobody else need know that it exists). svn path=/trunk/; revision=1788