Commit Graph

6901 Commits

Author SHA1 Message Date
Ronnie Sahlberg 49849c691e show the directory name in replies to CreateDir/Checkdir and DeleteDir
svn path=/trunk/; revision=21899
2007-05-22 23:12:58 +00:00
Ronnie Sahlberg bc33880788 show the filename that was to be deleted in the Delete reply
svn path=/trunk/; revision=21897
2007-05-22 23:05:25 +00:00
Stephen Fisher 8724d742a2 Fix for bug #1598 - add support for PRSVP (RSVP encapsulated in UDP port 3455)
svn path=/trunk/; revision=21896
2007-05-22 22:55:09 +00:00
Anders Broman 412fc09583 Regenerate dissector with -X and -T directives.
svn path=/trunk/; revision=21895
2007-05-22 21:17:08 +00:00
Anders Broman ddb6768db2 Update the EXTERNAL dissection code(still unfinished).
svn path=/trunk/; revision=21893
2007-05-22 21:15:00 +00:00
Guy Harris 59d2c52ac3 With at least some compilers, "enum QUALITY_TYPE" is unsigned, and the
compiler warns about checking whether it's >= 0, as it always is.

Don't do that check - we don't use "type" until the switch statement,
and GCC should issue a warning if not all valid "enum QUALITY_TYPE"
values are handled in the switch statement.

Sort the items in the switch statement in the order in which they appear
in the enum definition, so it's clearer that it covers all values.

svn path=/trunk/; revision=21890
2007-05-22 17:32:39 +00:00
Anders Broman dca634c4de Prepare for the use of the new -X parameter for BER encoded protocols.
svn path=/trunk/; revision=21889
2007-05-22 16:17:54 +00:00
Jörg Mayer 5e33afbf50 Don't generate enums that end in a comma
svn path=/trunk/; revision=21888
2007-05-22 16:14:28 +00:00
Graham Bloice 574eb87d18 Code cleanups, some parsing errors fixed, added more object types
svn path=/trunk/; revision=21887
2007-05-22 16:01:25 +00:00
Sebastien Tandel 213056bdd2 revert changes of r21879 which fix gcc bugs. These changes was from mipv4
improvements patch.

svn path=/trunk/; revision=21886
2007-05-22 13:47:45 +00:00
Jörg Mayer 21adfc3029 Trivial warning fixes:
opcua: warning: function declaration isn't a prototype
rest: comma at end of enumerator

svn path=/trunk/; revision=21885
2007-05-22 13:17:24 +00:00
Guy Harris 6ea3d47e77 "make maintainer-clean" cleans up everything that "make distclean" does;
there's no need for files in DISTCLEANFILES to be in
MAINTAINERCLEANFILES as well.

In epan, split the generated source files into those that should be
cleaned by "make distclean" and those that shouldn't, and have
DISTCLEANFILES include only the ones that should be cleaned by "make
distclean" and have MAINTAINERCLEANFILES include the ones that shouldn't
be cleaned by "make distclean".  This should fix bug 1595.

The generated source files don't need to be in EXTRA_DIST.

Use LIBWIRESHARK_DISTCLEAN_GENERATED_SRC and
LIBWIRESHARK_NODISTCLEAN_GENERATED_SRC in epan/Makefile.nmake.

svn path=/trunk/; revision=21882
2007-05-22 07:21:12 +00:00
Ronnie Sahlberg 9f69a4eae2 improve FIND_FIRST2 useability in the same way as in the previous
patches


svn path=/trunk/; revision=21881
2007-05-22 03:55:54 +00:00
Ronnie Sahlberg 050a0508e1 remember the object name from a QUERY_PATH_INFO and show it as a
generated item in the response.

also show the infolevel in the response as a generated item


svn path=/trunk/; revision=21880
2007-05-22 03:33:51 +00:00
Sebastien Tandel 3082359cab fix gcc 4.2 warnings (qualifier type)
svn path=/trunk/; revision=21879
2007-05-22 03:30:28 +00:00
Ronnie Sahlberg d35ba564aa fix an incorrect shift
svn path=/trunk/; revision=21878
2007-05-22 02:55:14 +00:00
Bill Meier 4082012683 add empty_tcp_stream
svn path=/trunk/; revision=21877
2007-05-22 02:25:37 +00:00
Ronnie Sahlberg dac8664c9e show the QUERY_FS_INFO level as a generated item in the response packet
svn path=/trunk/; revision=21875
2007-05-22 02:14:35 +00:00
Ronnie Sahlberg c5575a6894 add the level of interest to the dissection of QUERY_PATH_INFO/QUERY_FILE_INFO responses
as a generated item


svn path=/trunk/; revision=21874
2007-05-22 01:42:56 +00:00
Ronnie Sahlberg 196ed78ce8 add the disposition to the data we store for how a fid is opened
svn path=/trunk/; revision=21873
2007-05-22 01:26:32 +00:00
Stephen Fisher ea0bed2b17 Add new functions from SVN revision 21867 to libwireshark.def to get Windows builds going again
svn path=/trunk/; revision=21871
2007-05-22 00:14:39 +00:00
Guy Harris 6559749cd1 Have the follow code keep track of whether there's any data in the TCP
stream, and, if there isn't, pop up a dialog indicating that there isn't
any data in the stream.  This fixes bug 1604.

svn path=/trunk/; revision=21870
2007-05-22 00:00:09 +00:00
Ronnie Sahlberg 360624a4c7 From Rob Casey a dissector for the KingFisher protocol
svn path=/trunk/; revision=21869
2007-05-21 23:50:18 +00:00
Stephen Fisher 0fc9e207d2 From Sake Blok:
Fix for bug #1056


svn path=/trunk/; revision=21867
2007-05-21 20:41:05 +00:00
Guy Harris a3d3282e64 Have init_progfile_dir() also check whether
WIRESHARK_RUN_FROM_BUILD_DIRECTORY is set and, if so and we weren't run
with special privileges, set the running_in_build_directory_flag.  Have
it do the same if it finds ".libs" in the pathname of the program and we
weren't run with special privileges, as that means it was probably run
from the libtool wrapper script and presumably thus isn't an installed
binary.

This means that get_credential_info() has to be called before
init_progfile_dir().

Clean up some indentation.

svn path=/trunk/; revision=21866
2007-05-21 20:31:45 +00:00
Jörg Mayer 4a22b30c36 put fwrite and fread into DISSECTOR_ASSERT in order to use the result
svn path=/trunk/; revision=21865
2007-05-21 19:43:17 +00:00
Jörg Mayer 4b87c65bad Fix warning about unused parameter
svn path=/trunk/; revision=21863
2007-05-21 16:36:21 +00:00
Jörg Mayer 7c888570e4 Hack to fix out of tree builds
svn path=/trunk/; revision=21861
2007-05-21 16:02:31 +00:00
Ronnie Sahlberg fce276b898 additional smb2 fixes from metze
svn path=/trunk/; revision=21860
2007-05-21 10:19:29 +00:00
Ronnie Sahlberg f4da83544d from metze
improved handling of smb2 errors


svn path=/trunk/; revision=21859
2007-05-21 10:16:21 +00:00
Ronnie Sahlberg 52143e84d0 add tracking of OFFSET/LENGTH to reads/writes so we can easily see in a failed read/write
what offset/length was requested


svn path=/trunk/; revision=21858
2007-05-21 07:17:36 +00:00
Ronnie Sahlberg 274ef386b0 since we now have a generic "track fid for transactions" we no longer need to do this
explicitely in the read/write functions


svn path=/trunk/; revision=21857
2007-05-21 06:49:18 +00:00
Ronnie Sahlberg 7a68b1be72 track FIDs on a per transaction (request+response) basis and make sure the FID is printed
in both packets of a transaction.

this makes filters such as "smb.file==foo.txt" work much better since they now show both 
the read/write request and also the response packets.
this is similar to what we already do in nfs for filehandles



svn path=/trunk/; revision=21856
2007-05-21 03:44:49 +00:00
Ronnie Sahlberg be579f8bb2 there wre two fields in smb for filenames with the same display filer string.
rename one of them to a different name so filtering works reliably


svn path=/trunk/; revision=21855
2007-05-21 03:07:25 +00:00
Ronnie Sahlberg c1040f6c5d make gtk1 compile again
svn path=/trunk/; revision=21854
2007-05-21 02:38:19 +00:00
Ronnie Sahlberg bded91f43d make proto.c compile again after the recent changes
svn path=/trunk/; revision=21853
2007-05-21 02:36:33 +00:00
Ronnie Sahlberg 3f4f542449 add workaround so that gtk1 compiles again thanks to stupid const mismatch between
gtk versions  and warnings treaded as errors


svn path=/trunk/; revision=21852
2007-05-21 02:32:54 +00:00
Gerald Combs 7c8bb268ca The fix for ad-hoc WEP decryption in r21814 broke WPA. Replace it with
a better fix.  Clean up whitespace while we're at it.

svn path=/trunk/; revision=21847
2007-05-20 22:40:35 +00:00
Anders Broman eef2203f38 Update MAP_DialoguePDU to 3GPP TS 29.002 V8.1.0 (2007-03) update makefiles and
rename the asn file.

TCAP ad Id and update makefiles.

svn path=/trunk/; revision=21845
2007-05-20 21:19:48 +00:00
Jörg Mayer a066b97ac9 Remove cvs2svn:cvs-rev property
Remove forward declaration of proto_reg_handoff_gdsdb
  (this is just a hack to suppress a warning that needs
  a proper solution for many many more files)

svn path=/trunk/; revision=21844
2007-05-20 20:41:48 +00:00
Jörg Mayer 20796b0120 Môshe van der Sterre:
Replace the Interbase dissector by a Firebird/Interbase
	dissector.

Me:
	Fix warnings about unused parameters
	Fix warnings about unused variables
	Fix warning about unused function
	Fix warning about mixed code and declaration
	Declare all dissection functions static
	Remove function declarations and move the switching
		function down instead.
	Update AUTHORS file
	Add $Id$ and email address to file header
	Fix filename in first comment line

svn path=/trunk/; revision=21843
2007-05-20 20:26:17 +00:00
Guy Harris 55419bedf4 Make the SliMP3 dissector a "new-style" dissector, so it rejects packets
that don't look like SliMP3 packets.  This fixes bug 1259 (at least for
the packet in the bug).

svn path=/trunk/; revision=21839
2007-05-19 22:33:42 +00:00
Guy Harris e62e5e3b25 There's more than one IE table; instead of fixing up all the IE tables
with default IE names, have bssgp_proto_tree_add_ie() use val_to_str()
if the IE table doesn't have an IE name.

Don't use the IE name as a format; use "%s" as the format, and the IE
name as the argument.  (That more clearly states what's being done.)

svn path=/trunk/; revision=21837
2007-05-19 21:22:05 +00:00
Sebastien Tandel 5879092311 distclean fix (delete dtd_grammar.h)
svn path=/trunk/; revision=21834
2007-05-19 18:33:44 +00:00
Guy Harris 0300ebc04a Get rid of unused variables.
Wrap 64-bit constants in G_GINT64_CONSTANT(), so they get the
appropriate suffix appended so the compiler knows they're 64 bits.

svn path=/trunk/; revision=21832
2007-05-19 03:45:39 +00:00
Gerald Combs 55d2b928c2 From Dustin Johnson:
- Update the wireless/AirPcap GUI code to support 802.11n as well as
    some related upcoming code changes.
  - Remove airpcap.h from the repository, since it exists in the AirPcap
    devpack (and will be superseded Real Soon Now).
  - Show the individual channel flag bits in radiotap.
  
Fix the 802.11n MCS set display.

This is a partial checkin, so hopefully nothing is broken.

svn path=/trunk/; revision=21831
2007-05-18 21:06:20 +00:00
Anders Broman 86ba8937c7 Use proto_tree_add_bits_ret_val and proto_tree_add_bits_item().
svn path=/trunk/; revision=21830
2007-05-18 18:14:09 +00:00
Martin Mathieson ceb34bc72a - show service val in protocol tree label (there can be multiple of them)
- use fences so that multiple summaries can appear together in the info column

svn path=/trunk/; revision=21829
2007-05-18 17:25:26 +00:00
Anders Broman b688f9154a Split tvb_get_bits64 into tvb_get_bits8 tvb_get_bits16 tvb_get_bits32 and tvb_get_bits64
and use them in proto_tree_add_bits_ret_val().

svn path=/trunk/; revision=21828
2007-05-18 16:46:35 +00:00
Sebastien Tandel 6f59f026f2 include dtd_parse.h in the distribution
svn path=/trunk/; revision=21826
2007-05-18 13:14:03 +00:00