Commit Graph

6715 Commits

Author SHA1 Message Date
Guy Harris c9c414c03b Just use "packet_list_set_selected_row()" to select a given row in the
packet list (doing so makes the row visible as well).

svn path=/trunk/; revision=6801
2002-12-18 23:54:01 +00:00
Guy Harris ae0311d97e Don't assume that the time stamp of the last frame is the largest time
stamp in the packet; bugs in the OS kernel or the WinPcap driver, or
just forcibly setting the system time backwards, can cause time stamps
in packet traces not to monotonously increase.  That can cause infinite
loops when picking the scale for the graph.

svn path=/trunk/; revision=6800
2002-12-18 23:08:20 +00:00
Guy Harris 75f340ae3e Microsoft doesn't, as far as I know, have a product "Visual C"; they may
have had one ages ago, but they call their C/C++ compiler "Visual C++".
Use the right name, so as not to confuse people into thinking that the
instructions are only for "Visual C" and can't be used for Visual C++
(yes, this really did appear to happen).

svn path=/trunk/; revision=6799
2002-12-18 21:59:46 +00:00
Gerald Combs 3eec00a008 Fix a typo (cyrpt-md5.obj -> crypt-md5.obj).
svn path=/trunk/; revision=6798
2002-12-18 17:44:54 +00:00
Guy Harris 462a1b80b4 Correctly compute the minutes portion of the elapsed time.
svn path=/trunk/; revision=6797
2002-12-18 06:44:50 +00:00
Guy Harris 020effa6d0 Clean up the code a bit:
don't initialize variables that are set elsewhere before they're
	used;

	don't call "tvb_get_ptr()" to set a variable if you're not going
	to use that variable;

	make the two character-processing loops have the same structure;

	put the result of the XORing into an unsigned character, so it
	can be handed to "isprint()" without running the risk of bogus
	behavior if the 8th bit is set.

svn path=/trunk/; revision=6796
2002-12-17 22:49:33 +00:00
Olivier Abad f883bb7443 Replace #include "md5.h" with "crypt-md5.h".
svn path=/trunk/; revision=6795
2002-12-17 22:14:54 +00:00
Olivier Abad b8c787a7ab - some radcom files seem to have a different magic key than the one we
use : 42:f9:02:34:12:66:22:88 instead of 42:d2:00:34:12:66:22:88
  We should accept both (perhaps bytes 2 and 3 are a version number ?)

- the code which looks for the "capture start time" is wrong.
  Apparently, we should look for the string "Active Time" in the file.
  The "frame_date" structure which contains the capture start time is
  found 32 bytes before this string.

svn path=/trunk/; revision=6794
2002-12-17 21:53:57 +00:00
Gerald Combs b287a6d3d9 Rename md5.[ch] to crypt-md5.[ch] to conform with our naming conventions.
svn path=/trunk/; revision=6793
2002-12-17 16:06:54 +00:00
Ronnie Sahlberg 1027314b99 From Jason House, support for TAPping from TCP protocol
svn path=/trunk/; revision=6792
2002-12-17 11:49:32 +00:00
Guy Harris 675a2960ee If NBF reassembly isn't enabled, hand Data First Middle frames to
subdissectors, so that we try to dissect the first frame of a
multi-frame message as, for example, SMB, as that's the frame that
contains the SMB header.  (That also means we try to dissect middle
frames, but that probably won't work unless one happens to begin with
0xff S M B.)

svn path=/trunk/; revision=6791
2002-12-17 08:48:38 +00:00
Gerald Combs 9c0d1cbfb7 From James Harris: Decrypt RADIUS user passwords.
The MD5 is copyrighted by L. Peter Deutsch, and released under the same
license as zlib.  It is GPL-compatible, and should NOT have the GPL
applied to it.

svn path=/trunk/; revision=6790
2002-12-17 04:05:25 +00:00
Guy Harris 15c6306a3c From Andreas Trauer: dissect the L2TP AVPs Initial Received LCP CONFREQ,
Last Received LCP CONFREQ, Last Sent LCP CONFREQ, and correct some AVP
names.

svn path=/trunk/; revision=6789
2002-12-16 21:18:37 +00:00
Ronnie Sahlberg 2c21b27603 Cosmetic fix for io_stat. make sure that the graph always starts with a line at zero level even if there is no data seen at the beginning of the window.
svn path=/trunk/; revision=6788
2002-12-16 07:11:24 +00:00
Ronnie Sahlberg 4c16bc7ba7 Prettify RPC_PROGRAMS table when reading new capture or when closing and opening it again.
svn path=/trunk/; revision=6787
2002-12-16 07:02:05 +00:00
Ronnie Sahlberg b1628b5c42 From Ronald Henderson: support for colored graphs in io_stat also for the Gtk1 version.
svn path=/trunk/; revision=6786
2002-12-16 06:44:45 +00:00
Guy Harris 73a5a10d7a When processing a connection-oriented DCERPC PDU, don't set the columns
until we know that we have the entire PDU - we might not have all of it,
as some of it might be in, for example, a later TCP segment.

svn path=/trunk/; revision=6785
2002-12-14 23:44:48 +00:00
Tim Potter 2e5169d5aa More conversions to NDR routines. This commit does most of the printerdata
routines except for the enumprinterdata values.  Note the display of
strings inside the protocol tree is broken due to lack of a unicode
string frametype.

svn path=/trunk/; revision=6784
2002-12-13 06:07:04 +00:00
Tim Potter e7eeefc8ff Guy has pointed out that this dissection looks wrong. In the ethereal
output for a USER_LEVEL_1 it looks like the info level and container
pointer are transposed.  I'm not even sure this structure is a
container

svn path=/trunk/; revision=6783
2002-12-13 04:58:56 +00:00
Gerald Combs 2a76fc921c Remove an errant space from the name "TippingPoint Technologies, Inc."
svn path=/trunk/; revision=6782
2002-12-12 22:09:19 +00:00
Guy Harris cf54ab47b7 When dissecting a buffer, use the tvbuff for the buffer, as the offset
we're using is relative to the beginning of that tvbuff, not relative to
the beginning of the containing tvbuff; that also lets us use -1 when in
"proto_tree_add_text()" calls when we mean "to the end of the buffer.

Fix the comment for one field.

svn path=/trunk/; revision=6781
2002-12-12 08:05:31 +00:00
Guy Harris 7280374f3d Add support for the new DLT_ value of 127, for the AVS WLAN header.
svn path=/trunk/; revision=6780
2002-12-11 22:45:24 +00:00
Guy Harris 2022534826 From Andreas Trauer: dissect the L2TP AVPs Initial Received LCP CONFREQ,
Last Received LCP CONFREQ, Last Sent LCP CONFREQ, and correct some AVP
names.

svn path=/trunk/; revision=6779
2002-12-11 19:59:08 +00:00
Guy Harris 79275e0079 From Devin Heitmueller:
Minor change to the connection oriented DCE/RPC function calls.
	Now the offset is provided in the call, instead of having a
	hard-coded value in each function.  Also makes the calling
	convention consistent with the datagram equivalents for the
	functions.

	Didn't do it for dissect_dcerpc_cn_auth() yet, as that is a
	special case (and I am in the process of restructuring it to
	make verifier decryption work properly).

svn path=/trunk/; revision=6778
2002-12-11 19:50:24 +00:00
Guy Harris 69ab206a89 From Devin Heitmueller: make the RC4 support stateful.
svn path=/trunk/; revision=6777
2002-12-11 19:31:02 +00:00
Michael Tüxen 01a78246ae - get rid of registering as SUA light upper layer (support for SUA light
will be dropped), RANAP will be an upper layer of SUA.
- register as upper layer of SCCP with the ITU assigned subsystem number

svn path=/trunk/; revision=6776
2002-12-10 21:41:23 +00:00
Guy Harris 8480cf347a From Michal Melerowicz: fix the display of IMSI for operators having a
mobile network code greater than 9.

svn path=/trunk/; revision=6775
2002-12-10 19:05:29 +00:00
Guy Harris 8e1a648203 Fix the formal argument list to "bytestring_to_str()" to match the
changes to the actual argument lists in the calls (putting the byte
string length after the byte string pointer).

Make the byte string length actually be the length, not the length - 1.

Use a #define for the longest byte string it can handle, and put in a
"g_assert()" to check the sanity of that length.

svn path=/trunk/; revision=6774
2002-12-10 07:39:48 +00:00
Guy Harris 9711eebb5b Move the handling of the Network_Header for full FC frames into the FC
dissector, and have the LLC dissector register itself as the dissector
for IP-over-FC frames, as the payload is just an LLC 802.2 header plus
payload for the protocol specified by that header.

In the dissector for IP-over-FC as a Wiretap link-layer type, have its
top-level item be a protocol item rather than a text item, and don't
register it as the dissector for IP-over-FC frames from the FC dissector
- it assumes what it's handed includes the Network_Header, but for full
FC frames, the FC dissector has already consumed the Network_Header.

Move the definitions of the value_string tables out of the header file;
most of them are used only in one file, so define them in that file, and
for "fc_fc4_val", define it in "packet-fc.c", make it not static, and
declare it in "packet-fc.h".

Use FALSE, rather than 0, as the last argument to
"proto_tree_add_item()" calls that add a big-endian value.

Fix one "proto_tree_add_uint()" call that was supposed to be a
"proto_tree_add_item()" call.

Use "%u", not "%d", to display unsigned values.

svn path=/trunk/; revision=6773
2002-12-10 02:49:31 +00:00
Guy Harris 92d90f4f28 Add a new type of column for the circuit ID (Frame Relay DLCI, ISDN
channel number, X.25 logical channel number).

Clean up white space and the like, and get rid of unnecessary arguments
to "col_set_port()".

svn path=/trunk/; revision=6772
2002-12-10 01:17:21 +00:00
Guy Harris 644d19129a From Alfred Koebler: add support for a column for the interface and
direction in Firewall-1 monitor files.

svn path=/trunk/; revision=6771
2002-12-10 00:12:59 +00:00
Guy Harris bc06f2e440 Work around annoying Apple C compiler/linker bug.
"ether_to_str_punct()" no longer deals only with Ethernet-style
addresses, as it now takes a length argument, rename it
"bytestring_to_str()" - and make it static, as it's not used outside
"to_str.c".

Get rid of unused "fc_to_str_buf()" routine.

svn path=/trunk/; revision=6770
2002-12-09 21:34:58 +00:00
Gerald Combs d44e27b17c Fix a typo.
svn path=/trunk/; revision=6769
2002-12-09 03:09:35 +00:00
Guy Harris ad323ca96f Clean up a bit, and put "extern" back.
svn path=/trunk/; revision=6768
2002-12-08 22:53:00 +00:00
Guy Harris 22496138e9 Add a capture routine for IP-over-FC, and call it from the capture code.
svn path=/trunk/; revision=6767
2002-12-08 22:35:30 +00:00
Guy Harris 854b819fab On UNIX, search for plugins only in the directory in which plugins will
be installed - don't explicitly search
"/usr/lib/ethereal/plugins/{version}" or
"/usr/local/lib/ethereal/plugins/{version}", so that if there's more
than one version of Ethereal installed, we don't end up picking up
plugins from the wrong version.

svn path=/trunk/; revision=6766
2002-12-08 22:22:03 +00:00
Guy Harris 93b92b0f94 Do LLC handoff from the IP-over-FC dissector the way it's done for other
protocols using 802.2 LLC.

svn path=/trunk/; revision=6765
2002-12-08 22:01:20 +00:00
Guy Harris 8eb4de203d Get rid of comment from sample dissector.
Get rid of some probably-unnecessary #includes.

Register the IP-over-FC dissector as the dissector to call for
IP-over-FC captures.

svn path=/trunk/; revision=6764
2002-12-08 21:56:06 +00:00
Gerald Combs 1a2492c144 Add packet-ipfc.c to Makefile.nmake.
svn path=/trunk/; revision=6762
2002-12-08 03:59:03 +00:00
Gerald Combs 8f75728dea Add packet-ipfc.c and packet-fcbls.h to Makefile.am.
svn path=/trunk/; revision=6761
2002-12-08 03:38:19 +00:00
Gerald Combs 24ef842ded Move the advisory notice to the top.
svn path=/trunk/; revision=6760
2002-12-08 02:52:57 +00:00
Gerald Combs e41764a187 Update Dinesh's entry to include FC.
svn path=/trunk/; revision=6759
2002-12-08 02:35:52 +00:00
Gerald Combs 89bd8889d8 Add Fibre Channel entries.
svn path=/trunk/; revision=6758
2002-12-08 02:34:41 +00:00
Gerald Combs b60b1414c3 From Dinesh Dutt: Add Fibre Channel support, including FCIP, Basic FC
header, Extended Link Service, Interswitch Link Service, FCP, and IPFC.

svn path=/trunk/; revision=6757
2002-12-08 02:32:36 +00:00
Gerald Combs c2ecb0daa5 Bah. I somehow lost the ChangeLog entries from Nov 1 to today. Recreate
them.

Add RCS IDs to ChangeLog and NEWS.

svn path=/trunk/; revision=6756
2002-12-07 23:14:09 +00:00
Gerald Combs 804d5ab842 Add make-tapreg-dotc to the distribution.
svn path=/trunk/; revision=6755
2002-12-07 21:43:27 +00:00
Gerald Combs 8ecc8ca585 Tidy up for the 0.9.8 release
svn path=/trunk/; revision=6754
2002-12-07 21:18:57 +00:00
Gerald Combs 7657881499 Add (and remove upon uninstallation) SNMP MIBs.
svn path=/trunk/; revision=6753
2002-12-07 21:10:22 +00:00
Gerald Combs 615a09e861 Don't pass a null string pointer to proto_tree_add_text().
svn path=/trunk/; revision=6752
2002-12-07 03:45:34 +00:00
Ronnie Sahlberg 73dc273c7b When we have tretransmissions of TCP for a RPC/(NFS) session we
often get TCP to collapse multiple RPC PDUs into a MSS TCP segment.

This changes the RPC dissector so that it will put one entry on COL_INFO
for each PDU in the segment, (as the SMB dissector does for multiple AndX calls in one SMB PDU)
and just one entry for the first/last RPC PDU.

svn path=/trunk/; revision=6751
2002-12-06 21:01:37 +00:00