Commit Graph

40812 Commits

Author SHA1 Message Date
Guy Harris 533f70aca2 No more GIOP plugins, so get rid of the directory for the former plugins.
svn path=/trunk/; revision=42978
2012-06-01 17:08:32 +00:00
Guy Harris e51c05a836 TShark doesn't need wtap_fdreopen(), as it doesn't do saves and thus
doesn't do safe saves, so wtap_fdreopen() always needs to reopen the
random file descriptor.

At the point where a safe save is done, the sequential read is done, so
the sequential stream is closed; there's no need to reopen it.

(The former fourth argument to wtap_fdreopen() wasn't an indication of
whether the file was compressed, it was an indicationof whether the
random stream should be reopened.)

svn path=/trunk/; revision=42977
2012-06-01 16:55:10 +00:00
Anders Broman ffec8d8a78 Make packet-coseventcomm.c a bultin dissector
svn path=/trunk/; revision=42976
2012-06-01 15:58:30 +00:00
Anders Broman c1d1c5392a Make packet-coseventcomm.c a bultin dissector
svn path=/trunk/; revision=42975
2012-06-01 15:57:41 +00:00
Anders Broman a8e8234831 Make packet-coseventcomm.c a bultin dissector
svn path=/trunk/; revision=42974
2012-06-01 15:57:05 +00:00
Gerald Combs 3e85a8f4a2 Add more manufacturer names.
svn path=/trunk/; revision=42973
2012-06-01 15:35:29 +00:00
Bill Meier 3d4b3f2784 Set Makefile.common as a plugin.c dependency so plugin.c is rebuilt if Makefile.common is changed
svn path=/trunk/; revision=42972
2012-06-01 14:44:35 +00:00
Bill Meier 1caa79ad80 Windows: Set Makefile.common as a plugin.c dependency so plugin.c is rebuilt if Makefile.common is changed
ToDo: ditto for Makefile.am ?

svn path=/trunk/; revision=42971
2012-06-01 14:08:12 +00:00
Anders Broman 6e3d56f039 For RLC re-assembly to work we need to fake urnti.
svn path=/trunk/; revision=42970
2012-06-01 13:01:32 +00:00
Anders Broman a2f13cad70 Don't call subdissectors if the CRCI bit is set.
svn path=/trunk/; revision=42969
2012-06-01 12:28:05 +00:00
Anders Broman c8625796f1 Make the cosnaming dissector a builtin dissector.
svn path=/trunk/; revision=42968
2012-06-01 12:27:04 +00:00
Anders Broman b42bbc2cd6 Make the tango dissector a builtin dissector.
svn path=/trunk/; revision=42967
2012-06-01 10:31:34 +00:00
Anders Broman 61390769a4 make it compile.
I suppose we do random access if compressed.

svn path=/trunk/; revision=42966
2012-06-01 10:26:49 +00:00
Anders Broman 5959f75518 parlay changes to Cmake
svn path=/trunk/; revision=42965
2012-06-01 09:04:28 +00:00
Anders Broman 5ef6c6d08a Make the parlay dissector a buil tin dissector.
svn path=/trunk/; revision=42964
2012-06-01 08:48:31 +00:00
Guy Harris b8646937d4 Move wtap_fdreopen() to file_access.c for now, as it requires many of
the same #includes.

svn path=/trunk/; revision=42963
2012-06-01 08:45:39 +00:00
Guy Harris 5f4a8a8c32 Need fcntl.h for the O_ #defines on Windows.
svn path=/trunk/; revision=42962
2012-06-01 08:33:25 +00:00
Guy Harris 129c881fcf Sigh. There appears to be no way to get Windows to allow us to rename a
file that we ourselves have open.  In the "safe save" code path for
capture files, on Windows temporarily close the file descriptors for the
currently-open capture before doing the rename and then, if the rename
failed, reopen them, leaving the rest of the wtap and capture_file
structures intact.

Rename filed_open() to file_fdopen(), to make its name match what it
does a bit better (it's an fdopen()-style routine, i.e. do the
equivalent of an open with an already-open file descriptor rather than a
pathname, in the file_wrappers.c set of routines).

Remove the file_ routines from the .def file for Wiretap - they should
only be called by code inside Wiretap.

Closing a descriptor open for input has no reason to fail (closing a
descriptor open for *writing* could fail if the file is on a server and
dirty pages are pushed asynchronously to the server and synchronously on
a close), so just have file_close() return void.

svn path=/trunk/; revision=42961
2012-06-01 08:05:12 +00:00
Anders Broman 86c69b01e7 From Alexander Koeppe.
Patch that creates the filter according to the protocol tree selected.
Fixes
IPv6 filters built from "Protocol Hierarchy Statistics" dialog not specific
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7250

svn path=/trunk/; revision=42960
2012-06-01 07:02:04 +00:00
Anders Broman d8d6de9561 Remove debug code left by mistake
svn path=/trunk/; revision=42959
2012-06-01 06:14:08 +00:00
Anders Broman fcfb9795d2 Fix a couple of warnings
svn path=/trunk/; revision=42958
2012-06-01 05:55:45 +00:00
Anders Broman 728584510b Fix a couple of warnings
svn path=/trunk/; revision=42957
2012-06-01 05:55:20 +00:00
Anders Broman 6a505b4cce Fix a couple of warnings
svn path=/trunk/; revision=42956
2012-06-01 05:36:52 +00:00
Gerald Combs a1ce28314d Update the release notes. The new protocol count is now over 100.
svn path=/trunk/; revision=42953
2012-05-31 23:34:19 +00:00
Gerald Combs 698ad5bd95 From Martin Kaiser via bug 7312:
there's three coverity defects about division by zero in ui/cli/tap-iostat.c,
function iostat_packet()

This can be triggered from the command line

martin@greta# ./tshark -z io,stat,0.2,AVG\(frame.number\)
Capturing on eth0
Floating point exception

it->num is 0, wireshark crashes in

parent->max_vals[it->colnum] =                       
MAX(parent->max_vals[it->colnum], it->counter/it->num);

(and similar for other data types)

My proposal for a fix is to not update parent->max_vals[it->colnum] when
it->num==0, see the attached patch.

svn path=/trunk/; revision=42952
2012-05-31 21:40:55 +00:00
Gerald Combs 5690373d48 g_snprintf → ep_strbuf. I can't find an ERF file with a virtual
container but the conversion seemed be straightforward enough.

svn path=/trunk/; revision=42951
2012-05-31 21:30:40 +00:00
Jeff Morriss ea9e7c2359 Look only for calls to strlen() within an snprintf() call (not for any file
that has the string "strlen" somewhere after a call to snprintf()).

svn path=/trunk/; revision=42950
2012-05-31 21:19:39 +00:00
Pascal Quantin b83080f5b6 From Erwin Rol via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7311 :
Fix a cut and paste error in packet-dmx.c

svn path=/trunk/; revision=42949
2012-05-31 20:40:07 +00:00
Gerald Combs ae6e4d6dd3 Fix a possible zero division found by scan-build. While we're at it replace
occurrences of g_snprintf+strlen with ep_strbuf.

svn path=/trunk/; revision=42948
2012-05-31 20:24:04 +00:00
Gerald Combs 35c22ed068 If we're feeding the output of strlen to an snprintf-style function
there's a good chance we're doing something wrong.

svn path=/trunk/; revision=42947
2012-05-31 20:12:27 +00:00
Pascal Quantin 5adc7cd8ef Use GeoIP package 1.4.8-2 for win64 also (I guess that's what was intended in r42933)
svn path=/trunk/; revision=42946
2012-05-31 18:56:02 +00:00
Anders Broman b9e5955f46 Set dir if we don't have it.
svn path=/trunk/; revision=42945
2012-05-31 13:23:42 +00:00
Pascal Quantin 08c7db0421 Display hf_smb_server_guid, hf_smb_volume_guid and hf_smb_dfs_referral_server_guid as FT_GUID
svn path=/trunk/; revision=42944
2012-05-31 13:22:52 +00:00
Anders Broman d57656a43f Add fix-encoding-args.pl to the distribution.
svn path=/trunk/; revision=42943
2012-05-31 13:09:27 +00:00
Anders Broman 52583460d5 Minor updates to the AVP:s
svn path=/trunk/; revision=42942
2012-05-31 12:46:51 +00:00
Anders Broman 7720ac9929 Remove redundant code from the template.
svn path=/trunk/; revision=42941
2012-05-31 12:46:09 +00:00
Pascal Quantin 4d1abc7bbb From Niels de Vos via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7306 :
RPC: show the AUTH_GLUSTERFS/lk_owner as hex

svn path=/trunk/; revision=42940
2012-05-31 08:56:19 +00:00
Pascal Quantin 48fee70339 Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7307
svn path=/trunk/; revision=42939
2012-05-31 08:25:00 +00:00
Pascal Quantin c8b19701bf Clean GeoIP-1.4.8-*-win??ws folder with setup target
svn path=/trunk/; revision=42938
2012-05-31 08:08:44 +00:00
Anders Broman 867de6145e From Sheetal Kshirsagar and Andrew Williams:
Updating the RPL SRH dissector and implementing RPL Options header dissection.

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

svn path=/trunk/; revision=42937
2012-05-31 07:25:11 +00:00
Anders Broman fc19f32931 Try to squelch a couple of warnings
svn path=/trunk/; revision=42936
2012-05-31 05:42:02 +00:00
Gerald Combs 37af1a5f94 Add some needed parenthesis as pointed out by Jakub and the OS X
builders.

svn path=/trunk/; revision=42935
2012-05-30 23:14:07 +00:00
Gerald Combs ddcd6c5ce7 Use the updated GeoIP package (1.4.8-2).
svn path=/trunk/; revision=42933
2012-05-30 22:55:02 +00:00
Jakub Zawadzki 14bfedccd9 Revert r42853, cleanup packet-jxta which might really fix CID 280210
References: http://www.wireshark.org/lists/wireshark-dev/201205/msg00226.html

svn path=/trunk/; revision=42932
2012-05-30 22:39:56 +00:00
Gerald Combs 22d347ae3e In recent versions of GLib (test with 2.32) g_log_default_handler
helpfully ignores G_LOG_LEVEL_INFO and G_LOG_LEVEL_DEBUG messages by
default. If the console_log_level preference includes either of those
two levels set the G_MESSAGES_DEBUG environment variable so that those
messages are printed.

Add checks for various console log messages to the stdin capture suite.

Fixes bug 7265.

svn path=/trunk/; revision=42930
2012-05-30 21:42:24 +00:00
Jeff Morriss 2c2e024cf5 The GIOP plugin is now one big plugin (instead of 2, or was it 4?).
svn path=/trunk/; revision=42929
2012-05-30 21:32:32 +00:00
Anders Broman d98be8ecf6 Dissable -Werror
svn path=/trunk/; revision=42928
2012-05-30 20:51:36 +00:00
Anders Broman 224daf8cd4 Forgot to change the name to giop
svn path=/trunk/; revision=42927
2012-05-30 19:51:54 +00:00
Anders Broman 9d6d0cf275 Replace IDL generated dissector with common dll
svn path=/trunk/; revision=42926
2012-05-30 19:03:56 +00:00
Anders Broman 2a7ecea45c Modify IDL generated plugin interface (untested)
svn path=/trunk/; revision=42925
2012-05-30 19:02:53 +00:00