Commit Graph

877 Commits

Author SHA1 Message Date
Stephen Fisher 8159506ae9 Set WIRESHARK_ABORT_ON_DISSECTOR_BUG when running test-fuzzed-cap.sh
to get a stack trace/core dump on dissector bugs.


svn path=/trunk/; revision=38985
2011-09-13 15:52:07 +00:00
Gerald Combs 959135b215 Enable proxies in make-manuf and make-sminmpec.pl as well.
svn path=/trunk/; revision=38864
2011-09-02 16:07:36 +00:00
Gerald Combs 97186d78ba Enable the use of proxies.
svn path=/trunk/; revision=38863
2011-09-02 16:03:03 +00:00
Gerald Combs 187919723f Fix the format of the services file. The output from make-services.pl is
still uglier than a box of YouTube comments but transport name
resolution seems to work now. Fixes bug 6274.

svn path=/trunk/; revision=38829
2011-08-31 23:07:12 +00:00
Gerald Combs cd7da58daa Add "--windowsonly" and "--cygwinonly" options to win-setup.sh
--appverify.  Make sure "mt" is only found in a normaly Windows path and
"find" is only found in a Cygwin path.

svn path=/trunk/; revision=38781
2011-08-29 19:22:42 +00:00
Gerald Combs 5aeec1def6 The canonical IANA port number URL now returns XML. Update
make-services.pl to to use the old-style text URL and add a comment
about parsing the XML instead.

Update the services file. Due to format changes it generates a lot of
text that should be commented out, but it's apparently been doing that
for a while now.

svn path=/trunk/; revision=38652
2011-08-21 22:34:50 +00:00
Gerald Combs 5520a452b5 The MSDN page for ZeroMemory recommends using SecureZeroMemory instead,
so do so. Add ZeroMemory to checkAPIs.pl.

svn path=/trunk/; revision=38584
2011-08-17 16:54:24 +00:00
Ronnie Sahlberg 07213ad329 Sync up to the latest PIDL with Mathieu's wireshark patches
svn path=/trunk/; revision=38470
2011-08-11 06:12:39 +00:00
Tomas Kukosa 733452afd7 Support for Extension Addition Group in PER encoding
Fix for bug 6196 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6199

svn path=/trunk/; revision=38421
2011-08-09 08:00:06 +00:00
Chris Maynard fc83c4cfc7 Fix SVN Id.
svn path=/trunk/; revision=38412
2011-08-08 17:47:05 +00:00
Chris Maynard 237cfb674f From Michael Mann via bug 2794: A Perl script to expose "questionable" display filter field names.
svn path=/trunk/; revision=38411
2011-08-08 17:42:26 +00:00
Chris Maynard aade2d70af Update cavebear link.
svn path=/trunk/; revision=38378
2011-08-06 15:05:08 +00:00
Jörg Mayer 91ad1c8086 Using gtk_tree_view_column_get_cell_renderers is an error now.
svn path=/trunk/; revision=38357
2011-08-05 10:40:45 +00:00
Anders Broman 3e446c629c Update comments.
svn path=/trunk/; revision=38202
2011-07-25 15:55:27 +00:00
Guy Harris 494f9820fb Use gtk_widget_get_has_window() as a wrapper around
GTK_WIDGET_NO_WINDOW() in pre-2.18 versions of GTK+.  Treat calls to
GTK_WIDGET_NO_WINDOW() as an error in checkAPIs.pl.

svn path=/trunk/; revision=38197
2011-07-25 06:40:01 +00:00
Anders Broman a5efd9b3b2 Fix a couple of typos and 'E'' mark functions mapped in old-gtk-compat.h
svn path=/trunk/; revision=38196
2011-07-25 04:13:46 +00:00
Anders Broman 1c09e4a694 Replace deprecated functions.
Udate comments in CheckAPIs

svn path=/trunk/; revision=38185
2011-07-24 16:50:55 +00:00
Anders Broman 6814cd03ee Replace deprecated gdk_pixmap_unref() with g_object_unref().
Update checkAPIs.

svn path=/trunk/; revision=38013
2011-07-14 08:11:16 +00:00
Anders Broman 1f923105f8 Fix more tooltips, mark gtk_tooltips_new with 'E' in checkapi.
svn path=/trunk/; revision=37976
2011-07-11 20:01:28 +00:00
Stig Bjørlykke 8443bbbf75 Replace all strerror() with g_strerror().
Remove our local strerror implementation.
Mark strerror as locale unsafe API.

This fixes bug 5715.

svn path=/trunk/; revision=37812
2011-06-28 09:00:11 +00:00
Gerald Combs add36f416d Use the latest libsmi package. Note that we now support OID resolution
on 64-bit Windows.

svn path=/trunk/; revision=37808
2011-06-27 20:48:26 +00:00
Anders Broman ca9bb67aa6 Add GDK deprecated functions.
svn path=/trunk/; revision=37765
2011-06-23 13:04:19 +00:00
Anders Broman a1afae94eb Add ws-coding-style.cfg to dist.
svn path=/trunk/; revision=37630
2011-06-09 12:54:44 +00:00
Anders Broman ea74ffe9a8 From Francesco Fondelli:
Add crustyfy .cfg file

I found it useful on some inetnal dissector where the indentation
was relay messed up so I think it's a usfel tool to have in the toolbox.
I don't think we should run it on every file.

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

svn path=/trunk/; revision=37628
2011-06-09 08:28:04 +00:00
Anders Broman 1932ff6734 Add more missing files.
svn path=/trunk/; revision=37593
2011-06-07 15:05:45 +00:00
Balint Reczey 198c4138ca Collect number of errors form ABI checks runs in compare-abis.sh.
svn path=/trunk/; revision=37553
2011-06-05 19:29:30 +00:00
Balint Reczey 309f147f5d Adding script for comparing ABI's of different Wireshark versions.
svn path=/trunk/; revision=37546
2011-06-04 22:27:38 +00:00
Gerald Combs ad84d4f5d2 Exit if we don't have enough plugins.
svn path=/trunk/; revision=37513
2011-06-01 21:56:11 +00:00
Guy Harris f680be4ca2 Remove the temporary debugging stuff.
svn path=/trunk/; revision=37509
2011-06-01 16:23:51 +00:00
Guy Harris da6a34fce7 Temporary debugging stuff to see in what environment tshark is being
run - the plugins might not be getting loaded, and the goal is to figure
out why.

svn path=/trunk/; revision=37504
2011-06-01 09:12:10 +00:00
Jeff Morriss 8ce306faa0 Inspired by one of the changes from r37406 and bug 2794: detect hf abbreviations
with two or more periods in a row.  Fix one case of that.

svn path=/trunk/; revision=37407
2011-05-26 13:32:04 +00:00
Gerald Combs 3e2a422a83 Update the User's Guide.
svn path=/trunk/; revision=37312
2011-05-19 21:09:29 +00:00
Gerald Combs 99d4de66e5 From Dirk Jagdmann via bug 5875:
My attachment adds a link to a XSLT file to the preamble of the PDML.
The XSLT will transform the PDML to a HTML page, and the HTML page
features a look similar to Wireshark. See
http://cubic.org/~doj/ebay/a.pdml for an example.

The patch also contains a small perl program which converts the
Wireshark colortable into javascript code which is used in the XSLT
file. If you want to use a different color scheme you would execute the
perl program and insert the generated javascript function into your XSLT
file.

To view the HTML you could either place the PDML and XSLT file on your
webserver and verify that your webserver sends the PDML file as
"text/xml".  Then your webbrowser will find the linked XSLT file,
download that as well and convert the PDML to HTML on the fly.

You could also use an XSLT processor like xsltproc to convert the PDML
and XSLT into a static HTML file.


From me:

Minor fixups.

svn path=/trunk/; revision=37298
2011-05-19 18:10:21 +00:00
Jörg Mayer 1ac8e97ff8 Fix an old style function declaration warning.
svn path=/trunk/; revision=37278
2011-05-19 04:42:57 +00:00
Anders Broman 73c91d6fa0 "Upgrade" gtk_combo to 'E'.
svn path=/trunk/; revision=36746
2011-04-21 06:05:55 +00:00
Jeff Morriss 4f510bc54d Based on https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5821#c2 :
Move the setting of debug environment variables out of the while loop.

Export MALLOC_OPTIONS=AJ to increase memory allocation debug on FreeBSD (and
others).

Export a number of environment variables that MacOS looks at.

(I don't have easy access to either of these OS so this has not been tested.)

Add a comments for each entry explaining which OS uses it and what it does.

svn path=/trunk/; revision=36622
2011-04-13 15:36:05 +00:00
Anders Broman 3db53e54ba Build win64 with a modified zlib (google is your friend).
http://www.apachehaus.com/forum/index.php?action=printpage;topic=143.0

First problem: ZLIB build must be fixed for x64, otherwise there will be one unresolved external symbol later. Quick fix is to open build\win32\build_zlib.bat and insert this at line 51:
set ASM_OPTS=AS=ml64 LOC="-DASMV -DASMINF" OBJA="inffasx64.obj gvmat64.obj inffas8664.obj"
(info found in zlib\win32\Makefile.msc) and then open zlib\contrib\masmx64\inffas8664.c and prepend "../../" to four includes at the beginning.

svn path=/trunk/; revision=36616
2011-04-13 04:47:38 +00:00
Anders Broman a0e2d8ec0a Use the new label(It will still break on zlib as zlib 1.2.5 isn't used yet).
svn path=/trunk/; revision=36611
2011-04-12 21:09:34 +00:00
Anders Broman b5125be726 Build with zlib-1.2.5 for win32
zlib for GTK hasd this comment:
/* LFS conventions have no meaning on Windows. Looking for feature
 * macros like _LARGEFILE64_SOURCE or _FILE_OFFSET_BITS on Windows is
 * wrong. So make sure any such macros misguidedly defined by the
 * user have no effect. Windows has large file support, but the
 * official zlib DLL has not been built to provide the 64-bit offset
 * APIs, sigh.  So we have just patched out the 64-bit offset API
 * from this header file.
 */

svn path=/trunk/; revision=36586
2011-04-12 15:44:05 +00:00
Gerald Combs a5b20fbdf6 Add a relative path to the "#line" directives we produce. Regenerate the
SNMP and SPNEGO dissectors to see if it helps Coverity locate the
original source files.

svn path=/trunk/; revision=36522
2011-04-08 19:51:39 +00:00
Gerald Combs 92c8f32ff7 Use the latest library tag, which updates GNUTLS. Add code to check for
libintl-8.dll and add the GNUTLS version if needed.

svn path=/trunk/; revision=36483
2011-04-05 22:38:12 +00:00
Bill Meier 4f462b3d09 foo="\windows\style\pathname"; printf "$foo" isn't going to work too well in the general case ...
svn path=/trunk/; revision=36479
2011-04-05 19:21:16 +00:00
Bill Meier 84837d8fcd 1. Remove \r from tshark output so output OK on Windows cygwin bash.
2. Error messsages to stderr.
3. Check capinfos return value to verify that file is a valid capture file.

svn path=/trunk/; revision=36478
2011-04-05 18:01:33 +00:00
Jeff Morriss b8acdc8ee0 Set BIN_DIR to . by default. Use tr to replace colons with newlines.
svn path=/trunk/; revision=36467
2011-04-05 01:21:19 +00:00
Jeff Morriss 8dba97226a Based on idea from Bill Meier:
A little script to extract the protocols used in given capture files.

(Just so I don't have to remember how to do it again.)

svn path=/trunk/; revision=36462
2011-04-04 19:10:30 +00:00
Jeff Morriss 4cbe8ff6db Fix up indentation
svn path=/trunk/; revision=36461
2011-04-04 18:43:59 +00:00
Anders Broman 5e494f36ae From Vincent Helfre:
updated the script that extracts the asn1 from the specification (we modified it after noticing that it currently fails to take the IMPORT section). It should also work now to extract the WCDMA RRC (TS 25.331).

svn path=/trunk/; revision=36442
2011-04-04 14:35:21 +00:00
Chris Maynard c236db55fe Don't use pParser->yyidx as an index into pParser->yystack[] until after it is
verified that it is non-negative.  Should resolve CID 619.

svn path=/trunk/; revision=36431
2011-04-01 16:55:59 +00:00
Ronnie Sahlberg f4d68c6a08 Memory leak in lemon.c
coverity 1177


svn path=/trunk/; revision=36427
2011-03-31 20:50:13 +00:00
Jeff Morriss 892d734975 Prohibit (memory-unsafe) g_sprintf() and g_vsprintf().
svn path=/trunk/; revision=36390
2011-03-29 01:27:20 +00:00