Commit Graph

1816 Commits

Author SHA1 Message Date
Gilbert Ramirez 2fa56170d3 Add last minute changes.
Fix statement about Win32 version not capturing in README.

svn path=/trunk/; revision=1846
2000-04-13 11:20:49 +00:00
Gilbert Ramirez ac6b7da8b0 Remove extra space before "Port" in proto_tree label.
Add packet-socks.obj to Makefile.nmake.

svn path=/trunk/; revision=1845
2000-04-13 11:11:38 +00:00
Guy Harris c577b0ef60 As we always have to have a filter string (thanks to a bug in the Linux
libpcap), if we have a null filter string we report it as "no filter",
just as we would do for a null filter string pointer.

svn path=/trunk/; revision=1844
2000-04-13 09:17:09 +00:00
Guy Harris fb7dffb8c0 Update to reflect the current state of the Win32 libpcap.
svn path=/trunk/; revision=1843
2000-04-13 09:03:32 +00:00
Guy Harris e70b4f7700 Set the COL_PROTOCOL column to "ISIS" in the ISIS dissector, rather than
in its caller.

Set the COL_PROTOCOL column to "COTP" in the COTP dissector, rather than
in the dissectors it calls, so that it's done for all frames we hand to
that dissector.

Set the COL_INFO field for COTP packets we don't dissect because the
length indicator is zero, or the frame is too short, or the PDU type is
bogus.

svn path=/trunk/; revision=1842
2000-04-13 08:14:35 +00:00
Guy Harris dccffa9d2f Add CLNP PDU types other than DT and ER.
Fix the TPDU code numeric value to be "0x%x" rather than "Ox%x".

Add a COL_INFO field for CLNP PDUs whose payload we don't dissect as
COTP.

Don't dissect segments other than the first derived PDU of a segmented
CLNP PDU (just as we do with fragments other than the first fragment of
a fragmented IP datagram).

svn path=/trunk/; revision=1841
2000-04-13 07:52:55 +00:00
Guy Harris 39f6622feb Fix a typo.
svn path=/trunk/; revision=1840
2000-04-13 06:26:31 +00:00
Guy Harris 5b81d92b45 Fix a typo.
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
2000-04-13 06:09:35 +00:00
Guy Harris 50e76e6d49 For I and S frames, the LLC control field is 2 bytes, so make it
FT_UINT16 (that won't break things for U frames, where it's 1 byte).

svn path=/trunk/; revision=1838
2000-04-13 02:36:35 +00:00
Guy Harris cf31cb477d Jeff Foster's SOCKS dissector, support for associating dissectors
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
2000-04-12 22:53:16 +00:00
Gilbert Ramirez ed237c129d Build tethereal and editcap on Win32.
Add RCS ID tags to Makefile.nmake's.

svn path=/trunk/; revision=1836
2000-04-12 21:52:11 +00:00
Guy Harris c3459da28b A further update from Mark Muhlestein.
svn path=/trunk/; revision=1835
2000-04-12 21:42:31 +00:00
Gilbert Ramirez 390eeb541e Move to version 0.8.7.
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
2000-04-12 21:02:51 +00:00
Guy Harris 5ae55b0c8f Ben Fowler's additions to exclude more files from "cvs diff" and the
like.

svn path=/trunk/; revision=1833
2000-04-12 20:47:46 +00:00
Guy Harris 8e465e6e48 Mark Muhlestein's code to support CIFS-atop-TCP (without the NetBIOS
Session Service).

svn path=/trunk/; revision=1832
2000-04-12 20:43:53 +00:00
Gilbert Ramirez ef73f1757e Change my e-mail address from @tivoli.com to @xiexie.org
svn path=/trunk/; revision=1831
2000-04-12 20:24:43 +00:00
Guy Harris 8512fc4d73 Catch "loops" in compressed DNS names the same way the BSD DNS resolver,
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
2000-04-12 06:59:28 +00:00
Gilbert Ramirez df5f3b52ce Have proto_tree_set_boolean() call proto_tree_set_uint() so that
bit shifting is handled correctly.

svn path=/trunk/; revision=1829
2000-04-11 16:07:40 +00:00
Jun-ichiro itojun Hagino 3ae12aa496 BGP confederations support (RFC1965).
From: Greg Hankins <gregh@twoguys.org>

svn path=/trunk/; revision=1828
2000-04-11 14:21:37 +00:00
Guy Harris db471396fa Have separate global variables for the current "File:Open" and
"File:Save {As}" dialog boxes, if any.

svn path=/trunk/; revision=1827
2000-04-10 18:40:13 +00:00
Gerald Combs a42b1820e4 Add DOCSIS BPDU patch from Johannes Hennecke <Johannes.Hennecke@elsa.de>.
svn path=/trunk/; revision=1826
2000-04-10 14:45:30 +00:00
Guy Harris cd3eccbef8 The "llc_ctrl_vals[]" value_string table isn't used to generate the
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
2000-04-09 18:33:26 +00:00
Guy Harris b1bf10bacb The "llc_ctrl_vals[]" value_string table isn't used to generate the
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
2000-04-08 07:55:11 +00:00
Guy Harris 42107e8614 Move calls to "dissector_add()" out of the register routines for TCP and
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
2000-04-08 07:07:42 +00:00
Guy Harris 160928a318 Jeff Foster's rlogin dissector, and changes to the TCP dissector to
export the urgent pointer (as the rlogin dissector needs it).

svn path=/trunk/; revision=1822
2000-04-08 03:32:10 +00:00
Richard Sharpe 43c9217ba4 Minor update to SMB browse display code ...
svn path=/trunk/; revision=1821
2000-04-08 01:28:13 +00:00
Guy Harris f5d1db4d77 Declare, in "wtap.h", Richard's new "wtap_read()" function.
svn path=/trunk/; revision=1820
2000-04-08 01:16:52 +00:00
Richard Sharpe 140f531ea4 Some stuff, like libdencode, needs a wiretap routine that allows
them to simply read through the capture file ...

svn path=/trunk/; revision=1819
2000-04-08 00:33:04 +00:00
Guy Harris 068a228486 Avoid using zero-length arrays - they're an extension that only some
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
2000-04-07 19:10:51 +00:00
Gilbert Ramirez 0bc96179d8 Disable "Update list of packets in real tiem" and
"Automatic scrolling in live capture" for Win32.

svn path=/trunk/; revision=1817
2000-04-07 15:37:59 +00:00
Gilbert Ramirez ee6442b3f4 Patch for multiple %doc lines in RPM spec file.
From Patrick Higgins <phiggins@transzap.com>

svn path=/trunk/; revision=1816
2000-04-07 10:22:20 +00:00
Guy Harris 5fe1de894e When searching for a frame that matches a filter expression, we
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
2000-04-07 08:00:34 +00:00
Guy Harris 76f0935df9 Plug a memory leak in the "Find Frame" code - we weren't freeing the
protocol tree after checking whether it matched the filter we supplied.

svn path=/trunk/; revision=1814
2000-04-07 07:48:15 +00:00
Gilbert Ramirez f20f651cd0 Move to version 0.8.6.
svn path=/trunk/; revision=1812
2000-04-07 03:18:08 +00:00
Guy Harris 1a460aa453 Define "popup_menu_object" only in "gtk/menu.c", and just declare it as
an "extern" in "gtk/menu.h", to avoid complaints from the linker on some
platforms.

svn path=/trunk/; revision=1810
2000-04-06 06:52:10 +00:00
Guy Harris 9e8cab115d Update the document to reflect Gilbert's changes to split
"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
2000-04-06 06:38:24 +00:00
Guy Harris fc88999155 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=1808
2000-04-06 06:19:42 +00:00
Guy Harris 88a4741106 Fix a typo in the rules to make "dfilter-grammar.c" and
"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
2000-04-06 06:18:50 +00:00
Guy Harris f9acb5fdb7 After destroying the mem chunk for the packet list, null out the pointer
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
2000-04-06 06:04:24 +00:00
Guy Harris a03f3029af Add in an include of "snprintf.h" on platforms where it's necessary.
svn path=/trunk/; revision=1805
2000-04-06 03:59:28 +00:00
Gilbert Ramirez 38e1616c77 Add Attribute Tunnel-Password, from Florian Lohoff.
svn path=/trunk/; revision=1804
2000-04-05 16:01:39 +00:00
Gilbert Ramirez cdbefd7dd7 Spelling fix from Florian Lohoff
svn path=/trunk/; revision=1803
2000-04-05 15:57:04 +00:00
Gilbert Ramirez e15209c496 Update version and plugin directory.
svn path=/trunk/; revision=1801
2000-04-05 11:53:30 +00:00
Gilbert Ramirez 963e4ce472 Plugin API is at version 0.8.5 (reflected in directory name for plugins)
svn path=/trunk/; revision=1800
2000-04-05 11:45:50 +00:00
Gilbert Ramirez 209a8a9a79 Packaging fixes.
svn path=/trunk/; revision=1799
2000-04-05 11:04:46 +00:00
Olivier Abad 1b58783a36 Add a test to check if there is at least one enabled plugin before searching
the plugin list.

svn path=/trunk/; revision=1798
2000-04-04 22:26:36 +00:00
Guy Harris 22ec050ed8 Add "dissector_add()" to the list of routines exported to plugins via
the Big Function Pointer Table.

svn path=/trunk/; revision=1797
2000-04-04 21:46:29 +00:00
Guy Harris 7fba3d94c2 Add some additional notes about
building GTK+/GLib with 64-bit integer support when using HP's C
	compiler;

	libpcap;

from Jost Martin.

svn path=/trunk/; revision=1796
2000-04-04 21:07:33 +00:00
Gilbert Ramirez a35cbd9da9 Move to version 0.8.5
svn path=/trunk/; revision=1795
2000-04-04 19:47:20 +00:00
Gilbert Ramirez 570597952c Add assertions from Ben Fowler <wapdev@leedsnet.com>.
svn path=/trunk/; revision=1794
2000-04-04 17:07:07 +00:00