Commit Graph

1554 Commits

Author SHA1 Message Date
Guy Harris 75ec987064 Patch from Greg Kilfoyle to add some additional manufacturers.
svn path=/trunk/; revision=1376
1999-12-23 21:13:32 +00:00
Guy Harris c8716decab Patch from Greg Kilfoyle of Redback Networks:
Don't use a global variable named "gmtime" - some versions of
	NetBSD define it in <time.h> - use "_gmtime" instead, so we can
	build on those NetBSD systems.

svn path=/trunk/; revision=1375
1999-12-23 20:47:16 +00:00
Guy Harris 5972bd27f8 Capitalize the "p" in "protocol" in "Internet Cache Protocol", to match
other protocol names.

svn path=/trunk/; revision=1374
1999-12-23 09:53:53 +00:00
Guy Harris b96ac8c220 I thought I'd seen a problem with the combo box in the "Capture:Start"
dialog box if we hadn't found any interfaces on which we could capture,
but perhaps the problem was that "gtk_combo_set_popdown_strings()"
doesn't like it if you set the list of items to a NULL list - if you
don't set it at all, you get a combo box with only one blank entry in
the list, but you don't seem to get complaints from GTK+ 1.2.6, at
least.

Pop up the "Capture:Start" dialog box even if we don't find any
interfaces on which we could capture; at least this way, they won't just
get confronted with a

	There are no network interfaces that can be opened.
	Please check to make sure you have sufficient permission
	to capture packets.

message box and no way to give us any more information other than "it
said 'There are no network interfaces that can be opened...'" - they can
at least try the interfaces that *should* work, and report the error
messages they get, giving us a better chance at figuring out what the
problem is.

Trim white space from the entry in that combo box, and, if there isn't
anything other than possibly white space, pop up a

	You didn't specify an interface on which to capture packets.

message box and leave the dialog box up so that the user can supply an
interface name.

svn path=/trunk/; revision=1373
1999-12-23 09:31:09 +00:00
Guy Harris c84cedd891 Beef up the HP-UX README with some more information.
svn path=/trunk/; revision=1372
1999-12-23 01:48:15 +00:00
Guy Harris 7ae468b485 Beef up the AIX README with some more information.
svn path=/trunk/; revision=1371
1999-12-23 01:39:23 +00:00
Guy Harris 15be42b765 Fix some news items.
svn path=/trunk/; revision=1370
1999-12-22 20:19:00 +00:00
Guy Harris 20b8279b85 Fix a minor typo in a comment.
svn path=/trunk/; revision=1369
1999-12-22 20:12:38 +00:00
Guy Harris 19c69298a4 Add "editcap.c" to the list of "extra" files in the distribution.
svn path=/trunk/; revision=1368
1999-12-22 20:10:49 +00:00
Gerald Combs 07dc1d2d7d Prep for the next release.
svn path=/trunk/; revision=1367
1999-12-22 17:19:04 +00:00
Gerald Combs 0084153517 Fix bus error/alignment issues in ntp_fmt_ts.
svn path=/trunk/; revision=1366
1999-12-21 17:21:22 +00:00
Guy Harris a4738ae15a Move the code to raise a window into a "reactivate_window()" routine,
and have that routine also de-iconify the window.

svn path=/trunk/; revision=1365
1999-12-20 06:05:15 +00:00
Guy Harris 26f7fa7e5c Have the "destroy" callback for the "Add colors to display" and "Edit
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-20 03:45:02 +00:00
Guy Harris f0bdf60914 Associate with each "Edit color filter" window pointers to any
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-19 11:25:24 +00:00
Guy Harris a5accb7936 When a dialog box is closed (for whatever reason), close any dialogs
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-19 10:39:35 +00:00
Guy Harris 467aa54385 Don't keep the CList of color filters around; create it when the
"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-19 09:22:19 +00:00
Guy Harris 8d1edc855c Put "{get,set}_color_filter_{name,string}" inline, and, for the "get"
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-19 07:38:59 +00:00
Guy Harris ef250527f8 Make the color filter list global, and have the code that applies
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-19 07:28:36 +00:00
Guy Harris 74d7c8c980 When writing the color filter list out, go through the list of
"color_filter_t" structures to find the filters.

svn path=/trunk/; revision=1358
1999-12-19 07:11:26 +00:00
Guy Harris 26e926e614 Add to the "color_filter_t" structure members to store the name and
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-19 07:01:30 +00:00
Richard Sharpe bcc9362c47 Latest patches for SMB decodes ... This fixes the bug in large NetServerEnum2
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-18 13:39:03 +00:00
Gilbert Ramirez 9c4b98bc36 Add two 48x48 PNGs to the distribution.
(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-17 05:42:27 +00:00
Uwe Girlich 2043db7cca New NFS v3 dissector (READDIR). 5 functions are still missing.
svn path=/trunk/; revision=1354
1999-12-16 08:38:12 +00:00
Uwe Girlich c920176324 New define NFS3_COOKIEVERFSIZE.
svn path=/trunk/; revision=1353
1999-12-16 08:34:10 +00:00
Guy Harris dcf312c107 Put "Ethereal" in boldface everywhere it appears.
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-16 08:05:46 +00:00
Gilbert Ramirez f34e877593 Add a new page to the Preferences notebook: a GUI page. The sole
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-16 06:20:18 +00:00
Gilbert Ramirez 1063eaaecc Reduce the About box to a reasonable size. Gerald's name remains
with the copyright, and everyone else has been relegated to the
man page and AUTHORS file.

svn path=/trunk/; revision=1350
1999-12-16 04:11:33 +00:00
Gilbert Ramirez 666e311abf Fix segfault reported by Gregor Glomm <gg@seh.de> Really cleaned up LPD
dissector.

svn path=/trunk/; revision=1349
1999-12-15 23:47:30 +00:00
Guy Harris 0305e68aef Include "snprintf.h" on platforms that don't have an "snprintf()" of
their own.

svn path=/trunk/; revision=1348
1999-12-15 22:52:04 +00:00
Guy Harris e588b8057b A first cut, untested.
svn path=/trunk/; revision=1347
1999-12-15 08:20:30 +00:00
Guy Harris 910f1721ea Pull in some additional non-definitions, to make it match the current
"config.h" on my machine.  (Should YYTEXT_POINTER be defined?)

svn path=/trunk/; revision=1346
1999-12-15 08:13:04 +00:00
Guy Harris b806feb9d1 Bring it somewhat up to date.
svn path=/trunk/; revision=1345
1999-12-15 08:08:42 +00:00
Guy Harris 1a97560fb0 Pull in some additional non-definitions, to make it match the current
"config.h" on my machine.  (Should YYTEXT_POINTER be defined?)

svn path=/trunk/; revision=1344
1999-12-15 08:05:53 +00:00
Guy Harris 9e84a68575 Bring it somewhat up to date; "register.c" could be a pain, as you'd
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-15 07:58:23 +00:00
Gilbert Ramirez e996e3d661 Oops. My last commit was made form the wrong tree and code that
was under development was accidentally checked in. This reverses the
changes.

svn path=/trunk/; revision=1342
1999-12-15 07:03:11 +00:00
Gilbert Ramirez b906ce0a17 Add Dearborn Group Technology's Gryphon dissector as our first
shipped plugin.

svn path=/trunk/; revision=1341
1999-12-15 06:53:36 +00:00
Guy Harris 096134536e Stuart Stanley's ISIS dissection support.
svn path=/trunk/; revision=1340
1999-12-15 04:34:44 +00:00
Guy Harris 233f6e5846 Small change to header processing from James Coe:
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-15 04:20:46 +00:00
Guy Harris 9658c33db6 Handle i4btrace captures if they're from a machine with the opposite
byte order from the machine that's reading them.

svn path=/trunk/; revision=1338
1999-12-15 02:25:50 +00:00
Guy Harris d1fa349620 Updates from James Coe.
svn path=/trunk/; revision=1337
1999-12-15 01:48:58 +00:00
Guy Harris cc4e9f698b One field in the NetXRay header appears to be the number of frames in
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-15 01:34:17 +00:00
Guy Harris 12610535b4 Patches from Bert Driehuis to:
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-14 23:25:17 +00:00
Richard Sharpe f65a512676 More patches for packet-smb.c ...
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-14 23:16:59 +00:00
Nathan Neulinger f78124579c more work on netxray, still not sniffer compatible though
svn path=/trunk/; revision=1333
1999-12-14 21:59:07 +00:00
Nathan Neulinger 65648d9ed6 Added a few more command labels
svn path=/trunk/; revision=1332
1999-12-14 21:57:03 +00:00
Olivier Abad 8e8821b4a3 Changed the meaning of the 0x80 bit in "fs" in a frame2 record (from DTE
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-14 12:41:13 +00:00
Uwe Girlich f71e02dca0 More dissectors for NFS v3. Still 7 functions are missing.
NFS reply status now searchable with the filter expression nfs.status.

svn path=/trunk/; revision=1330
1999-12-14 11:53:19 +00:00
Uwe Girlich 85ba8ceb82 Some new constants added.
svn path=/trunk/; revision=1329
1999-12-14 11:48:03 +00:00
Uwe Girlich aa0c302ab2 New function dissect_rpc_bool() for generic boolean value parsing.
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-14 11:43:59 +00:00
Uwe Girlich 6b71ec4395 Prototype for dissect_rpc_bool().
svn path=/trunk/; revision=1327
1999-12-14 11:40:27 +00:00