aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
AgeCommit message (Collapse)AuthorFilesLines
2006-02-11In "Save As", support only file types we can write to; that simplifiesGuy Harris5-139/+108
the logic, making it easier to get it right (fewer interactions between components of the dialog - the file type doesn't affect whether we can save some but not all packets). It also means we don't offer a file type for saving, only to take it away if you choose anything other than saving all packets. If the capture file is a temporary file from a capture done in the current Ethereal session, it's libpcap format, which we can write to, so you would be able to save it. If it's a saved file we read in, saving the file in its entirety in its own format is just copying the file, and it's not clear supporting that adds enough useful functionality to justify the extra complication. Fix "range_update_dynamics()" to update all the rows of the range button/count table properly (make the button active iff there's a non-zero count in the currently-selected column, make a count active iff the column is selected), to select the "Captured" column if the count of displayed packets goes to zero, and to select the "Save all packets" row if the count of packets in the currently-selected row and column goes to zero. (XXX - we should perhaps do that with the "user-defined range" counts as well, which would involve updating the counts on every change to the range field.) svn path=/trunk/; revision=17251
2006-02-11Display g_error messages in the console window unconditionally, if ↵Lars Roland1-2/+4
preferences aren't loaded yet. This way we ensure that errors are displayed during protocol registration. Use g_error instead of g_warning, if not allowed characters are used in display filter names for protocols. Extend the error message in this case. svn path=/trunk/; revision=17248
2006-02-10remove all calls to exit() from the capture_opts.c and replace them by ↵Ulf Lamping1-3/+7
status return values (0,1 or 2). This way makes it much easier to debug, e.g. to set a common breakpoint if a command line parameter fails. svn path=/trunk/; revision=17240
2006-02-09Win32 inconvenience: a call to g_error will terminate the program and the ↵Ulf Lamping1-1/+8
user won't see anything. To avoid this, the log handler in the error case: - opens a console window (regardless of the users settings) - waits for a keypress before continuing to terminate the program This way, the user will be notified that there's a problem, instead of simply seeing a terminating program only. svn path=/trunk/; revision=17236
2006-02-08Paolo Abeni:Jörg Mayer1-5/+1
the attached patch clean a bit the ssl decryption related code, removing a macro I used when the code was still for an external plugin. svn path=/trunk/; revision=17217
2006-02-07eXtenstion options access to the -X command line optionsLuis Ontanon1-1/+14
svn path=/trunk/; revision=17207
2006-02-07handmerged patch from metze it conflicted with recent P bit patch i checked inRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=17202
2006-02-07Paolo Abeni:Jörg Mayer1-1/+1
>There is still an issue into the HAVE_LIBGNUTLS macro definition. I'm >fixing it and cleaning a bit the windows side configuration. I hope to >post soon the fix. The attached patch should fix the issue. I missed to modify the config.win32 file and I misstyped a few macros name. svn path=/trunk/; revision=17200
2006-02-07Peter Kjellerstedt:Jörg Mayer1-0/+8
GTK_WRAP_WORD_CHAR does not exist in old versions of GTK2+ (2.2.1 and earlier). The following patch should make it compile again (solution borrowed from GAIM). svn path=/trunk/; revision=17199
2006-02-06- fix a leakLuis Ontanon2-7/+12
- register the funnel mini-api ASAP svn path=/trunk/; revision=17189
2006-02-06Forgot to add ssl-dlg.h to the distroJörg Mayer1-0/+1
svn path=/trunk/; revision=17188
2006-02-06Paolo AbeniJörg Mayer1-10/+10
the attached patch set correctly the title of the 'Follow SSL stream' dialog, to fix one issue reported by Nail Devis. Unfortunaly there isn't an easy way to enable the 'Follow SSL stream' dialog only for ssl session without knowing the value of proto_ssl (the ssl protocol id), because the ssl dissector can run on user specified ports (configured via preferences) svn path=/trunk/; revision=17187
2006-02-06fix some variable declarations bugs (code not conforming to ANSI-C)Ulf Lamping1-3/+8
svn path=/trunk/; revision=17185
2006-02-06Declare -ssl_stream_cb in ssl-dlg.hJörg Mayer3-3/+36
svn path=/trunk/; revision=17184
2006-02-06another gtk_resize_window()Ronnie Sahlberg1-0/+5
svn path=/trunk/; revision=17178
2006-02-06gtk1.x does not have gtk_window_resize()Ronnie Sahlberg1-0/+5
svn path=/trunk/; revision=17176
2006-02-06Add code to check whether the app was started with special privilegesGuy Harris1-0/+6
(e.g., set-UID or set-GID), and don't load user plugs if it is. svn path=/trunk/; revision=17174
2006-02-06The simple dialogLuis Ontanon1-23/+144
svn path=/trunk/; revision=17172
2006-02-06From Paolo Abeni: fix some warnings, etc..Guy Harris1-1/+1
svn path=/trunk/; revision=17169
2006-02-06"text_window_delete_event_cb()" returns a gboolean; declare it as such.Guy Harris1-1/+1
svn path=/trunk/; revision=17168
2006-02-05* add an option to funnel_register_menu to retap the packets right after ↵Luis Ontanon1-7/+54
been called * add a set_close_cllback function to the textwindow mini-api to set a callback to be called when the window gets closed. * fix few issues regarding the closing of the window svn path=/trunk/; revision=17165
2006-02-05- add a register_menu funnel Luis Ontanon1-7/+29
- remove the field_menu altoghether (It was not what I thought) - move a declaration to the start of a function to allow VC6 to compile svn path=/trunk/; revision=17161
2006-02-04Paolo AbeniJörg Mayer4-0/+1066
I have developed an external plugin to enable ssl decryption in ethereal. Me - Remove unnecessary $Id$ from acinclude.m4 - Added packet-ssl-utils.h to Makefile.common - Fixed a few warnings TODO - Lots of warning fixes (see separate mail) - Reformat function headers to read like the others do (return value<newline>function-name...) - Test on Windows platform - Review the patch to packet-ssl.c and new files packet-ssl-utils.[hc] svn path=/trunk/; revision=17156
2006-02-04GTK1 buid failed, this should fix it.Luis Ontanon1-5/+5
s/tv/tw/ svn path=/trunk/; revision=17154
2006-02-04VC6 doesn't like empty structs.Luis Ontanon1-3/+13
svn path=/trunk/; revision=17151
2006-02-04The funneled GUI mini API.Luis Ontanon2-0/+241
A very reduced set of gui ops (by now just a text window) that can be funneled to dissectors (even plugins) via epan. svn path=/trunk/; revision=17149
2006-02-01from Bill MeyerRonnie Sahlberg1-12/+8
fix for bug 714 svn path=/trunk/; revision=17140
2006-02-01From Greg Morris:Anders Broman2-13/+23
epan/dissectors/ncp2222.py - Fixes the NCP group values for all NCP's. Also fixes some additional return values and cleanup. gtk/ncp_stat.c - Fixes the NCP group values for SRT. gtk/service_response_time_table.c: The SRT is broken if you hit the reload button or apply a filter. The table isn't cleared so each item in the list is duplicated and the second entries remain with initial values. This patch clears the GTK_CLIST so that the redundant entries no longer appear. svn path=/trunk/; revision=17139
2006-01-24Replace round() with floor(), I don't know if it's the right thing to do but ↵Anders Broman2-2/+2
at least it compiles on Windows again. svn path=/trunk/; revision=17094
2006-01-23From Irene: Add support for showing TSN and time in the graphical analysis.Michael Tüxen2-17/+169
svn path=/trunk/; revision=17082
2006-01-22show the number of packets captured, if "Update list of packets ..." isn't usedUlf Lamping1-4/+24
svn path=/trunk/; revision=17071
2006-01-21bugfix #709: don't g_assert returned (mandatory) length of some NDIS driver ↵Ulf Lamping1-2/+0
functions. simply ignore the length returned in that cases this way, we may "print" buggy data, but that's what the driver returned ... svn path=/trunk/; revision=17066
2006-01-20Cleaning up copy to CSV codeJaap Keuter2-30/+28
svn path=/trunk/; revision=17064
2006-01-17remove an obsolete commentUlf Lamping1-1/+0
svn path=/trunk/; revision=17043
2006-01-17GTK 2.x only: show a slightly different Ethereal main icon while capturing.Ulf Lamping1-4/+77
I very often forget to stop a running capture, so Ethereal keeps capturing packets on and on, leaving me with a lot of unrequired packets. On the other hand (because of the above) I often maximize Ethereal just to see that it's really not capturing any longer. Looking at the window title isn't of much help, as this title changes with every capture file name loaded, so there's no title which can be easily remembered. We probably might use this icon mechanism as well, when Ethereal loads a (huge) file, so the user get's a more visual feedback when the capture loading is finished (and probably for other potential "lengthy" tasks as well). svn path=/trunk/; revision=17042
2006-01-16Remove uninitalized variable warningJaap Keuter1-1/+1
svn path=/trunk/; revision=17037
2006-01-15Hi All,Jaap Keuter5-723/+262
Find attached a couple of changes for t38: - Use the dissector to reassemble t30 frames - Dissect t30 protocol - Move the "Fax t38 analysis" to the "VoIP Calls". Now when selecting "Statistics"->"Fax t38 analysis" option, there is a message that redirect the user to use the "Voip calls" instead. We may keep this option for one release, and then remove it ? - Added in the "Voip calls" the ability to detect a t38 call if there are not signaling associated with it. For example, when using "Decode as.." to dissect t38 packets, it is possible to use the "Voip calls" to analyze that call. - Display "SDP (t38)" in the "Voip calls graph" for SDP t38 sessions. Regards Alejandro Vaquero svn path=/trunk/; revision=17033
2006-01-12fix #661Ulf Lamping1-0/+10
Win32: convert filenames coming in from command line parameters from locale (current code page) into utf8 encoding This must also be done for the other command line tools like tethereal, editcap and alike ... svn path=/trunk/; revision=17025
2006-01-12update usage outputUlf Lamping1-24/+62
svn path=/trunk/; revision=17014
2006-01-07From Olivier Jacques, Anders Broman1-16/+50
Here is a patch that: - Replaces the arrow labels by the beginning of the COLINFO column if available (usually containing message names/types). - Change the comment area to be "protocol: colinfo_content" From Anders Added ID tag Camel Use col_set_str to remove TCAP info in col_info svn path=/trunk/; revision=16975
2006-01-07fix bug #660: we must alphabetically sort columns 0&1, not 0&2Ulf Lamping1-8/+8
svn path=/trunk/; revision=16974
2006-01-06Olivier Jacques:Jörg Mayer1-2/+2
Here is a very small patch against current SVN for a mem free bug in flow graph feature. svn path=/trunk/; revision=16966
2006-01-03Jaap Keuter:Jörg Mayer1-0/+1
Browsing through the wishlist I came across this old one by Steve Brown: ------8<------ The GTK1 UI wordwraps assembled TCP streams, the GTK2 UI doesn't, but should also. Not wrapping makes reading any protocol that lacks linebreaks virtually impossible (XML, etc.) as it all ends up on one line. I'm tired of having to install the GTK1 UI :P ------8<------ It seems like a simple request. The oneliner patch implements this wish. Maybe someone feels the need to make it a preference or selectable. svn path=/trunk/; revision=16939
2005-12-31fix #152Ulf Lamping9-9/+28
set the read filter dialog modal and transient to the parent window if requested. This way, it will receive input signals (solving problems with GTK2's gtk_file_chooser). To do this, add another construct_args flag, so it will be modal only if really needed ... svn path=/trunk/; revision=16926
2005-12-24Foil another of Ronnies attempts to make the repository properties free :-)Jörg Mayer1-1/+1
svn path=/trunk/; revision=16892
2005-12-23Clean up indentation.Guy Harris1-78/+78
"error_t" is defined elsewhere on at least some versions of Fedora Core, so it collides with our usage; use "expert_comp_dlg_t" instead. svn path=/trunk/; revision=16889
2005-12-23add service response time statistics for smb2Ronnie Sahlberg2-0/+216
svn path=/trunk/; revision=16887
2005-12-22From Bill Meier:Gerald Combs1-102/+131
After investigating the time-sequence graphs (Stevens and tcptrace) produced using an FTP capture file supplied by Eduardo Segura (see http://www.ethereal.com/lists/ethereal-users/200512/msg00153.html ) I've identified several problems in tcp_trace.c. The problems mostly involve incorrect determination of the lower/upper sequence number bounds (for the Y axis) in certain cases (e.g. having to do with 'partial' conversations). I've reworked the '...get_bounds' code to handle cases such as: 1. out of order data segments (e.g.: the first segment in a captured conversation has a higher sequence number than a later segment); 2. 'ack' sequence numbers for initial ack segments in a conversation lower than the sequence numbers of the initial data segments; 3. maximum 'ack + win' sequence number in a conversation greater than the max data sequence number; 4. Stevens graph: only use data segment sequence numbers when determining bounds; 5. TCP RST packet without 'ack' flag: do not try to use the 'ack' seq num from the packet in this case. (This was the specific cause of the originally reported problem). I've also reworked the tcptrace display code slightly to properly handle the initial ack packet of a sequence; As an example of the some of the fixes the Ethereal tcptrace style graph of the following conversation fragment will now be similar to the graph produced by Tcptrace. data: seq 10000 len 100 data: seq 10100 len 200 ack: ack 5000 win 6000 ack: ack 5400 win 5600 svn path=/trunk/; revision=16874
2005-12-21Provide not only copyright information, but a GPL blurb, in all theGuy Harris2-14/+30
version/usage messages. Put newlines at the end of various version strings. svn path=/trunk/; revision=16870
2005-12-18warning: C++ style comments are not allowed in ISO C90Jörg Mayer1-1/+1
svn path=/trunk/; revision=16853