aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
AgeCommit message (Collapse)AuthorFilesLines
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
2005-12-18use #ifdef SHOW_WELCOME_PAGE for the currently disabled welcome page instead ↵Ulf Lamping1-4/+4
of simply #if 0 svn path=/trunk/; revision=16843
2005-12-16modify the tool tip "Nodes in the diagram are identified with network source ↵Anders Broman1-1/+1
and destination address (like SS7 point codes)" remove the section between parenthesis svn path=/trunk/; revision=16829
2005-12-16From Jacques, Olivier (OCBU-Test Infra)Anders Broman1-5/+73
> here is a small patch for the flow graph feature. It allows > to have SS7 nodes (network indicator/point codes) to be > recognized as nodes in the graphs. > The patch consists in using "pinfo->net_src" or > "pinfo->net_dst" instead of "pinfo->src" or "pinfo->dst". > I did some tests with other IP protocols and behavior was > still the same as before. But I do not guaranty that it > doesn't have some bad side effects for some protocols. svn path=/trunk/; revision=16817
2005-12-15remove a missplaced commentUlf Lamping1-1/+0
svn path=/trunk/; revision=16806
2005-12-14Constify a bunch of arguments and variables, to squelch compilerGuy Harris2-4/+3
warnings. Include "wiretap/libpcap.h" in "capture_loop.h", to get its declarations of data structures for headers in libpcap files. This lets us remove the includes of "wiretap/libpcap.h from files including "capture_loop.h". Make "log_func_ignore()" in "tethereal.c" static, and declare some of its arguments unused. Also get rid of an unused variable. Include <pcap.h> before including "wiretap/wtap-capture.h", to declare "struct pcap_pkthdr". svn path=/trunk/; revision=16791
2005-12-14hmmm, the include sequence might be important too ...Ulf Lamping1-1/+1
svn path=/trunk/; revision=16790
2005-12-14add missing includeUlf Lamping1-0/+2
svn path=/trunk/; revision=16789
2005-12-13HUGE STEP (hopefully toward the right direction):Ulf Lamping1-71/+21
remove a lot of redundant code from tethereal and use (move) stuff from capture_loop.c instead. concentrate common capture related code in capture_opts.c, e.g. trying to find the right interface to capture from (command line option, preference, first usable) instead of duplicating this code over several files. remove redundant code from dumpcap.c this also implements command line option -D (and indexed interfaces at -i) for Ethereal and Dumpcap (as we have it in Tethereal already for a while) svn path=/trunk/; revision=16787
2005-12-13We should really do quit Ethereal if user asked us to do so with the -Q option!Ulf Lamping1-0/+16
Update the window title, right after the fixed capture finished. This might be required if the loading of the capture file afterwards just fails, leaving the title unchanged. svn path=/trunk/; revision=16772
2005-12-06add a short comment to cant_load_winpcap_err() and use it in gtk/capture_dlg.cUlf Lamping1-16/+4
svn path=/trunk/; revision=16693
2005-12-06rename pcap-....c/.h files to capture-pcap-....c/.hUlf Lamping5-5/+5
this way, the capture prefix will "logically" group the files together and file browsers will also group them we may want to move the files into a subdir capture later svn path=/trunk/; revision=16691
2005-12-05move some GTK only function declarations from ui_util.h to the appropriate ↵Ulf Lamping4-1/+23
header files in the gtk dir, as these declarations are obsolete and only confuses (at least me) svn path=/trunk/; revision=16687
2005-12-05add capture_opts_trim(), as this sequence is used three times now (will ↵Ulf Lamping1-14/+1
replace the other appearances later) ... svn path=/trunk/; revision=16683
2005-12-04Check for a null blurb pointer for a field, as is done in some otherGuy Harris1-7/+16
locations, and initialize the blurb field to NULL for protocols, now that we support the blurb being a null pointer. svn path=/trunk/; revision=16672
2005-12-04move the complete functionality of the capture info dialog from ↵Ulf Lamping1-7/+26
capture_loop.c to capture_info.c and call it from capture.c (instead of capture_loop.c). This way, the capture child don't need to now any of the packet_counter things (no epan/packet.h and all alike). Currently the capture_info code will always open another wiretap file instance to build it's own counter values. This isn't optimized for now (next step: use data from cf_continue_tail() somehow). svn path=/trunk/; revision=16669
2005-12-03split some parts of the packet counting functions into their own files ↵Ulf Lamping2-5/+6
capture_info(.c/.h), so we can use it from the main program svn path=/trunk/; revision=16668
2005-12-03split capture.h into capture.h, capture_loop.h and capture_opts.h and place ↵Ulf Lamping2-0/+3
the parts into the corresponding files svn path=/trunk/; revision=16664
2005-12-01fix alphabetical order of OPTINIT string, v seems to be a controversial ↵Ulf Lamping1-1/+1
character :-) svn path=/trunk/; revision=16642
2005-12-01Bug fixes from Irene.Michael Tüxen1-32/+20
svn path=/trunk/; revision=16639
2005-11-26fix #568: disable event "activate" handler for the range entry field. see ↵Ulf Lamping1-1/+13
the added comment for details svn path=/trunk/; revision=16604
2005-11-26fix #358: instead of simply using tpmnam() for the Win32 print function, use ↵Ulf Lamping1-2/+18
the "official" function to create a temporary file Well, we actually only need the filename here, so create a temp file with the "official" create_tempfile function, keep that tempfile name and then delete this file again, leaving only the name. I know that's a bit uncommon, but should work and uses the same mechanisms as with other temporary files. So if there are still problems with the official function, we only have one place to fix :-) svn path=/trunk/; revision=16597
2005-11-25fix a simple GTK1 warningUlf Lamping1-1/+4
svn path=/trunk/; revision=16595
2005-11-25from Greg Morris:Ulf Lamping5-2/+1027
Composite Expert statistics, see: http://www.ethereal.com/lists/ethereal-dev/200511/msg00002.html and the following discussions svn path=/trunk/; revision=16593
2005-11-22Trivial warning fixesJörg Mayer1-1/+1
svn path=/trunk/; revision=16561