Commit graph

40191 commits

Author SHA1 Message Date
Anders Broman
9d9be8f76d From David Wei:
Further additions and fixes to MBMS in M3AP dissector.

from me update to 11.1

svn path=/trunk/; revision=42290
2012-04-27 11:08:37 +00:00
Anders Broman
a72f9abfc0 From David Wei:
Further additions and fixes to MBMS in GTPv2 and DIAMETER dissectors.

svn path=/trunk/; revision=42289
2012-04-27 10:48:03 +00:00
pascal
7eab849657 Fix typo errors
svn path=/trunk/; revision=42288
2012-04-27 09:04:23 +00:00
Jakub Zawadzki
08105610a0 nflog: add BYTE_ORDER_HOST, fix conflicting ENC_BIG_ENDIAN, ENC_NA value_string entries.
svn path=/trunk/; revision=42287
2012-04-27 08:44:38 +00:00
Anders Broman
3b0c9892a0 From Steve Magnani:
Add decoding of fields within endpoint descriptor wMaxPacketSize

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7206

svn path=/trunk/; revision=42286
2012-04-27 08:44:36 +00:00
Jakub Zawadzki
aec21991ec Fix value of "Error in Parameter API"
References: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3753#c3

svn path=/trunk/; revision=42285
2012-04-27 08:41:44 +00:00
Anders Broman
33b522efd5 From Tom Bottom:
The AEM status field was erroneously displayed using ACMP status field values.
Minor change to display correct (as of draft 18) AEM status field values.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7205

svn path=/trunk/; revision=42284
2012-04-27 08:32:06 +00:00
Anders Broman
9e506104ed From Evan Huus:
Memory leak in NFS Dissector

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7204

svn path=/trunk/; revision=42283
2012-04-27 08:24:02 +00:00
Anders Broman
a2921f7b97 From Evan Huus:
Get rid of unused cur_pos variable.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7203

svn path=/trunk/; revision=42282
2012-04-27 08:18:58 +00:00
Anders Broman
7d17553acc From Evan Huus: Fix memory leaks in wslua_tvb.c fix typos in wslu_proto.c https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7202
svn path=/trunk/; revision=42281
2012-04-27 06:02:45 +00:00
Anders Broman
48fc51f835 From Evan Huus: Fix memory leaks in wslua_proto.c
svn path=/trunk/; revision=42280
2012-04-27 05:51:47 +00:00
Anders Broman
ace0603d8f From Evan Huus: Fix memory leaks in wslua_pinfo.c https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7202
svn path=/trunk/; revision=42279
2012-04-27 05:47:42 +00:00
Bill Meier
1d04d562c5 For pcapng files: revert svn:mime-type back to application/octet-stream;
See wireshark-dev discussion starting at:
http://www.wireshark.org/lists/wireshark-dev/201204/msg00145.html

svn path=/trunk/; revision=42278
2012-04-27 05:02:36 +00:00
Guy Harris
177be74688 Get rid of tabs; make white space consistent.
Get rid of gtk_widget_set_size_request() calls - at least on my machine
and GTK+ version, they make some of the items too small to show the full
text.  Let GTK+ figure out how big things have to be - and if that makes
the toolbar too wide, redesign the toolbar.

svn path=/trunk/; revision=42277
2012-04-26 22:11:01 +00:00
Jeff Morriss
5fa0ead414 Add a TODO comment; indicate why PCAP-NG files don't use application/vnd.tcpdump.pcap
svn path=/trunk/; revision=42276
2012-04-26 18:45:07 +00:00
Guy Harris
661afd4ba9 Consistently InterCapitalize StatusBar.
Separate "Toolbar" from the toolbar name in the View menu items.

Use "l", rather than "W", as the whatchamacallit for the wireless
toolbar - "W" is already used for "show packet in new window".

svn path=/trunk/; revision=42275
2012-04-26 18:02:04 +00:00
Guy Harris
99a66a0e77 While we're at it, add back the shortcuts, or whatever the heck the
Alt+{letter}+... things are called, for the Expand and Collapse items.

svn path=/trunk/; revision=42274
2012-04-26 17:36:39 +00:00
Jeff Morriss
d3adfa1927 Use a mime-type of application/x-gzip for *.gz files
svn path=/trunk/; revision=42273
2012-04-26 17:31:46 +00:00
Guy Harris
6163bcfa89 Just use a Boring Old ASCII Dash for hex ranges.
svn path=/trunk/; revision=42272
2012-04-26 16:58:30 +00:00
Bill Meier
557ed5e971 Minor: reformatting, unneeded #includes, whitespace cleanup;
Also: use val_to_str_const(0 instead of val_to_str() in a few cases.

svn path=/trunk/; revision=42271
2012-04-26 16:47:37 +00:00
Guy Harris
781891bd7b Remove duplicate comment.
svn path=/trunk/; revision=42270
2012-04-26 16:30:33 +00:00
Guy Harris
c0cdd900fc Add a pcoreytohll() macro to extract "Corey-endian" 64-bit quantities,
and use it.

Fix some comments.

svn path=/trunk/; revision=42269
2012-04-26 16:27:03 +00:00
Guy Harris
0819326e21 Fix presumed typo (zero-origin bit 5 is 0x0020, not 0x0002).
svn path=/trunk/; revision=42268
2012-04-26 16:25:14 +00:00
Anders Broman
0820e375b0 Prepare to use value_string or range_string.
svn path=/trunk/; revision=42267
2012-04-26 16:11:34 +00:00
Bill Meier
f0c3ee5c4a Whitespace cleanup: Indentation, trailing, ...
svn path=/trunk/; revision=42266
2012-04-26 16:05:05 +00:00
pascal
81c1371d5d From Evan Huus:
Add missing break
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7201

svn path=/trunk/; revision=42265
2012-04-26 15:44:01 +00:00
Anders Broman
6b29debe58 From Evan Huus:
Unused structure in packet-btrfcomm.c
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7200

svn path=/trunk/; revision=42264
2012-04-26 15:39:52 +00:00
Jakub Zawadzki
9a0ab7831d Correct value for Baudot50
From H.248.2: Gateway control protocol: Facsimile, text conversation and call discrimination packages (page 23)
[URL: http://www.itu.int/rec/dologin_pub.asp?lang=e&id=T-REC-H.248.2-200501-I!!PDF-E&type=items]

svn path=/trunk/; revision=42263
2012-04-26 15:35:38 +00:00
Jakub Zawadzki
e6f2751cdd Add support for checking conflicting entries in value_string_ext.
svn path=/trunk/; revision=42262
2012-04-26 15:33:46 +00:00
Anders Broman
47fdd93c3c Restore Accelerators for "Expand Subtree", "Expand All" and "Collapse All".
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7197

svn path=/trunk/; revision=42261
2012-04-26 15:17:01 +00:00
Jakub Zawadzki
e2c680b245 Fix some "conflicting" value_string warnings.
copy & paste errors, not 0-terminated value_string arrays, etc.

svn path=/trunk/; revision=42260
2012-04-26 14:41:37 +00:00
Anders Broman
2cc15fd9c6 Fully dissect more IEs
svn path=/trunk/; revision=42259
2012-04-26 13:23:16 +00:00
Anders Broman
6819789c54 From Bodo Petermann:
Megaco parser problem with LF in header.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7198

svn path=/trunk/; revision=42258
2012-04-26 13:22:40 +00:00
pascal
0607e2c0bd From vaicebine via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7199 :
wrong value displayed for OAMPDU event notification "Errored Frame Window" field

svn path=/trunk/; revision=42257
2012-04-26 13:20:02 +00:00
Guy Harris
a3ce72529c Use the pletohXX macros when fetching little-endian values.
svn path=/trunk/; revision=42256
2012-04-26 08:57:33 +00:00
Guy Harris
c7575ff095 Put the pseudo-header information for Veriwave packets into the buffer
in little-endian byte order, as that's what the dissector expects.  Add
a pletohl() macro for that purpose.

Fix comments (the Veriwave code is *not* writing data to a file!) and
clean up indentation.

svn path=/trunk/; revision=42255
2012-04-26 08:45:48 +00:00
Anders Broman
7486872523 Refcount edt.s as we may have atleast two "active" edt:s in certain
circumstances see bug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5284

patch by Evan Huus

svn path=/trunk/; revision=42254
2012-04-26 08:41:47 +00:00
Guy Harris
3980d56370 Fix indentation.
svn path=/trunk/; revision=42253
2012-04-26 07:44:28 +00:00
Guy Harris
d4d080e1a1 Use pntohs(), pntoh24(), and pntohl() to fetch big-endian data from the
headers.

Fix some indentation.

svn path=/trunk/; revision=42252
2012-04-26 05:07:53 +00:00
Guy Harris
1e6eaee16c Global variables considered harmful. Move all the per-capture-file
global variables into a structure that's attached to the wtap_t as
private data, and make all the per-*packet* global variables local
variables.

svn path=/trunk/; revision=42251
2012-04-26 04:26:03 +00:00
Guy Harris
28175cbf9a Put pcapng_open() right after libpcap_open(); pcap and pcap-ng are our
native file formats, so try them first.

Move eyesdn_open() to the section for open routines for file formats
that have a magic number - EyeSDN traces all start with "EyeSDN".

svn path=/trunk/; revision=42250
2012-04-26 03:21:29 +00:00
Guy Harris
51633791a9 If you get an I/O error when looking for the FPGA version, return -1, so
we know we had a real problem with the file.  If we just get a short
read, return 0, as it means the file is probably not a VWR file.

If we get an invalid message length when reading packets (rather than
when looking for the FPGA version), return WTAP_ERR_BAD_FILE and an
"Invalid message record length" indication, not a generic fallback
"can't read the file" error.

For file_tell() errors, fetch the error code with file_error().

For file_seek() errors, use the error file_seek returned.

svn path=/trunk/; revision=42249
2012-04-26 03:06:35 +00:00
Martin Mathieson
e74d2fd9db Return 0 if doesn't match signature of vwr files.
Pointed out by Martin Kaiser in bug 7196.

svn path=/trunk/; revision=42248
2012-04-25 22:54:45 +00:00
pascal
e94974887c Convert spaces to tabs
svn path=/trunk/; revision=42247
2012-04-25 21:37:10 +00:00
Michael Tüxen
e08a45d705 Set also the pcap buffer, if the default of 1 MB is used. This bug was
reported by Guy.

svn path=/trunk/; revision=42246
2012-04-25 21:19:31 +00:00
Michael Tüxen
3c866b04d0 Report the packets captured and the packets dropped (either by libpcap or by dumpcap).
svn path=/trunk/; revision=42245
2012-04-25 21:09:33 +00:00
pascal
f0a6f372ac From Niels de Vos:
dissect AUTH_RSA as Gluster AUTH-flavor
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7190

svn path=/trunk/; revision=42244
2012-04-25 21:02:48 +00:00
pascal
7a15d6be87 From Niels de Vos:
Rename AUTH_DH to AUTH_RSA as specified in RFC 5531

svn path=/trunk/; revision=42243
2012-04-25 20:59:35 +00:00
Michael Tüxen
8ea1984ddc Allow writing ISB with given recv/drop counters.
No functional change by this commit.

svn path=/trunk/; revision=42242
2012-04-25 20:50:38 +00:00
pascal
1cd8ca08a6 From Evan Huus:
Fix Integer32 length field detection
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7192

svn path=/trunk/; revision=42241
2012-04-25 20:20:23 +00:00