Commit Graph

51149 Commits

Author SHA1 Message Date
Pascal Quantin 6ebc058f47 Add proto_tree_add_ts_23_038_7bits_item() / tvb_get_ts_23_038_7bits_string() functions and update dissectors to use it.
Remove gsm_sms_char_7bit_unpack() / gsm_sms_chars_to_utf8() functions.
Update documentation a bit.

svn path=/trunk/; revision=54534
2014-01-01 14:33:19 +00:00
Pascal Quantin e504cf945b wimax_compact_ulmap_ie_decoder() is used outside of wimax_compact_ulmap_ie_decoder.c
svn path=/trunk/; revision=54533
2014-01-01 14:29:16 +00:00
Alexis La Goutte 28a2511506 Add extern C for init_wslua (for future use in Wireshark Qt)
svn path=/trunk/; revision=54532
2014-01-01 14:12:38 +00:00
Michael Mann 6daf9fd15b Filetap library, version 0.001
This is intended as the "tap library" for fileshark.  Right now its basically just a very stripped down (and renamed) copy of the wiretap library.  The goal is to remove "capture" and "wire" specific functionality out of the file handling to make it easier/simpler to support non-capture type files in the epan architecture.

svn path=/trunk/; revision=54531
2014-01-01 13:18:45 +00:00
Anders Broman 818c0fdaf8 Fix [-Wmissing-prototypes]
svn path=/trunk/; revision=54530
2014-01-01 12:25:44 +00:00
Stig Bjørlykke ddda691c2b Happy new year!
svn path=/trunk/; revision=54529
2014-01-01 12:20:27 +00:00
Anders Broman 451c30ef81 Fix [-Wmissing-prototypes]
svn path=/trunk/; revision=54528
2014-01-01 12:17:57 +00:00
Guy Harris 322e7272a6 Use a common code path for most of both sequential and random file
access.  We currently can't provide a time stamp when randomly reading,
so don't set WTAP_HAS_TS in that case.

svn path=/trunk/; revision=54527
2013-12-31 23:51:10 +00:00
Guy Harris 1e3f101b2e Back out a change so that we can check it in again with the correct
commit message.

svn path=/trunk/; revision=54526
2013-12-31 23:49:09 +00:00
Guy Harris d734fe4562 When reading MIME-encapsulated files, read the entire file at once,
don't break it into chunks.

This means we don't need to do reassembly in the MIME-encapsulated-data
dissector.

svn path=/trunk/; revision=54525
2013-12-31 23:48:02 +00:00
Guy Harris 8387a45fcc When reading MIME-encapsulated files, read the entire file at once,
don't break it into chunks.

This means we don't need to do reassembly in the MIME-encapsulated-data
dissector.

svn path=/trunk/; revision=54524
2013-12-31 23:47:24 +00:00
Guy Harris cdce403745 When reading sequentially, pass the packet data length to
ngsniffer_read_rec_data(), and separatelyskip extra data after that.

When reading randomly, use the packet length read from the packet
header.

svn path=/trunk/; revision=54523
2013-12-31 23:43:54 +00:00
Guy Harris 0dd01761f3 Use the packet length read from the packet header when reading packets
randomly.

svn path=/trunk/; revision=54522
2013-12-31 23:41:35 +00:00
Guy Harris 9df5acefab Trust the packet length we calculate when reading packets randomly.
svn path=/trunk/; revision=54521
2013-12-31 23:34:43 +00:00
Guy Harris a628e77311 Make it clearer that we're using the packet length read from the packet
header when reading packets randomly.

svn path=/trunk/; revision=54520
2013-12-31 23:33:49 +00:00
Guy Harris eeda7ec1ae Use the packet length read from the packet header when reading packets
randomly.

svn path=/trunk/; revision=54519
2013-12-31 23:32:30 +00:00
Guy Harris cd13dd3782 Use the packet length read from the packet header when reading packets
randomly.

svn path=/trunk/; revision=54518
2013-12-31 23:31:44 +00:00
Guy Harris 31d74c1922 Use the packet length read from the packet header, and check for an EOF
and treat it as an error, when reading packets randomly.

svn path=/trunk/; revision=54517
2013-12-31 23:30:39 +00:00
Guy Harris 4648f411a7 Use the packet length read from the packet header, and check for an EOF
and treat it as an error, when reading packets randomly.

svn path=/trunk/; revision=54516
2013-12-31 23:30:18 +00:00
Pascal Quantin a4c1a7c476 Revert r54510: OSX buildbots still complain about unused hf variables
svn path=/trunk/; revision=54515
2013-12-31 17:19:43 +00:00
Bill Meier 1d11745a16 Add -h option (with output to stdout and exit status 0).
Add editor modelines.

svn path=/trunk/; revision=54514
2013-12-31 16:23:00 +00:00
Bill Meier 6b4944eced Follow convention for -h option:
Output to stdout & then exit(0).
Add editor modelines.

svn path=/trunk/; revision=54513
2013-12-31 16:17:09 +00:00
Bill Meier 1b180b3f47 Use the normal convention for exit status and output file descriptors:
Changes:
 - exit(1) if error (not exit(-1));
 - for -h: output to stdout & exit(0);

Also:
 - editor modelines: set tab-width=8;
 - use a consistent whitespace & formatting style;

svn path=/trunk/; revision=54512
2013-12-31 15:10:51 +00:00
Pascal Quantin aa796df61c Add SVN properties
svn path=/trunk/; revision=54511
2013-12-31 14:50:52 +00:00
Martin Kaiser 729e8a2885 move packet-tango.c from dirty to clean
svn path=/trunk/; revision=54510
2013-12-31 14:48:48 +00:00
Martin Kaiser 97f904a1a3 add Novell PKIS to the list of new protocols
svn path=/trunk/; revision=54509
2013-12-31 14:25:28 +00:00
Martin Kaiser 43e892e985 From Dirk
dissector for Novell's PKIS certificate extensions

from me
clean up the $Id$ tags
remove packet-pkis(-template).h
remove ASN.1 definitions that cause compiler warnings
   (OID, SecurityLabelType2)
move the dissector to the clean ASN.1 dissectors
support CMake build
change the name to novell_pkis

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

svn path=/trunk/; revision=54508
2013-12-31 14:20:08 +00:00
Martin Kaiser fc15329e6a add some more box names
svn path=/trunk/; revision=54507
2013-12-31 13:09:52 +00:00
Martin Mathieson 2719103661 Zero security struct to avoid reading garbage value, and remove a redundant test
svn path=/trunk/; revision=54506
2013-12-31 00:46:53 +00:00
Jakub Zawadzki a65cbe8e7b Add new function: tvb_skip_guint8()
svn path=/trunk/; revision=54505
2013-12-30 23:58:45 +00:00
Guy Harris e1ea055c79 Clean up white space.
svn path=/trunk/; revision=54504
2013-12-30 23:44:42 +00:00
Guy Harris 53cba3e3b9 Add an "ATM reassembly failed" flag for capture file readers to provide,
and set it in NetXRay/Windows Sniffer files if the putative "ATM
reassembly failed" flag is set and, if reassembly failed, don't attempt
to dissect the packet.

svn path=/trunk/; revision=54503
2013-12-30 23:37:12 +00:00
Guy Harris 1c9b36ad46 gcamel_StatSRT is set by the CLI CAMEL tap, so it can't be static.
svn path=/trunk/; revision=54502
2013-12-30 22:31:04 +00:00
Bill Meier bb4b783a3a Fix a couple of old typos;
Use a consistent formatting style for function defs;
Add editor modelines.

svn path=/trunk/; revision=54501
2013-12-30 22:22:22 +00:00
Guy Harris 2c73dbcd75 Squelch compiler warnings.
svn path=/trunk/; revision=54500
2013-12-30 22:14:45 +00:00
Michael Mann 58346b6327 Move tcap and camel "persistent data" functionality to the dissectors themselves instead of being part of epan directory.
svn path=/trunk/; revision=54499
2013-12-30 22:07:38 +00:00
Guy Harris 94387fdcbd If we don't have libgcrypt, have a stub zbee_sec_ccm_decrypt() routine
that always returns FALSE, meaning "can't decrypt".

Should fix bug 9608.

We already declare zbee_sec_ccm_decrypt() in a header file, so don't
declare it in the source file.

svn path=/trunk/; revision=54498
2013-12-30 21:03:43 +00:00
Guy Harris e133ec250b More reverse engineering.
svn path=/trunk/; revision=54497
2013-12-30 20:56:53 +00:00
Pascal Quantin 3490faec34 Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9286 :
PLMN 440 20 is now used by SoftBank.
While we are at it, update the E.212 list to the latest operational bulletin no. 1041.

svn path=/trunk/; revision=54496
2013-12-30 12:26:03 +00:00
Guy Harris 5946c5236b For file formats that don't have magic numbers, so they're recognized by
heuristics, but do have a file extension that files of that format are
likely to have, use the extension of the file we're opening, if it has
one, as a hint for which heuristics to try first.

svn path=/trunk/; revision=54495
2013-12-30 06:43:19 +00:00
Bill Meier 8724d5de0f Use G_GUINT64_CONSTANT(nn) instead of nnULL in a few places.
svn path=/trunk/; revision=54494
2013-12-30 02:24:11 +00:00
Bill Meier f7208c8562 Don't use 'l' as a constant modifier:
Define NTP_BASETIME as an unsigned [int] constant;

Also:
 Add editor modelines;
 Create/use an extended value-string;
 Use casts to time_t consistently;
 'offset++' --> 'offset += 1'
 Adjust some whitespace.

svn path=/trunk/; revision=54493
2013-12-30 01:47:51 +00:00
Jakub Zawadzki ce68b8db87 Make arrow down/ up work in gtk again.
Broken by r54328 g_ascii_isprint() can test only char type and event->keyval is unsigned int.

svn path=/trunk/; revision=54492
2013-12-29 23:29:03 +00:00
Guy Harris 87328505f0 Replace a global variable used only for its size with a #define for the
size; this eliminates a global variable and also eliminates some
compiler warnings on LP64 platforms.

svn path=/trunk/; revision=54491
2013-12-29 23:09:12 +00:00
Bill Meier f7af5c4887 For the Juan Antonio entry: specify the dissector written;
Move the entry to the end ofthe first section (before the
 'and by' section.

svn path=/trunk/; revision=54490
2013-12-29 21:22:51 +00:00
Bill Meier 756457682d From robionekenobi: packet-mq enhancement
Add new Structure dissection
 Fix some small issues
 Reformat some part of code
 use spaces instead of tabs for indentation

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

From me:
 Remove some trailing whitespace;
 Change a few tabs to spaces;
 Change editor-modelines tab-width, etc to 8 (altho
   not really relevant since tabs not being used).

svn path=/trunk/; revision=54489
2013-12-29 20:58:27 +00:00
Martin Kaiser 745c8660be From stcook
clear the temporary buffer after each DXM channel data line

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

svn path=/trunk/; revision=54488
2013-12-29 18:45:09 +00:00
Gerald Combs 870635c248 The IEEE OUI, IAB, and OUI-36 lists currently redirect to
http://standards.ieee.org/regauthmaint.html, which says

IEEE Registration Authority Services will be unavailable from Friday, December 27th through Monday, December 30th

As a result the manuf file got clobbered. Revert the manuf file to
its non-clobbered state and add sanity checks to make-manuf. Add a
note about the impending addition of OUI-28.

svn path=/trunk/; revision=54485
2013-12-29 17:28:12 +00:00
Jakub Zawadzki 2693738f49 Set svn:keywords and svn:eol-style properties.
svn path=/trunk/; revision=54484
2013-12-29 16:00:26 +00:00
Michael Mann 57a62f7a4d New dissector for the CCSDS CFDP protocol. Bug 9517 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9517)
From Juan Antonio

svn path=/trunk/; revision=54482
2013-12-29 15:28:49 +00:00