aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
1999-12-20Move the code to raise a window into a "reactivate_window()" routine,Guy Harris3-38/+36
and have that routine also de-iconify the window. svn path=/trunk/; revision=1365
1999-12-20Have the "destroy" callback for the "Add colors to display" and "EditGuy Harris1-59/+65
color filter" dialog boxes do all the destruction of dialog boxes popped up from the dialog box being destroyed; have the callbacks for "OK" and "Cancel" just destroy the dialog box in which they appear - the "destroy" callback will then be called and do the rest of the cleanup. svn path=/trunk/; revision=1364
1999-12-19Associate with each "Edit color filter" window pointers to anyGuy Harris1-28/+118
foreground or background color selection dialogs and, if we're asked to pop one of those dialogs up and there already is such a dialog, raise it rather than popping a new one up. Treat "destroy window" like "Cancel" - i.e., clean up any state, and close any dialogs popped up from the window being destroyed. svn path=/trunk/; revision=1363
1999-12-19When a dialog box is closed (for whatever reason), close any dialogsGuy Harris2-455/+558
popped up from it ("Edit color filter" dialogs popped up from an "Add colors to display" dialog box, color selection boxes popped up from an "Edit color filter" dialog). If the user presses "Edit" and there's already an "Edit color filter" dialog box open for the filter in question, don't pop up another "Edit color filter" dialog box for it, just raise the existing one. If a color filter is deleted from the list of color filters, close any "Edit color filter" dialog open for it. svn path=/trunk/; revision=1362
1999-12-19Don't keep the CList of color filters around; create it when theGuy Harris3-234/+301
"Colorize Display" dialog box is created, and let it be destoryed when that dialog box is destroyed. When moving color filters up or down, update the (order of the elements in the) list of color filters, as well as the CList that displays them. If we have a "Colorize Display" dialog box open, and the user selects "Display:Colorize Display", raise the existing window, rather than creating a new window. (Alas, GTK+ doesn't have a call to request that the window be given the input focus, so we can't do that as well.) Fix up some names to be more consistent and to better reflect what the variables/routines are for. svn path=/trunk/; revision=1361
1999-12-19Put "{get,set}_color_filter_{name,string}" inline, and, for the "get"Guy Harris1-38/+8
routines, fetch the name and string from the appropriate member of the list of color filters, rather than from the CList. svn path=/trunk/; revision=1360
1999-12-19Make the color filter list global, and have the code that appliesGuy Harris3-27/+30
color filters check whether it's null to decide if there are any color filters to apply. Make "color_filter()" act on that list - there really aren't multiple lists of color filters, there's only one list ("read_filters()" and "write_filters()" acts only on one global list - and always has, as they handled only one file). svn path=/trunk/; revision=1359
1999-12-19When writing the color filter list out, go through the list ofGuy Harris1-13/+19
"color_filter_t" structures to find the filters. svn path=/trunk/; revision=1358
1999-12-19Add to the "color_filter_t" structure members to store the name andGuy Harris2-12/+36
filter string for the filter. Maintain a list of the "color_filter_t" structures for all color filters. svn path=/trunk/; revision=1357
1999-12-18Latest patches for SMB decodes ... This fixes the bug in large NetServerEnum2Richard Sharpe1-48/+92
responses and adds some more stuff. I will have to decode NTcreateAndX requests and responses soon as well as the MSRPC stuff ... svn path=/trunk/; revision=1356
1999-12-17Add two 48x48 PNGs to the distribution.Gilbert Ramirez3-1/+3
(I'm using -ko when checking in the PNGs... I hope I'm checking these binary files into CVS correctly. I'll double check after the commit). svn path=/trunk/; revision=1355
1999-12-16New NFS v3 dissector (READDIR). 5 functions are still missing.Uwe Girlich1-4/+111
svn path=/trunk/; revision=1354
1999-12-16New define NFS3_COOKIEVERFSIZE.Uwe Girlich1-1/+2
svn path=/trunk/; revision=1353
1999-12-16Put "Ethereal" in boldface everywhere it appears.Guy Harris1-115/+137
Reformat some (source) paragraphs, for the benefit of those with editors that don't wrap lines in the display. Delete some extra "=back" directives. Fix the description of the "Preferences" dialog (it lets you control various preferences, not just print preferences; it's the "Print" tab that lets you control print preferences). svn path=/trunk/; revision=1352
1999-12-16Add a new page to the Preferences notebook: a GUI page. The soleGilbert Ramirez9-25/+262
option right now is the placement of the vertical scrollbars in the 3 panes. (it's one decision; you can't have the placement of the vertical scrollbar in the packet list pane different than the placement in the protocol tree pane, for example). I did this because I find it convenient to have the vertical scrollbars on the *left* side of the text. My mouse cursor is usually expanding and collapsing the protocol tree widgets, and once the protocol tree changes size, I usually have to scroll. I'd rather move my mouse cursor just a few pixels over to find the vertical scrollbar. svn path=/trunk/; revision=1351
1999-12-16Reduce the About box to a reasonable size. Gerald's name remainsGilbert Ramirez1-44/+8
with the copyright, and everyone else has been relegated to the man page and AUTHORS file. svn path=/trunk/; revision=1350
1999-12-15Fix segfault reported by Gregor Glomm <gg@seh.de> Really cleaned up LPDGilbert Ramirez1-43/+57
dissector. svn path=/trunk/; revision=1349
1999-12-15Include "snprintf.h" on platforms that don't have an "snprintf()" ofGuy Harris1-1/+10
their own. svn path=/trunk/; revision=1348
1999-12-15A first cut, untested.Guy Harris1-0/+36
svn path=/trunk/; revision=1347
1999-12-15Pull in some additional non-definitions, to make it match the currentGuy Harris1-3/+17
"config.h" on my machine. (Should YYTEXT_POINTER be defined?) svn path=/trunk/; revision=1346
1999-12-15Bring it somewhat up to date.Guy Harris1-2/+16
svn path=/trunk/; revision=1345
1999-12-15Pull in some additional non-definitions, to make it match the currentGuy Harris1-4/+44
"config.h" on my machine. (Should YYTEXT_POINTER be defined?) svn path=/trunk/; revision=1344
1999-12-15Bring it somewhat up to date; "register.c" could be a pain, as you'dGuy Harris1-8/+71
either need to use tools native to Windows, supply a canned version with a distribution (and require people to update it by hand), require people to have "grep" and "sed" handy and whip up a ".bat" file to run them, or require them to have "grep" and "sed" *and* a Bourne-compatible shell. svn path=/trunk/; revision=1343
1999-12-15Oops. My last commit was made form the wrong tree and code thatGilbert Ramirez3-66/+56
was under development was accidentally checked in. This reverses the changes. svn path=/trunk/; revision=1342
1999-12-15Add Dearborn Group Technology's Gryphon dissector as our firstGilbert Ramirez15-56/+2526
shipped plugin. svn path=/trunk/; revision=1341
1999-12-15Stuart Stanley's ISIS dissection support.Guy Harris16-5/+3181
svn path=/trunk/; revision=1340
1999-12-15Small change to header processing from James Coe:Guy Harris1-6/+6
The attached patch changes the NCP over IP header processing to use element = pntohl(&pd[offset]) instead of memcopy since the byte order of every element had to be fixed anyway and the header is small. svn path=/trunk/; revision=1339
1999-12-15Handle i4btrace captures if they're from a machine with the oppositeGuy Harris3-19/+62
byte order from the machine that's reading them. svn path=/trunk/; revision=1338
1999-12-15Updates from James Coe.Guy Harris1-12/+17
svn path=/trunk/; revision=1337
1999-12-15One field in the NetXRay header appears to be the number of frames inGuy Harris4-93/+82
the capture; set it to that when writing the capture. Support Token Ring and FDDI captures (as per the network type in the file header appearing to be either the NDIS network type, or the NDIS network type minus 1 - I forget whether Ethernet has an NDIS type of 0 or 1). Don't write the file header twice, keeping a static copy of it around, as Wiretap code isn't supposed to keep any static data around; instead, write it only when we're done writing out all the records (as we do on Network Monitor captures). Compute the time stamps when writing the file. Give Windows Sniffer 1.1-format a short name, so "editcap" doesn't dump core or print "(null)" in its usage message. WTAP_ENCAP_NULL isn't supported by NetMon; don't write it. svn path=/trunk/; revision=1336
1999-12-14Patches from Bert Driehuis to:Guy Harris1-3/+3
1) fix the check for the IE identifier to check all bits, including the topmost bit; 2) print all fields in the Date IE as 2 digits. svn path=/trunk/; revision=1335
1999-12-14More patches for packet-smb.c ...Richard Sharpe1-27/+124
Now should be decoding the names of lots more LanMan API request. These were culled from Samba. Would be good to go through and give names to the fields as well. Will soon decode the response structures returned and then will look at ways to specify that built-in routines should be called to decode an element. I also need some captures with UNICODE in them. Anyone got any? Someone sent in a patch for UNICODE handling, but I did not realize what it was and now the code has diverged so far it is hard to apply the patch ... Send captures to rsharpe@ns.aus.com./ svn path=/trunk/; revision=1334
1999-12-14more work on netxray, still not sniffer compatible thoughNathan Neulinger2-16/+49
svn path=/trunk/; revision=1333
1999-12-14Added a few more command labelsNathan Neulinger1-1/+17
svn path=/trunk/; revision=1332
1999-12-14Changed the meaning of the 0x80 bit in "fs" in a frame2 record (from DTEOlivier Abad1-3/+4
instead of from DCE). I can now open a RADCOM X.25 capture in ethereal, save it as sniffer, and read it with a sniffer. The frame directions are correct. (BTW, the snifconv.exe tool provided by RADCOM doesn't work with X.25 captures). svn path=/trunk/; revision=1331
1999-12-14More dissectors for NFS v3. Still 7 functions are missing.Uwe Girlich1-131/+250
NFS reply status now searchable with the filter expression nfs.status. svn path=/trunk/; revision=1330
1999-12-14Some new constants added.Uwe Girlich1-1/+11
svn path=/trunk/; revision=1329
1999-12-14New function dissect_rpc_bool() for generic boolean value parsing.Uwe Girlich1-1/+41
Duplicate transactions can be found with the filter rpc.dup or more specific rpc.call.dup and rpc.reply.dup. svn path=/trunk/; revision=1328
1999-12-14Prototype for dissect_rpc_bool().Uwe Girlich1-1/+3
svn path=/trunk/; revision=1327
1999-12-14Sigh. Some versions of CMU SNMP appear to lack the SMI_ #defines; forGuy Harris1-26/+36
now, assume that if they lack that, they lack "sprint_value()". svn path=/trunk/; revision=1326
1999-12-14*** empty log message ***Guy Harris1-6/+5
svn path=/trunk/; revision=1325
1999-12-14Do a better check of 'bend'. The code works w/o it, but only becauseGilbert Ramirez1-4/+8
I got lucky when I introduced 'bend'. The behavior is the same, but now it's due to planning, not luck. svn path=/trunk/; revision=1324
1999-12-14Updates from Bert Driehuis.Guy Harris1-12/+70
svn path=/trunk/; revision=1323
1999-12-14Don't try to get UCD SNMP to define the CMU SNMP SMI_ values; they mayGuy Harris1-71/+85
not have been supported in older versions of CMU SNMP. Instead, pick our own names for the values, and define them appropriately for UCD and CMU SNMP. svn path=/trunk/; revision=1322
1999-12-14Include <string.h> to declare "memset()".Guy Harris1-1/+2
svn path=/trunk/; revision=1321
1999-12-14Minor tweak.Guy Harris1-2/+2
svn path=/trunk/; revision=1320
1999-12-14Merge Jerry's version with a version I'd done.Guy Harris1-190/+214
svn path=/trunk/; revision=1319
1999-12-14Added support for writing netxray version 1.1 dumps.Nathan Neulinger4-5/+160
It's very basic, and doesn't write out the timestamps currently. It also only handles WTAP_ENCAP_ETHERNET, although it can probably do the others, but I don't have a good way to test them. This code has not yet been tested against a Sniffer Pro, although wiretap can read the files just fine. svn path=/trunk/; revision=1318
1999-12-14Merge Jerry's version with a version I'd done.Guy Harris1-7/+8
svn path=/trunk/; revision=1317
1999-12-13Provide #defines for the Group/Individual bit in the DSAP, theGuy Harris1-41/+57
Command/Response bit in the SSAP, and the mask that extracts the rest of the {D,S}SAP. svn path=/trunk/; revision=1316