Commit graph

21342 commits

Author SHA1 Message Date
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
Guy Harris
b66228d28b Don't explicitly set the main window name unless you're changing the
state to "no packets", "file open", or "live capture in progress".

Instead, to update the main window title when the user-specified prefix
for the title changes:

	save the un-decorated title as a data value attached to the main
	window in set_main_window_name();

	have a new routine to update the title, which fetches the
	un-decorated title, decorates it, and sets the title to the
	decorated value.

This fixes bug 1608.

svn path=/trunk/; revision=21876
2007-05-22 02:21:01 +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
bd148a7335 Fix bug #1600 in the Win32 file dialog (it was fixed for the GTK file dialog in SVN revision 21807).
svn path=/trunk/; revision=21872
2007-05-22 00:33:46 +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
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