Commit Graph

5051 Commits

Author SHA1 Message Date
Martin Mathieson 8e98967075 When reporting roundtrip delay, show delay since timestamp of LSR frame.
svn path=/trunk/; revision=21985
2007-05-29 14:37:34 +00:00
Guy Harris d2ac4f7133 Check for G_GINT64_MODIFIER in Wireshark as we do in Wiretap.
In all the places where a cast to "long long" or "unsigned long long"
was done, use G_GINT64_MODIFIER and get rid of the cast, as

	1) there's no guarantee that "%ll" works

and

	2) there's no guarantee that "long long" works

(the latter definitely does *NOT* work with MSVC++; the former doesn't
work with regular printf in MSVC++, but it might work with the GLib
printf-based functions).

svn path=/trunk/; revision=21978
2007-05-29 06:56:07 +00:00
Sebastien Tandel 76729e5d0f From David Howells :
Fix compilation failures when building wireshark-0.99.6-SVN-21916 on an
x86_64-unknown-linux-gnu target with gcc version 4.1.2 20070403 (Red Hat
4.1.2-8).

The failures fall into two categories:
  (1) Casts between pointers and 32-bit integers without an intermediary cast
via 'long' or 'unsigned long'.  This results in a compiler warning complaining
about casts between a pointer and an integer of a different size.
  (2) Passing values to "%lld" or similar printf-style format options that the
compiler thinks are a different size.  Such values need to be cast to 'long
long' or 'unsigned long long'.

svn path=/trunk/; revision=21975
2007-05-29 02:43:18 +00:00
Anders Broman 430a1de0c0 From Joe Eykholt:
Attached is a patch file and a new dissector for FCoE.   This protocol
is described at http://fcoe.com and has been submitted to T11. It is an encapsulation protocol that can be used to transport FC frames over raw Ethernet when the link is loss-free due to pause.  The Ethertype 0x8906 has been reserved through IEEE for this protocol.

svn path=/trunk/; revision=21967
2007-05-28 06:38:30 +00:00
Anders Broman b8d8f0ce1b From Neil Ostroff:
The enclosed patch updates the ansi isup dissector to support the following parameters:  

 

1. Generic Name  

2. Originating Line Info  

3. Jurisdiction  

4. Charge Number  

5. Forward Call Indicator (bits M and N are now being decoded)  

6. Cause Code (all values are now being decoded)

svn path=/trunk/; revision=21966
2007-05-28 06:13:03 +00:00
Stephen Fisher 6aa0d47b38 From Metatech:
Here is a small patch of a dozen lines that extracts SQL statements from
the packet.
This allows to use the field "drda.sqlstatement" in coloring rules or in a
packet filter so that only SQL statements are dumped from a connection


svn path=/trunk/; revision=21964
2007-05-27 23:34:55 +00:00
Sebastien Tandel 028a7cf638 From Ville Nuorvala :
adds support for the following RFCs (and RFC-to-be):
  - RFC 3519 Mobile IP Traversal of Network Address Translation (NAT) Devices
  - RFC 3543 Registration Revocation in Mobile IPv4
  - RFC 4433 Mobile IPv4 Dynamic Home Agent (HA) Assignment (including the not
      yet published errata about the message extension using the short message
      extension format)
  - draft-ietf-mip4-message-string-ext Mobile IPv4 Message String Extension


svn path=/trunk/; revision=21948
2007-05-26 01:01:27 +00:00
Stephen Fisher 3f239a2fc7 Fix bug #1416: crash (stack smashing) on single DHCP packet
svn path=/trunk/; revision=21947
2007-05-26 00:38:53 +00:00
Guy Harris 1e7c1bc036 Add a cast to squelch an MSVC warning.
svn path=/trunk/; revision=21944
2007-05-25 21:50:12 +00:00
Gerald Combs a33ebc8d5c Throw an exception instead of trying to add a 4GB fragment.
svn path=/trunk/; revision=21943
2007-05-25 21:32:32 +00:00
Guy Harris 88f69b80c0 Make SND_SEQ an array of 2 guint32's, rather than an array of 8
guint8's, to squelch some compiler warnings (and clean up some
comparisons).

svn path=/trunk/; revision=21941
2007-05-25 19:39:35 +00:00
Luis Ontanon c22f70ec1b - epan/uat.h: change the UAT_PROTO_DEF macro to handle both the name of the dissector and the handle
- packet-user_encap.c: use the new UAT_PROTO_DEF
- gtk/uat_gui.c:  change the order of "containment" of the widgets to have the clist fields sized to the scrolledwindow instead of the whole window


svn path=/trunk/; revision=21934
2007-05-25 16:47:22 +00:00
Tomas Kukosa 31e3747eab get rid of few warnings
svn path=/trunk/; revision=21933
2007-05-25 11:40:32 +00:00
Tomas Kukosa 6c5a299a55 UMTS RRC updated to 3GPP TS 25.331 V7.4.0 (2007-03) and moved to one directory
svn path=/trunk/; revision=21931
2007-05-25 06:54:39 +00:00
Jaap Keuter 7178eb7aad From Brian Vandenberg:
I ran into a problem trying to debug some of my stuff yesterday that depends on the http dissector, and the server I'm working with defaults to ssl traffic; whenever I try to debug it, it always gets hung up on the lines I mentioned in the email quoted below (within the ssl dissector).

It seems the culprit is in the use of g_malloc within ssl_data_alloc, and free (instead of g_free) in  tls_prf. 

I've attached the diff for the fixes I made.

svn path=/trunk/; revision=21929
2007-05-25 06:35:21 +00:00
Anders Broman cbb9271a0a Make it possible to "decode as" NBAP over SCTP, update IANA registered PPID's
for SCTP.

svn path=/trunk/; revision=21927
2007-05-24 20:42:55 +00:00
Gerald Combs ad3702a7c2 Fix a crash bug found through fuzz testing. The bug was introduced
after the 0.99.5 release.

svn path=/trunk/; revision=21924
2007-05-24 17:36:07 +00:00
Tomas Kukosa 3ecba48898 fix rrlp subdissector calling
svn path=/trunk/; revision=21921
2007-05-24 13:30:45 +00:00
Tomas Kukosa b20af30b48 few BER dissectors regenerated
svn path=/trunk/; revision=21920
2007-05-24 12:36:41 +00:00
Tomas Kukosa 062d80f7b8 - RNSAP calls RRC through dissector handle instead of direct function call
- PER dissectors regenerated

svn path=/trunk/; revision=21919
2007-05-24 12:30:38 +00:00
Anders Broman c4669fd0cb Put in some forgotten actx.
svn path=/trunk/; revision=21912
2007-05-23 20:49:53 +00:00
Graham Bloice 009c784fb6 Corrected dissection of read requests when no object indexes are supplied, i.e. index field is 0
svn path=/trunk/; revision=21909
2007-05-23 16:35:42 +00:00
Jörg Mayer f9836c56e8 warning fix: passing argument 2 of 'iconv' from incompatible pointer type
svn path=/trunk/; revision=21908
2007-05-23 15:42:48 +00:00
Tomas Kukosa d105a414d0 fix warning
svn path=/trunk/; revision=21907
2007-05-23 14:31:12 +00:00
Tomas Kukosa fe5ee23c89 - support of CONTAINING constraint in OCTET STRING and BIT STRING
- fix handling of tag for EXTERNAL type
- change automatic postfix for duplicate names from '...%d' to '..._%02d'

svn path=/trunk/; revision=21906
2007-05-23 13:42:05 +00:00
Tomas Kukosa e8ecaf723b support of CONTAINING constraint in OCTET STRING and BIT STRING
svn path=/trunk/; revision=21905
2007-05-23 13:36:25 +00:00
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
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
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
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
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