Commit Graph

2692 Commits

Author SHA1 Message Date
Jörg Mayer 63ae8f775f - Add svn:ignore
- Replace the completely wrong Makefile.am (was a copy of makefile.nmake)
  by the version the author sent. As I needed to retrieve it from the ML
  archives, it may be different from the originally sent version. If
  someone still has the original version in his inbox, please send it to
  me.

svn path=/trunk/; revision=19107
2006-09-01 04:26:53 +00:00
Ulf Lamping d4499eb9a7 move value_strings from expert_dialogs into expert.c to remove duplicates
keep the highest severity level of the current file (experimental)

svn path=/trunk/; revision=19104
2006-08-31 22:56:38 +00:00
Ronnie Sahlberg 607f73cd71 dont include config.nmake in the codecs makefile it appears it is not needed
dont link with libcodec.a
1, this should be a shared library not a static one?
2, its not built on unix so it is missing


making unix/linux build work again



svn path=/trunk/; revision=19101
2006-08-31 12:13:12 +00:00
Ronnie Sahlberg d1040bd39a the commands for a rule in a amkefile must in classical makefiles start with a TAB not with spaces.
svn path=/trunk/; revision=19100
2006-08-31 09:37:02 +00:00
Jaap Keuter 503bf26e98 Remove trailing backslash from CFLAGS
svn path=/trunk/; revision=19099
2006-08-31 06:58:29 +00:00
Anders Broman 7eac3c2879 From Alejandro Vaquero:
- Change the "listen_rtp" to "rtp_player"
- Change from a plugin to be part of the core
- By default it will not compile with the rtp_player. In order to 
compile it is necessary to:
       + For windows: uncomment the line 
"PORTAUDIO_DIR=$(WIRESHARK_LIBS)\portaudio_v18_1" in config.nmake
       + For linux: using the "--with-portaudio=yes"

svn path=/trunk/; revision=19094
2006-08-30 21:51:31 +00:00
Anders Broman 55ddc3dd59 From Alejandro Vaquero:
- Change the "listen_rtp" to "rtp_player"
- Change from a plugin to be part of the core
- By default it will not compile with the rtp_player. In order to 
compile it is necessary to:
       + For windows: uncomment the line 
"PORTAUDIO_DIR=$(WIRESHARK_LIBS)\portaudio_v18_1" in config.nmake
       + For linux: using the "--with-portaudio=yes"

svn path=/trunk/; revision=19093
2006-08-30 20:50:37 +00:00
Anders Broman 7577c1a2d8 From Alejandro Vaquero:
The "codecs"

svn path=/trunk/; revision=19092
2006-08-30 20:47:16 +00:00
Ulf Lamping ad75ee95dd Remove a lot of XXX:
- add help buttons to the dialogs
- the read filter fields are now working (the filter button still not)
- PDML export don't need "Packet Format" settings, grey them out
- fix a bug in the filter fields coloring function (g_alloc space was too small)

svn path=/trunk/; revision=19091
2006-08-30 20:45:13 +00:00
Ulf Lamping 27529d334e have only one Export/File menu entry for the Win32 dialog, instead of 5 entries leading to exactly the same dialog (with a single setting - the file type - set different)
we might want the Unix/GTK version work the same way, as this is how other programs I know work as well ... and making the documentation easier by desribing only one way how it's working

svn path=/trunk/; revision=19090
2006-08-30 20:38:17 +00:00
Ulf Lamping 05bedd5d0f add some file dialog related help pages
use file related instead of print related help pages for the export dialogs

svn path=/trunk/; revision=19089
2006-08-30 20:27:12 +00:00
Ulf Lamping 2aa248f652 seems the height offset 16 seems a bit too small to prevent a scrollbar, using 20 instead
svn path=/trunk/; revision=19088
2006-08-30 20:24:49 +00:00
Martin Mathieson 6aa04b109c Add SIP response code 494 from RFC 3329
svn path=/trunk/; revision=19085
2006-08-30 09:48:12 +00:00
Ulf Lamping 67198aabbb sort the u3.c file into the list alphabetically
svn path=/trunk/; revision=19081
2006-08-29 21:12:45 +00:00
Ulf Lamping 2dff4c21bb fix #331: add a scrollbar to the dialog. If a fileset contains more than 18 files, use that scrollbar. These 18 files should be displayable even on a 800*600 display.
svn path=/trunk/; revision=19080
2006-08-29 21:09:32 +00:00
Ulf Lamping fc2c17c6f7 add u3.h to the distribution files (hopefully this fixes ubuntu buildbot distcheck)
svn path=/trunk/; revision=19079
2006-08-29 21:06:36 +00:00
Ulf Lamping dff6a652b9 fix #1061: the logic to search for a specific protocol page was missing the changes of the scrollable window indirection
svn path=/trunk/; revision=19069
2006-08-28 22:54:12 +00:00
Anders Broman 2c525a1d73 Fixa a typo.
svn path=/trunk/; revision=19055
2006-08-27 19:15:20 +00:00
Ulf Lamping 6279cb3c58 fix #707: "It's not possible to print each packet on a new page"
Win32: detect "form feed" char and create a new page in that case

svn path=/trunk/; revision=19054
2006-08-27 12:35:26 +00:00
Ulf Lamping 36d80b8c8b squelch some compiler warnings
svn path=/trunk/; revision=19052
2006-08-27 11:27:47 +00:00
Ulf Lamping 8ed01f4cb7 fix a warning by removing now unused code
svn path=/trunk/; revision=19051
2006-08-27 10:41:30 +00:00
Guy Harris a28b428aff Go back to setting the capture filter to an empty string when we start;
that obviates the need to check for a null capture filter string, and
fixes bug 1055.

Keep track of whether it was set from the command line, though, so we
can catch attempts to set the filter more than once, and attempts to set
it when we're not capturing.

Clean up white space.

svn path=/trunk/; revision=19047
2006-08-26 18:36:09 +00:00
Graeme Lunt 14be5e2bcc U3 packaging, utility and Wireshark modifications that allows Wireshark to be run from a U3 USB device.
For more details see packaging/u3/win32/README.txt


svn path=/trunk/; revision=19046
2006-08-26 17:55:21 +00:00
Guy Harris 0f6f2f4b45 Clean up indentation.
Only define cap_air_w if we have AirPcap.

svn path=/trunk/; revision=19041
2006-08-26 00:12:12 +00:00
Guy Harris 96b7baf4cf Get rid of aun unused routine.
svn path=/trunk/; revision=19040
2006-08-26 00:08:51 +00:00
Guy Harris b65c263be5 Get rid of unused variable.
svn path=/trunk/; revision=19039
2006-08-26 00:07:13 +00:00
Ulf Lamping 21d2ffaaa4 don't show the "Wireless Settings" button if HAVE_AIRPCAP isn't defined
svn path=/trunk/; revision=19031
2006-08-25 19:19:21 +00:00
Ulf Lamping 3cefeb07f6 don't put "..." in front of a menu item
svn path=/trunk/; revision=19030
2006-08-25 19:15:55 +00:00
Ulf Lamping 38f799fc34 fix bug #1057: remove "start" completely
svn path=/trunk/; revision=19029
2006-08-25 19:13:02 +00:00
Ulf Lamping 905b6b7d12 ugly workaround for bug #699 (Up/Down buttons don't work properly)
After experimenting a bit, this is a GTK bug IMHO, I don't see a better way to simply use the GTK1.x code for now, which is working ok.

GTK2.4 was working properly, GTK2.6 and 2.8 has this bug, hopefully GTK2.10 will fix it again.

svn path=/trunk/; revision=19025
2006-08-25 08:04:38 +00:00
Ulf Lamping de8da839c0 add WinPcap 4.0 beta 1 to the list of known and tested versions
svn path=/trunk/; revision=19021
2006-08-24 21:44:30 +00:00
Ulf Lamping 0fcfd360e9 capture interfaces dialog: use capture stock icons instead of plain text buttons
capture info dialog: add a "Help" and use stock buttons

svn path=/trunk/; revision=19020
2006-08-24 21:40:53 +00:00
Ulf Lamping ef9d7bc95f fix #927: Win32: delete an existing file, if the user want's to overwrite a file and confirmed this already
svn path=/trunk/; revision=19008
2006-08-23 21:19:02 +00:00
Gerald Combs 27c127863e Fix up copyrights and whitespace.
svn path=/trunk/; revision=18981
2006-08-21 19:22:33 +00:00
Gerald Combs 98883c6538 AirPcap fix from Florent Drouin:
Since version 18928, there is a GTK warning at wireshark startup.
I think a #ifdef HAVE_AIRPCAP is missing in ./gtk/menu.c

svn path=/trunk/; revision=18976
2006-08-21 14:40:05 +00:00
Ronnie Sahlberg 0ed3415d5d make the scsi statistics dialogs easier to understand for scsi novices
explain what the commandsets refer to   SBC==disk  SSC=tape  MMC=cd


svn path=/trunk/; revision=18967
2006-08-21 11:26:34 +00:00
Ronnie Sahlberg b588469ccf guids are not olnly used in dcerpc interfaces and they often occur in many other protocols such as ldap and smb/smb2
move the initialization of the guid mapping table from the dcerpc dissector to a more neutral place


svn path=/trunk/; revision=18947
2006-08-18 09:32:19 +00:00
Gerald Combs f9661850d1 Add support for AirPcap, an upcoming wireless product from CACE. Support
is disabled by default, and can be enabled by setting AIRPCAP_CONFIG
in config.nmake.  The code is currently limited to Windows, but should
be adaptable to other platforms.

The official announcement won't come until next week, so you'll have to
read the source for details.  :)

svn path=/trunk/; revision=18928
2006-08-16 18:01:25 +00:00
Gerald Combs f6802d35c8 Put protocol preferences in a scrolled window, in case a particular
protocol has a lot of preference items.  Change the number of
configurable ESP SAs to 16 (in case someone needs do decrypt many
sessions in a single trace file).  Fix up whitespace.

svn path=/trunk/; revision=18903
2006-08-14 22:34:46 +00:00
Ulf Lamping c6c15e8b6b Slight changes suggested by Jörg Mayer:
2,412,000 kHz -> 2412 MHz
Available networks -> Available networks (BSSID list)

svn path=/trunk/; revision=18893
2006-08-13 17:49:58 +00:00
Ulf Lamping 3342dab895 "bug" #1013: from Stephen Fisher
add the X --display command line parameter to the documentation

svn path=/trunk/; revision=18889
2006-08-13 00:13:22 +00:00
Ulf Lamping e4f0c6aa3a some enhancements to the WLAN details
svn path=/trunk/; revision=18887
2006-08-12 23:12:21 +00:00
Ulf Lamping 96539fbb08 experimental: add a "Conversation Filter" entry to the context menu of the packet list. More info to come in the developer list shortly.
svn path=/trunk/; revision=18885
2006-08-12 22:38:08 +00:00
Ulf Lamping c0bc7f7770 fix #973: if the window is minimized while you close Wireshark, (at least the Win32 version) will save -32000 for the x and y values, which is obviously out of the screen the next time.
Simply ignore the incoming values of -32000 by not calling gtk_window_move() / gtk_widget_set_uposition() in that case.

I don't know what the Unix GLib version will do in that case.

svn path=/trunk/; revision=18884
2006-08-12 22:02:37 +00:00
Jörg Mayer 30c04916b4 Reported by Stephen Fisher <stephentfisher@yahoo.com>:
I believe this is a typo in the command line help for the -i option:

Usage: wireshark [options] ... [ <infile> ]

Capture interface:
  -i <interface>           name or idx of interface (def: first none
loopback)

Shouldn't that read "first non-loopback" ?



svn path=/trunk/; revision=18813
2006-08-01 19:52:36 +00:00
Jörg Mayer 5c8bb9bca8 Alex Shnitman <AlexS@mangodsp.com>
Below is a patch for a bug in rtp_analysis.c. The variable
	statinfo->delta_timestamp was not initialized in all the
	necessary cases. The function rtp_packet_save_payload uses this
	variable and the for loop on line 935 could use an old value
	and run an incorrect amount of times, e.g. a couple billion,
	which gets ethereal stuck. I can supply an example capture
	which causes it. The patch solves the problem.

svn path=/trunk/; revision=18798
2006-07-27 14:19:10 +00:00
Jaap Keuter e4b7002b5f From: Martin Mathieson
I'm not sure if this will help with the problems that Keith French is
seeing, but when I loaded some of my old H.323 traces, one of them would
assert/abort.  This patch fixes that assertion (looks like it was obviously
asserting on the wrong pointer variable).

svn path=/trunk/; revision=18791
2006-07-25 09:21:41 +00:00
Gerald Combs 2fff2519d3 Add a license blurb.
svn path=/trunk/; revision=18788
2006-07-24 16:47:20 +00:00
Jörg Mayer e226affa31 stephentfisher@yahoo.com:
Adds $(LIBGCRYPT_CFLAGS) to two Makefiles
	(fix for http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1005)


svn path=/trunk/; revision=18753
2006-07-17 19:37:21 +00:00
Gerald Combs 147ac8b094 gtk_text_buffer_select_range() was introduced in GTK+ 2.4, so don't use it.
Set our selection range manually.

svn path=/trunk/; revision=18750
2006-07-17 17:23:01 +00:00
Anders Broman 527dc673f4 From Martin Mathieson:
sip_stats.c and tap_sipstat.c:
adds the code 429 ("Provide Referrer Identity", from RFC 3892) to 
SIP stats.

chargecontrol.xml packet-diameter.c :
These patches
- add a few more chargecontrol AVPs, and add the vendor-id where needed
- report as expert info when AVPs' lengths don't match their type

svn path=/trunk/; revision=18743
2006-07-17 05:51:14 +00:00
Gerald Combs 786666ea4c Fix compilation problems for Windows and GTK1.
svn path=/trunk/; revision=18741
2006-07-15 14:17:42 +00:00
Gerald Combs f53bb927fc Add support for generating firewall ACL rules. MAC, IPv4, port, and
IPv4+port rules are supported along with several syntaxes: IOS standard,
IOS extended, ipfilter, ipfw, pf, and netsh.  IPv6 is currently not
supported, but shouldn't be too difficult to add.

All of the rules were created using the documentation for each product.
None of them have been tested.  For the time being, use them with
caution.

svn path=/trunk/; revision=18737
2006-07-14 20:14:39 +00:00
Anders Broman 330a42fc91 From Martin Mathieson:
Mike Oliveras has indicated that for MGCP voip calls, 2 seconds may be a 
better timeout for still matching DLCX requests to a hung-up endpoint, 
as in this patch.

svn path=/trunk/; revision=18662
2006-07-05 05:18:06 +00:00
Guy Harris 5e3fe34170 Fix the usage output to all go to the same stream.
svn path=/trunk/; revision=18646
2006-07-04 02:23:15 +00:00
Ulf Lamping 321316861e bugfix: open the Win32 print dialog a second time resulted in "funny" behaviour
printing on Win32 uses the print to file "option", don't overwrite the internal settings while doing so

svn path=/trunk/; revision=18631
2006-07-01 12:11:11 +00:00
Ulf Lamping 637a18eedb mark unused parameters
svn path=/trunk/; revision=18630
2006-07-01 12:06:36 +00:00
Ulf Lamping e1874af6da If the user sets a time reference and the time display format is currently not "Seconds Since Beginning of Capture", ask him if Wireshark should switch to that format. It's the only display format where a time reference makes sense.
It's just annoying to set a time reference without seeing a reasonable result on the screen.

svn path=/trunk/; revision=18614
2006-06-29 19:04:33 +00:00
Ulf Lamping ecb07acdef add a new column DCE/RPC context ID
svn path=/trunk/; revision=18578
2006-06-26 20:46:15 +00:00
Michael Tüxen 45b5d20416 From Irene Ruengeler: Add context menu for SCTP analysis.
svn path=/trunk/; revision=18576
2006-06-26 13:18:37 +00:00
Ulf Lamping 41c9f5e3f6 use file name information from wiretap instead of "build in" values
remove "double combobox" from the save dialog

append the default file extension to the save file name, if the user didn't added one

svn path=/trunk/; revision=18563
2006-06-23 18:29:48 +00:00
Jaap Keuter 55d6e6ba0b Make SSRC display (among others) unsigned. Fixes Ethereal bug 1002.
svn path=/trunk/; revision=18559
2006-06-23 15:22:12 +00:00
Ulf Lamping e7100e5e8e bugfix: saving the user specified packet range text must be utf8'ed, otherwise only the first char will be used
svn path=/trunk/; revision=18547
2006-06-22 19:16:40 +00:00
Ronnie Sahlberg 53dc5d4196 add check that string is non-null before we dereference and gfree it
svn path=/trunk/; revision=18544
2006-06-22 11:43:18 +00:00
Ronnie Sahlberg 6fe839a61a coverity 187
i dont think this can trigger in the current code   but better safe than sorry  and it safeguards against future changes that might break this requirement.


dereferencing a nullpointer would cause crash of wireshark   in case a new bug is introduced making it possible for this variuable to be null.




svn path=/trunk/; revision=18543
2006-06-22 11:23:26 +00:00
Ronnie Sahlberg 6ceb4d9b46 coverity 194
this is actually a false positive in coverity and can not trigger since htis pointer can not be null here 
but verifying this before the varialbe is dereferenced does not hurt in case 
the file is changed and this contract is broken.


checking the

svn path=/trunk/; revision=18542
2006-06-22 11:08:35 +00:00
Gerald Combs f7e38bd5e6 Change ETH_VAR_IMPORT to WS_VAR_IMPORT. Try to fix a duplicate variable
definition in the Catapult DCT2000 code.

svn path=/trunk/; revision=18524
2006-06-20 18:30:54 +00:00
Ronnie Sahlberg b39d9be585 include emem.h
svn path=/trunk/; revision=18509
2006-06-18 05:38:35 +00:00
Anders Broman c01e45186f From Martin Mathieson:
Fix the part where the DeleteConnection messages and 
responses were not being included in the graphs.
There is a test that allows messages such as these for 1 second after 
the call has been hung up, but the time calculation was wrong.

svn path=/trunk/; revision=18479
2006-06-15 21:38:37 +00:00
Jörg Mayer 8a1c2c4632 No // comments
svn path=/trunk/; revision=18462
2006-06-14 08:10:23 +00:00
Guy Harris c922f5e48e Fix the signatures of find_next_mark_cb() and find_next_mark_cb() to
match their declarations, and mark the "action" argument as unused.

svn path=/trunk/; revision=18446
2006-06-13 05:36:27 +00:00
Ulf Lamping 2bfd2bf5a7 update of "Edit" menu:
Add missing "Find Next Mark" and "Find Previous Mark" functionality to the "Edit" menu.

"unify" the menu items of "Time Reference" and "Mark Frame" functionality (both main and packet list context menus)

... we need to update the User's Guide screenshots anyway because of the Wireshark changes :-)

svn path=/trunk/; revision=18438
2006-06-12 19:35:26 +00:00
Anders Broman ea3364b8f3 Complete the parch from:
From Cvetan Ivanov: 

voip_calls.c
It seems to me that in gtk/voip_calls.c tmp_h323info->guid is pointer itself, therefore: 
memcmp(&tmp_h323info->guid 
should in fact read: 
memcmp(tmp_h323info->guid

svn path=/trunk/; revision=18424
2006-06-11 06:20:48 +00:00
Jörg Mayer 80e1c39607 Radek Vokal <rvokal@redhat.com>:
Fix for bug 917: segfault when closing caputre dialog

Close dialog event have to return gboolean value.

svn path=/trunk/; revision=18401
2006-06-08 15:17:08 +00:00
Gerald Combs d5da1670f1 Update the download link in the help dialog. More Ethereal -> Wireshark.
svn path=/trunk/; revision=18391
2006-06-07 22:57:54 +00:00
Gerald Combs 477bd8006a Use the new capture icons.
svn path=/trunk/; revision=18377
2006-06-07 04:03:18 +00:00
Gerald Combs d704554ee2 Ethereal -> Wireshark
svn path=/trunk/; revision=18370
2006-06-06 23:11:31 +00:00
Guy Harris 32d1c74522 Throw in a cast to work around the lack of a "const" in the signature
for gdk_pixmap_create_from_xpm_d().

svn path=/trunk/; revision=18330
2006-06-03 00:58:36 +00:00
Ulf Lamping 3b815838f3 "Wireshark - Network Protocol Analyzer" -> "Network Protocol Analyzer", as the name Wireshark is already in the logo (it wasn't in the former "E" logo)
svn path=/trunk/; revision=18322
2006-06-02 17:23:31 +00:00
Ulf Lamping 777fe09140 eug_html_chunked -> wsug_html_chunked
svn path=/trunk/; revision=18321
2006-06-02 17:21:24 +00:00
Tomas Kukosa 62179dd08f eicon3d*.xpm -> wsicon*.xpm
svn path=/trunk/; revision=18309
2006-06-02 05:43:38 +00:00
Anders Broman 6471c00a55 From Cvetan Ivanov:
H225.cnf
I noticed is that the voip call flow graph does not have a label for the setupAck packet. I traced this to the empty frame_label.

voip_calls.c
It seems to me that in gtk/voip_calls.c tmp_h323info->guid is pointer itself, therefore: 
memcmp(&tmp_h323info->guid 
should in fact read: 
memcmp(tmp_h323info->guid

svn path=/trunk/; revision=18304
2006-06-01 20:19:51 +00:00
Gerald Combs 76103f44f2 Add a new splash image.
svn path=/trunk/; revision=18294
2006-05-31 22:51:38 +00:00
Gerald Combs eb71f7fb96 Rename the main executable to "wireshark", along with more conversions:
ethereal.com -> wireshark.org
  mailing lists and addresses
  ETHEREAL -> WIRESHARK
  Man pages
  Automake/Autoconf names


svn path=/trunk/; revision=18271
2006-05-31 19:12:15 +00:00
Gerald Combs 8958bab6de Tethereal/tethereal -> TShark/tshark.
svn path=/trunk/; revision=18268
2006-05-31 17:38:42 +00:00
Michael Tüxen 7bc853b62b Fixes the handling of long term captures from a simulation tool.
svn path=/trunk/; revision=18267
2006-05-31 15:26:41 +00:00
Gerald Combs b15974d094 libethereal -> libwireshark. idl2eth -> idl2wrs. There are a _lot_ of
changes here.  It compiles OK on OS X, but hasn't been tested anywhere else.

svn path=/trunk/; revision=18260
2006-05-31 00:23:01 +00:00
Gerald Combs ee4b9b7549 ethereal.nsi -> wireshark.nsi
svn path=/trunk/; revision=18254
2006-05-30 14:28:20 +00:00
Anders Broman 7e68c9c370 Ethereal->Wireshark
svn path=/trunk/; revision=18246
2006-05-29 18:44:53 +00:00
Anders Broman 996d4db495 Ethereal->Wireshark
svn path=/trunk/; revision=18234
2006-05-28 19:49:07 +00:00
Anders Broman 05448fcc3d Ethereal->Wireshark
svn path=/trunk/; revision=18232
2006-05-28 17:19:08 +00:00
Ronnie Sahlberg 6075ec39fb ethereal->wireshark
svn path=/trunk/; revision=18207
2006-05-22 08:21:22 +00:00
Guy Harris 92552c2d76 Get rid of a bunch of "Ethereal"s and "ethereal"s in comments, GUI
strings, and function names.

svn path=/trunk/; revision=18205
2006-05-22 07:29:40 +00:00
Ronnie Sahlberg 89f022b12b name change
svn path=/trunk/; revision=18197
2006-05-21 05:12:17 +00:00
Guy Harris 24b903f8c7 Clean up indentation.
Get rid of extra g_strdup_printf() arguments (the argument list is
terminated by running out of formats in the format string, not by a
terminating null pointer).

svn path=/trunk/; revision=18151
2006-05-15 02:43:39 +00:00
Graeme Lunt 6c381119a9 Removal of useless "Field Information" introduced in r18125
svn path=/trunk/; revision=18133
2006-05-11 16:42:38 +00:00
Anders Broman 8bebcb8d8e From Greg Morris:
add copy functionality to the details window. Also includes a change in the copy function of the hex data window to allow copying just the text strings instead of all of the hex data.

svn path=/trunk/; revision=18129
2006-05-11 05:08:00 +00:00
Graeme Lunt ab19b927c8 "Field Information" context menu item that will bring up a web page reference to a field type of FT_OID
svn path=/trunk/; revision=18125
2006-05-10 19:50:54 +00:00
Ronnie Sahlberg 535731ccec pass the correct hf filter name for the opcode field when we create the srt table
so that the popup menues to generate filters work.



svn path=/trunk/; revision=18118
2006-05-09 20:39:59 +00:00
Michael Tüxen e17636a3bf From Irene: Fix wrong display of SACKs.
svn path=/trunk/; revision=18114
2006-05-09 10:23:56 +00:00
Ulf Lamping 71bcc9b28d some minor fixes to the Preferences tooltip texts
svn path=/trunk/; revision=18099
2006-05-06 12:57:54 +00:00
Ronnie Sahlberg 7521c5a32c update the itl structure so that it sets the cmdset field to the current command set even for the case where we have not detected it by seeing the inquiry response.
Make teh msb of the cmdset variable indicate whether we detected the commandset from the trace or whether we used the default value from preferences.

indicate in the dissection of the packet whether the command set is "known" or whether we are using the default one.

make scsi srt stats work even for when we are using the "default" dommandset. Previously scsi srt would ignore all pdus for itl sessions where the "default" command set was used.



svn path=/trunk/; revision=18098
2006-05-05 22:01:45 +00:00
Anders Broman 65dbbfa0ca From Greg Morris:
In summary these patches do the following:
1. GTK+ 2.x builds will now use Tree View to display the expert items, expanded items are the individual packet numbers.
2. GTK+ 1.x builds will continue to use the older clist functionality
3. Implements the equivilant of expert info (actually calls expert_dlg.c)

svn path=/trunk/; revision=18091
2006-05-04 15:36:41 +00:00
Anders Broman dbdb3729de From Paolo Abeni:
authesserre samuel <sauthess@gmail.com> kindly pointed out an issue with session renegotiation in the current ssl decryption code. 

Encrypted handshake message are decrypted, but the dissector try to interpret the encrypted code. Renegotiation messages are therefore ignored. The attached pcap trace and key can be used to trigger the issue.

The attached patch fix the problem storing the decrypted version of encrypted handshake message and dissecting it when available. The patch also fix bad issue with des cipher (alike the issue fixed in my previous post)

svn path=/trunk/; revision=18081
2006-05-03 05:29:04 +00:00
Guy Harris c52a72703d Add newlines to the ends of the files.
svn path=/trunk/; revision=18068
2006-05-02 07:56:21 +00:00
Jaap Keuter f27830e9f5 Fix for bug 887. Use the right function to set the window position.
svn path=/trunk/; revision=18059
2006-05-01 10:59:06 +00:00
Guy Harris 0dfbc73cbe Handle the case where we *can't* determine the pathname in which to find
programs, by reporting it with a dialog box that at least attempts to
indicate what the problem is, and by giving up early on running dumpcap.

svn path=/trunk/; revision=18051
2006-05-01 06:51:14 +00:00
Guy Harris a41668ca27 Get rid of extra semicolon - GCC warns that ISO C doesn't allow it.
svn path=/trunk/; revision=18045
2006-04-30 09:25:34 +00:00
Guy Harris 8113782873 Add "file_dlg.h" to declare "set_last_open_dir()".
Try leaving "dlg_utils.h" out.

svn path=/trunk/; revision=18041
2006-04-30 06:57:01 +00:00
Guy Harris 7698ee3eae Include <errno.h> to get errnos.
svn path=/trunk/; revision=18040
2006-04-30 06:54:25 +00:00
Guy Harris 8cc7c815d8 See whether <stdio.h> will get EISDIR defined.
svn path=/trunk/; revision=18039
2006-04-30 03:22:39 +00:00
Guy Harris 8e2807aa31 We use stuff from dlg_utils.h.
svn path=/trunk/; revision=18038
2006-04-30 03:19:59 +00:00
Guy Harris 546e3f53ad We need <gdk/gdkkeysyms.h> to define GDK_VoidSymbol.
svn path=/trunk/; revision=18037
2006-04-30 03:19:11 +00:00
Guy Harris 84aef00bad Move the file selection dialog routines to file_dlg.c, and give it a
header file.

#if 0 out some includes; if none of the builds have a problem with
that, I'll remove them.

svn path=/trunk/; revision=18036
2006-04-30 01:47:58 +00:00
Guy Harris d53bc56f03 Fix the idempotent-include #define.
svn path=/trunk/; revision=18035
2006-04-29 23:18:47 +00:00
Guy Harris 0ce9a23b25 Most of the stuff in file_dlg.c is specific to capture files, so rename
it to capture_file_dlg.c, and rename its header file.  We might want to
move the generic file dialog stuff to a file_dlg.c file (it's currently
in dlg_utils.c), and move the non-capture-file dialog stuff in
capture_file_dlg.c to another file.

svn path=/trunk/; revision=18034
2006-04-29 23:03:57 +00:00
Gerald Combs 9b59165a4d Fetch a combobox control handle before we try to use it. Add some needed
_T macros.  Remove some extraneous comments.

svn path=/trunk/; revision=18026
2006-04-28 18:43:33 +00:00
Anders Broman a345eab556 From Martin Mathieson:
Fix typo in menu item name

svn path=/trunk/; revision=18016
2006-04-27 05:02:57 +00:00
Gerald Combs 056b3d977a Properly set our export file name before we try to use it. Fixes bug 894.
svn path=/trunk/; revision=18012
2006-04-26 21:15:51 +00:00
Jaap Keuter 7f5fc8b8d9 Workaround for bug 852. Force a line break so that the text view doesn't blow up on excessive long lines.
svn path=/trunk/; revision=18001
2006-04-26 06:37:46 +00:00
Ronnie Sahlberg 2f08653337 rename some value_Strings from ..._val to ..._vals
svn path=/trunk/; revision=17991
2006-04-25 01:42:35 +00:00
Ulf Lamping 8ff5e909bb WinPcap 3.2 beta 1 (3, 2, 0, 29) seems to be working with the packet.dll, so don't warn the user about it
svn path=/trunk/; revision=17990
2006-04-25 01:22:05 +00:00
Ulf Lamping 3333c5e35d various changes:
mention informational URLs at the beginning and not at each element
replace some // by /**/
start to decode the informational elements in the BSSID list
add a privacy tab to the BSSID list (None, WEP, WPA, WPA2)
various minor label changes

svn path=/trunk/; revision=17988
2006-04-25 00:25:41 +00:00
Ulf Lamping b02c428877 bugifx (should be copied to the 1.0 trunk): don't crash, if the interface hardware in question was removed since the list of interfaces was generated (NULL pointer returned from wpcap_packet_open() caused a crash)
svn path=/trunk/; revision=17987
2006-04-25 00:18:06 +00:00
Ronnie Sahlberg 480e7e2db1 remove a debugging printf
svn path=/trunk/; revision=17985
2006-04-24 23:24:27 +00:00
Ronnie Sahlberg c8cc76e2e2 SCSI Service Response Time Staistics
svn path=/trunk/; revision=17984
2006-04-24 23:09:34 +00:00
Jaap Keuter 5f7493586b Column list pointer became invalid when element was removed from list. Fixes bug 886.
svn path=/trunk/; revision=17983
2006-04-24 21:27:12 +00:00
Anders Broman 6b33d50f90 From Miha Jemec:
With the new feature we can: 
1. Measure how big the bursts are for a video streams (it uses sliding window algorithm) 2. Measure how big the output buffer should be that no packet drop will occur (it uses Leaky bucket algorithm) 
3. Detect if we have loses inside the MPEG2 video stream (if there are already MPEG2 packets missing) - this part of code is not added yet, see Limitations

The addition is called Multicast streams and works as follows:

- it uses the TAP system
- the main "stream" logic is taken from rtp_strems.* files
- the TAP system checks for UDP packets where the destination MAC address starts with "01:00:5E" (ethernet multicast address)
- it creates an entry for every new multicast stream
- based on sliding window and leaky bucket algorithm it calculates for every stream average BW, max BW, burst size, max buffer needed, some alarms if the limits are exceeded,...
- the same calculation is done for all streams together
- inside the window dialog you can specify the burst interval, the alarm limits and output speeds

To do & limitations:

- Currently the analysis can be done only for multicast streams, it means that VoD (Video on demand) or PayTV streams, which are normally unicast can not be analysed. 

- since the MPEG2 is patended I don't know if decoding of MPEG2 packets is allowed? Can we look inside this packets and calculate packets drops based on some counter information inside the payload? Can someone please answer this question? If we can do this, I will post this part of code too.

-  some more flexibility will be added

svn path=/trunk/; revision=17980
2006-04-24 19:10:36 +00:00
Jörg Mayer f1b4e85ee4 Make some /******...*/ lines less wide: They make svn-diffs on the web page
unreadable unless you have a 2000xsomething display.


svn path=/trunk/; revision=17978
2006-04-24 16:43:22 +00:00
Ulf Lamping 9f05b7368f add various OID's and a value_string for all of them
add output of some MAC_OPTIONS fields
enhance some 802.11 output labels

svn path=/trunk/; revision=17962
2006-04-22 20:34:14 +00:00
Ulf Lamping ec5efe7370 as I've experienced a scrollbar again while having 7 interfaces, I've tried to add the number of interfaces to the height formula to fix this
svn path=/trunk/; revision=17960
2006-04-22 20:16:47 +00:00
Ulf Lamping 6ee4c7c720 the "Generic dialup adapter" interface doesn't support any OID's at all, extend the tab insensitive mechanism to all tabs
svn path=/trunk/; revision=17959
2006-04-22 13:44:11 +00:00
Ulf Lamping bc8e67a7f1 add a new tab with TCP/IP offloading capabilities
add some debug functions to show available OID's
clarify some 802.11 item labels

svn path=/trunk/; revision=17958
2006-04-22 13:21:39 +00:00
Michael Tüxen e0e4f2d532 From Irene: Fix a bug when searching for an assoc.
svn path=/trunk/; revision=17944
2006-04-21 15:48:43 +00:00
Ronnie Sahlberg 60e65f4869 updates to get the fc and scsi dissectors
and get rid of some breakage in the design


let the scsi transport keep track of itl (initiator, target, lun) matching
and let it pass a itl structure to scsi   that is persistent across packets.

let scsi use this itl structure to track device type for a specific itl instead of the (must have been) broken hashtable.

update both iscsi and fc to track the itl structure for scsi and schange the scsi signature to accept itl as a parameter.


more to come.



svn path=/trunk/; revision=17942
2006-04-21 11:08:24 +00:00
Ulf Lamping 9f0bf98861 fix help button settings
svn path=/trunk/; revision=17938
2006-04-20 20:40:29 +00:00
Ulf Lamping 662661f591 add a Help button to the Preferences dialog
svn path=/trunk/; revision=17935
2006-04-20 20:31:05 +00:00
Ulf Lamping ce15cc9233 fix a very minor bug if ETHEREAL_EUG_DIR is set (which is barely the case)
svn path=/trunk/; revision=17933
2006-04-20 20:29:48 +00:00
Ulf Lamping 9276efd7d9 if HHC_DIR is defined in config.nmake, use the Win32 HTMLHELP system (using the user-guide.chm file)
svn path=/trunk/; revision=17932
2006-04-20 20:27:44 +00:00
Ulf Lamping c858e7e993 add a help button to the "Follow TCP Stream" dialog (and use standard button row for it too)
svn path=/trunk/; revision=17931
2006-04-20 19:58:50 +00:00
Ronnie Sahlberg 2b2f2e3f03 rename hte itlq structures to itlq
svn path=/trunk/; revision=17922
2006-04-20 09:43:56 +00:00
Ulf Lamping e58b233aa5 fix capitalization to follow GNOME HIG
svn path=/trunk/; revision=17887
2006-04-17 21:13:09 +00:00
Ulf Lamping f8e8ccac5c bugfix: don't crash with a Null pointer exception, if the open file preview timestamp can't be converted
svn path=/trunk/; revision=17860
2006-04-14 08:50:41 +00:00
Ulf Lamping fdf555a9cf From Jaap Keuter, fix for 871: split interface details statistics into it's own tab, making the dialog a lot smaller.
svn path=/trunk/; revision=17850
2006-04-12 20:58:20 +00:00
Jaap Keuter 3d14528215 Add 2px height to avoid a vertical scrollbar with Gtk-Wimp
svn path=/trunk/; revision=17846
2006-04-10 17:24:14 +00:00
Jaap Keuter 3d22396ca0 Fix for bug 848. Make a scrollable window when more than 10 interfaces are listed.
svn path=/trunk/; revision=17844
2006-04-08 20:19:40 +00:00
Michael Tüxen 501a66109d From Irene: Make buttons unselecable when nothing would happen.
svn path=/trunk/; revision=17803
2006-04-04 09:04:08 +00:00
Guy Harris ef0c0e16a5 Set the right structure member.
svn path=/trunk/; revision=17792
2006-04-03 03:12:32 +00:00
Guy Harris 2de9620eea In Tethereal, don't save to a temporary file if "-w" isn't specified,
even if doing a live capture; just print the packets without saving
them.

In dumpcap:

	default to the capturing the entire packet;

	don't do the "Press any key" stuff when debugging on UN*X;

	do console logging (to the standard error) even when we're
	running as the capture child (the sync pipe should only be the
	standard output, not the standard error).

svn path=/trunk/; revision=17786
2006-04-03 00:52:59 +00:00
Michael Tüxen 3df55b78f6 From Irene: Fix problems with off screen drawings
Make rectangle clickable.

svn path=/trunk/; revision=17778
2006-03-30 22:17:42 +00:00