aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
1999-07-06"pntohl()" doesn't actually return a "long" (or an "unsigned long"), itGuy Harris1-3/+3
returns a "guint32", which is an "unsigned int" on all platforms Glib supports, so print what it returns with "%u", not "%lu". svn path=/trunk/; revision=339
1999-07-04Include <sys/types.h> before including <netinet/in.h> - you have to doGuy Harris1-0/+1
that on FreeBSD, at least. svn path=/trunk/; revision=338
1999-07-04Note that non-GNU "make"s appear not to be able to build Ethereal, andGuy Harris1-0/+13
that you need "flex" and either "bison" or Berkeley "yacc". (XXX - should notes such as this go in some other file, e.g. INSTALL? I discovered the "flex" and "bison"/byacc requirement on a Solaris 7 system, but it's probably a problem on other commercial UNIXes, as well, so it probably doesn't belong in, say, "README.solaris".) svn path=/trunk/; revision=337
1999-07-04In GTK+ 1.0[.x], "gtk_window_set_position()" was calledGuy Harris1-1/+5
"gtk_window_position()", so use "gtk_window_position()" if we're using GTK+ 1.0[.x]. svn path=/trunk/; revision=336
1999-07-01Fixed a small problem that would have prevented Ethereal from compiling.Richard Sharpe2-4/+4
svn path=/trunk/; revision=335
1999-06-28Added some more, auto-generated decoding to packet-smb.c.Richard Sharpe1-3/+1051
Hope it is all OK. This is getting interesting. svn path=/trunk/; revision=334
1999-06-25When checking to see if a packet is of a given type by checking theGuy Harris1-25/+14
source and destination port numbers, check both port numbers against the specified port, rather than checking the lower of the two port numbers against the specified port, just in case you happen to either have 1) the port number for that type being high enough that you can get client sockets using it or 2) client sockets using it for some other reason. svn path=/trunk/; revision=333
1999-06-25If WITH_WIRETAP is defined, don't define variables used only ifGuy Harris1-1/+5
WITH_WIRETAP isn't defined. svn path=/trunk/; revision=332
1999-06-25In my haste to get rid of the compilation warning, I converted theGilbert Ramirez1-2/+2
pointer to a signed int instead of an unsigned int. In my testing the code still worked, but it's better to do the conversion correctly. svn path=/trunk/; revision=331
1999-06-24Added Ashok's Match Selected functionality, and changes to move etherealGilbert Ramirez12-121/+220
to version 0.6.3. svn path=/trunk/; revision=330
1999-06-24 If the "Cancel" button is clicked in the "Display Options"Guy Harris1-1/+29
window, revert the timestamp type display option to the value it had before that window was popped up, undoing any changes applied with the "Apply" button. If "Display/Options" is selected while there's a "Display Options" window active, don't pop up another "Display Options" window (we really should, if that's done, switch the input focus to the existing "Display Options" window, if possible). svn path=/trunk/; revision=329
1999-06-23Finally! Got rid of compilation warning about converting pointer to intGilbert Ramirez1-2/+2
in line 198. svn path=/trunk/; revision=328
1999-06-22Added an "apply" button to the display option gui, so we can try newGilbert Ramirez1-3/+33
timestamp display w/o having the display option GUI disappear. svn path=/trunk/; revision=327
1999-06-22Added Aaron Hillegass' summary dialogue. We're ignoring the problem withGilbert Ramirez17-129/+556
NetMon statistic packets for now. We might fix that problem with wiretap, either filtering out those packets, and/or providing the summary information through a new wiretap API. svn path=/trunk/; revision=326
1999-06-22Update the display if the "command-line-specified" time format isGuy Harris5-52/+163
changed by updating those columns showing the time in the "command-line-specified" format, not by redoing the entire packet list display; that way, the display continues to show the same packets and any packet the user selected remains selected. (It's also less work to do that - you don't have to re-dissect the packet.) Turn "redisplay_packets()" into "filter_packets()", and do some other cleanups. svn path=/trunk/; revision=325
1999-06-21Found some erroneous usages of gtk_signal_connect_object. I always wonderedGilbert Ramirez5-72/+52
why I had to swap fields (data = w) in some of the callback functions when I added support for gtk+-1.1. Because of the use of gtk_signal_connect_object, the wrong value was being sent to the callback function. We were just lucky that with gtk+-1.0 it worked. gtk_signal_connect_object is for use with callbacks that take one argument. gtk_signal_connect is for use with callbacks that take two arguments. svn path=/trunk/; revision=324
1999-06-21Added "0x" to a couple of proto_tree_add_item printf-style labels thatGilbert Ramirez1-3/+3
were printing values in hex. The lack of "0x" in fron of the hex numbers made me think the values were decimal, causing me to waste a bit of time during debugging. svn path=/trunk/; revision=323
1999-06-21Added a paragraph explaining that the SNMP decode in ethereal usesGilbert Ramirez1-0/+11
either the UCD or CMU SNMP library. Also documented the fact that SNMP support in ethereal can be disabled with the "--disable-snmp" option to 'configure'. svn path=/trunk/; revision=322
1999-06-19Update the man page to reflect the "Capture/Start" and "Display/Options"Guy Harris1-1/+13
menu items. svn path=/trunk/; revision=321
1999-06-19Update a comment.Guy Harris1-6/+6
svn path=/trunk/; revision=320
1999-06-19Use "gtk_toggle_button_set_state()" rather thanGuy Harris6-96/+79
"gtk_toggle_button_set_active()" to set the state of radio buttions; "gtk_toggle_button_set_active()" doesn't exist in GTK+ 1.0[.x], and "gtk_toggle_button_set_state()" is an alias for it in GTK+ 1.2[.x]. Compute the column widths in the summary display based on the longest string in the column; recompute it whenever we update the columns. svn path=/trunk/; revision=319
1999-06-19Update the column widths if we change the time stamp format from theGuy Harris3-14/+73
"Display/Options" dialog box. "get_column_width()" should check "timestamp_type" against ABSOLUTE, not against COL_ABS_TIME. Clean up the code to check the state of the time stamp radio buttons in the "Display/Options" dialog box. Check in "timestamp.h", which we failed to check in on the previous commit. svn path=/trunk/; revision=318
1999-06-19Added "Capture" and "Display" menus; "Capture" has a "Start" item, whichGuy Harris13-169/+387
is the same as "Tools/Capture", and "Display" has an "Options" item, which pops up a dialog box to let you change the "default" time-stamp column display format on the fly (the "default" is what the "-t" command-line option sets), and have the display change when you do that. Made infrastructure changes to make the immediate display update work. Removed some unused functions, declared some functions used only in the file in which they're defined "static", and removed some unnecessary #includes. svn path=/trunk/; revision=317
1999-06-16Found a small bug in how the Token-Ring code tried to be smart and lookedGilbert Ramirez1-3/+3
for RIF bytes w/o the source-route bit being set. svn path=/trunk/; revision=316
1999-06-15Put "..." after menu items that will cause a dialog box to be popped upGuy Harris3-41/+41
(standard convention in many GUIs). Make "Save as" be "Save As", and make "A" be the menu mnemonic for it in the "File" menu, with GTK 1.2. svn path=/trunk/; revision=315
1999-06-15Get rid of an extra line in the author credits (Brad Robel-ForrestGuy Harris1-2/+0
already appears in the list; the extra line is probably leftover from cutting-and-pasting the author list from the AUTHORS file). svn path=/trunk/; revision=314
1999-06-15Don't load the capture file in "main_realize_cb()", load it after theGuy Harris1-20/+36
"gtk_widget_show()" of the main window; that way: 1) any alert box popped up because a capture file specified with the "-r" flag can't be read shows up after the main window shows up, and is more likely to end up on top of the main window, rather than behind it; 2) as the main window is up before we start reading a capture file specified with the "-r" flag, the progress bar can show our progress reading that file. If the "-k" flag was specified, make sure "-i" and "-w" were specified as well, rather than just dropping core trying to dereference NULL "cf.iface" or "cf.save_file" pointers. svn path=/trunk/; revision=313
1999-06-14Add our own "strerror()", which we use on platforms that don't have itGuy Harris10-85/+265
in the standard libraries (such as SunOS 4.x). svn path=/trunk/; revision=312
1999-06-14Changed the Access Control and Frame Control fields in the Token-Ring headerGilbert Ramirez2-16/+47
to use the decode_*_bitfield() routines. This needed to happen anyway, but I finally made the change so that I can figure out how I'm going to handle bitfield fields in my experiment of changing the implementation of the protocol tree in ethereal. svn path=/trunk/; revision=311
1999-06-12Improve the alert boxes put up for file open/read/write errors. (SomeGuy Harris6-112/+254
influence came from http://developer.apple.com/techpubs/mac/HIGuidelines/HIGuidelines-232.html which has a section on dialog box and alert box messages. However, we're largely dealing with technoids, not with The Rest Of Us, so I didn't go as far as one perhaps should.) Unfortunately, it looks like it's a bit more work to arrange that, if you give a bad file name to the "-r" flag, the dialog box pop up only *after* the main window pops up - it has the annoying habit of popping up *before* the main window pops up, and sometimes getting *obscured* by it, when I do that. The removal of the dialog box stuff from "load_cap_file()" was intended to facilitate that work. (It might also be nice if, when an open from the "File/Open" menu item fails, we keep the file selection box open, and give the user a chance to correct typos, choose another file name, etc.) svn path=/trunk/; revision=310
1999-06-12Include "snprintf.h" if necessary - we use "snprintf()".Guy Harris1-1/+10
svn path=/trunk/; revision=309
1999-06-12Don't pop up the "Can't open preferences file" dialog until *after*Guy Harris3-10/+27
we've shown the top-level window, because we want it to pop up on *top* of the top-level window, rather than being hidden behind it. Put a "strerror()"-based reason *why* the open failed in that dialog. svn path=/trunk/; revision=308
1999-06-12Move the comment from the GTK 1.0 tutorial just before the GTK 1.0Guy Harris1-8/+31
GtkMenuEntry table, and add the comment from the equivalent part of the GTK 1.2 tutorial before the GTK 1.2 GtkItemFactoryEntry table. svn path=/trunk/; revision=307
1999-06-12Make the string argument to "col_add_str()" a "const gchar *" - itGuy Harris2-4/+4
doesn't modify anything pointed to by that argument, and that keeps us from getting complaints if we pass a "const gchar *" to it. svn path=/trunk/; revision=306
1999-06-12Use "val_to_str()", rather than "get_XXX()" routines, to map SNMPGuy Harris1-270/+189
versions, PDU types, error statuses, and trap types to strings. Set the protocol column to "SNMP", and set the info column to an error message if the parse fails (rather than printing a message to the standard error) and to the PDU type if it succeeds. svn path=/trunk/; revision=305
1999-06-11Added RSVP protocol dissector.Gilbert Ramirez11-13/+1326
svn path=/trunk/; revision=304
1999-06-11Added PPPoE, PPTP, GRE, and ISAKMP dissectors.Gilbert Ramirez22-167/+2849
svn path=/trunk/; revision=303
1999-06-05Don't "g_strdup()" what "gtk_entry_get_text()" returns as the contentsGuy Harris1-3/+2
of the packet count combo box; there's no need to do so (we don't remember the string, just its value when converted to a number), and, as we don't free what "g_strdup()" returns, and don't remember it to save it later, we leak memory. svn path=/trunk/; revision=302
1999-06-02When checking to see if a packet is of a given type by checking theGuy Harris1-30/+14
source and destination port numbers, check both port numbers against the specified port, rather than checking the lower of the two port numbers against the specified port, just in case you happen to either have 1) the port number for that type being high enough that you can get client sockets using it or 2) client sockets using it for some other reason. svn path=/trunk/; revision=301
1999-06-01When constructing the list for the "Count" combo box in the "Capture"Guy Harris1-2/+2
dialog box, put "0 (Infinite)" first, so that we default to that rather than to the number of packets in the last capture we read. svn path=/trunk/; revision=300
1999-06-01As we may return an error message, rather than a NetBIOS name, fromGuy Harris1-3/+3
"get_nbns_name()", make sure the array into which you put the name is "big enough" - MAXDNAME+4 is more than big enough for those error messages. svn path=/trunk/; revision=299
1999-06-01Unfortunately, as the "cap_len" field in a "frame_data" is unsigned,Guy Harris1-2/+2
"fd->cap_len - offset", i.e. END_OF_FRAME, is unsigned, so while (END_OF_FRAME > 0) { doesn't keep you out of the loop if "offset" is already beyond "fd->cap_len", so you can try processing stuff past the end of the captured data in the packet. svn path=/trunk/; revision=298
1999-05-27Correctly handle the case of the root showing up as a name in a DNSGuy Harris3-109/+141
request or reply. (Redid "get_dns_name()" along the lines of the code in the BSD resolver.) Add code to dissect SOA RRs. svn path=/trunk/; revision=297
1999-05-26Removed segfault if NCP completion code was decoded for an uknown NCP reply ↵Gilbert Ramirez1-4/+11
type. svn path=/trunk/; revision=296
1999-05-20Dissect ICMP Router Discovery packets (router advertisements and routerGuy Harris1-2/+37
solicitations). svn path=/trunk/; revision=295
1999-05-19Packaging changes for version 0.6.2Gilbert Ramirez7-207/+163
svn path=/trunk/; revision=293
1999-05-19Made BPF disassembly in wiretap.c a bit easier to read.Gilbert Ramirez2-2/+5
svn path=/trunk/; revision=292
1999-05-16Added more functionality to the completion-code parsing routine.Gilbert Ramirez1-18/+60
svn path=/trunk/; revision=291
1999-05-16Removed ethereal.1 and copied make rule from doc/Makefile to top-levelGilbert Ramirez3-701/+215
Makefile so that manpage can be made from pod file during packaging. svn path=/trunk/; revision=290
1999-05-16Fixed to actually compile with CMU SNMP library (at least on Linux).Gilbert Ramirez1-7/+67
svn path=/trunk/; revision=289