Evan Huus
8de4b82fcd
Document the wmem override environment variable in the man pages, and improve
...
README.wmem in a couple of places.
svn path=/trunk/; revision=48251
2013-03-11 19:17:26 +00:00
Jeff Morriss
965cb6384e
Followup to r48218: remove documentation of the WIRESHARK_DEBUG_USE_SLICES environment variable.
...
svn path=/trunk/; revision=48249
2013-03-11 18:04:46 +00:00
Michael Tüxen
da07699dd3
Make the memory limit (in bytes or packets) used for storing packets
...
configurable via command line options and print specific drop numbers
at the end. This allows to tune the buffering when using multiple
threads.
This also fixes a logic arrow in enforcing the limits.
The patch for the enhanced counters is from Anders Broman.
svn path=/trunk/; revision=48223
2013-03-10 11:57:40 +00:00
Michael Tüxen
0bbf82a38a
Add -t to synopsis.
...
svn path=/trunk/; revision=48221
2013-03-10 11:40:46 +00:00
Evan Huus
aafe8b18e9
Remove the wmem slab. It was an optimization mimicking the emem slab
...
(removed in r48218) which did nothing particularly useful. Also lets us remove
another debugging environment variable.
svn path=/trunk/; revision=48219
2013-03-09 20:16:33 +00:00
Jeff Morriss
c6231cc4c4
Add asn2deb.pod and idl2deb.pod to the source distribution.
...
svn path=/trunk/; revision=48136
2013-03-06 17:16:16 +00:00
Jeff Morriss
794a8b03e6
Don't use (GNU-specific) pattern rules: use old-fashioned suffix rules instead.
...
Since there's now a suffix rule for the .1 man pages, don't create explicit
rules for them. (Leave a comment explaining why the .html and .4 rules need
to stay.)
Simplify CLEANFILES: there's no need to list each man page, just remove them
all.
svn path=/trunk/; revision=48135
2013-03-06 16:33:01 +00:00
Balint Reczey
3047a570b0
Fix distcheck in autotools based builds
...
svn path=/trunk/; revision=48134
2013-03-06 14:46:15 +00:00
Balint Reczey
a8f543b56b
Merge asn2deb and idl2deb from official Debian package
...
svn path=/trunk/; revision=48133
2013-03-06 13:31:08 +00:00
Evan Huus
8569907b9f
From Steve Magnani via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8339
...
This patch adds a new public API, proto_tree_add_bitmask_len(), identical to
proto_tree_add_bitmask() but using a caller-supplied length rather than an
inferred one. The underlying proto_item_add_bitmask_tree() code is modified
to display only fields for which all defined bits are available, and to
ignore bits that have no corresponding defined field ("forward compatibility"
cases).
From me: minor edits, see the bug for more details.
svn path=/trunk/; revision=48049
2013-03-04 14:18:18 +00:00
Balint Reczey
1ebdb2e521
Export libwireshark symbols using WS_DLL_PUBLIC define
...
Also remove old WS_VAR_IMPORT define and related Makefile magic
everywhere in the project.
svn path=/trunk/; revision=47992
2013-03-01 23:53:11 +00:00
Jeff Morriss
018ba4ea65
Default capture buffer size is now 2MB.
...
svn path=/trunk/; revision=47937
2013-02-28 13:59:47 +00:00
Gerald Combs
0645396514
Print human-readable statistics by default. Raw values can be printed
...
using "-M". Based on a suggestion by Hansang Bae.
svn path=/trunk/; revision=47900
2013-02-26 06:40:25 +00:00
Michael Mann
8c3f3d6cee
Add README for Lua
...
From Hadriel Kaplan, part of bug 8393 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8393 )
svn path=/trunk/; revision=47875
2013-02-25 16:37:34 +00:00
Alexis La Goutte
491104bf68
Update README.qt with last change in qtshark build
...
svn path=/trunk/; revision=47836
2013-02-23 11:21:11 +00:00
Martin Kaiser
29de8baed5
mention gcrypt wrapper in README.developer
...
svn path=/trunk/; revision=47812
2013-02-21 22:24:43 +00:00
Chris Maynard
503cab9ff7
From Edwin Groothuis via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8353 : Document http-related '-z' statistics; also add document -z help.
...
From me: Don't print an error message for "-z help".
(Only "http,stat," is suitable for backport to 1.8 and 1.6)
svn path=/trunk/; revision=47763
2013-02-20 03:06:46 +00:00
Bill Meier
1e6e56c631
Fix two bugs in the example code that I revised.
...
svn path=/trunk/; revision=47626
2013-02-11 01:31:49 +00:00
Bill Meier
1cb08ae444
Remove a _U_ which I should not have used.
...
svn path=/trunk/; revision=47625
2013-02-11 01:27:04 +00:00
Chris Maynard
8b65d2759e
Well, that didn't work (keyword substitution, that is). Try now.
...
svn path=/trunk/; revision=47623
2013-02-11 01:02:38 +00:00
Chris Maynard
b13e7f2000
Fix a couple of typos. Set svn properties.
...
svn path=/trunk/; revision=47622
2013-02-11 00:50:05 +00:00
Bill Meier
32834b7881
Update: Primarily to suggest calling conversation_set_dissector()
...
once a packet has been identified as being part of
a particular protocol.
svn path=/trunk/; revision=47621
2013-02-11 00:12:59 +00:00
Evan Huus
63313f0c70
Update wmem docs
...
svn path=/trunk/; revision=47549
2013-02-08 01:50:35 +00:00
Gerald Combs
c8c168c99a
Remove more unnecessary defintions.
...
svn path=/trunk/; revision=47527
2013-02-06 21:57:16 +00:00
Guy Harris
74b8ef79b1
At least as I read
...
http://www.gnu.org/software/automake/manual/automake.html#index-g_t_0040code_007bAM_005fDEFAULT_005fVERBOSITY_007d-1018
this is the way to do the silent-rules stuff; using nested variable
expansion in Makefile.am causes warnings when running autogen.sh.
svn path=/trunk/; revision=47474
2013-02-04 18:53:50 +00:00
Gerald Combs
ac42fabbac
Prettify the silent build.
...
svn path=/trunk/; revision=47468
2013-02-04 17:00:02 +00:00
Martin Kaiser
34f58259fa
describe the -t option in the dumpcap manpage
...
(use the same text that dumpcap -V prints)
svn path=/trunk/; revision=47455
2013-02-03 20:01:49 +00:00
Gerald Combs
7187abf120
Add $(AM_V_GEN) in a few more places.
...
svn path=/trunk/; revision=47434
2013-02-01 22:57:41 +00:00
Gerald Combs
b911a42115
Add support for silent builds.
...
svn path=/trunk/; revision=47431
2013-02-01 22:06:56 +00:00
Alexis La Goutte
ecb898db1e
Fix the dev guide to use the correct indent (Tab => 4 Spaces) and add Modelines info
...
svn path=/trunk/; revision=47415
2013-02-01 09:22:40 +00:00
Chris Maynard
8ee3809edc
Add 2 more verification steps to run in the "Submitting code for your new dissector" section.
...
svn path=/trunk/; revision=47388
2013-01-31 17:17:34 +00:00
Martin Kaiser
574c0d20d4
add missing case
...
svn path=/trunk/; revision=47380
2013-01-30 23:25:36 +00:00
Michael Mann
7f3064e6ae
Add support in TShark to follow SSL streams
...
From QA Cafe, bug 8280 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8280 )
svn path=/trunk/; revision=47372
2013-01-30 20:36:47 +00:00
Gilbert Ramirez
413e04d2b8
Update WiresharkXML.py to work with Python 2.7.
...
svn path=/trunk/; revision=47259
2013-01-24 18:16:32 +00:00
Evan Huus
681a3ad5a2
Handle NULL-pointers and 0-lengths in a much simpler allocator-agnostic way,
...
and document the fact that allocator authors don't have to care.
svn path=/trunk/; revision=47220
2013-01-23 01:11:36 +00:00
Evan Huus
669b98bb5f
Rewrite wmem_allocator_simple to track allocations using a GHashTable instead of
...
a GSList. This permits it to implement the new realloc and free functions. Also
fill in an empty gc function, since there isn't much it can do as far as
garbage-collection goes.
svn path=/trunk/; revision=47169
2013-01-19 19:56:20 +00:00
Evan Huus
21453d5db6
Add three more slots to the wmem allocater definition (not yet implemented
...
by any particular allocator) and better document the entire structure.
svn path=/trunk/; revision=47163
2013-01-19 16:15:32 +00:00
Jeff Morriss
99ce4232cb
As suggested in comments in sl_alloc() and sl_free(): add a new environment
...
variable (WIRESHARK_DEBUG_USE_SLICES) which turns off the slab allocator and uses
g_slices instead (which can themselves be turned off by setting
G_SLICE=always-malloc).
This makes debugging problems in slab-allocated memory easier to find
(hopefully including https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8197 ).
Set WIRESHARK_DEBUG_USE_SLICES when running Valgrind on *shark.
Remove unused structure member: emem_chunk_t.org.
svn path=/trunk/; revision=47110
2013-01-16 03:34:29 +00:00
Evan Huus
d0b774d0ea
Minor documentation tweaks. Add a hash table to the wishlist.
...
svn path=/trunk/; revision=47101
2013-01-15 18:29:27 +00:00
Evan Huus
bab105d094
Add convenience macros wmem_new and wmem_new0
...
svn path=/trunk/; revision=46941
2013-01-04 22:11:13 +00:00
Guy Harris
d67586ccc4
Fix description of -p input - show the packet data the same way it's
...
shown for the previous input format (showing "data" as a pointer is a
bit confusing, as it's just in-line data in the input), and give a more
detailed description of the issues with that file format (the size of
the seconds field of the time stamp is platform-dependent).
svn path=/trunk/; revision=46864
2012-12-30 20:39:45 +00:00
Evan Huus
a19980c23d
Replace another instance of emem in README.developer with wmem.
...
svn path=/trunk/; revision=46847
2012-12-29 20:41:12 +00:00
Evan Huus
5eacf33f1f
Update wmem documentation for the new allocator.
...
Use the strict allocator when fuzzing (at least until the fuzz-bot starts
running everything under valgrind).
svn path=/trunk/; revision=46829
2012-12-28 17:09:07 +00:00
Evan Huus
439eaf4aa5
Add documentation about the environment variable.
...
svn path=/trunk/; revision=46817
2012-12-27 22:57:05 +00:00
Evan Huus
f88d8e48c1
Update wmem docs to include new type field.
...
svn path=/trunk/; revision=46815
2012-12-27 22:38:48 +00:00
Michael Tüxen
22df071cef
Add support for -D option. The preamble will start with
...
an I or O indicating the direction of the packet. This
will be stored in the generated file if the pcap-ng
format is used.
Thanks to Jaap for suggesting to integrate this into
the preamble!
svn path=/trunk/; revision=46744
2012-12-25 22:37:40 +00:00
Michael Tüxen
2daea0a310
Add option to suppress duplicate suppression.
...
svn path=/trunk/; revision=46730
2012-12-25 10:29:22 +00:00
Michael Tüxen
a52b0de406
Add support for writing pcap-ng files by specifying -n as an option.
...
Leave pcap the default file format for now. The is should be reconsidered
before the next release as it might make sense to use pcapgn as
the default as we do for dumpcap. (We can use the -P option to allow
switching back to pcap).
svn path=/trunk/; revision=46691
2012-12-22 09:43:17 +00:00
Michael Mann
0bdfbe97d4
Add -Q option to TShark to force only "true" errors to stderr. No "status" messages should be included if -Q option is specified. Bug 2881 ( https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2881 )
...
svn path=/trunk/; revision=46627
2012-12-20 01:22:42 +00:00
Evan Huus
5ca70369a0
Add missing wmem strbuf routine to the documentation.
...
svn path=/trunk/; revision=46625
2012-12-19 23:12:58 +00:00