Commit graph

7209 commits

Author SHA1 Message Date
Anders Broman
d3902956dd Correct some typos.
svn path=/trunk/; revision=22106
2007-06-15 16:26:08 +00:00
Anders Broman
49e49c6e64 Update the makefile and a comment in the template file.
svn path=/trunk/; revision=22105
2007-06-15 16:20:35 +00:00
Gerald Combs
1d567d6e6b The 802.11 dissector calculates the header size, so pass that value to
the WEP/WPA decryption code instead of re-calculating it.  Fixes bug
1639.

Remove fcsPresent, radiotapPresent, and associated code from airpdcap.c
since they were always FALSE.  Glib-ize some data types.  Fixup white
space.

Update the release notes.

svn path=/trunk/; revision=22104
2007-06-14 22:09:14 +00:00
Anders Broman
7cd5781110 From Stig Bjørlykke.
ContentsTypeParameter and Relationship are OPTIONAL as they are defined with a DEFAULT.

svn path=/trunk/; revision=22103
2007-06-14 19:05:20 +00:00
Gerald Combs
64d16f4888 Add a hint for using wlan.fc.type_subtype.
svn path=/trunk/; revision=22102
2007-06-14 16:44:36 +00:00
Martin Mathieson
7c6ab66d53 Try to fix warning/error.
svn path=/trunk/; revision=22101
2007-06-14 15:17:49 +00:00
Martin Mathieson
ef1aa6fe2d Try again!
svn path=/trunk/; revision=22100
2007-06-14 12:43:15 +00:00
Martin Mathieson
34511b8b59 Improve parsing of sctpprim header (variant 1)
svn path=/trunk/; revision=22099
2007-06-14 11:24:37 +00:00
Jaap Keuter
0de9abe808 From Victor Fajardo:
Attached is a patch file for the PANA protocol dissector. The changes updates the packet-pana.c dissector to support draft-ietf-pana-pana-15.txt.

svn path=/trunk/; revision=22098
2007-06-14 07:09:07 +00:00
Anders Broman
9af02b5130 Change actx->external.direct_reference to be the OID string.
Use it in BER direct reference to call the OID dissector.

svn path=/trunk/; revision=22097
2007-06-14 05:17:07 +00:00
Gerald Combs
4b24df98fe Fix a bunch of errors found by gcc.
svn path=/trunk/; revision=22096
2007-06-14 01:13:04 +00:00
Guy Harris
555af2a1dc Include a link to the AFP reference, as well as to the programming
guide.

svn path=/trunk/; revision=22095
2007-06-13 23:43:07 +00:00
Gerald Combs
d1a745f27b Add support for PPI (the Per-Packet Information header), described at
http://www.cacetech.com/documents/PPI_Header_format_1.0.pdf .

svn path=/trunk/; revision=22094
2007-06-13 22:36:58 +00:00
Jeff Morriss
37a954260a Stop using switch statements on the GTI when decoding GT's: the values are
not unique between ANSI and ITU so we end up with incorrect behavior.  In
particular:
  - In non-ANSI if GTI==0x1, don't try to decode TT, NP, and ES.
  - In ANSI don't decode the O/E indicator on GTI==0x1.
  - In non-ANSI don't decode NAI on GTI==0x1 or 0x4.

svn path=/trunk/; revision=22090
2007-06-13 13:39:05 +00:00
Graham Bloice
3ade8e7d43 Fixed crash with missing conversation fragment, improved presentation, minor typos corrected
svn path=/trunk/; revision=22089
2007-06-13 10:15:31 +00:00
Jaap Keuter
a0cc432cfe Fix for bug 1632:
Fix bitmask for FCP "retry requested/reply".

svn path=/trunk/; revision=22088
2007-06-13 06:54:49 +00:00
Jaap Keuter
d87fb06466 Fix for bug 1633:
Adding BLS ABTS handling.

svn path=/trunk/; revision=22087
2007-06-13 06:52:23 +00:00
Stephen Fisher
bcfc3b9468 Get the Unix buildbots going again
svn path=/trunk/; revision=22086
2007-06-13 06:22:43 +00:00
Luis Ontanon
161b20becb This should fix Coverity's CID: 240 (Bug 1648)
svn path=/trunk/; revision=22084
2007-06-12 23:53:58 +00:00
Anders Broman
58f01d87cc Preparations for updated CMIP dissector:
- Export AE-title from ACSE
- Start REAL dissection(unfinished).

svn path=/trunk/; revision=22083
2007-06-12 21:29:27 +00:00
Martin Mathieson
a06723a7fb Diameter update:
- add IMS Gq interface (same AVPs seem to be used by IMS Rx and ETSI Gq' interfaces)
- other small corrections

svn path=/trunk/; revision=22079
2007-06-12 11:09:22 +00:00
Gerald Combs
be8915a208 Fix dist.
svn path=/trunk/; revision=22078
2007-06-11 22:40:38 +00:00
Gerald Combs
9bf0729452 Fix include paths.
svn path=/trunk/; revision=22076
2007-06-11 19:03:20 +00:00
Gerald Combs
f60e81aaac Fix compilation under VS6 (hopefully without breaking compilation
anywhere else).  Instead of using getaddrinfo() and getnameinfo(),
promote inet_pton.c and inet_ntop.c to the top level and use those
routines instead.

(It's 2007, for crying out loud.  Why is this even an issue?)

svn path=/trunk/; revision=22075
2007-06-11 18:26:09 +00:00
Anders Broman
3f3efe41da Generate ANSI MAP with the -X option.
svn path=/trunk/; revision=22072
2007-06-11 05:28:18 +00:00
Anders Broman
f07a01dd51 Remove an unused variable.
svn path=/trunk/; revision=22070
2007-06-10 21:31:10 +00:00
Anders Broman
d28046f3b5 Updated GSM MAP to use the latest asn1 original files.
MAP-dalouge and gsm_ss is included in this dissector.

svn path=/trunk/; revision=22069
2007-06-10 19:04:12 +00:00
Guy Harris
230c951306 From Stephen Donnelly of Endace:
The code for reading ERF files has not been significantly
	updated since 2004.  This patch brings it up to date with a
	number of changes.

	1) Increase number of decodable ERF types from 7 to 12. This
	   covers newer DAG card models and firmware updates.

	2) Fix timestamp conversion. Was calculating only microsecond
	   precision, now displaying with nanosecond resolution.  Hardware
	   precision is 7.5 to 30 ns depending on model.

	3) Allow the user to specify HDLC encapsulation as 'chdlc',
	   'ppp_serial', 'frelay' or 'mtp2'.  This is needed because the
	   ERF HDLC capture formats do not include information on what
	   protocol is used at the next level.  This is currently done via
	   an environment variable 'ERF_HDLC_ENCAP' and is analagous to the
	   existing 'ERF_ATM_ENCAP' variable.

	   If the user does not specify an HDLC encapsulation it tries to
	   guess, and falls back to MTP2 for backwards compatibility with
	   Florent's existing behaviour.

	   I know environment variables are ugly, suggestions are welcome.

	4) When reading HDLC captures as MTP2, use
	   WTAP_ENCAP_MTP2_WITH_PHDR rather than WTAP_ENCAP_MTP2.  This
	   allows us to put the 'Multi-Channel ERF' record 'channel
	   number' field into the MTP2 pseudo header > 'link_number'
	   field.  This is then displayed in Frame information, and can
	   be filtered on.  (Would be nice if it could be made a display
	   column?)

	Because the ERF record does not specify whether Annex A is used
	or not, we pass MTP2_ANNEX_A_USED_UNKNOWN and allow the existing
	user preference to decide.

Move the MTP2_ANNEX_A_ definitions into Wiretap, make the annex_a_used
field a guint8, and change MTP2_ANNEX_A_USED_UNKNOWN to 2 so it fits in
a guint8.  (This means that if you can save an ERF MTP2 file as a
libpcap file, the pseudo-header will have MTP2_ANNEX_A_USED_UNKNOWN in
it.)

svn path=/trunk/; revision=22067
2007-06-08 17:06:13 +00:00
Anders Broman
9a116d0bcf From Stefan Wenk:
Following items are changed:
*) Bandwidth efficient decoding re-implemented with expert-info support. 
    The old implementation supported a single frame only.
*) Support for AMR-WB added
*) Fixes for IF1 and IF2 decoding

svn path=/trunk/; revision=22066
2007-06-08 05:04:54 +00:00
Guy Harris
e5f3d4af31 Better hash function for file handles, as suggested by Brent Callaghan
(the old one was mapping file handles that differed only by one bit to
the same hash value; the new one mapped them to different hash values).

svn path=/trunk/; revision=22065
2007-06-08 02:45:30 +00:00
Gerald Combs
f445de2be5 Add an option to ignore vendor-specific HT elements.
svn path=/trunk/; revision=22064
2007-06-07 17:40:23 +00:00
Luis Ontanon
2a6e042da8 Unconditionally initialize profile (avoid a warning causing the distcheck buildbot to fail).
svn path=/trunk/; revision=22062
2007-06-06 22:02:56 +00:00
Bill Meier
6e5dc8ea47 Fwom David Buechi: Powerlink dissector enhancement:
The attached patch adds a small enhancement for the ETHERNET Powerlink
dissector (some well-known CANopen device profiles are decoded in human
readable plaintext in the IdentResponse frame).

svn path=/trunk/; revision=22061
2007-06-06 21:04:22 +00:00
Jaap Keuter
f345f716a2 Fix for bug 1643.
Add element type Policy Server.

svn path=/trunk/; revision=22059
2007-06-06 19:58:26 +00:00
Jaap Keuter
a1a33fbcfc Fix for bug 1644.
Get the DST from the right offset in the tvb.

svn path=/trunk/; revision=22058
2007-06-06 19:50:28 +00:00
Tomas Kukosa
90974e3440 Q.932 ROS regenerated from original ASN.1 source
svn path=/trunk/; revision=22055
2007-06-06 09:43:45 +00:00
Tomas Kukosa
1dcf2aaef0 use ASN.1 type names in #.FN_BODY (instead of Wireshark type names)
svn path=/trunk/; revision=22054
2007-06-06 08:12:27 +00:00
Guy Harris
ad07451fd1 For various routines used by dissect_smb_fid() to dissect various FID
attributes specified at open time, have them take a length value, and
pass 4 if the values are extracted from the current packet and 0 if they
come from values saved when the FID was opened (as they're generated
values not found in the packet) - that fixes bug 1638.

svn path=/trunk/; revision=22053
2007-06-05 21:23:49 +00:00
Jaap Keuter
e9577b77f5 Fix for bug 1512:
Present user with the invalid time string.

svn path=/trunk/; revision=22052
2007-06-05 20:36:23 +00:00
Jaap Keuter
08a6f4ed7b Fix for bug 1642:
Added hf_smpp_sms_signal to hf_array.

svn path=/trunk/; revision=22051
2007-06-05 20:26:03 +00:00
Guy Harris
82fcefd134 Squelch some warnings - including some that appear legitimate; the name
of the function was missing from the call for monitorRouteRequest.  It
also appears that the wrong function was being called for
monitorRouteReport.

svn path=/trunk/; revision=22049
2007-06-05 17:15:21 +00:00
Anders Broman
bc4c034a33 Regenerate the INAP dissector with thelatest asn2wrs and theunmodified asn files.
svn path=/trunk/; revision=22048
2007-06-05 14:53:37 +00:00
Anders Broman
ad554d54f3 Regenerate the MMS dissector with -T and -X options.
svn path=/trunk/; revision=22047
2007-06-05 14:47:11 +00:00
Tomas Kukosa
40ba5931de use ASN.1 type names in conformance file instead of Wireshak types
svn path=/trunk/; revision=22045
2007-06-05 13:34:18 +00:00
Tomas Kukosa
49df6a8c10 Q.932 and QSIG regenerated with -X (new BER) option
svn path=/trunk/; revision=22044
2007-06-05 12:15:52 +00:00
Tomas Kukosa
31e45c7a21 not allow #.FN_HDR/FTR for Wireshark types but only for ASN.1 types
it makes interconnection between .cnf file and ASN.1 source more readable
(changes for #.FN_BODY will follow)

svn path=/trunk/; revision=22043
2007-06-05 12:00:57 +00:00
Michael Tüxen
cc8ed4a3c4 From Michael Scharf: Add support for TCP Quickstart.
svn path=/trunk/; revision=22041
2007-06-04 23:27:12 +00:00
Michael Tüxen
8c9bbba0cd Register as heuristic dissector for SUA.
svn path=/trunk/; revision=22040
2007-06-04 22:51:16 +00:00
Stephen Fisher
99234c5e03 Get the Windows builds going again after my last check-in
svn path=/trunk/; revision=22039
2007-06-04 21:18:19 +00:00
Stephen Fisher
d1d72fd232 Fix for bug #93: changes to the columns has no effect until restart
These changes allow the packet list clist to be destroyed and recreated
with the new column titles/values/order that the user changed in the
preferences without restarting Wireshark. 


svn path=/trunk/; revision=22038
2007-06-04 20:15:10 +00:00
Tomas Kukosa
eb782d0cea - CLASS definitions support including exports through the *-exp.cnf file
- support of extension in middle of SEQUENCE root elements
- new option EMBEDDED_PDV_CB to set default callback
- ChoiceValue support at syntax level
- ValueSet support at syntax level
- exception identifier support
- ValueFromObject support at syntax level
- next minor changes (to compile X.880 and INAP)

- dissectors using classes regenerated

svn path=/trunk/; revision=22036
2007-06-04 14:41:38 +00:00
Ronnie Sahlberg
a17d4a117b add the name for the keeaplive pdu
svn path=/trunk/; revision=22035
2007-06-04 07:35:05 +00:00
Ronnie Sahlberg
c2456b8f4a there is no longer a FINISHED pdu in the protocol
svn path=/trunk/; revision=22034
2007-06-04 07:24:55 +00:00
Anders Broman
3aabc51db4 Add dissect_per_enumerated
svn path=/trunk/; revision=22033
2007-06-03 22:06:19 +00:00
Anders Broman
5a2fb14332 Add some opcodes and mark func as _U_ in packet-ber.c
svn path=/trunk/; revision=22032
2007-06-03 21:10:29 +00:00
Anders Broman
4393bceae5 INAP:
- Use (some) IN CS4 asn1 files Q.1248.1 Q.1248.2 Q.1248.3

BER/asn2wrs:
-  Add basic support for EmbeddedPDVType

svn path=/trunk/; revision=22031
2007-06-03 19:58:59 +00:00
Bill Meier
a6dab6d644 (Minor) Use _WIN32 (instead of WIN32) like the rest of Wireshark
svn path=/trunk/; revision=22030
2007-06-03 16:07:07 +00:00
Ronnie Sahlberg
ff26c88dca srvid is also aligned to an 8 byte boundary
svn path=/trunk/; revision=22029
2007-06-02 23:08:21 +00:00
Ronnie Sahlberg
1445df7446 add a new field to one of the pdus
rsn in dmaster request/response is aligned to a 64 bit bundary


svn path=/trunk/; revision=22028
2007-06-02 22:50:31 +00:00
Ronnie Sahlberg
add05b70d7 show the database name for ctdb.dbid fields
svn path=/trunk/; revision=22027
2007-06-02 22:31:12 +00:00
Anders Broman
38adb4cf94 Camel regenerated with the -X option
svn path=/trunk/; revision=22024
2007-06-02 09:36:26 +00:00
Ronnie Sahlberg
16453761ca update the ctdb controls to match the current version of the protocol
svn path=/trunk/; revision=22023
2007-06-02 08:20:58 +00:00
Anders Broman
883083a064 Regenerate the INAP dissector with the -X option using the original asn1 files
(with small modifications).

svn path=/trunk/; revision=22021
2007-06-01 19:52:26 +00:00
Martin Mathieson
7b8632f552 - Check NACK version is 1 before dissecting as NACK
- Add expert item when NACK found
- Give a couple of subtrees items to make them more filterable 

svn path=/trunk/; revision=22020
2007-06-01 18:29:23 +00:00
Stephen Fisher
8501d62d2b From Zach Chadwick:
TR-111, from the DSL-Forum adds two options to STUN (RFC 3489) to help
with TR-069 enabled devices traverse firewalls. TR-111 can be read here:
http://www.dslforum.org/techwork/tr/*TR-111*.pdf

This patch adds support for decoding the two optional STUN attributes
used by TR-111.  One is simply a zero-length attribute, and the other a
string attribute.

Me: Changed stun.att.connection.request.binding to
stun.att.connection_request_binding


svn path=/trunk/; revision=22019
2007-05-31 23:53:39 +00:00
Stephen Fisher
e156c1cce7 From Florian Lohoff:
Updates to the redback dissector


svn path=/trunk/; revision=22018
2007-05-31 19:29:29 +00:00
Stephen Fisher
2745f06d96 From Lars Ruoff:
find attached several trivial diffs for viewing RTP SSRC values in Hex
rather than Dec at various places in the UI.
Also includes change from BASE_DEC to BASE_HEX_DEC for corresponding RTP
and RTCP dissector header fields.


svn path=/trunk/; revision=22017
2007-05-31 18:41:25 +00:00
Stephen Fisher
4c21e608ca Wrap newly added (svn rev 22007) but unused "Required MBMS bearer
capabilities 7.7.76" function called decode_gtp_mbms_bearer_cap in
an #if 0 block to get the Unix buildbots going again.  Left code
intact on the asumption that it is about to be used since it was
recently added.


svn path=/trunk/; revision=22014
2007-05-31 01:29:16 +00:00
Anders Broman
8673ae26d3 - LDAP generated with -X option
- a minor update to MobileDomainDefinitions.asn adding ID and a document reference.

svn path=/trunk/; revision=22010
2007-05-30 21:50:31 +00:00
Anders Broman
ce511a8146 Update value strings.
svn path=/trunk/; revision=22007
2007-05-30 19:02:14 +00:00
Anders Broman
d197031761 Change implicit tag handling for SEQUENCE OF and fix a cut'n paste error.
svn path=/trunk/; revision=22006
2007-05-30 19:00:50 +00:00
Tomas Kukosa
dc46e52ec8 - remove unused hf_rnsap_L3_DL_DCCH_Message_PDU from RANAP
- dissectors regenerated with fixed asn2wrs

svn path=/trunk/; revision=22004
2007-05-30 14:31:05 +00:00
Anders Broman
4b2284cc35 Clean up the .cnf file a bit.
svn path=/trunk/; revision=21992
2007-05-29 19:08:26 +00:00
Guy Harris
5a43799a17 Use G_GINT64_MODIFIER, rather than the PRI[douxX]64 macros, for GLib
routines and routines using those routines.  GLib might use different
modifiers for 64-bit quantities than the platform's C library does.

svn path=/trunk/; revision=21990
2007-05-29 18:52:42 +00:00
Guy Harris
bf16786902 Add missing calculated_delay_report_gap field to _rtcp_conversation_info
structure.

svn path=/trunk/; revision=21989
2007-05-29 17:27:59 +00:00
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
Tomas Kukosa
6a6895fafa export dissect_ber_old_... functions
can be removed when migration to new BER is finished

svn path=/trunk/; revision=21981
2007-05-29 14:13:33 +00:00
Jörg Mayer
122eaf7556 Update before new release
svn path=/trunk/; revision=21979
2007-05-29 09:23:36 +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
85ab07f287 init_plugin_dir() is now just internal to epan/filesystem.c.
svn path=/trunk/; revision=21946
2007-05-26 00:12:28 +00:00
Gerald Combs
a491fec183 From Mike Harvey: Support for WiMAX and the WiMAX M2M encapsulation protocol.
Add support for WiMAX and M2M to various makefiles and installer files.  Add
basic support for M2M to randpkt.

svn path=/trunk/; revision=21945
2007-05-25 23:40:42 +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
ab5a09f4de No need to call init_plugin_dir() - it gets called, if necessary, by
get_plugin_dir().

Add checks for the success or failure of init_progfile_dir() in dftest.

svn path=/trunk/; revision=21942
2007-05-25 20:03:26 +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
11f06217ce Have editcap and capinfos loading the wiretap plugins.
epan/filesystem.c
   have get_plugin_dir() calling init_plugin_dir() if necessary

epan/epan.c and epan/report_err.c
   move the report_failure family into the new report_err.c file, have epan_init() calling the initializer

epan/plugins.h and epan/proto.c
   do not have init_plugins() calling the proto_reg functions instead do it in init_proto()

gtk/main.c and tshark.c
   init_plugin_dir() has become suprefluous

capinfos.c and editcap.c
   load the wiretap plugins

Makefiles
   do what's needed to build withe the above changes.




svn path=/trunk/; revision=21935
2007-05-25 17:22:32 +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
Luis Ontanon
869732d121 Prepare wireshark and tshark for wiretap plugins
svn path=/trunk/; revision=21928
2007-05-24 22:26:51 +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
Guy Harris
6ea3d47e77 "make maintainer-clean" cleans up everything that "make distclean" does;
there's no need for files in DISTCLEANFILES to be in
MAINTAINERCLEANFILES as well.

In epan, split the generated source files into those that should be
cleaned by "make distclean" and those that shouldn't, and have
DISTCLEANFILES include only the ones that should be cleaned by "make
distclean" and have MAINTAINERCLEANFILES include the ones that shouldn't
be cleaned by "make distclean".  This should fix bug 1595.

The generated source files don't need to be in EXTRA_DIST.

Use LIBWIRESHARK_DISTCLEAN_GENERATED_SRC and
LIBWIRESHARK_NODISTCLEAN_GENERATED_SRC in epan/Makefile.nmake.

svn path=/trunk/; revision=21882
2007-05-22 07:21:12 +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
Bill Meier
4082012683 add empty_tcp_stream
svn path=/trunk/; revision=21877
2007-05-22 02:25:37 +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
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
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
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
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
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
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
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
5879092311 distclean fix (delete dtd_grammar.h)
svn path=/trunk/; revision=21834
2007-05-19 18:33: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
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
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
a548d4c325 uat_load.c is moved to generated files
svn path=/trunk/; revision=21819
2007-05-17 20:03:23 +00:00
Gerald Combs
86865b0fb8 Try WEP decryption before WPA. This keeps us from returning
prematurely if we have an IBSS frame.

svn path=/trunk/; revision=21814
2007-05-17 17:14:39 +00:00
Sebastien Tandel
dd7753ab2c Since code generated by lex may trigger gcc warnings, we are now generating two
libraries. A single library is generated with the lex code without the barrier
"stop on warning". Another library is generated from the remaining source
files with the "stop on warning" barrier.


svn path=/trunk/; revision=21813
2007-05-17 17:08:11 +00:00
Sebastien Tandel
21e897760f include string.h to import memcpy and memset functions signatures
svn path=/trunk/; revision=21812
2007-05-17 14:36:32 +00:00
Ronnie Sahlberg
c6addcd89f add a new dos error code
svn path=/trunk/; revision=21809
2007-05-17 01:19:26 +00:00
Luis Ontanon
2b9b4cdc14 Terminate the strings of the various parts and advance the write pointer.
svn path=/trunk/; revision=21805
2007-05-16 17:35:07 +00:00
Martin Mathieson
ae673b5b38 Allow Via sigcomp-id parameter name to be matched properly.
svn path=/trunk/; revision=21804
2007-05-16 14:24:13 +00:00
Tomas Kukosa
2251e35514 RNSAP updated to V7.4.0 (2007-03)
svn path=/trunk/; revision=21803
2007-05-16 13:41:54 +00:00
Ronnie Sahlberg
2c0a600046 from metze
prettify dissection of multiple chained smb2 pdus in one frame


svn path=/trunk/; revision=21801
2007-05-16 06:50:19 +00:00
Tomas Kukosa
2054f1302a use some by mistake unused types
remove unused variables and types

svn path=/trunk/; revision=21800
2007-05-16 06:30:45 +00:00
Ronnie Sahlberg
f7aba27936 start prettifying SRVSVC
svn path=/trunk/; revision=21799
2007-05-16 01:06:30 +00:00
Ronnie Sahlberg
417b366bcd we must provide a hfinfo field when dissecting a dcerpc integer or else
we might get a dissector bug assert and fail to dissect the blob


svn path=/trunk/; revision=21797
2007-05-15 23:30:03 +00:00
Ronnie Sahlberg
99c98d6c6e when spawning off to the next smb2 pdu in a chain we need to create a
new tvb for it    or else the offset/length calculations for where blobs 
a		next_tvb=tvb_new_subset(tvb, chain_offset, MIN((int)len, 
tvb_length_remaining(tvb, off)), len);
re in the packets are wrong.



svn path=/trunk/; revision=21795
2007-05-15 20:46:45 +00:00
Ronnie Sahlberg
827df92fb1 add dissection of the end_of_chain bit in the header flags
svn path=/trunk/; revision=21794
2007-05-15 20:33:44 +00:00
Ronnie Sahlberg
9498ad3a2d from metze
patch to find and enhancement of extra_info handling


svn path=/trunk/; revision=21793
2007-05-15 20:13:30 +00:00
Ronnie Sahlberg
0977ea7e74 from metze
add support for smb2 chaining

rename sessionsetupandz to sessionsetup


svn path=/trunk/; revision=21792
2007-05-15 20:07:58 +00:00
Martin Mathieson
198f8f8185 Fix problem from previous commit (confused myself with FT_UINT_STRING needing length of 1 when adding to tree...), and show display-name in info column.
svn path=/trunk/; revision=21790
2007-05-15 15:26:13 +00:00
Martin Mathieson
dc9745267b TBCP fixes:
- more careful checking of packet length
- skip padding at end of SDES items block
- formatting

svn path=/trunk/; revision=21789
2007-05-15 14:49:26 +00:00
Tomas Kukosa
783da34c50 get rid of the rest of dummy ASN.1 code and switch()
svn path=/trunk/; revision=21787
2007-05-15 12:53:04 +00:00
Ronnie Sahlberg
a944d1a3e8 since the fid dissector helper now adds a lot of extra info to the tree
we must now pass it a (semi-)valid tvb.


svn path=/trunk/; revision=21783
2007-05-15 09:48:02 +00:00
Tomas Kukosa
a0ee5100c4 ULP regenerated from OMA UserPlane Location Protocol Candidate Version 1.0 – 22 Jan 2007
svn path=/trunk/; revision=21778
2007-05-15 08:26:18 +00:00
Tomas Kukosa
35da9bda8a support for value range and unions in permitted alphabet
svn path=/trunk/; revision=21777
2007-05-15 08:15:34 +00:00
Ronnie Sahlberg
a190cecf66 prettify the server_name component of NetWkstaTransportEnum
svn path=/trunk/; revision=21776
2007-05-15 08:12:10 +00:00
Anders Broman
f08cd1e5e3 actx in the rest of dissect_ber..()l
svn path=/trunk/; revision=21773
2007-05-15 05:49:43 +00:00
Jaap Keuter
792e51d00a Attempt to fix bug 1360.
Remove calls to tvb_free on subsets, since this seems to upset the tvb administration(!?)

svn path=/trunk/; revision=21772
2007-05-14 20:55:11 +00:00
Gerald Combs
b482e10da4 From Dustin Johnson: Fix a couple of spelling errors. Normalize the display
of A-MPDU and A-MSDU trees.

svn path=/trunk/; revision=21771
2007-05-14 18:27:47 +00:00
Tomas Kukosa
6f83c76235 remove packet-rnsap.h which was empty
svn path=/trunk/; revision=21766
2007-05-14 15:00:08 +00:00
Martin Mathieson
750959bb3d - give NACK reason codes in hex rather than decimal
- minor prettifications

svn path=/trunk/; revision=21764
2007-05-14 14:23:52 +00:00
Tomas Kukosa
52b3c8baf4 fix packet-per.c:155: warning: 'val_tvb' may be used uninitialized in this function
svn path=/trunk/; revision=21763
2007-05-14 14:17:42 +00:00
Tomas Kukosa
c388131e82 - RNSAP regenerated from the last specification Release 6 V6.13.0 (2007-03)
(original unchanged ASN.1 source could be used because asn2wrs has been improved)
- IE value switch(){} replaced with dissector table
  (some switch() and dummy CHOICE still remains but will be removed soon)

svn path=/trunk/; revision=21761
2007-05-14 14:11:43 +00:00
Ulf Lamping
013332de7f fix a bug found while fuzz testing the opcua dissector:
MSVC 2005 crashes, if localtime is called with very large numbers (in this case 218939827321) - probably due to changes that time_t is now 64bits long as default

limit the number given to localtime to a reasonable value

while this isn't a nice fix, I don't see a better way to fix it :-(

svn path=/trunk/; revision=21759
2007-05-14 13:47:03 +00:00
Tomas Kukosa
25c299ea4e - support of constraint unions
- support of FN_VARIANT parameter for OpenType
- many small changes

svn path=/trunk/; revision=21758
2007-05-14 13:46:09 +00:00
Tomas Kukosa
61ffcf48a9 - more variants of dissect_per_open_type_*()
- move asn1_get_real() to asn1.c/.h

svn path=/trunk/; revision=21757
2007-05-14 13:39:31 +00:00
Ronnie Sahlberg
fc5ce01ee4 replace an incorrect '{' with ';' in the ber header file
change the signature for dissect_ber_external_type() to only provide the 
parameter actx once


svn path=/trunk/; revision=21756
2007-05-13 22:19:04 +00:00
Anders Broman
0bc558f88d actx in ber_external
svn path=/trunk/; revision=21755
2007-05-13 22:01:17 +00:00
Anders Broman
0a0a913a01 Try to make the buildbot happy.
svn path=/trunk/; revision=21754
2007-05-13 21:54:45 +00:00
Anders Broman
c01f382974 Second step in introducing asn context to BER dissectors just like in PER.
svn path=/trunk/; revision=21753
2007-05-13 20:58:29 +00:00
Jaap Keuter
b80cb43018 From bug 1492: Fortify layer name presentation.
Some code cleanups.

svn path=/trunk/; revision=21752
2007-05-12 19:54:55 +00:00
Gerald Combs
797545d2e5 Fix a bunch of spelling errors.
svn path=/trunk/; revision=21751
2007-05-12 00:01:57 +00:00
Gerald Combs
6c940e0714 implented -> implemented.
svn path=/trunk/; revision=21749
2007-05-11 22:51:48 +00:00
Gerald Combs
790061f5c7 Add separate filters for vendor-specific HT items.
svn path=/trunk/; revision=21748
2007-05-11 15:52:13 +00:00
Jaap Keuter
caa79282d8 Fix for bug 1545.
Add a preference to support BVLC on non standard UDP port.

svn path=/trunk/; revision=21747
2007-05-11 06:31:22 +00:00
Anders Broman
2427e6390d From Andrew Feren:
This patch collapses start and end time for each flow to a single duration item.  The duration item can, of course, be expanded to display the start and end time.

svn path=/trunk/; revision=21746
2007-05-11 06:21:18 +00:00
Ronnie Sahlberg
ff35bf2ca1 make create_options, access_mask and share_access fitlerable
svn path=/trunk/; revision=21745
2007-05-11 03:02:38 +00:00
Ronnie Sahlberg
f43afbaf35 add more tracking of FID properties
track create_flags, access_mask, file_attributes, share_access and 
create options for all FIDs


svn path=/trunk/; revision=21743
2007-05-10 20:53:35 +00:00
Martin Mathieson
6c310715bd - show NACK summary in info column
- calculated and show compression ratio achieved
- show some fields as being generated

svn path=/trunk/; revision=21742
2007-05-10 16:49:00 +00:00
Martin Mathieson
ef3f75d6df Make dhcpv6 findable by name.
svn path=/trunk/; revision=21740
2007-05-10 10:56:36 +00:00
Ronnie Sahlberg
e5e23150ab prettify dissection of FIDs,
put the filename, if known, on the fid expansion line

also place a "generated" fid in failed ntcreateandx so it is easier to 
quickly see which file the ntcreateandx failed for


svn path=/trunk/; revision=21739
2007-05-10 02:34:06 +00:00
Jaap Keuter
4fef1c31c1 Fix for bug 1497.
Set DSCP_VALUE column info without tree to support export operations.

svn path=/trunk/; revision=21738
2007-05-09 22:27:39 +00:00
Graham Bloice
bb61f339ed Cast values to correct sizes for number of bits to squelch Win32 warnings
svn path=/trunk/; revision=21737
2007-05-09 09:33:44 +00:00
Ulf Lamping
2f53056ba3 fix manifest error: for dll's mt.exe must be given ;2
svn path=/trunk/; revision=21734
2007-05-09 06:32:52 +00:00
Guy Harris
636807c1ce Unless I've missed something, the number of subframes can be as many as
16 (4 bits, 0-origin, so that's 15 + 1 as the maximum).

svn path=/trunk/; revision=21733
2007-05-09 03:50:58 +00:00
Jaap Keuter
bf55e2cf1d Fix for bug 1103:
1. in dissect_routing6() if (rt.ip6r_type == 2) set pinfo->dst to the Home Address.
2. dissect_mipv6_hoa() set the pinfo->src to the Home Address.

svn path=/trunk/; revision=21732
2007-05-08 22:25:03 +00:00
Stephen Fisher
937b925cf5 From Victor Fajardo:
The packet-pana.c dissector I have submitted previously [SVN rev 21447]
had a minor issue. The following are the fixes:
 
Change packet-pana.c, Line 823:

                       { "Ping","pana.flags.e",
 
to:
 
                       { "Error","pana.flags.e",
 

svn path=/trunk/; revision=21731
2007-05-08 19:33:24 +00:00
Stephen Fisher
1d114f469c Fix for bug #1532 -
From Kenneth Golomb:

Fixes two issues:
1) interface_name is allocated iface_len+1 bytes but a buffer length of iface
len is passed in when the string is copied.  This truncates the string to 9
characters if the interface_name is 10 characters long.

2) interface_name added to tree with proto_tree_add_string_format and is
missing the initial value parameter when called.  Even if this is added the
field can not be filtered on.  Adding the field with proto_tree_add_item fixes
both the tree display and the filtering issues.


svn path=/trunk/; revision=21730
2007-05-08 19:11:33 +00:00
Martin Mathieson
ab32895f34 Use new 'unknown' value for dch_crc_present for EDCH channels.
svn path=/trunk/; revision=21728
2007-05-08 17:19:18 +00:00
Martin Mathieson
7510f41080 Fix proto_tree_add_bits_ret_val() (as now used by FP dissector).
Note that FP uses this function in a limited way, but this fixes problems seen.

svn path=/trunk/; revision=21727
2007-05-08 17:17:51 +00:00
Martin Mathieson
aac8ca1355 From Kriang Lerdsuwanakij:
This patch adds the handling of Spare Extension bytes
to UMTS Frame Protocol.  It also handles the case when
the presence of CRC in dedicated channels is not known
(i.e. when FP from a K12/K15 log is dissected).

The new functionality is placed in the new function
"dissect_spare_extension_and_crc".  The "dch_crc_present"
field inside "struct fp_info" (file packet-umts_fp.h)
is also extended to handle the case of unknown CRC presence.

Much of other changes is to update "offset" variable and
return it so that the location of Spare Extension and CRC
is available.

The patch also include a small tweak to handle Frame
Protocol information saved from K15.  Some fields appear
8 bytes later compared to K12.  The changes are in the file
packet-k12.c.

svn path=/trunk/; revision=21726
2007-05-08 17:13:14 +00:00
Gerald Combs
965fda1995 Add NULL dereference checks. Fixes Coverity CID 241.
svn path=/trunk/; revision=21724
2007-05-08 16:18:59 +00:00
Ronnie Sahlberg
f133d28663 prettify wkssvc dissection using the conformance file and generate the
dissector again using a new version of pidl


svn path=/trunk/; revision=21723
2007-05-08 03:30:14 +00:00
Ronnie Sahlberg
d71ee1a0e5 update PIDL_dissect_cvstring so that it can be used in a future pidl to
prettify strings


svn path=/trunk/; revision=21722
2007-05-08 00:04:51 +00:00
Gerald Combs
e2733321e9 Bug fixes and cleanup from Dustin Johnson and myself:
- Remove unused hf_block_ack_ssc code.
  - Fix +HTC detection and frame length calculation.
  - Fix Channel Width dissection.
  - Fix Primary Channel dissection.
  - Tweak the TID field width.
  - Display the Block Ack Buffer Size as decimal.
  - Display the SSC fragment and sequence numbers as decimal.
  - Fix the spelling of "recommended".

svn path=/trunk/; revision=21721
2007-05-07 21:57:05 +00:00
Ronnie Sahlberg
b183abad3e update the conformance file for winreg to specify that the string for
OpenKey keynames should be saved/stored in the dcv structure.

this now makes all policy handles generated by the OpenKey function show
OpenKey(/path/keyname)
for all such policyhandles


svn path=/trunk/; revision=21720
2007-05-07 19:23:59 +00:00
Ronnie Sahlberg
50a23f1970 when creating a policy handle, use the string stored in dcv if
available as the name of the handle

This means we can show policy handles like
OpenKey(/a/b/c/d)
instead of 
OpenKey(<...>)




svn path=/trunk/; revision=21719
2007-05-07 19:21:37 +00:00
Ronnie Sahlberg
e19938fb0b using latest version of pidl, which includes the required pragmas and
which also handles TYPE and PARAM_VALUE for strings,   regenerate winreg 
after using hte conformance file to prettify how and where strings are 
to be used to decorate the summary line and the dissection tree


svn path=/trunk/; revision=21717
2007-05-07 18:35:28 +00:00
Graeme Lunt
cf56e76be9 Updated splash screen for Wireshark that shows the initialisation progress.
The splash screen shows a progress bar and a percentage complete - like the progress dialog.
As dissectors are initialised and handed off the name is shown. However, the names of plugin dissectors are not shown.
The update to the make-dissector-reg shell script has been tested, though I think generally the python version is used.


svn path=/trunk/; revision=21716
2007-05-07 17:55:42 +00:00
Tomas Kukosa
a38b44a647 - simple Information Objects support
- all definitions in ASN.1 source are skipped and need not to be commented out
  - #.CLASS directive can define types for Object Class Fields
- do not append 'xxx' postfix to parametrized types (changes H.235 and H.450 in accordance with it)
- change QSIG ASN.1 source to be more identical to original one

svn path=/trunk/; revision=21715
2007-05-07 12:59:31 +00:00
Tomas Kukosa
a8c10b431f changes in external structure of asn1_ctx_t
svn path=/trunk/; revision=21714
2007-05-07 11:25:21 +00:00
Ronnie Sahlberg
0eae1cc0bd add dissection of smb1 ioctl data by tying it into the dissectors for
ioctl data that already exists for smb2


svn path=/trunk/; revision=21713
2007-05-07 09:07:29 +00:00
Ronnie Sahlberg
34afdc5fc3 change the smb2 ioctl function to take a pointer to a uint32 (ioctl
function code) instead of a structure

extend the nt trans structure to contain a ioctl function code for smb1


svn path=/trunk/; revision=21712
2007-05-07 08:11:59 +00:00
Ronnie Sahlberg
bda722d3bf remove the ioctl function and table from the smb dissector and just use
the one in smb2 instead since the smb2 one is more developed.


svn path=/trunk/; revision=21711
2007-05-07 07:41:35 +00:00
Ronnie Sahlberg
731485ecc4 there were missing #defines in the header file that prevented it from
compiling properly

update the headerfile from a freshly generated one from pidl


svn path=/trunk/; revision=21708
2007-05-07 06:26:39 +00:00
Anders Broman
fd108518ed _U_ mark some parameters and a forgotten file.
svn path=/trunk/; revision=21706
2007-05-07 05:35:45 +00:00
Anders Broman
4c692a62b6 Start introducing actx to ber functions.
svn path=/trunk/; revision=21705
2007-05-06 22:34:05 +00:00
Graeme Lunt
01fa6378eb Better column information display for delivery reports.
svn path=/trunk/; revision=21700
2007-05-06 16:38:04 +00:00
Ulf Lamping
302f45549f add CBA_E_INVALIDID
svn path=/trunk/; revision=21699
2007-05-06 12:07:44 +00:00
Ulf Lamping
56ddeb6b85 embed the manifest files for the unittest exe's as well
svn path=/trunk/; revision=21697
2007-05-06 09:24:36 +00:00
Ulf Lamping
0abc3ba979 instead of copying the MSVC 2005 manifest files around, embed them into the .exe / .dll files - this way is easier to handle while packaging and alike, and probably will solve some problems. We might want to do this for the plugins as well later.
svn path=/trunk/; revision=21696
2007-05-06 09:17:19 +00:00
Graeme Lunt
2e96e3fe55 Separate field for the elements of a constructed OCTET STRING.
svn path=/trunk/; revision=21695
2007-05-06 08:18:44 +00:00
Ulf Lamping
0bea95c152 disable warning 4005 *again*
svn path=/trunk/; revision=21688
2007-05-05 10:11:06 +00:00
Anders Broman
334177b096 Show BER internal fields in external type in ACSE, update a comment in packet-ber.c.
svn path=/trunk/; revision=21685
2007-05-04 20:27:43 +00:00
Guy Harris
2447ba1de6 Once is enough. :-)
That should get rid of warnings in packet-ber.c; add it to the list of
clean dissectors, to try to keep it clean.

svn path=/trunk/; revision=21684
2007-05-04 18:56:59 +00:00
Tomas Kukosa
bbe6caca6b - Q.932: fix warnings
- RNSAP: generate field functions only for necessary types 
- other dissectors regenerated

svn path=/trunk/; revision=21683
2007-05-04 13:33:35 +00:00
Tomas Kukosa
176949badb missing packet-t30.h file
svn path=/trunk/; revision=21679
2007-05-04 09:48:06 +00:00
Tomas Kukosa
6632dd3a3b missing asn1.c file
svn path=/trunk/; revision=21678
2007-05-04 08:24:06 +00:00
Tomas Kukosa
180f915bef fix few warnings in Q.932 and QSIG dissectors
svn path=/trunk/; revision=21677
2007-05-04 07:51:19 +00:00
Tomas Kukosa
cfa43d6daa generate T.38 dissector from ASN.1 source
svn path=/trunk/; revision=21676
2007-05-04 07:10:15 +00:00
Anders Broman
141674620e Fix a copy paste error.
svn path=/trunk/; revision=21674
2007-05-04 06:41:55 +00:00
Anders Broman
386af8e774 From Olivier Montanuy:
Patch tested against traces obtained from Cisco IOS 12.4 Flexible Netflow,
IOS-XR 3.3, Huawei VRP 5.30.

Features:
- Decodes Netflow v9 option templates
- Decodes quite a few additional Netflow v9 types
- Packets and octets counters can be 64-bit
- Show unknown Netflow v9 fields as hexa, useful when using tshark -V with
  Netflow v9 implementations that use undocumented proprietary types.
  Enabled by:  "#define SHOW_UNKNOWN_TYPES 1"

svn path=/trunk/; revision=21672
2007-05-04 06:07:30 +00:00
Anders Broman
98cb9db12d Split out asn1 common functions. Start of BER EXTERNAL.
svn path=/trunk/; revision=21670
2007-05-03 21:52:57 +00:00