Jörg Mayer
be849dcaad
rename filetap/file_wrappers.[hc] -> filetap/ft_file_wrappers.[hc]
...
to avoid colliding include file names with wiretap/file_wrappers.h
svn path=/trunk/; revision=54554
2014-01-02 15:17:14 +00:00
Alexis La Goutte
2db085d864
Fix indent always use tab
...
svn path=/trunk/; revision=54553
2014-01-02 11:46:58 +00:00
Anders Broman
3cb2c58eaf
Fix [-Wmissing-prototypes]
...
svn path=/trunk/; revision=54552
2014-01-02 11:27:10 +00:00
Guy Harris
558c885d6d
Have a routine that reads and processes the record header, and use it in
...
both the read and seek-read routines.
Use the packet length read from the packet header when reading packets
randomly.
svn path=/trunk/; revision=54549
2014-01-02 09:23:45 +00:00
Guy Harris
ce4d667efe
Process the packet header and data in common code, shared by the read
...
and seek-read routines.
svn path=/trunk/; revision=54548
2014-01-02 02:18:04 +00:00
Guy Harris
abda7cd1af
Read the packet header in the seek-read routines as well as the read
...
routines.
svn path=/trunk/; revision=54547
2014-01-02 02:16:22 +00:00
Guy Harris
492883cbf1
If the uncompression buffers are empty, they have no data; set the count
...
of bytes in them to 0, as there's no data in them, and set the offset in
that buffer of the stream's current position, to 0, as we're currently
at the beginning of the file in both streams.
This fixes some tricky-to-reproduce errors (which show up only if the
ngsniffer_t structure is allocated from data that's been allocated,
written to in those variables, and freed).
#BACKPORT 1.8, 1.10
svn path=/trunk/; revision=54544
2014-01-01 23:22:53 +00:00
Guy Harris
f878016d6b
Back out r54523 - more work is needed on it, and some testing found an
...
unrelated uninitialized-data bug that I want to fix in the next commit,
and then backport.
svn path=/trunk/; revision=54543
2014-01-01 23:19:17 +00:00
Bill Meier
10ebce27dc
Add svn:keywords property
...
svn path=/trunk/; revision=54542
2014-01-01 18:14:16 +00:00
Bill Meier
2bd1b5486a
Remove incorrect property 'svn:keyword'
...
svn path=/trunk/; revision=54541
2014-01-01 18:11:38 +00:00
Bill Meier
c228237fac
Change incorrect property 'keywords' to 'svn:keywords'
...
svn path=/trunk/; revision=54540
2014-01-01 18:08:30 +00:00
Bill Meier
fa353bcfc1
Remove incorrect property 'svn:kywords'
...
svn path=/trunk/; revision=54539
2014-01-01 18:02:11 +00:00
Bill Meier
b602491f2b
Remove incorrect property 'eol-style'
...
svn path=/trunk/; revision=54538
2014-01-01 17:58:19 +00:00
Bill Meier
d193a13c1c
Fix property name: svn:eol_style ==> svn:eol-style
...
svn path=/trunk/; revision=54537
2014-01-01 17:54:44 +00:00
Michael Mann
c3dce3be6b
Fix compile issue
...
svn path=/trunk/; revision=54536
2014-01-01 14:55:20 +00:00
Pascal Quantin
998bbfb9e1
Try to pacify OSX-10.6-x64 buildbot
...
svn path=/trunk/; revision=54535
2014-01-01 14:51:58 +00:00
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