Commit Graph

22687 Commits

Author SHA1 Message Date
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
Tomas Kukosa d3a00ff8bf do not update call_state if new call_state == VOIP_NO_STATE
svn path=/trunk/; revision=23271
2007-10-25 12:24:01 +00:00
Tomas Kukosa 136de3920c new codec table for registering codecs by name
new codec plugin type
search registered codecs in rtp player
fix memory leak in rtp player

svn path=/trunk/; revision=23270
2007-10-25 09:38:15 +00:00
Anders Broman 821106256b Remove unused variable.
svn path=/trunk/; revision=23269
2007-10-24 21:52:44 +00:00
Anders Broman e2111375a0 Use the media_type_dissector_table for the content type.
Add a few media types.

svn path=/trunk/; revision=23268
2007-10-24 21:47:13 +00:00
Gerald Combs 573b8d1443 Add an item for the recent packet-gdsdb.c fixes.
svn path=/trunk/; revision=23267
2007-10-24 16:43:45 +00:00
Gerald Combs abfa8887ad Remove a couple of unused variables.
svn path=/trunk/; revision=23266
2007-10-24 16:32:51 +00:00
Anders Broman 3ddd51de7f Add port ranges.
svn path=/trunk/; revision=23265
2007-10-24 15:04:01 +00:00
Martin Mathieson 977dbfc490 Add missing case.
svn path=/trunk/; revision=23264
2007-10-24 09:21:13 +00:00
Tomas Kukosa 97dde57b7e fix voip_calls.c:126: warning: missing initializer
svn path=/trunk/; revision=23263
2007-10-24 09:10:43 +00:00
Tomas Kukosa 28cb460c25 add common VoIP TAP listener "voip" which can be used in arbitrary experimental/proprietary protocol (implemented e.g. in plugin) and allows it to make graphs and replay streams
svn path=/trunk/; revision=23262
2007-10-24 08:30:46 +00:00
Guy Harris fdf4de405f Squelch warnings about uninitialized structure members.
svn path=/trunk/; revision=23261
2007-10-24 07:14:34 +00:00
Guy Harris 2dcb262b8c Set svn:eol-style to native and svn:keywords to Id.
svn path=/trunk/; revision=23260
2007-10-24 06:56:07 +00:00
Guy Harris 9e5746000a Get rid of CRs, and set svn:eol-style to native.
Set svn:keywords to Id while we're at it.

Get rid of extra blank lines at the ends of files.

svn path=/trunk/; revision=23259
2007-10-24 06:54:58 +00:00
Guy Harris 13c0f43ee5 "time_t" might be an "int" or might be a "long"; cast it to "long" and
print it with "%ld".  (It's typically signed.)

svn path=/trunk/; revision=23258
2007-10-24 06:21:05 +00:00
Guy Harris a421b8f96f "sa_mask" in a "struct sigaction" is a sigset_t, which is not
necessarily an integral data type.  Use sigemptyset() to clear it.

svn path=/trunk/; revision=23257
2007-10-24 04:13:30 +00:00