Commit graph

22702 commits

Author SHA1 Message Date
Tomas Kukosa
6090991c45 small improvement in class fields handling
svn path=/trunk/; revision=23321
2007-10-31 12:57:01 +00:00
Tomas Kukosa
0386717cf0 accept VariableTypeValueFieldSpec syntax and ParameterizedObjectClass syntax
svn path=/trunk/; revision=23320
2007-10-31 09:33:54 +00:00
Tomas Kukosa
558cd94b74 move 'all: generate_dissector' rule from Makefile.inc.nmake to Makefile.preinc.nmake to be the 1st one in the resulting makefile
svn path=/trunk/; revision=23319
2007-10-31 09:22:56 +00:00
Anders Broman
528ac73cfd Use oid_add_from_string for adding names.
svn path=/trunk/; revision=23318
2007-10-31 08:26:52 +00:00
Anders Broman
b3ec72530e Use oid_add_from_string for adding names, names changed to short form.
svn path=/trunk/; revision=23317
2007-10-31 07:50:59 +00:00
Anders Broman
c41279b260 From Martin Peylo:
This uncomments the OID registration of pkixcmp and adds 2 Cryptlib OIDs
Changed to use oid_add_from_string for adding names.

svn path=/trunk/; revision=23316
2007-10-31 07:49:39 +00:00
Anders Broman
b603b47759 From Stefano Picerno:
Makes more fields searchable
Also fixes some typos and indentation errors
Fixes bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1802 for edonkey
dissector: every field defined by the dissector is now contained under the
PROTOABBREV=edonkey "root" key

svn path=/trunk/; revision=23315
2007-10-31 07:47:47 +00:00
Gerald Combs
6327c19912 From Christopher McKenzie: Zero out our SAs before we use them.
Remove an unneeded for loop in AirPDcapCleanKeys(), and make it static.

svn path=/trunk/; revision=23314
2007-10-31 00:15:17 +00:00
Gerald Combs
5753ea42ce Fix some null dereferences.
svn path=/trunk/; revision=23313
2007-10-30 22:22:14 +00:00
Stephen Fisher
de7bd77a1f Minor correction to protocol behavior handling when security type "none" is
selected by the client.


svn path=/trunk/; revision=23312
2007-10-30 16:32:26 +00:00
Stephen Fisher
d33e4cc381 Change a few g_string_append_printf() (GTK2 only) calls to g_strdup_printf()
and g_string_append() to work on GTK 1.2 also.


svn path=/trunk/; revision=23311
2007-10-30 05:49:41 +00:00
Stephen Fisher
c5f2895907 Fix for issue #1 in bug #1947 by doing a major overhaul of how the first
nine or so packets are handled to accommodate authentication type none and
to allow cleaner future improvements.  Includes a few touch ups to the
rest of the dissector as well. 


svn path=/trunk/; revision=23310
2007-10-30 04:42:42 +00:00
Tomas Kukosa
84488ec016 asn2wrs
- parameterized object class assignment
 - octet string with extensible size constraint
 - RELATIVE-OID type (still not supported in packet-per/ber)
packet-per
 - octet string with extensible size constraint
more dissect_per_... functions exported from libwireshark.dll
PER dissectors regenerated
add forgotten packet-h323-template.h
fix svn properties for h323 files

svn path=/trunk/; revision=23309
2007-10-29 19:25:37 +00:00
Bill Meier
a708791aa0 Add comment for Windows build re config.nmake and .h file changes requiring distclean
svn path=/trunk/; revision=23308
2007-10-29 15:11:20 +00:00
Ronnie Sahlberg
eca5a7d7d4 add a asn2wrs generated T.125 MCP dissector
This dissects the initial Connect-Initial and Connect-confirm pdus of 
setting up t.125


The dissector needs to be enhanced to also decode the data payload so 
that it can decode any furhter packets on the connection after these two 
initial handshake packets



svn path=/trunk/; revision=23307
2007-10-29 11:32:07 +00:00
Ronnie Sahlberg
bf43e71521 register tpkt for port 3389 and use x224 as the subdissector for this
port


svn path=/trunk/; revision=23306
2007-10-29 07:16:49 +00:00
Ronnie Sahlberg
5437b24716 add x224 to the makefile
svn path=/trunk/; revision=23305
2007-10-29 07:15:29 +00:00
Ronnie Sahlberg
4b1615c700 add an initial x.224 dissector it is very incomplete
svn path=/trunk/; revision=23304
2007-10-29 07:14:50 +00:00
Sake Blok
3cdaed35ea When there are multiple conversations with the same key, conversation_lookup_hashtable() did not return the correct conversation for the first packet of a conversation (ie when frame_num == conversation->setup_frame).
svn path=/trunk/; revision=23303
2007-10-29 06:54:25 +00:00
Bill Meier
b337d20d4c Include winposixtypes.h only if building with GNUTLS; Bug 1942: part 2 of 2 of fix.
asn1 template file plus generated .[hc] files;
Note that the generated files include changes which are a result of previous
changes to snmp.cnf (SVN #23252) and of other changes (eg: svn 21145).

svn path=/trunk/; revision=23302
2007-10-29 01:14:51 +00:00
Bill Meier
7e4a5b0194 Include winposixtype.h only if building with GNUTLS; Bug #1949: Part 1 of fix
[asn1 template plu generated .c file]

svn path=/trunk/; revision=23301
2007-10-29 00:58:06 +00:00
Sake Blok
5fe95468a2 Bug 1227 : From Frederic Heem:
* modify CMakeInstallDirs.cmake according to cmake developper wishes
* FindDBUSGLIB.cmake fixes
* Add HAVE_CHOWN 
* remove DBus from CMakeLists.txt. 
* DBus support has its own application (capdbus) and is in a self contained directory. A separate patch will be provided



svn path=/trunk/; revision=23300
2007-10-28 23:49:15 +00:00
Sake Blok
81b41ba967 This patch is a remake of SVN 22762:
When doing TCP_SEQ analysis, if the packet is a SYN, then it's 
not a lost packet but the tcp ports are being reused. This is often 
seen in load-balanced environments where client ports are preserved 
on the server-side.

This time it is fixed by creating a new conversation whenever a
new SYN is received for an existing conversation. This fixes the
following:

- bug 1680: Error in TCP Sequence number analysis
- TCP-conversation timestamps for new TCP-sessions with the addresses 
  and ports as a previous TCP-conversation in the trace-file.


svn path=/trunk/; revision=23299
2007-10-28 23:38:43 +00:00
Sake Blok
f0313f6407 Bug 1751: From Allan M. Madsen :
When trying to open a pcap file with the new pseudo-header/DLT (using SVN
version, changelist 23283) I get the error message:
"libpcap: ERF file has a 13-byte packet, too small to have even an ERF
pseudo-header".

After reviewing Paolo's patch I found that there are 2 places with missing
breaks in switch case structures.



svn path=/trunk/; revision=23298
2007-10-28 18:52:45 +00:00
Bill Meier
8519153567 Small fixes:
1. wireshark.bat: Quote %U3_HOST_EXEC_PATH%\wireshark.exe so pathname
   with spaces will work;
2. makefile.nmake: Use $(MAKE) /$(MAKEFLAGS) so things like 
   invoking nmake at the top level with /E to have environment 
   variables override config.namke definitions will work.

svn path=/trunk/; revision=23297
2007-10-28 18:12:52 +00:00
Bill Meier
488ca683ad Fix Windows build error if not using LUA; Bug #1950
svn path=/trunk/; revision=23296
2007-10-28 13:46:20 +00:00
Graeme Lunt
23ce3f94a2 U3 package update to:
a) include smi.dll if SMI_DIR is set
b) add a batch script to run the U3 wireshark configuration by simulating the U3 environment
c) include a test step in the build process to verify that the U3 package contains all the required files (tries to run "wireshark -D")
d) include the wireshark.bat in the U3 zip file.

This final step means that the U3 package can be unzipped on any drive and run using the wireshark.bat script. (Note this currently creates an unwanted cmd window.) 


svn path=/trunk/; revision=23295
2007-10-28 11:58:16 +00:00
Jaap Keuter
64cc7052f9 from Gisele Vanem:
This needs file_util.h if HAVE_LIBNETTLE is defined.

svn path=/trunk/; revision=23294
2007-10-28 11:25:34 +00:00
Anders Broman
f4b9f9c3bd From Stefan Puiu:
According to http://www.iana.org/assignments/bootp-dhcp-parameters, suboptions
from 1 to 10 have been defined. 3 is reserved, and most of the others have
their own RFC. For a start I've attached a patch that decodes suboption 6 just
as 1 and 2, and also suboption 3. This might not be entirely correct, since
suboptions 1 and 2 are opaque values (RFC3046), while 6 is an ASCII text
string.

I added something for the other values as well...

svn path=/trunk/; revision=23293
2007-10-27 16:49:13 +00:00
Anders Broman
ce25ea6f22 From Stephane Chazelas:
The description of the most significant bit of the "Device Revision" byte of
the response to a "Get Device ID" is the wrong way round. 1 means "device
provides Device SDRs" and not the contrary according to IPMI specs 1.5 and 2.0.

Also, I noticed in that file that "Chassis" is spelled "Chasis".

svn path=/trunk/; revision=23292
2007-10-27 15:53:29 +00:00
Anders Broman
05d258e71b From Martin Peylo:
Enhancement:
- TIPC is available in a new version (1.7), adding/removing fields while
keeping the same version number (2).

Minor bugs:
- In NAME_DISTRIBUTOR messages the origianting and destination node are
switched.
- The used size of BUNDLER messages payload is not calculated correctly when
size%4=0, this leads to the wrong assumption that the message would be
malformed.

svn path=/trunk/; revision=23291
2007-10-27 15:48:47 +00:00
Anders Broman
e6fc9efb62 From Mark C. Brown:
Add support for the new NS_LS_SCTP tracing subsystem.

svn path=/trunk/; revision=23290
2007-10-27 15:44:12 +00:00
Anders Broman
a07530ab2b From Steve Osselton:
The GIOP Fragment message type was added as of GIOP 1.1. However the Fragment
message header (containing a request id) was only added as of GIOP 1.2. The
GIOP Fragment dissector incorrectly attempts to process the request id for a
version 1.1 request.

To fix add a version check to the dissect_giop_fragment function in
packet-giop.c:

svn path=/trunk/; revision=23289
2007-10-27 15:38:22 +00:00
Anders Broman
135ba5aeff From Stefano Picerno:
I made some updates to the edonkey dissector.
Most kademlia1 and some kademlia2 messages are now completely decoded.

svn path=/trunk/; revision=23288
2007-10-27 15:28:35 +00:00
Anders Broman
f209667d93 From Andrew Feren:
return FALSE if dissector_try_string(...) is passed a NULL string pointer
arguably this should assert instead.

svn path=/trunk/; revision=23287
2007-10-27 15:02:07 +00:00
Anders Broman
2ea44c466a From Andrew Feren:
patch to test for NULL media_type_str_lower_case.

svn path=/trunk/; revision=23286
2007-10-27 14:57:46 +00:00
Anders Broman
1143ab41b1 Apply yet another set of the optimization patches:
- Use a fast path for the most common use of tvb_get_xxx functions:
offset is >= 0 and tvb->real_data is set (this one is always true).
- match_strval() is a linear search, put the most common protocols
TCP/UDP/RDP first.
- fix gtk1 g_strlcat declaration Use g_strlcat

svn path=/trunk/; revision=23285
2007-10-27 14:44:29 +00:00
Jaap Keuter
79e035e3f3 Fix for bug 1935.
RFC3315 says that the vendor-specific information option must encapsulate each
option in the format code/length/value.  The current dhcpv6 dissector does not
differentiate these fields, it just puts it all together as one option-data
field. Attached is a patch that addresses this issue.

svn path=/trunk/; revision=23284
2007-10-27 09:24:31 +00:00
Stephen Fisher
487abcdf5b Remove empty #if / #endif block
svn path=/trunk/; revision=23283
2007-10-27 05:11:50 +00:00
Jeff Morriss
53085e0828 Minor indentation changes
svn path=/trunk/; revision=23282
2007-10-26 22:17:45 +00:00
Martin Mathieson
0e90d5ecf4 Stop including xmlstab.h
svn path=/trunk/; revision=23281
2007-10-26 16:57:54 +00:00
Martin Mathieson
58c63a41d1 Remove some unnecessary includes.
svn path=/trunk/; revision=23280
2007-10-26 16:53:08 +00:00
Gerald Combs
8f05294027 For the Wireshark/TShark -> dumpcap signal pipe on Windows, use a named
pipe instead of stdin.  Add an argument (currently the parent PID) back
to the "-Z" flag and use it to construct the pipe name.  This lets us
pass the parent's stdin handle to dumpcap, which lets us capture from
stdin on Windows.  Add a comment about checking for the parent process.

In capture_loop.c, remove the wait_forever argument from cap_pipe_select()
since it was always FALSE.  Set the timeout under Windows to 250 ms
instead of 250000 ms.

svn path=/trunk/; revision=23279
2007-10-26 16:32:28 +00:00
Jeff Morriss
381c1f1c9e Show the acronyms for LSSU types in the Info column rather than the long description (and don't tell the user it's an LSSU, they already know that). Also, there is no such thing as a SIBO, it's a SIB.
svn path=/trunk/; revision=23278
2007-10-26 16:19:18 +00:00
Bill Meier
c74d7d243a From Andrew Feren: Fix an assortment of typos and other minor errors
svn path=/trunk/; revision=23277
2007-10-26 15:26:04 +00:00
Martin Mathieson
7c80a7feae Add expert item for cases of unmatched function type or message op.
svn path=/trunk/; revision=23276
2007-10-26 10:38:16 +00:00
Tomas Kukosa
c08b07005f H.501 Mobility protocol implemented
svn path=/trunk/; revision=23275
2007-10-26 07:42:29 +00:00
Tomas Kukosa
be30e23fa7 fix wrong headers in H.460.x ASN.1 sources
svn path=/trunk/; revision=23274
2007-10-26 07:18:44 +00:00
Anders Broman
3a16fb20a3 Apply yet another set of the optimization patches:
Replace strncpy with g_strlcpy.
Add g_strlcat for GTK1 and don't use g_snprintf in GTK1 g_strlcpy
printf family is very slow.

svn path=/trunk/; revision=23273
2007-10-26 05:42:12 +00:00
Gerald Combs
300503cdcb Fix a typo.
svn path=/trunk/; revision=23272
2007-10-25 20:37:12 +00:00