Commit Graph

21380 Commits

Author SHA1 Message Date
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
Jaap Keuter 33cd736ce7 Make files more generic.
svn path=/trunk/; revision=21864
2007-05-21 18:08:47 +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 b7755fb4e4 Fix some (incorrect but unforseeable)
"might be used uninitialized" warnings.

svn path=/trunk/; revision=21862
2007-05-21 16:16:18 +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
Ronnie Sahlberg 532f102662 make the workaround use static so it wont dissapear when the frame ends
svn path=/trunk/; revision=21851
2007-05-21 02:13:21 +00:00
Ronnie Sahlberg 12f013d5fa workaroung a warning for const that prevents gtk1 builds
svn path=/trunk/; revision=21850
2007-05-21 02:12:19 +00:00
Guy Harris c4af642e10 Reflect the name change of the .asn file.
svn path=/trunk/; revision=21849
2007-05-21 01:51:38 +00:00
Bill Meier fe25e21a0e Alter slightly so compile/link with airpcap works again....
svn path=/trunk/; revision=21848
2007-05-21 00:41:58 +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
Gerald Combs b713a968bd Revert back to having a local copy of airpcap.h. This should fix building
with AirPcap.  Re-define AIRPCAP_DIR.

svn path=/trunk/; revision=21846
2007-05-20 22:32:14 +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
Anders Broman dac26af515 Add Id.
svn path=/trunk/; revision=21842
2007-05-20 19:56:44 +00:00
Anders Broman 001d89c183 Undefine AIRPCAP_DIR to get the Windows build going again.
svn path=/trunk/; revision=21841
2007-05-20 19:55:34 +00:00
Jörg Mayer e3e1d07557 Fix a typo to make compiling with extra-gcc flags disable compiling with
errors.

svn path=/trunk/; revision=21840
2007-05-20 14:40:45 +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 11d553e9ce Convert the arguments to if_list_comparator_alph() to if_info_t *'s
early on, and use the converted versions.

#if 0 out the error dialog for CANT_GET_AIRPCAP_INTERFACE_LIST, rather
than commenting it out - it's a bit easier to un-out the code, and you
don't have to worry about whether there's a comment in the stuff being
xxx-outed.

svn path=/trunk/; revision=21838
2007-05-19 22:00:09 +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 2f921aa4c7 typo fix
svn path=/trunk/; revision=21836
2007-05-19 18:42:58 +00:00
Sebastien Tandel c60b0a4f3a temporarily put cast-align in extra-gcc-warnings while compilation on Solaris
slave generates 'cast increases required alignment of target type' warnings. 


svn path=/trunk/; revision=21835
2007-05-19 18:38:45 +00:00
Sebastien Tandel 5879092311 distclean fix (delete dtd_grammar.h)
svn path=/trunk/; revision=21834
2007-05-19 18:33:44 +00:00
Jaap Keuter 3e0d91c307 Get the build going.
svn path=/trunk/; revision=21833
2007-05-19 10:59: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
Anders Broman 434334f24d Latest ASN1 files to be used later when the RANAP dissector is regenerated with
the latest asn2wrs facillities.

svn path=/trunk/; revision=21827
2007-05-18 15:11:48 +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
Tomas Kukosa 16c1010894 RRLP updated to 3GPP TS 44.031 V7.4.0 (2007-03)
svn path=/trunk/; revision=21825
2007-05-18 12:53:55 +00:00
Tomas Kukosa 16c4aa8e38 - fix asn2wrs crash if typereference assignment has non-default body
- mode directives for assignments omitting 
  (#.NO_OMIT_ASSGN, #.OMIT_ALL_ASSIGNMENTS, #.OMIT_ASSIGNMENTS_EXCEPT, #.OMIT_ALL_TYPE_ASSIGNMENTS, #.OMIT_TYPE_ASSIGNMENTS_EXCEPT, #.OMIT_ALL_VALUE_ASSIGNMENTS, #.OMIT_VALUE_ASSIGNMENTS_EXCEPT)

svn path=/trunk/; revision=21824
2007-05-18 12:48:28 +00:00
Ronnie Sahlberg db3711d720 this error is returned in srvsvc when a SessDel fails because no matching session can be
found


svn path=/trunk/; revision=21823
2007-05-18 05:25:31 +00:00
Sebastien Tandel 93314fc852 typo fix
svn path=/trunk/; revision=21822
2007-05-18 00:15:31 +00:00
Sebastien Tandel 55a4b5ad93 temporarily disable cast-align warnings
svn path=/trunk/; revision=21821
2007-05-18 00:04:58 +00:00
Sebastien Tandel e545636a4f include generator sources in EXTRA_DIST
svn path=/trunk/; revision=21820
2007-05-18 00:00:10 +00:00
Sebastien Tandel a548d4c325 uat_load.c is moved to generated files
svn path=/trunk/; revision=21819
2007-05-17 20:03:23 +00:00
Gerald Combs 17271f0879 When saving an RTP stream, don't insert silence if our packet has a
wrong timestamp.  Place a cap on the amount of silence that we do
insert.  This should fix bug 1580.

Update the release notes.

svn path=/trunk/; revision=21818
2007-05-17 18:41:07 +00:00