Commit Graph

10345 Commits

Author SHA1 Message Date
Guy Harris 7300c4ef12 From Albert Chin: libpcap 0.8.1 loads the BPF driver on AIX, but to do
so it requires routines from -lcfg and -lodm - if attempting to link
with libpcap fails, try linking with libpcap and -lcfg and -lodm and, if
that succeeds, add all those libraries to the link list.

svn path=/trunk/; revision=10244
2004-02-26 09:39:43 +00:00
Guy Harris 0f7a0c31ce Use "tvb_get_string()" rather than duplicating its functionality by
hand.

Clean up "name_in_bitmap()" a bit.

In "loop_record()", don't bother allocating a buffer for the tag used if
there's no name for the item.

svn path=/trunk/; revision=10243
2004-02-25 23:15:23 +00:00
Guy Harris 25ebe4f252 Use "tvb_get_string()" rather than duplicating its functionality by
hand.

In "dissect_control_0e()", use the remaining reported length in the
tvbuff rather than the length.

svn path=/trunk/; revision=10242
2004-02-25 23:13:55 +00:00
Guy Harris 4558687220 Make sure the keysym list is present before allocating a buffer to hold
it.

svn path=/trunk/; revision=10241
2004-02-25 23:12:49 +00:00
Guy Harris 9f7507d0b4 Use "tvb_get_string()" instead of duplicating its functionality by hand.
Don't make a copy of the message in
"dissect_quake2_client_commands_uinfo()" and
"dissect_quake2_client_commands_stringcmd()", just use the copy in the
tvbuff.

svn path=/trunk/; revision=10240
2004-02-25 23:11:16 +00:00
Guy Harris 2b832414fb Describe some problems with processing data pointed to by the result of
"tvb_get_ptr()".

Add a section on roubustness, giving a number of potential problems that
aren't just portability problems.

Document "tvb_get_string()" and "tvb_get_stringz()", better document
"tvb_memcpy()" and "tvb_memdup()".

Fix a typo.

svn path=/trunk/; revision=10239
2004-02-25 22:45:51 +00:00
Guy Harris 164c3ea936 Get rid of a debugging printf.
svn path=/trunk/; revision=10238
2004-02-25 21:05:09 +00:00
Ulf Lamping 05eb677c39 Seperated the "Go" menu, corresponding to:
http://developer.gnome.org/projects/gup/hig/1.0/menus.html#menu-standard-go

svn path=/trunk/; revision=10237
2004-02-25 17:44:50 +00:00
Guy Harris 857318d3b7 Use "tvb_get_string()" instead of allocating a (len+1)-sized buffer,
"tvb_memcpy()"ing to it, and putting in a null terminator;
"tvb_get_string()" will check whether all bytes of the string are
present before allocating the buffer, so that you don't leak memory if
the copy throws an exception, and don't crash if the length is absurdly
large.

Use "tvb_memdup()" instead of allocating a buffer and "tvb_memcpy()"ing
to it, so that an exception is thrown before you try to allocate the
buffer (for the same reasons as listed above).

Before allocating a buffer used when processing a chunk of data from a
packet, get a pointer to the chunk with "tvb_get_ptr()", or check that
the data is all there with "tvb_ensure_bytes_exist()", so that an
exception is thrown before you try to allocate the buffer (for the same
reasons as listed above).

Fix up the lengths of the tvbuff used when dissecting ONC RPC opaque data
with a particular dissector.

svn path=/trunk/; revision=10236
2004-02-25 09:31:07 +00:00
Ronnie Sahlberg 3353ca1d5a for netbios type addresses in kerberos
print the netbios type as hex and not decimal

svn path=/trunk/; revision=10235
2004-02-25 07:52:37 +00:00
Guy Harris deba4716e0 Dissect FILE_RENAME_INFO.
Combine the dissection for 0x0101 and 1004 in Set File Info.

svn path=/trunk/; revision=10234
2004-02-25 06:22:35 +00:00
Guy Harris dd264ba190 Only handle as a suffix stuff following a "." in the last component of a
pathname.

svn path=/trunk/; revision=10233
2004-02-25 05:52:37 +00:00
Guy Harris 983e4f9de3 Don't unlink ringbuffer files if we haven't yet allocated the array of
ringbuffer files - yes, we can fail before that's done, so we have to
check for that.

svn path=/trunk/; revision=10232
2004-02-25 05:21:08 +00:00
Ulf Lamping 9251b808b2 changed some labels
svn path=/trunk/; revision=10231
2004-02-25 00:16:28 +00:00
Ulf Lamping d288ae929e minor redesign of the dialog
svn path=/trunk/; revision=10230
2004-02-24 23:25:28 +00:00
Ulf Lamping 017bbb9b0d added a new section "Installing GTK-Wimp"
svn path=/trunk/; revision=10229
2004-02-24 19:42:22 +00:00
Guy Harris 77b2def203 Add "make-version.pl" to the distribution.
svn path=/trunk/; revision=10228
2004-02-24 18:54:35 +00:00
Ulf Lamping 301b5ddbcc added gtk-wimp to the nsis installer build
svn path=/trunk/; revision=10227
2004-02-24 18:51:40 +00:00
Ulf Lamping 095c3af8f3 updated some things (optional packages, nsis, gtk-wimp)
svn path=/trunk/; revision=10226
2004-02-24 18:44:06 +00:00
Ulf Lamping 8d463d620f changed some label texts
svn path=/trunk/; revision=10225
2004-02-24 18:39:13 +00:00
Guy Harris 5ea31620ef From Jaime Fournier: more bug fixes.
svn path=/trunk/; revision=10224
2004-02-24 18:23:45 +00:00
Ulf Lamping 5f3007bcb6 fixed some GTK2 stock items keyboard shortcuts
svn path=/trunk/; revision=10223
2004-02-24 17:59:57 +00:00
Ulf Lamping 3a7a9a1713 fixed some menu item capitalization and keyboard shortcuts
svn path=/trunk/; revision=10222
2004-02-24 17:57:52 +00:00
Ulf Lamping d30d0edf20 added a "Close" button to the dialog
svn path=/trunk/; revision=10221
2004-02-24 17:53:40 +00:00
Ulf Lamping cb24afa0fa fixed various typos
svn path=/trunk/; revision=10220
2004-02-24 17:49:07 +00:00
Ronnie Sahlberg c47f73364b with the cahnges to when to call the heuristic dissector
(and the fact that nbss does not register its conversation)
this caused WANT_PDU_TRACKING to be decremented multiple times between
the dissectors
and thus ethereal could no longer reliably spot SMB PDUs that started in the middle of a tcp segment (unless we do reassembly which we dont do unless we have to since it eats soo many resources)

FIX so that ethereal once again can spot SMB (and other) protocol PDUs that start in the middle of a segment.

svn path=/trunk/; revision=10219
2004-02-24 09:40:38 +00:00
Guy Harris 6da5fdfaf4 From Jaime Fournier: bug fixes.
svn path=/trunk/; revision=10218
2004-02-24 08:05:16 +00:00
Guy Harris 544818d97d Small cleanup - the for loop was left over from earlier code that kept
searching backwards for a backslash until it found one followed by
"Device\", and no longer looped.

svn path=/trunk/; revision=10217
2004-02-24 05:52:30 +00:00
Gerald Combs b8b799ed54 Add a missing line.
svn path=/trunk/; revision=10215
2004-02-24 02:45:44 +00:00
Gerald Combs c12822a569 Final updates for 0.10.2.
svn path=/trunk/; revision=10214
2004-02-24 02:38:22 +00:00
Gerald Combs 15e982a749 In get_if_name(), return immediately once we've found our interface name
under Windows.

svn path=/trunk/; revision=10213
2004-02-24 02:19:16 +00:00
Guy Harris a56e99aa7a Put a period at the end of the "Running with" stuff.
svn path=/trunk/; revision=10212
2004-02-24 01:14:27 +00:00
Guy Harris 64b2a29fc8 Squelch a compiler warning.
svn path=/trunk/; revision=10211
2004-02-24 01:11:27 +00:00
Guy Harris e0fae3ea78 Sigh. On Windows OT, device names don't have "\Device\" in front of
them, so we can't look for "\Device\" as the beginning of the interface
name.  Instead, on Windows, scan backwards for a colon and then skip the
colon and any subsequent blanks.  (I don't *think* interface names have
colons in them in Windows, even on NT 5.x with the GUID crapola in the
name.)

svn path=/trunk/; revision=10210
2004-02-23 23:13:36 +00:00
Guy Harris 6064ef84c2 Add a "force" argument to "filter_packets()" and
"main_filter_packets()", to force the filtering to be done even if the
filter is the same as the current one; this is necessary in order to
make sure "Follow TCP Stream" gets the packets processed even if you're
filtering the stream that's currently filtered in.

svn path=/trunk/; revision=10209
2004-02-23 22:48:52 +00:00
Gerald Combs 5de3a44126 MSVC doesn't like having header files in .c=.obj targets.
Fix dftest compiling under Windows.

svn path=/trunk/; revision=10208
2004-02-23 22:45:24 +00:00
Ulf Lamping 25510cf209 changed title and menu registering to "IO Graphs"
and changed some of the labels to be more intuitive

svn path=/trunk/; revision=10207
2004-02-23 22:26:07 +00:00
Ulf Lamping 5d0bcd0197 minor change
svn path=/trunk/; revision=10206
2004-02-23 22:23:46 +00:00
Gerald Combs d389b5207e Bump the version to 0.10.2
svn path=/trunk/; revision=10205
2004-02-23 21:53:05 +00:00
Gerald Combs 8b2e1c12a7 Move x11-declarations.h and x11-register-info.h back into BUILT_SOURCES,
so that we can build after a "make distclean".

svn path=/trunk/; revision=10204
2004-02-23 21:14:25 +00:00
Ulf Lamping 09f8a69e4c Changed all items to "Endpoint List" and get rid of the "Host List" group.
called "IO stats" now "Throughput Graph" as this might be somewhat more descriptive IMHO.
Same applies to the "TCP Stream Analysis" -> "TCP Stream Graphs"

svn path=/trunk/; revision=10203
2004-02-23 20:28:31 +00:00
Ulf Lamping ed6148660b statistics menu redesigned, now looking more like the former menu,
items now again grouped by function, not by ISO layer

svn path=/trunk/; revision=10202
2004-02-23 19:19:39 +00:00
Olivier Biot 56aeb8f3a6 Use a pale variant of the foreground color for the background color of the
follow TCP stream data display. As a result, we can now make the distinction
between real data and whitespace wrapping by the UI.

svn path=/trunk/; revision=10201
2004-02-23 17:38:07 +00:00
Jörg Mayer c7e9435873 Change Email address of Giles Scott
svn path=/trunk/; revision=10200
2004-02-23 16:33:14 +00:00
Gerald Combs fc60101a9f Move cvsversion.h from BUILT_INCLUDES to BUILT_SOURCES. This tells automake
to create cvsversion.h before any "all" or "check" targets are built.

Clean up a few CVS version strings that I missed last week.

svn path=/trunk/; revision=10199
2004-02-23 16:12:52 +00:00
Jörg Mayer 75456a5bbe Remove a comma at end of enum
svn path=/trunk/; revision=10198
2004-02-23 14:37:59 +00:00
Ronnie Sahlberg 0b94f16891 update to kerberos. now also decrypting the KRB_PRIB blobs
(application 21) of kerberos v5.
there are commonly found in Kpasswd packets.

Not too interesting yet until we start supporting decryption of kerberos
blobs using mit/heimdal kerveros shared libraries.

svn path=/trunk/; revision=10197
2004-02-23 08:39:42 +00:00
Richard Sharpe de8d0fddc9 Another small closing bracket fixup.
svn path=/trunk/; revision=10196
2004-02-23 05:44:34 +00:00
Guy Harris ab788d2688 Make the tap names for host statistics use "hosts" instead of "conv",
and make the tap names for endpoint statistics use "endpoints" instead
of "conv".

Similarly, make the titles for their windows say "Hosts" or "Endpoints"
rather than "Conversations".

svn path=/trunk/; revision=10195
2004-02-23 05:35:47 +00:00
Richard Sharpe 59b1193763 Small fix to usage text to add a trailing closed square bracket (]).
svn path=/trunk/; revision=10194
2004-02-23 04:16:37 +00:00