Commit graph

23939 commits

Author SHA1 Message Date
Gerald Combs
ba7aec84a8 Format our text before displaying it. This keeps Wireshark from crashing on
Ubuntu 7.10 and possibly other platforms.

svn path=/trunk/; revision=24341
2008-02-16 01:33:48 +00:00
Gerald Combs
7706f9e17e Fix compilation on non-Windows systems.
svn path=/trunk/; revision=24340
2008-02-16 01:00:01 +00:00
Gerald Combs
98bacb3556 Add rawshark, a utility that, when given raw pcap-formatted packets and
a list of fields, prints the field values found in each packet.

Packet data can be specified as a libpcap DLT, e.g. "EN10MB" or an upper-layer protocol, e.g. "http".

svn path=/trunk/; revision=24339
2008-02-15 23:20:32 +00:00
Gerald Combs
6537c76fb6 Extend the UAT and preferences code so that you can use the "-o" flag
to override UAT entries from the command line, e.g.

  -o "uat:user_dlts:\"User 0 (DLT=147)\",\"http\",\"0\",\"\",\"0\",\"\""
  
Fix up white space.

svn path=/trunk/; revision=24338
2008-02-15 22:36:24 +00:00
Gerald Combs
eba80d5c38 Add fvalue_string_repr_len.
svn path=/trunk/; revision=24337
2008-02-15 22:35:09 +00:00
Ashok Narayanan
51c90d25e6 Added RTCP Feedback NAK PLI dissectors.
svn path=/trunk/; revision=24336
2008-02-15 17:18:29 +00:00
Sake Blok
b38b10b516 Make -c work properly in tshark when a read filter is used.
svn path=/trunk/; revision=24335
2008-02-15 13:02:43 +00:00
Bill Meier
0d0d86cc57 (Use ifdef not IFDEF for consistency)
svn path=/trunk/; revision=24334
2008-02-15 03:12:52 +00:00
Bill Meier
395ec8f4a5 iconv is now not normally used;
svn path=/trunk/; revision=24333
2008-02-15 03:09:07 +00:00
Gerald Combs
5b522888dd Initialize a tvb, so that we don't crash. Fix up whitespace.
svn path=/trunk/; revision=24332
2008-02-14 23:10:29 +00:00
Bill Meier
57c4bec6c2 Clarify wording slightly ....
svn path=/trunk/; revision=24331
2008-02-14 17:24:14 +00:00
Bill Meier
718b14c7ce Glib >= 2.14.5 does not require iconv
svn path=/trunk/; revision=24330
2008-02-14 17:16:12 +00:00
Stig Bjørlykke
ba11df88da Added option to turn off name resolution.
Added help button (documentation TBD).

svn path=/trunk/; revision=24329
2008-02-14 09:33:57 +00:00
Stephen Fisher
b0a09b3c8b Add/fix a few calls to col_custom_set_fstr() for custom columns.
svn path=/trunk/; revision=24328
2008-02-14 06:10:54 +00:00
Ronnie Sahlberg
d426498171 fixup and improve create
svn path=/trunk/; revision=24327
2008-02-14 06:08:11 +00:00
Ronnie Sahlberg
2d63ba2674 fixum tree disconnect
svn path=/trunk/; revision=24326
2008-02-14 05:15:20 +00:00
Ronnie Sahlberg
f8660c6806 fixup tree connect
svn path=/trunk/; revision=24325
2008-02-14 05:13:29 +00:00
Ronnie Sahlberg
eb2f7475f2 fixup sessionlogoff
svn path=/trunk/; revision=24324
2008-02-14 04:19:51 +00:00
Ronnie Sahlberg
0d97477e6d fixup sessionsetup
svn path=/trunk/; revision=24323
2008-02-14 04:16:11 +00:00
Ronnie Sahlberg
bb9f7a373e update dissection of negprot
svn path=/trunk/; revision=24322
2008-02-14 03:38:29 +00:00
Ronnie Sahlberg
d399fc0a1f fixup SMB2 header and decode async commands correctly
svn path=/trunk/; revision=24321
2008-02-14 02:36:43 +00:00
Jaap Keuter
bd83d8a864 Add SERCOS ethertype for upcoming dissector.
svn path=/trunk/; revision=24320
2008-02-13 17:34:05 +00:00
Jaap Keuter
41a491e8e1 Fix for bug 2259:
Add a line to map MAC addresses 01:00:5E/25 to IPv4 multicast.

svn path=/trunk/; revision=24319
2008-02-13 17:21:34 +00:00
Stephen Fisher
f877c1a57a Remove mention of tshark being installed setuid root as it now uses dumpcap.
Also realign the following few sentences.


svn path=/trunk/; revision=24318
2008-02-13 05:28:27 +00:00
Stephen Fisher
8f3a1b0d16 Check in changes originally checked in as SVN revision 24308 (new column
type: Custom) that were backed out in SVN revision 24309.

Changes since that revision include a reworking of the handling of the
cfile/cinfo variables in epan/column-utils.c, addition of three new
functions to libwireshark.def and a bug fix to prevent a crash when no
custom columns were not in use.

Compilation verified locally on MacOS X, Linux and Windows.


svn path=/trunk/; revision=24317
2008-02-13 05:05:33 +00:00
Gerald Combs
7a6d8d7955 Replace a g_snprintf() with a strncpy(). Fixes bugs 2260 to 2262.
svn path=/trunk/; revision=24316
2008-02-13 04:10:20 +00:00
Gerald Combs
269b0d0474 Add a priority level to each context in the info status bar. Use it to make
sure we don't overwrite filter status messages during live captures.

When "!=" is used in a display filter, point the user to the User's Guide.

svn path=/trunk/; revision=24315
2008-02-13 01:18:40 +00:00
Stig Bjørlykke
5df0b2fe77 Do not update window title when destroying the dialog.
svn path=/trunk/; revision=24314
2008-02-13 00:31:54 +00:00
Anders Broman
a2843a25e0 Restore edits lost in previous checkin.
svn path=/trunk/; revision=24313
2008-02-12 21:08:15 +00:00
Anders Broman
e76c17a485 As we don't destinguish between the application ID's avoid duplicated entries.
svn path=/trunk/; revision=24312
2008-02-12 20:45:59 +00:00
Stig Bjørlykke
f410d0b781 Fixed an incorrect free loop.
svn path=/trunk/; revision=24311
2008-02-12 15:18:01 +00:00
Stig Bjørlykke
a356f552b4 Added WLAN Traffic Statistics dialog.
svn path=/trunk/; revision=24310
2008-02-12 14:17:18 +00:00
Stephen Fisher
5e893a8b1c Revert commit 24308 until I can get it to compile on Windows/Linux/Solaris
(strangely, it compiled fine on my MacOS X machine).


svn path=/trunk/; revision=24309
2008-02-12 08:09:22 +00:00
Stephen Fisher
0a85a9e4c6 Introduce a new column type called custom, which lets you put any display
filter name in the description field and it will display that field in the
packet list if it occurs in that packet.  Note that the more common fields
are implemented, but a number of them remain to be implemented in
epan/proto.c.  I will work on these other fields as I have time.


svn path=/trunk/; revision=24308
2008-02-12 03:16:09 +00:00
Stig Bjørlykke
e3c7039015 Add a cast.
svn path=/trunk/; revision=24307
2008-02-12 00:24:49 +00:00
Anders Broman
f9870c31af Clean up a bit.
svn path=/trunk/; revision=24306
2008-02-11 21:24:45 +00:00
Anders Broman
6796736470 Updates according to ETSI ES 283 026 V1.6.0 (2008-02)
svn path=/trunk/; revision=24305
2008-02-11 21:12:26 +00:00
Gerald Combs
556d14a8bf Wireshark occasionally starts up behind other applications. Bring it to the
front.

svn path=/trunk/; revision=24304
2008-02-11 19:20:10 +00:00
Gerald Combs
152b28477a Windows (confirmed with Vista, XP, and 98) sends the "secs" value as a
little-endian value. Add a check and format the value accordingly. Fix up
whitespace.

svn path=/trunk/; revision=24303
2008-02-11 19:18:02 +00:00
Bill Meier
980b393d0d A few more pedantic fixes ...
svn path=/trunk/; revision=24302
2008-02-11 18:43:15 +00:00
Bill Meier
b25aa005c1 A few minor pedantic fixes ....
svn path=/trunk/; revision=24301
2008-02-11 17:04:51 +00:00
Stig Bjørlykke
56b0985653 Fixed setting filter in SCTP Chunk Counter statistics.
Fixed setting filter in NCP Endpoints.
Corrected $Id$ in hostlist_ncp.c

svn path=/trunk/; revision=24300
2008-02-11 13:15:48 +00:00
Stig Bjørlykke
89693ff729 Avoid double space in filter when creating from conversations and endpoints.
svn path=/trunk/; revision=24299
2008-02-11 11:06:35 +00:00
Bill Meier
2078ed4a5f Fix one add'tl warning as reported by David Kirkby
svn path=/trunk/; revision=24298
2008-02-11 01:41:49 +00:00
Guy Harris
6dd81aa615 The type field of an mtp3_addr_pc_t is a "which SS7 standard is this?"
type, not a "how do I format addresses?" type; declare it as such, and
remove the comment that pointed out that the type field had the wrong
(C) type.

svn path=/trunk/; revision=24297
2008-02-10 21:38:52 +00:00
Guy Harris
c1e833bdef Do the time calculations with 64-bit integers, rather than in floating
point, so we don't have issues with numbers not being exactly
representable; that makes it less likely that the change described below
will change a time stamp if it's not fixing the time stamp (i.e., if
time_day is 0).

The Sniffer manual "Expert Sniffer(R) Network Analyzer Operations,
Release 5.50" says that a frame2_rec has a time stamp with an 8-bit
time_high field and an 8-bit time_day field.  Interpreting the time
stamp that way fixes the time stamps in at least some captures; see, for
example, bug 2251.

Fix/update some comments (for example, the Sniffer documentation is no
longer at that URL).

svn path=/trunk/; revision=24296
2008-02-10 18:29:05 +00:00
Bill Meier
bad9f18d33 Fix (Sun) compiler warnings as reported by David Kirkby: Part 1
svn path=/trunk/; revision=24295
2008-02-09 23:35:28 +00:00
Stephen Fisher
aa3c4cafbc Fix for bug #2250
svn path=/trunk/; revision=24294
2008-02-09 01:09:05 +00:00
Anders Broman
d6aea2d0a1 - Add application Id:s to Diameter
- Further dissect 3GPP Radius AVP:s.

svn path=/trunk/; revision=24293
2008-02-08 16:32:12 +00:00
Stig Bjørlykke
71ad1e38f8 Add get_sctp_port to libwireshark.def
svn path=/trunk/; revision=24292
2008-02-08 14:47:21 +00:00