aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2000-01-07Fix Gerald's e-mail address.Guy Harris56-111/+111
svn path=/trunk/; revision=1437
2000-01-07Indicate the RFC that specifies L2TP.Guy Harris1-29/+28
Update Gerald's e-mail address. Make some variables static. Make some *other* variables auto, as they don't need to have static storage duration. svn path=/trunk/; revision=1436
2000-01-07Include L2TP support in the list of new features in 0.8.1.Guy Harris1-0/+1
svn path=/trunk/; revision=1435
2000-01-07The L2TP dissector is by John Thomes, not John Thomas.Guy Harris2-2/+2
svn path=/trunk/; revision=1434
2000-01-07Add John Thomas' L2TP dissector.Guy Harris6-3/+632
svn path=/trunk/; revision=1433
2000-01-07Move to version 0.8.1Gilbert Ramirez2-2/+25
svn path=/trunk/; revision=1432
2000-01-07Don't take strlen of TransactName if NULL. In fact, don't do *anything*Gilbert Ramirez1-1/+4
and return if TransactName == NULL. svn path=/trunk/; revision=1431
2000-01-07"print_file()" is no longer used; nuke it.Guy Harris2-50/+12
svn path=/trunk/; revision=1430
2000-01-06Add README.vmware to list of deliverables.Gilbert Ramirez1-1/+2
svn path=/trunk/; revision=1429
2000-01-06Add info on how to get a patch for libpcap to sniff your virtual ethernetGilbert Ramirez1-0/+30
hub when using VMware. svn path=/trunk/; revision=1428
2000-01-06Fix the "Print" button in the window popped up by "Follow TCP Stream" toGuy Harris1-69/+107
print only the actual stream data, not the address and port binary information. Fix it to handle the ASCII/EBCDIC selection as well. svn path=/trunk/; revision=1427
2000-01-06Printing multiple pages of PostScript wasn't as tricky as I thought; addGuy Harris7-78/+114
support for printing in PostScript to the "Print..." dialog box. svn path=/trunk/; revision=1426
2000-01-06Improve the description of the packet-printing dialogs, and note thatGuy Harris1-7/+8
the Edit:Preferences dialog also lets you edit GUI preferences. svn path=/trunk/; revision=1425
2000-01-06Don't include "print.h" in "globals.h"; have the few files that needGuy Harris1-5/+1
stuff from it include it themselves. svn path=/trunk/; revision=1424
2000-01-06Don't bother checking whether the filter string is empty - just use itGuy Harris1-6/+11
even if it's empty, rather than using an empty string instead of it if it's empty. Also, "gtk_entry_get_text()" appears, from the documentation, always to return a non-null pointer (and it returned a non-null pointer when I started a capture with an empty filter string); don't supply a null string if it's null, just do a "g_assert()" to make sure it's non-null. Put in a comment explaining why we aren't trying to be clever and detecting an empty filter string and setting "cf.filter" to NULL if it's empty. svn path=/trunk/; revision=1423
2000-01-05When initializing a capture filter, assign a pointer to an empty stringGerald Combs3-5/+10
instead of NULL. svn path=/trunk/; revision=1422
2000-01-05Change ports from guint16 to guint32Gilbert Ramirez2-8/+8
svn path=/trunk/; revision=1421
2000-01-05When we select the row for the frame found by "Find Frame..." or "Go ToGuy Harris1-1/+14
Frame...", make it the focus row as well. svn path=/trunk/; revision=1420
2000-01-04Add VMware's vendor ID to manufacturer list.Gilbert Ramirez1-1/+2
svn path=/trunk/; revision=1419
2000-01-04Small corrections :Olivier Abad1-7/+21
- create ~/.ethereal if it doesn't exist - use PF_DIR instead of .ethereal - remove two memory leaks svn path=/trunk/; revision=1418
2000-01-04Implement plugins status save/restore :Olivier Abad4-111/+233
Add a "Save status" button to the Plugins window which saves the status (enabled/disabled) and the filter used by all the plugins in ~/.ethereal/plugins.status Moved plugins_scan_dir() from gtk/plugins_dlg.c to plugins.c because it is GUI independent. Read plugins.status in this function and restore the saved status. Add a init_plugins() function in plugins.c which calls plugins_scan_dir() in order to build the plugin_list. It is called by ethereal_proto_init() in gtk/main.c svn path=/trunk/; revision=1417
2000-01-03Before adding a frame to the list of displayed frames, set its rowGuy Harris1-28/+31
number to 0, so that "select_packet()" will find it if a "select-row" signal is emitted when it's added. (The previous workaround for this problem worked when initially constructing the list of all frames, but not when reconstructing the list of displayed frames when filtering packets, as, in the latter case, there could be more than one frame in the list of all frames, so we couldn't just say "pick the one and only frame in the list". The row number is set to the correct value after the frame is added to the list of displayed frames and we know the row number it was given.) svn path=/trunk/; revision=1416
2000-01-03Add a "Default" button to reset the filter string to its default value.Olivier Abad1-1/+22
svn path=/trunk/; revision=1415
2000-01-03Take the "simple_dialog()" stuff out of "ui_util.h" and "gtk/ui_util.c",Guy Harris17-176/+253
and move it to "simple_dialog.h" and "gtk/simple_dialog.c". svn path=/trunk/; revision=1414
2000-01-03Don't have "write_prefs()" display a dialog box if the attempt to openGuy Harris3-12/+26
the preferences file fails, have it return an error indication and the path of the preferences file, and have its caller display the dialog box. That way you don't have to drag in the dialog box code if you're going to use the preferences code in, say, a "line-mode" Ethereal. svn path=/trunk/; revision=1413
2000-01-03Use the right #define to control inclusion of "ui_util.h".Guy Harris1-2/+2
svn path=/trunk/; revision=1412
2000-01-03Make "menus_init()", set_menu_sensitivity()", and "grp" static toGuy Harris2-12/+10
"gtk/menu.c", as they're not used outside it. Move the definition of "GTK_MENU_FUNC()" from "gtk/menu.h" to "gtk/menu.c", as it's not used outside of "gtk/menu.c". Get rid of the declaration of "menus_create()" in "gtk/menu.h", as that routine doesn't exist. svn path=/trunk/; revision=1411
2000-01-03Have "gtk/menu.c" (and, in the future, code for other UIs) export a setGuy Harris6-93/+146
of routines to enable and disable various sets of menu items; call only those routines, not routines to enable or disable particular menu items, from files in the top-level directory, as other UIs may not refer to menu items with path strings of the sort used in GTK+, and as this buries knowledge of the menu items available in "gtk/menu.c" rather than requiring stuff outside of "gtk/menu.c" to know what menu items exist. svn path=/trunk/; revision=1410
2000-01-03Fix a nasty side-effect of running the packet list inGuy Harris1-4/+28
GTK_SELECTION_BROWSE mode - that mode apparently always arranges that there is (in a non-empty GtkCList) one row selected, which means that when the first row is added, it selects it. Unfortunately, that causes a "select-row" signal to be emitted, which causes "select_packet()" to be called - but we haven't yet set "fd->row" for the frame we're adding, so "select_packet()" can't find the frame for the row being selected, and it aborts. This causes a core dump when the first packet arrives during an "Update list of packets in real time" capture. For now, we handle this by, if we don't find the frame with the given row number, checking that there's exactly one frame in our list of frames and, if so, saying that frame is the frame for which we're looking. svn path=/trunk/; revision=1409
2000-01-01Add a "break;" statement to a "default:" clause - the AIX C compilerGuy Harris1-2/+3
apparently doesn't like it when a case label is the last line in a "switch()" statement. Fix a spelling error. svn path=/trunk/; revision=1408
2000-01-01Include <time.h> to declare "gmtime()".Guy Harris1-1/+2
svn path=/trunk/; revision=1407
2000-01-01Get rid of the C++-style comments.Guy Harris1-3/+3
svn path=/trunk/; revision=1406
2000-01-01A little hack for the really lazy (i.e., me). Allow users to type aGilbert Ramirez1-1/+19
directory name in the filename box in the file open dialoge box. If what you type is a directory, the file selection gui chdir's to that diretory and shows you the files in that directory. svn path=/trunk/; revision=1405
2000-01-01Add relative timestamps. The Toshiba ISDN router has the same problemGilbert Ramirez1-3/+3
as the Ascend routers; those little buggers don't remember time very well. The only timestamp available in the trace is relative to the beginning of the trace. So, right now I'm just using this relative timestamp as the absoulte time. All my times are in 1969 (my timezone is GMT - 6), but all I care about for now is the relative time, which is preserved even if the absolute time is in the wrong decade. svn path=/trunk/; revision=1404
1999-12-31Filter out a few more things.Guy Harris1-2/+3
Don't filter out some things that *are* in CVS. svn path=/trunk/; revision=1403
1999-12-31Filter out a few more things.Guy Harris2-0/+12
svn path=/trunk/; revision=1402
1999-12-31Filter out a few more things.Guy Harris1-0/+3
svn path=/trunk/; revision=1401
1999-12-30Allow user to modify appearance of lines and expanders in GUI protocolGilbert Ramirez5-30/+211
tree. svn path=/trunk/; revision=1400
1999-12-30Add a check for "libtool".Guy Harris1-5/+21
Add the minimum version of {autoconf,automake,libtool} required to the message printed if it's not found (having it check to make sure you have at least that version is a bit more work). Update the paths for "ftp.gnu.org" to reflect the fact that they now give each package its own subdirectory. svn path=/trunk/; revision=1399
1999-12-30Disallow multiple selections in the CTree and CList widgets.Gilbert Ramirez1-4/+9
In order to use GTK_SELECTION_BROWSE correctly, I had to set auto_resize to TRUE for the GtkCTree column. Yes, I'm using terminology that's opposite that of GTK+. When I say the selection bar "browses", I mean that you can browse the rest of the widget with an outline selection bar, without changing the selection. This corresponds to mode GTK_SELECTION_SINGLE. When I say "select", I mean that the arrow keys change the selection. This corresponds to mode GTK_SELECTION_BROWSE. Go figure. But I like my terminology better. svn path=/trunk/; revision=1398
1999-12-30Updated for the upcoming release, codenamed "...and this time I reallyGerald Combs1-2/+5
mean it!" svn path=/trunk/; revision=1396
1999-12-29Add sample strace output to illustrate the timeout problem.Gerald Combs1-1/+18
svn path=/trunk/; revision=1395
1999-12-29If there aren't any packets in the capture (which could be the case if,Guy Harris1-22/+24
for example, you're doing a live capture with "Update list of packets in real time" and none have arrived yet, or if you've read in a capture file where there aren't actually any packets), don't look for the start or stop time, and don't accumulate the number of captured bytes or the number of packets that passed the display filter. svn path=/trunk/; revision=1394
1999-12-29Changed the protocol tree widget from a GtkTree to a GtkCTree. The two reasonsGilbert Ramirez8-109/+274
I did this: First, Havoc Pennington, in "GTK+/Gnome Application Development", in Appendix seciton A.3.88, recommends using GtkCTree instead of GtkTree because GtkCtree is faster, and GtkTree has limitation on its total row height: since it must fit inside a GdkWindow, it is limited to 32,768 pixels of height. GtkTree is more flexible with regards to the types of widgets that can be placed in the tree, but since we deal only with text, that doesn't matter, at least for now. Secondly, a GtkTree doesn't allow arrow-key navigation (at least as far as I could tell). It always bothered me that the up and down arrow keys worked in the packet list and in the hex dump, but no in the protocol tree. GtkCTree does allow arrow-key navigation. In fact, GtkCTree is a subclass of GtkCList (the packet list widget), so they behave a lot alike. I went ahead and fixed the selection bar which has been bothering Richard for a long time now. :) In the GUI preferences dialogue, you can now set both the packet list selection bar and the protocol tree selection bar to either "browse" or "select" mode. "browse" mode is what you're used to: the arrow keys move an outline of the selection bar, but do not change the selection. "select" mode does change the selection when the arrow keys are pressed. The default behavior is set to "select", which seems more natural for a first-time user. svn path=/trunk/; revision=1393
1999-12-29Get rid of the "(UDP)" and "(TCP)" in various NetBIOS-over-TCP protocolGuy Harris2-8/+8
columns. svn path=/trunk/; revision=1392
1999-12-29Get rid of the "(UDP)" in the DNS protocol string.Guy Harris1-6/+12
If a DNS response got an error, include the error indication in the summary line. svn path=/trunk/; revision=1391
1999-12-29Update a comment.Guy Harris1-3/+12
svn path=/trunk/; revision=1390
1999-12-29Put the frame number in the text for the top-level tree entry for theGuy Harris1-2/+3
frame. svn path=/trunk/; revision=1389
1999-12-29Move the stuff to fill in those columns not filled in by dissectors fromGuy Harris3-281/+289
"file.c" to "packet.c"; it's not really related to file access (or to manipulating the packet list as a whole, which much of the stuff in "file.c" is really for), but is more related to analyzing packets, and moving it to "packet.c" lets me build an experimental "line-mode" flavor of Ethereal (based on Gilbert's "tethereal" experiment) - "line-mode" means "like tcpdump or snoop" - without having to drag in "file.c" and a pile of GUI stuff. svn path=/trunk/; revision=1388
1999-12-29Move the definition of "prefs" from "gtk/prefs_dlg.c" to "prefs.c", soGuy Harris2-4/+4
that you don't have to have "gtk/prefs_dlg.c" to get it defined - future non-GTK (text mode, curses, etc.) programs wouldn't have it. svn path=/trunk/; revision=1387