Commit graph

4692 commits

Author SHA1 Message Date
Anders Broman
0e706015c2 From Florent Drouin:
Update the Camel dissector to have the same structure as the gsm map dissector.
Now the dissector correctly handles the Tcap return error component.
Some improvement have been made for ApplyChargingReport too.

svn path=/trunk/; revision=20835
2007-02-17 20:04:10 +00:00
Graeme Lunt
38515fbf22 From X.690 8.6.2.3
"If the bitstring is empty, there shall be no subsequent octets, and the initial octet shall be zero." 

The BER dissector marked empty bitstrings as "Padding", but they are now marked as "Empty". 

http://www.wireshark.org/lists/wireshark-dev/200702/msg00574.html


svn path=/trunk/; revision=20834
2007-02-17 14:23:09 +00:00
Graeme Lunt
1864da87a8 This patch looks for a confounder in GSSWrap for DES_MAC_MD5 algorithm.
This is purely empirical as I can find no standard that says it should be there.
However successful LDAP/SASL/GSSAPI between AD and Java client shows it seems to be present.
If the confounder is not dissected, the LDAPMessage to fail to be decoded.


svn path=/trunk/; revision=20833
2007-02-17 11:16:52 +00:00
Graeme Lunt
c09afc2db6 This patch adds some new features to the BER dissector:
- Added option to decode OCTET STRINGs as BER encoded data
- Added decoding of unknown VisibleString and GeneralString
- Some code cleanup

http://www.wireshark.org/lists/wireshark-dev/200702/msg00482.html


svn path=/trunk/; revision=20831
2007-02-17 11:10:02 +00:00
Graeme Lunt
c55b754264 Tidy ups for SASL/GSSAPI support:
1) Handle empty (zero length) saslCredentials
2) Handle "GSSAPI" auth_mech when identified from the bind
3) Annotate column info to show SASL service applied to LDAP operation


svn path=/trunk/; revision=20830
2007-02-17 11:06:25 +00:00
Ronnie Sahlberg
657bf78561 if the KRB-ERROR PDU contains a pw-salt containing an NT status code, show that NT status code on the summary line since it gives more precise error description to why there was an kerberos error.
svn path=/trunk/; revision=20827
2007-02-17 00:47:09 +00:00
Ronnie Sahlberg
ffc2333ea8 decode the known 4 bytes of the 16 byte blob that prepends the ndr encoded logoninfo and constraineddelegation ndr encoded blobs inside the PAC
svn path=/trunk/; revision=20826
2007-02-17 00:13:57 +00:00
Ulf Lamping
d6e22b2d9a major code cleanup:
- move dcom-cba and pn-rt files into profinet plugin (where they really belong)
- move some common pn functionality into new packet-pn.c/h instead of having duplicate code

svn path=/trunk/; revision=20825
2007-02-16 21:53:36 +00:00
Ronnie Sahlberg
7214c88fa2 when decrypting a blob allocate a new private memory area to return to the caller instead of reusing the same one over and over (g_free followed by g_malloc by the same size often result in the same area being returned)
this resolves some issues where the decode is ok  but the hexpane shows corrupted memory where the decrypted blob should be.



svn path=/trunk/; revision=20824
2007-02-16 21:04:45 +00:00
Anders Broman
9288918d6b From Florent Drouin:
A patch to update the gsm map definition up to 3GPP TS 29.002 V7.5.0 (2006-09) Release 7 There is a little impact on the GTP dissector, because I had to change the name of the Local ErrorCode in the gsm map asn1 definition due to a conflict with the Camel dissector.

svn path=/trunk/; revision=20823
2007-02-16 21:02:19 +00:00
Martin Mathieson
946897ace7 Make RFC2198 pt preference work (wasn't calling
proto_reg_handoff_rtp when prefs changed).

svn path=/trunk/; revision=20822
2007-02-16 13:47:49 +00:00
Anders Broman
f30812691b Fix the bugs part of http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1371.
- a typor in in hf_bssgp_ie_type
- id def out debug code.

svn path=/trunk/; revision=20821
2007-02-16 06:54:32 +00:00
Gerald Combs
c4a52b1995 According to David Young, IEEE80211_RADIOTAP_FCS was never officially
assigned.

svn path=/trunk/; revision=20817
2007-02-15 18:35:30 +00:00
Ronnie Sahlberg
02a8ed7abc using the latest SVN of PIDL it is now possible to compile the corrected WINREG.IDL where QueryInfoKey responses are parsed correctly.
(since we do not yet use all of the various idl files from s4 i commented out the import directove from the idl file since othervise it would generate #include directives for files we do not yet provide)



svn path=/trunk/; revision=20816
2007-02-15 09:33:12 +00:00
Jörg Mayer
b068c93dea Guess the meaning of some trailer bytes
svn path=/trunk/; revision=20815
2007-02-15 08:40:18 +00:00
Gerald Combs
2e89206961 Try to fix a naming conflict on Windows.
svn path=/trunk/; revision=20814
2007-02-14 22:03:39 +00:00
Martin Mathieson
958a67763d Change fp_info struct to be more general by removing DCT2000-specific field.
Also:
- Fix a division-by-zero error in FP dissector
- Correct the way DCT2000 IPPrim addresses and ports are dissected and displayed

svn path=/trunk/; revision=20812
2007-02-14 15:41:43 +00:00
Jörg Mayer
4bc0860be2 Dissect the Cisco proprietary encapsulation of IPSEC/ISAKMP
in TCP (incomplete).
Add preference to select the tcp port (default: 10000)

svn path=/trunk/; revision=20809
2007-02-14 13:22:55 +00:00
Ronnie Sahlberg
bfcb77a3ff show the share mode bits that are SET on the share mode expansion line so one can see easily which share modes are requested without having to open the share mode expansion
svn path=/trunk/; revision=20808
2007-02-14 11:49:01 +00:00
Tomas Kukosa
a91eb30021 H.225.0 updated to 05/2006, Amendment 1 01/2007
svn path=/trunk/; revision=20807
2007-02-14 08:08:44 +00:00
Stephen Fisher
3f3d725506 Changes to the ansi_map and ospf dissectors to use new RVAL() (range string)
feature.


svn path=/trunk/; revision=20806
2007-02-14 01:16:19 +00:00
Stephen Fisher
0ebc01dc03 From Sebastien Tandel:
Create two new files (ws_strsplit.[ch]) that use GTK2 code to override
the buggy g_strsplit() function when compiling for GTK1.  Include this
work-around function (ws_strsplit) in libwireshark.def.  Add notes on usage
to README.developer.  Include epan/ws_strsplit.h in all files that use
g_strsplit().


svn path=/trunk/; revision=20804
2007-02-13 20:57:22 +00:00
Anders Broman
79a551e513 Display 2 octet length field correctly.
svn path=/trunk/; revision=20801
2007-02-12 22:04:58 +00:00
Anders Broman
ef318fcf0a Return correct length.
svn path=/trunk/; revision=20800
2007-02-12 21:48:41 +00:00
Ronnie Sahlberg
10cace66eb add dissection of SMC POSITION TO ELEMENT cdb
svn path=/trunk/; revision=20799
2007-02-12 20:26:52 +00:00
Luis Ontanon
b26c1c4ca2 Add a description of UAT fields, and have it as a tooltip in the New/Edit Dialog.
svn path=/trunk/; revision=20797
2007-02-12 19:57:41 +00:00
Ronnie Sahlberg
327d0a646c add dissection of SMC OPEN/CLOSE IMPORT/EXPORT ELEMENT cdb
svn path=/trunk/; revision=20794
2007-02-12 10:30:10 +00:00
Anders Broman
c1fcb99d13 Fix Bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1365 Authentication Quintuplet decoding fails.
svn path=/trunk/; revision=20793
2007-02-12 08:13:56 +00:00
Stephen Fisher
280ab16dfa Remove unused variable
svn path=/trunk/; revision=20786
2007-02-11 06:44:18 +00:00
Stephen Fisher
0c72000b0d From Joe McEachern:
Attached is a wireshark patch that adds support for decoding DHCP option 125
and the DHCP option 125 suboptions defined by the DSL Forum's TR-111
specification.


svn path=/trunk/; revision=20783
2007-02-11 03:36:04 +00:00
Ronnie Sahlberg
e8fccdb0b6 update the SMC MOVEMEDIUM cdb dissector
svn path=/trunk/; revision=20782
2007-02-11 01:59:53 +00:00
Ronnie Sahlberg
8acfc173c4 add dissection of the two SMC cdbs
INITIALIZE ELEMENT STATUS
INITIALIZE ELEMENT STATUS WITH RANGE


svn path=/trunk/; revision=20781
2007-02-11 01:50:16 +00:00
Ronnie Sahlberg
e2ddfcecfb add dissection of SMC EXCHANGE MEDIUM cdb
svn path=/trunk/; revision=20780
2007-02-11 01:32:53 +00:00
Ronnie Sahlberg
f6f95ea6a0 remove the revision number from the spc symbols
change all spc2 and spc3 to spc



svn path=/trunk/; revision=20779
2007-02-11 00:45:15 +00:00
Ronnie Sahlberg
9535fb5e42 dont encode a specific revision of the standard in the symbol names
change all symbols from smc2 to smc

svn path=/trunk/; revision=20778
2007-02-11 00:20:37 +00:00
Ronnie Sahlberg
ab7f2457a1 add the name for two missing SMC cdbs
svn path=/trunk/; revision=20777
2007-02-11 00:09:46 +00:00
Ronnie Sahlberg
f87d187669 add dissection of SSC SETCAPACITY cdb
the SSC dissector should be in fairly good shape now   modulo some missing
dissectors for a few data in/out buffers that someone that needs them can easily add


svn path=/trunk/; revision=20776
2007-02-10 22:01:27 +00:00
Ronnie Sahlberg
e7ebd50244 update the REWIND cdb dissector
svn path=/trunk/; revision=20775
2007-02-10 21:53:09 +00:00
Ronnie Sahlberg
7fa46e0aaf add dissection of REPORTDENSITYSUPPORT cdb
svn path=/trunk/; revision=20774
2007-02-10 21:48:12 +00:00
Ronnie Sahlberg
991ec50ba5 add dissection of the RECOVER BUFFERED DATA cdb
svn path=/trunk/; revision=20773
2007-02-10 21:39:40 +00:00
Ronnie Sahlberg
5bb268fa7c add dissection of VERIFY6 cdb
dissect SPACE6/16 code field using a value_string


svn path=/trunk/; revision=20772
2007-02-10 21:26:38 +00:00
Ronnie Sahlberg
8d3413ef55 add dissection of the SSC READREVERSE6 cdb
svn path=/trunk/; revision=20771
2007-02-10 20:55:37 +00:00
Ronnie Sahlberg
62e27d2ce3 change all SSC2 into SSC to indicate this is an SSC dissector and not specific to SSC v2
svn path=/trunk/; revision=20770
2007-02-10 20:38:59 +00:00
Ronnie Sahlberg
c6a7dc376a add dissection of the WRITE16 and the WRITEFILEMARKS16 cdbs
svn path=/trunk/; revision=20769
2007-02-10 20:31:01 +00:00
Ronnie Sahlberg
38fef4967b add dissection of SSC VERIFY16 cdb
svn path=/trunk/; revision=20768
2007-02-10 20:23:38 +00:00
Ronnie Sahlberg
2661699e01 add dissection of SSC READREVERSE16 cdb
svn path=/trunk/; revision=20767
2007-02-10 20:13:03 +00:00
Ronnie Sahlberg
5f7321abae add dissewction of the SSC READ16 cdb
svn path=/trunk/; revision=20766
2007-02-10 20:06:01 +00:00
Ronnie Sahlberg
462a5a9358 prettify READ6 and dissect the flags bits properly instead of using a proto_tree_add_text()
svn path=/trunk/; revision=20765
2007-02-10 19:56:41 +00:00
Ulf Lamping
5fef4e745b add STATUS_STACK_OVERFLOW to the possible Win32 exception codes - unfortunately, this exception seems to corrupt the stack at least in a way that the TRY / CATCH pair later causes an access violation ...
svn path=/trunk/; revision=20764
2007-02-10 10:28:59 +00:00
Michael Tüxen
fc753d3f70 Provide a correct argument to g_hash_table_foreach_remove.
svn path=/trunk/; revision=20761
2007-02-09 23:29:57 +00:00
Michael Tüxen
63ff1f4bc1 Fix whitespaces.
svn path=/trunk/; revision=20760
2007-02-09 23:14:15 +00:00
Ronnie Sahlberg
f4fcbc9e14 use se_alloc() instead of g_malloc() to allocate storage for the key to the hash table.
this allows us to use g_hash_table_new() instead of g_hash_table_new_full() and thus make it compileable under gtk1.2


this should probably be completely converted into se_tree's and se_alloc to completely remove the hashtable altogether



svn path=/trunk/; revision=20758
2007-02-09 21:03:41 +00:00
Michael Tüxen
f20299ba4b Add support for SCTP reassembly from Robin Seggelmann.
You must enable this feature via Edit/Preferences/Protocols/SCTP

svn path=/trunk/; revision=20756
2007-02-09 16:38:57 +00:00
Luis Ontanon
7c57c05ed5 * Add a Submenu (/Views/User Tables) where UATs can be accessed.
* Remove macros_dlg, the DFMacros UAT goes in the menu with all the rest
* in packet-user_encap.c WTAP_ENCAP=XXX has become useless information for the user leave just the DLT#



svn path=/trunk/; revision=20753
2007-02-09 03:11:14 +00:00
Luis Ontanon
7432291121 From: Kriang Lerdsuwanakij
In the attached patch, the K12 wiretap now saves the content of record
after captured packet data. The K12 dissector then could extract them and provide
useful information to properly dissect FP frames (user plane of UTRAN Iub
interface).



svn path=/trunk/; revision=20749
2007-02-08 17:35:03 +00:00
Graeme Lunt
53f97b16aa This patch adds some expert info in DMP when:
- Checksum failure
- Decoding of SIC failure
- Negative ACK response
- Unsupported DMP version
- Error uncompressing content

http://www.wireshark.org/lists/wireshark-dev/200702/msg00358.html


svn path=/trunk/; revision=20748
2007-02-08 17:17:36 +00:00
Graeme Lunt
835fd8749e This patch adds some expert info in P_Mul when:
- Checksum failure
- Missing sequence numbers

http://www.wireshark.org/lists/wireshark-dev/200702/msg00357.html


svn path=/trunk/; revision=20747
2007-02-08 17:15:45 +00:00
Graeme Lunt
4a6b87d35e This patch adds some expert info in CDT when:
- Unable to get compressed content
- Unable to uncompress content

http://www.wireshark.org/lists/wireshark-dev/200702/msg00356.html


svn path=/trunk/; revision=20746
2007-02-08 17:12:38 +00:00
Graeme Lunt
06e7801472 This patch adds support for decoding BER-encoded files as "X.411 Message".
http://www.wireshark.org/lists/wireshark-dev/200702/msg00355.html


svn path=/trunk/; revision=20745
2007-02-08 17:09:15 +00:00
Guy Harris
49808356a3 The length of the UDP packet, according to IP, is the reported length,
not the data length (the packet might've been cut short by a snapshot
length).

Fetch the reported length with an accessor.

svn path=/trunk/; revision=20743
2007-02-08 10:26:15 +00:00
Luis Ontanon
4e55e354bb Have the windows buildot compiling again.
svn path=/trunk/; revision=20742
2007-02-08 10:15:04 +00:00
Luis Ontanon
9422dfd084 UAT: filed definitions for proto (a dissector hanlde obtained by name)
UATify user-DLTs


svn path=/trunk/; revision=20740
2007-02-07 20:45:14 +00:00
Luis Ontanon
b08d8470e7 Oddly enough MSVC cannot compile this one.
svn path=/trunk/; revision=20738
2007-02-07 18:51:44 +00:00
Luis Ontanon
2006fac500 * Add a category param to the uat.
* UATify SNMP Users


svn path=/trunk/; revision=20736
2007-02-07 14:54:35 +00:00
Luis Ontanon
92fd73681d From: Gisle Vanem
The file epan/dissectors/packet-k12.c uses the function
strcasestr() which is not available on e.g. Windows. So I cooked
up a patch to epan/strutil.c to add epan_strcasestr() (is there a more
suited place for such a function?)





svn path=/trunk/; revision=20734
2007-02-07 13:45:28 +00:00
Jeff Morriss
0a9304dc6f Fix for bug 1350: Add return value for
dissect_ansi_map_sms_originationrestrictions()

Also close a couple of comments, remove one /* embedded in a comment,
remove a couple unused variables (still lots of unused params in there),
and fix indentation of some proto_item and proto_tree variable declarations.

svn path=/trunk/; revision=20730
2007-02-07 02:41:10 +00:00
Ronnie Sahlberg
8f3630cfb7 fixup LOCATE10 and LOCATE16
replace a few proto_tree_add_text() with proper dissection of the partition byte


svn path=/trunk/; revision=20729
2007-02-06 21:19:17 +00:00
Anders Broman
951cb6ee63 Fix a copy error.
svn path=/trunk/; revision=20728
2007-02-06 07:59:24 +00:00
Gerald Combs
41c66690fc From Clay Jones:
This patch adds decodes for 802.11n information elements.  Since 802.11n
isn't a formal standard yet they are not using the final packet
structures or ie type numbers.  But there are already 802.11n pre
release devices out there and these decodes do seem to correctly decode
the IEs that they use.

svn path=/trunk/; revision=20725
2007-02-06 01:59:50 +00:00
Ulf Lamping
0f7e40945e dissector changes:
- new: ICBALogicalDevice2::PBAddressInfo
- enhanced: GROUPERRORDEF

simplify ett registration
add a callback for SAFEARRAY data dissection

svn path=/trunk/; revision=20723
2007-02-06 01:33:39 +00:00
Jaap Keuter
352f0eeb68 From Andrej Mikus:
Wireshark complains about bogus udp length when processing last fragment of UDP data.
It compares length field from UDP header with payload size of last fragment.
Attached is my attempt to fix this by referring to tvp->length instead of pinfo->iplen - pinfo->iphdrlen.

Also set some items attribute to generated.

svn path=/trunk/; revision=20722
2007-02-05 21:42:41 +00:00
Ronnie Sahlberg
a99fb4ebb7 add the remaining TAPE ALERT log flags from ssc3r01c
svn path=/trunk/; revision=20719
2007-02-05 11:31:21 +00:00
Ronnie Sahlberg
059f550b16 add some infrastructure to enable us to dissect the content of LOG SENSE pages and parameters
dissect the READ WARNING flag in the TAPE-ALERT log page as an example


svn path=/trunk/; revision=20718
2007-02-05 09:39:36 +00:00
Luis Ontanon
2b22bcb1a3 * Add a help facility for UATs
* export help_topic_html()


svn path=/trunk/; revision=20717
2007-02-05 05:06:21 +00:00
Stephen Fisher
6c56afbed4 From Sebastien Tandel:
Execute permission should be changed [removed] on files 
packet-fmp.[c,h] and packet-fmp_notify.[c,h].


svn path=/trunk/; revision=20713
2007-02-04 19:16:24 +00:00
Graeme Lunt
74fa87ddb2 Small fix for incorrect column use when dissecting a BER file.
svn path=/trunk/; revision=20709
2007-02-04 12:00:25 +00:00
Luis Ontanon
96f517647a UATify k12 configuration
svn path=/trunk/; revision=20707
2007-02-04 02:30:59 +00:00
Ronnie Sahlberg
c1ccab43aa update the LOG SELECT dissector slightly and harmonize the hf fields so both LOG SELECT and LOG SENSE use the same variables
svn path=/trunk/; revision=20703
2007-02-03 22:03:39 +00:00
Jaap Keuter
b536022566 From J. Bruce Fields:
Fix an obvious error in the nfs4 stateid parsing.  The stateid is used in a number of common operations (such as open and setattr), so this caused a lot of misparsing.

svn path=/trunk/; revision=20700
2007-02-03 20:31:40 +00:00
Ronnie Sahlberg
b06f81f4b4 updates to the LOG SELECT CDB decoding
svn path=/trunk/; revision=20696
2007-02-03 16:21:21 +00:00
Graham Bloice
9cc5985cec Corrected handling of udp messages, don't call tcp_dissect_pdus for udp fragments
svn path=/trunk/; revision=20683
2007-02-02 10:21:43 +00:00
Ronnie Sahlberg
78042d4e77 replace a rotating buffer for the udp header structure with ep allocated memory
svn path=/trunk/; revision=20682
2007-02-02 08:47:43 +00:00
Ronnie Sahlberg
5f521f725b Ian Schorr <ian.schorr@gmail.com>
Wed, Jan 31, 2007 at 7:24 PM 
To: wireshark-dev@wireshark.org 


Hello,

Please consider for checkin the following new dissectors, for the FMP protocol.

FMP (File Mapping Protocol) is the network protocol basis for EMC's HighRoad (MPFS) technology.  Highroad is used to allow multiple clients to share access to NAS-shared files while allowing clients to directly access data volumes (via, for example, Fibre Channel or iSCSI).  EMC currently uses this technology in our Celerra NAS servers, and we're currently in the process of open sourcing portions of the technology. 

FMP actually consists of two ONC/RPC-based protocols - the core FMP protocol, and FMP/Notify.  The latter is used as an asynchronous callback to inform clients of status changes, such as lock revocation.

We'd like to offer these dissectors to Wireshark users for help in debugging or otherwise troubleshooting MPFS-related problems.  There are still a few minor changes that need to be made ( i.e. a handful of fields that aren't decoded) but the dissector is overall fairly complete and very usable.

Let me know if there are questions or feedback, or otherwise if other info is needed (like sample captures, which I don't want to send out to the mailing list). 

Thanks,
Ian Schorr
EMC Corporation
 


svn path=/trunk/; revision=20679
2007-02-01 20:56:36 +00:00
Anders Broman
f2b23aaffb Don't call subdissector for dynamic PT based on PT number if conversation info exists.
svn path=/trunk/; revision=20678
2007-02-01 20:49:34 +00:00
Ronnie Sahlberg
9a0b5c4d4a use the correct offset to access the service action in PERSISTENT RESERVE IN
svn path=/trunk/; revision=20672
2007-02-01 20:10:51 +00:00
Ronnie Sahlberg
a8699793aa logoncontrol2 response is a Win32 error code not an nt status code
svn path=/trunk/; revision=20666
2007-02-01 10:10:15 +00:00
Jeff Morriss
088ef0165a From Abhik Sarkar: support for decoding SS7 MSUs embedded in a syslog message
(as generated by the Cisco ITP packet logging facility).


svn path=/trunk/; revision=20665
2007-02-01 09:55:52 +00:00
Anders Broman
5541864c73 Extend the events valuestring with Bearer Modification Support Event.
svn path=/trunk/; revision=20657
2007-01-31 22:59:41 +00:00
Martin Mathieson
899c936d3f Add some missing RFC references to header long text.
svn path=/trunk/; revision=20652
2007-01-31 17:42:45 +00:00
Graham Bloice
773a04c9e4 Major upgrades to dissector: Added defragmentation of tcp pdus, fixed defragmention of application layer fragments, many more object types decoded thanks to Chris Bontje
svn path=/trunk/; revision=20651
2007-01-31 13:58:55 +00:00
Martin Mathieson
a9c08b914e Fix bug 1332 properly.
svn path=/trunk/; revision=20650
2007-01-31 10:57:54 +00:00
Luis Ontanon
5ea201cacf Merge Anders' and my own fixes to some bugs
- most paramaters have data set to NULL, have them added to the tree
- avoid the context tracing mecanism bailing out if a ContextList appears in the packet.
- in q9150 do not attempt to dissect sdp unless we believe it is sdp
    (BTW we need heuristics for sdp and other potential payloads of this parameter..)


svn path=/trunk/; revision=20649
2007-01-31 09:30:08 +00:00
Anders Broman
c9ea62712c Fix bug 1328 and related bugs found when examining the trace.
svn path=/trunk/; revision=20634
2007-01-30 22:52:09 +00:00
Stephen Fisher
750e036e4c Add descriptions to radiotap fields. Fix some formatting. Add an extra
linebreak between hf field definitions for readability.


svn path=/trunk/; revision=20633
2007-01-30 20:57:51 +00:00
Guy Harris
9633ac8fee From Paolo Abeni: update to support the new DLT_USB_LINUX format header.
Modified to support the header as a pseudo_header rather than as part of
the packet data.

Fixed some calls that fetch data from the USB packet to fetch it in
little-endian byte order.

Got rid of redundant code to get conversation-specific data (the
get_usb_conv_info() call already does that).

For control packets, only parse the setup information if setup_flag is
0.

Don't interpret a control packet as a standard request unless the setup
type is "Standard".

svn path=/trunk/; revision=20632
2007-01-30 20:07:55 +00:00
Stephen Fisher
7317125c33 From Patrick vd Lageweg:
The PERSISTENT REVERVE OUT dissectors uses the table of the PERSISTENT REVERVE
IN command to decode the Service Action field which is obviously not correct.
This patch fixes the problem.


svn path=/trunk/; revision=20631
2007-01-30 19:43:29 +00:00
Martin Mathieson
4f6e3c9930 Size passed to IP address fields is now fixed (reported AVP size includes 2 bytes of padding), causing assertion reported in bug 1332.
svn path=/trunk/; revision=20623
2007-01-30 13:39:58 +00:00
Anders Broman
43e6ba8b9f Fix bug 1328 (Still Malformed packet) update some of the other packages.
svn path=/trunk/; revision=20621
2007-01-30 06:16:39 +00:00
Gerald Combs
063621f11b Fix potential buffer overruns in address_to_str_buf() found by Andrej
Mikus.  Add a buf_len parameter to ip_to_str_buf(), and make sure it's 
enforced.  Copy the release notes over from the 0.99.5 trunk and add a
note about the ISUP dissector (which is affected by the overrun).

svn path=/trunk/; revision=20607
2007-01-29 20:25:26 +00:00
Jaap Keuter
54f4d487f4 From Francesco Fondelli:
Gerrit Renker fixed a bug in DCCP dissector about long timestamps. (bad offsets)
He wrote:
> attached is a patch which updates the offsets of the timestamps.
> I have verified this against [RFC 4342, sec. 13] and it seems correct.

Also fixed file properties

svn path=/trunk/; revision=20606
2007-01-29 18:06:45 +00:00
Graeme Lunt
c4b562e988 Support for SMIMECapabilities and KeyPreference attributes.
ContentInfo syntax for .p7s, .p7c and .p7m files.


svn path=/trunk/; revision=20585
2007-01-28 10:20:51 +00:00
Graeme Lunt
7edc7aea68 Definition of a per-recipient extension to prevent failure of dissection.
(Don't know what the extension actually is.)


svn path=/trunk/; revision=20584
2007-01-28 10:15:46 +00:00
Graeme Lunt
428435dcd8 Fix for per-domain-bilateral-information (bilateral-information field wasn't handled).
svn path=/trunk/; revision=20583
2007-01-28 10:12:51 +00:00
Luis Ontanon
c6009ed5ab From Kriang Lerdsuwanakij:
1 Add ALCAP and NBAP as subdissectors of SSCOP. Previously it only
 knows about SSCF-NNI and data. (Changes in packet-sscop.c,
 packet-sscop.h)

2 Add capability for lower layer to force SSCOP to choose a particular
 dissector. It is passed as "subdissector" field of SSCOP protocol
 data. This is required because different payload protocol is
 distinguished by different VPI/VCI. There is no protocol field inside
 SSCOP frame. (Changes in packet-sscop.c, packet-sscop.h)

3 Make K12xx configuration file supporting the following syntax:
   C:\k1297\stacks\umts_iub\umts_iub_aal2l3.stk sscop:alcap
 This says dissect with SSCOP first and then pass to ALCAP.
 The change is made general, so it supports arbitrary number of
 protocol, like "proto1:proto2:proto3". Using ":" as separator
 allow us to expand the syntax further to support parameters like
 "proto1 param1:proto2 param2 param3". (Changes in packet-k12.c)

With above 3 changes together, dissecting Iub traces are correct for
control and signaling planes. I am still investigating user plane
frames because writing UMTS RLC/MAC protocol dissector is required.
The patch and sample .rf file (same as my previous patch) is in the
attachment.

plus:
Add Kriang to the AUTHORS list (and once at it upate my own record)


svn path=/trunk/; revision=20580
2007-01-28 01:41:58 +00:00
Gerald Combs
f9e2736d7c Add support for "wildcard" WPA keys in the form "wpa:passphrase" (note
the lack of SSID).  Wildcarding combines the passphrase with the last
seen SSID and attempts decryption.  The last-seen stack is only one
element tall, which means it may get clobbered on busy and diverse
networks.  We can expand it if needed.

Make internal functions static in airpdcap.c.  Rearrange the
AIRPDCAP_KEY_ITEM struct so that the passphrase and SSID don't get
clobbered when we set our PSK.

svn path=/trunk/; revision=20572
2007-01-26 21:54:59 +00:00
Jaap Keuter
f8be165898 From Patrick vd Lageweg:
This patch fixes three problems with the SCSI persistent reserve in command:
- The Additional length starts at offset 4 and not 0
- The len field contains the length used by the keys and doesn't include the header length. 
  So don't substract the header length from the length.
- The key list is traversed from the beginning to end end and not the other way around.

svn path=/trunk/; revision=20568
2007-01-26 17:06:17 +00:00
Martin Mathieson
b731274da6 Use previously unused hf_cops_obj_c_type (cops.c_type) field
svn path=/trunk/; revision=20566
2007-01-26 12:14:06 +00:00
Tomas Kukosa
9c332d6799 TLS 1.0/1.1 just ignores unknown records - RFC 2246 chapter 6. The TLS Record Protocol
(some implementations use it like "keepalive")

svn path=/trunk/; revision=20565
2007-01-26 12:08:45 +00:00
Martin Mathieson
ebb948cd3c Make COPS dissector findable by name
svn path=/trunk/; revision=20564
2007-01-26 11:31:51 +00:00
Jörg Mayer
7280702537 If there is just a tftp response without a prior request,
dissection would fail with dissector assert.

svn path=/trunk/; revision=20562
2007-01-26 08:09:20 +00:00
Bill Meier
09f508b57b A few more ethereal --> wireshark
svn path=/trunk/; revision=20559
2007-01-26 01:34:29 +00:00
Gerald Combs
c5a181d425 Remove dead code. Fixes Coverity CID 228. Squelch various compiler warnings.
svn path=/trunk/; revision=20553
2007-01-25 07:06:47 +00:00
Gerald Combs
e7bda1efe4 Attempt to squelch Coverity CID 222.
svn path=/trunk/; revision=20551
2007-01-25 06:45:09 +00:00
Gerald Combs
2664012ca6 Fix a key preference crash bug. Improve WPA passphrase and SSID length
handling.  Free a byte array.  Squelch a compiler warning.  Fix a URI
string parsing bug.

svn path=/trunk/; revision=20549
2007-01-25 01:24:14 +00:00
Gerald Combs
cd60c73163 Fix Coverity CID 230: Make sure we handle a negative tvb_length_remaining()
value correctly.  Fix up indentation.

svn path=/trunk/; revision=20546
2007-01-24 19:22:13 +00:00
Luis Ontanon
4011d754c6 dissect SDP encapsulated inside an Q1950 annex A.7 paramenter of H248
svn path=/trunk/; revision=20545
2007-01-24 17:19:44 +00:00
Stephen Fisher
3061189d6f Fix for bug #1308: tacacs decoding fails. Introduce TCP desegmentation for
data after the fixed length header as some implementations may not send
the header and payload in the same segment.


svn path=/trunk/; revision=20544
2007-01-24 04:57:32 +00:00
Ronnie Sahlberg
6a45dab11b add the obsolete RESERVE10/RELEASE10 to the sbc dissector
svn path=/trunk/; revision=20537
2007-01-23 20:59:50 +00:00
Ronnie Sahlberg
ec38ca7190 some iscsi/scsi initiators still use the ancient sbc1 commandset so add RESERVE6/RELEASE6 to the SBC dissector
svn path=/trunk/; revision=20536
2007-01-23 20:49:57 +00:00
Ronnie Sahlberg
39b2dd897d if DataSegmentLength is non zero for iscsi async messages the data segment contains
scsi sense information potentially followed by iscsi event data.

this is used by a target to tell an initiator (among other things) that the lun configuration has changed and now is a good time to rescan the target for lun changes.


svn path=/trunk/; revision=20531
2007-01-23 09:38:41 +00:00
Stephen Fisher
62c148c1d5 From Tobias Witek:
I found a rare situation in which the BSSAP dissector seems to wrongly
assume a packet.

When a RANAP DirectTransfer message contains the GSM Supplementary
Service 'Call Confirmed' this seems to yield a message that the BSSAP
dissector recognizes as a BSSMAP BLOCK message (and from the perspective
of BSSAP, this is perfectly correct).

My patch includes code that checks this very special case.


svn path=/trunk/; revision=20520
2007-01-21 23:36:53 +00:00
Stephen Fisher
597faab3c6 Change frame dissector to show "frame" instead of "packet" for all fields
for consistency.  The frame.pkt_len filter is now deprecated, but still
supported as a hidden field for an easy transition.  The new field name is
frame.len.


svn path=/trunk/; revision=20519
2007-01-21 23:02:07 +00:00
Anders Broman
1e61c642e5 Update some value strings.
svn path=/trunk/; revision=20511
2007-01-20 21:45:38 +00:00
Jaap Keuter
fce186d76a From Graeme Hewson:
The attached patch adds Homeplug to the table of ethernet types.

svn path=/trunk/; revision=20509
2007-01-20 16:46:42 +00:00
Jaap Keuter
15648712d9 From Paul Moore:
This patch adds support for the IPv4 Commercial IP Security Option (CIPSO) as
defined in the IETF draft, draft-ietf-cipso-ipsecurity-01.txt.  While this
draft has long since expired, it has become a de-facto standard for labeled
networking with support from several commercial Multi-Level Security (MLS)
operating systems such as HP-UX CMW and Trusted Solaris; in addition, Linux
Kernels 2.6.19 and later provide support for CIPSO in conjunction with
SELinux.

Copies of the expired CIPSO draft can be found at the NetLabel project page:
 * http://netlabel.sf.net

svn path=/trunk/; revision=20506
2007-01-19 23:56:42 +00:00
Jeff Morriss
1a9420702e Fix the SCCP dissector so it doesn't show non-segmented DT1 messages as
having been reassembled.

Fix the comments in reassembly.c and reassembly.h regarding what the reassembly
routines actually return in the 802.11 and no-sequence-number cases when they
are given the first and last packet (that is, a non-segmented packet): in
particular the routines return a pointer to a list containing just the one
fragment.

svn path=/trunk/; revision=20505
2007-01-19 23:27:24 +00:00
Jeff Morriss
cb8d14bd5e Reindent pretty heavily. It's still not 100% consistent but at least all the
code in each function is consistent (previously there were some sections of
code indented, oh, about 10 indentations too far).  At the same time, remove
trailing white space and change spaces to tabs.

Remove one duplicated call to sccp_assoc() and s/isup_apm/sccp/g in the hf[]
array (apparently when the XUDT reassembly was put in it was copied from ISUP
but the filter names weren't changed).


svn path=/trunk/; revision=20502
2007-01-19 17:25:13 +00:00
Jeff Morriss
4c178e287e Add a preference (defaulted to off) to have the MTP3 dissector show the priority (which is a national option in ITU) of MSUs.
svn path=/trunk/; revision=20490
2007-01-18 22:06:56 +00:00
Guy Harris
cba9c4efa8 guint32 requires %[doxu], not %l[doxu]. (We don't support ILP16
platforms, just ILP32, LP64, and LLP64.)

svn path=/trunk/; revision=20484
2007-01-18 18:41:46 +00:00
Martin Mathieson
c301ac5ce6 Filled in missing hf entries.
svn path=/trunk/; revision=20479
2007-01-18 14:41:59 +00:00
Martin Mathieson
997e5415f9 Add separate union entries to fvalue.value for signed and unsigned
32-bit numbers.  Separate signed and unsigned accessors have been
added and used where appropriate.

Definitely not for 0.99.5.

svn path=/trunk/; revision=20472
2007-01-18 11:02:26 +00:00
Jaap Keuter
b99ce1a967 From Patrick vd Lageweg:
The "NUMBER OF BLOCKS" field in the SCSI MODE SENSE return data is 24 bits and not 32 bits. This patch fixes that.

svn path=/trunk/; revision=20462
2007-01-17 17:11:09 +00:00
Jeff Morriss
0656a77020 Oops, set properties on the new file
svn path=/trunk/; revision=20461
2007-01-17 16:41:40 +00:00
Jeff Morriss
7d5b55679e From Sebastien Tandel: Support for the dissection of the Intellon homeplug powerline protocol based on INT51X1 specification.
svn path=/trunk/; revision=20459
2007-01-17 16:34:11 +00:00
Anders Broman
4e448c3cf9 Dissekt ControlChannelData.
svn path=/trunk/; revision=20458
2007-01-16 22:51:08 +00:00
Jaap Keuter
dd98f8bd4a From Gisle Vanem:
* <epan/crypt/crypt-md5.h> must come after <glib.h> because of
  'guint8' etc.
* Include <wiretap/file_util.h> because of eth_fopen().

svn path=/trunk/; revision=20456
2007-01-16 19:27:25 +00:00
Jaap Keuter
3e2faba8b4 From Steve Karg:
I added some text for enumerations that were added with addenda recently approved for the BACnet standard. 

svn path=/trunk/; revision=20453
2007-01-16 16:53:01 +00:00
Tomas Kukosa
9a36b34d03 fix registration H.225 over TLS
svn path=/trunk/; revision=20449
2007-01-16 07:53:46 +00:00
Anders Broman
2cea2d7034 Dissect SMS-OriginationRestrictions.
svn path=/trunk/; revision=20444
2007-01-15 21:07:36 +00:00
Anders Broman
165354a3f5 Handle the case where the same TransactionID is used for two different
destinations.

svn path=/trunk/; revision=20440
2007-01-15 14:01:04 +00:00
Anders Broman
de009c280a Dissect sms-BearerData also in responce messages if service code seen in Invoke.
Pretify a bunch of DigitsType parameters.

svn path=/trunk/; revision=20439
2007-01-15 10:19:50 +00:00
Ulf Lamping
e3330fd922 instead of simply doing an assert when running out of memory in emem, throw a new OutOfMemoryError Exception, so file.c can show at least a better explanation to the user before Wireshark terminates
XXX - to prevent a busy wait, I need a portable way to wait for a short time period, like Sleep() for Windows

svn path=/trunk/; revision=20437
2007-01-15 05:16:13 +00:00
Anders Broman
d1db2cb464 If a OCTET STRING has zero length a zero length tvb will be returned - handle that case
and add pretifications by Graeme Lunt.

svn path=/trunk/; revision=20430
2007-01-14 22:20:02 +00:00
Anders Broman
c16c8a9bee From Graeme Lunt:
The problem was that when dissecting the set, if a sub-dissector didn't consume any bytes it was assumed that the correct field hadn't been matched.
This fix matches the field if the sub-dissector consumes no bytes and we know that the length of the field is zero. This is only allowed on the first pass when we are not matching ANYs.
I think this is a fairly safe fix - I've tried it with some other ASN.1

I've also changed dissect_ber_octet_string() to show the zero length fields in the dissection. This shows the fields as "<MISSING>" which is not quite the right explanation as the field is definitely present. Something like "<EMPTY>" or "<ZERO LENGTH>" may be better - but I'm not sure of the reasoning behind "<MISSING>".

svn path=/trunk/; revision=20429
2007-01-14 20:54:39 +00:00
Luis Ontanon
631ae12e4a taking a look at it the name_str var is unnecessary
svn path=/trunk/; revision=20428
2007-01-14 20:19:00 +00:00
Luis Ontanon
c2ea79024a As pointed out by Sebastien Tandel a buffer is allocated unconditionally when it might not be necessary.
svn path=/trunk/; revision=20427
2007-01-14 20:17:13 +00:00
Anders Broman
2aa94bbcd9 Dissect cdma2000HandoffInvokeIOSData and response data
(Missing .cnf file in previous checkin) add BCD decoded items to Digits type item.

svn path=/trunk/; revision=20426
2007-01-14 15:29:29 +00:00
Anders Broman
ff5d1745e3 Handle the case ehere TCAP identifier isn't present.
svn path=/trunk/; revision=20421
2007-01-13 23:02:06 +00:00
Anders Broman
623ca476f1 - Correct Tag numbering and marking of OPTIONAL.
- Add some variants of Digits dissection.
 - Correct the DMH-RedirectionIndicator.
- Add reserved bits.

svn path=/trunk/; revision=20420
2007-01-13 19:18:46 +00:00
Anders Broman
2ddd0fdf0a Handle zero length invokes and some asn1 fixes.
svn path=/trunk/; revision=20418
2007-01-13 16:08:30 +00:00
Graeme Lunt
7d3a4e9264 New protocol dissector for PKCS#12 - Personal Information Exchange Syntax.
Generally found within a file (.p12 or .pfx) or as a directory attribute (userPKCS12 from iNetOrgPerson).

Wiki page and sample file to follow.


svn path=/trunk/; revision=20416
2007-01-13 15:26:13 +00:00
Graeme Lunt
2fd7d2c620 New "decode as ..." feature for BER-encoded files (WTAP_FILE_BER).
A BER-encoded file can be dissected as one of a number of registered syntaxes (registered using register_ber_syntax_dissector()). 
Syntaxes may also be associated with OIDs (or other strings) using register_ber_oid_syntax(). 

A default syntax with which to dissect a BER-encoded file is determined from its filename (extension). For example, ".cer" and ".crt" files will be dissected as "Certificate".


svn path=/trunk/; revision=20414
2007-01-13 12:59:27 +00:00
Anders Broman
69238439c4 Dissect cdma2000HandoffInvokeIOSData.
svn path=/trunk/; revision=20409
2007-01-12 17:50:20 +00:00
Anders Broman
844abae29a Dissect CDMAServiceOption.
svn path=/trunk/; revision=20407
2007-01-12 12:05:56 +00:00
Tomas Kukosa
b926302330 ignore ssl_desegment_app_data preference till desegmentation is implemented well
svn path=/trunk/; revision=20406
2007-01-12 12:03:31 +00:00
Tomas Kukosa
51fc862945 prepare SSL dissector for similar desegmentation as is in the TCP as current one does not work well in many cases
svn path=/trunk/; revision=20405
2007-01-12 10:25:03 +00:00
Gerald Combs
f67fdf4865 Move sha1.[ch] to epan/crypt/crypt-sha1.[ch]. Remove duplicate code.
svn path=/trunk/; revision=20399
2007-01-12 00:33:32 +00:00
Anders Broman
dd5a89ec49 Add dissection of cdmaChannelData and only add Opcode to hastable once.
svn path=/trunk/; revision=20398
2007-01-11 22:26:15 +00:00
Luis Ontanon
efa6338231 warn the user if the decrypted data doesn't look like a ScopedPDU instead of dissecting it.
svn path=/trunk/; revision=20393
2007-01-11 17:39:16 +00:00
Tomas Kukosa
c5a0dfda69 make SIP TCP/TLS ports configurable via preferences
svn path=/trunk/; revision=20392
2007-01-11 10:10:03 +00:00
Gerald Combs
983f496f69 Add uri_str_to_bytes(), byte_array_dup(), and byte_array_equal()
functions to strutil.  Use GByteArrays to store SSIDs for decryption,
and let the user specify arbitrary byte strings using percent-encoded
strings.  We should probably add percent encoding for pass phrases as
well, so you can escape the ":" character.

Move the key struct key conversion utilities to airpdcap.c, and remove
duplicate code from packet-ieee80211.c.  Fix a lot of indentation.

svn path=/trunk/; revision=20388
2007-01-11 02:42:34 +00:00
Luis Ontanon
5223c8dfa6 - allow use of * as any-engine-id
- automatic localization of usertable entries with no engine-id
- remove last remains of debug code


svn path=/trunk/; revision=20387
2007-01-11 00:29:50 +00:00
Anders Broman
c9bbf1b510 Packet-ber:
Handle the following type of construct
CDMATargetMAHOInformation ::= SEQUENCE {
	targetCellID			[3] IMPLICIT TargetCellID,
	cdmaPilotStrength		[65] IMPLICIT CDMAPilotStrength,
	cdmaTargetOneWayDelay	[61] IMPLICIT CDMATargetOneWayDelay
	}

CDMATargetMAHOList ::= SEQUENCE OF [135] IMPLICIT CDMATargetMAHOInformation

ansi_map:
- Correct an Enummeration
- add Missing OPTIONAL to Tags
- Handle parameter if it's one or two octets long.

svn path=/trunk/; revision=20386
2007-01-10 22:59:40 +00:00
Ulf Lamping
36e0b70a68 append period values to the PROFINET PTCP status
svn path=/trunk/; revision=20384
2007-01-10 21:46:50 +00:00
Tomas Kukosa
a68f0224c3 move asn1.c/.h files into plugins/asn1 directory as just this plugin uses it now
svn path=/trunk/; revision=20372
2007-01-10 07:09:30 +00:00
Luis Ontanon
f3679ee8a2 sync changes with asn/snmp
svn path=/trunk/; revision=20367
2007-01-10 01:16:22 +00:00
Jaap Keuter
4873d7eac4 Implement COMPLEMENT TO ITU-T RECOMMENDATION E.164 (02/2005):
- Modify few country codes
- Add new international networks
Cleanup sourcecode

svn path=/trunk/; revision=20361
2007-01-09 23:03:09 +00:00
Gerald Combs
9d5858f635 Move cryptography code to epan/crypt.
svn path=/trunk/; revision=20359
2007-01-09 22:14:07 +00:00
Anders Broman
dfeba2c627 Add ansi_map to the makefiles
Add missing IMPLICIT and tag numbers, some whitespace changes.

svn path=/trunk/; revision=20358
2007-01-09 21:45:46 +00:00
Luis Ontanon
faa3da9af0 change the loading order of some headers to avoid a conflict with net-snmp
svn path=/trunk/; revision=20356
2007-01-09 20:22:48 +00:00
Luis Ontanon
f7a79f43e7 SNMPv3 USM decryption/authentication phase 1
svn path=/trunk/; revision=20353
2007-01-09 18:38:55 +00:00
Jörg Mayer
6f7089fe26 Commit my USB changes (change address handling)
svn path=/trunk/; revision=20346
2007-01-08 14:32:10 +00:00
Anders Broman
284c951386 Show return signal in info col. also if no data.
svn path=/trunk/; revision=20335
2007-01-07 15:38:29 +00:00
Anders Broman
c2b459f78f Check in the asn2wrs generated ANSI map dissector.
svn path=/trunk/; revision=20334
2007-01-06 20:51:03 +00:00
Anders Broman
fda137ce6a Fix tag > 0x1f
svn path=/trunk/; revision=20333
2007-01-06 20:21:30 +00:00
Jaap Keuter
0f1cdf8c1d Added functionality proposed in bug 1233.
Clean up of source code.

svn path=/trunk/; revision=20329
2007-01-05 13:42:08 +00:00
Stephen Fisher
a69bfb6029 Remove stderr output of an error condition per bug #998. The error is already
displayed in the packet tree.


svn path=/trunk/; revision=20320
2007-01-05 00:33:23 +00:00
Gerald Combs
9b70567cb1 Don't lower-case our SSID and passphrase, otherwise we'll create an
incorrect PSK hash.

svn path=/trunk/; revision=20318
2007-01-04 23:21:37 +00:00
Luis Ontanon
41bf0f37ea the widcards: Choose and All were inverted (again?)
svn path=/trunk/; revision=20314
2007-01-04 22:44:17 +00:00
Anders Broman
b556ad58bb Make the recent INAP change in the template file as well.
svn path=/trunk/; revision=20311
2007-01-04 20:15:22 +00:00
Martin Mathieson
55905b7bf3 Make Expires header value a numeric field
svn path=/trunk/; revision=20309
2007-01-04 17:56:17 +00:00
Tomas Kukosa
8e6556a3ee fix compilation without GnuTLS
svn path=/trunk/; revision=20305
2007-01-04 13:26:45 +00:00
Martin Mathieson
b9f69234ad Check in trivial changes before generating a big diff...
svn path=/trunk/; revision=20304
2007-01-04 13:25:25 +00:00
Tomas Kukosa
cf6f013568 - new ssl_set_master_secret() which can set master secret (and optionally other parameters) into SSL dissector from external source, e.g. private 'trace protocol' dissector
- call 'data' subdissector for decrypted data in real dissector is not found

svn path=/trunk/; revision=20300
2007-01-04 09:20:18 +00:00
Jaap Keuter
1fd19fdba3 Some cleanup of the source.
svn path=/trunk/; revision=20296
2007-01-03 20:17:17 +00:00
Anders Broman
3fd426949a From Peter Vestman:
The number of rfci's in rate control messages is read in the wrong place.
We have created a patch for this, in the patch we have also added CRC checks
for header and payload.

svn path=/trunk/; revision=20295
2007-01-03 19:25:28 +00:00
Gerald Combs
f5ff0c214a Fix a typo.
svn path=/trunk/; revision=20294
2007-01-03 18:10:13 +00:00
Gerald Combs
53689800e6 Move epan/crypt-md5.[ch] to epan/crypt. Remove
epan/crypt/airpdcap_md5.[ch].  Fix up whitespace.

svn path=/trunk/; revision=20277
2007-01-02 22:49:57 +00:00
Stephen Fisher
9face6ceb8 Add a good/bad tree to the FCS item.
svn path=/trunk/; revision=20273
2007-01-02 19:55:55 +00:00
Bill Meier
444602bf97 Oops: wireshark.com --> wireshark.org
Also: 1 additional Ethereal --> Wireshark

svn path=/trunk/; revision=20272
2007-01-02 17:19:25 +00:00
Martin Mathieson
d9da45e31e Dissect details of RAck header, and change RSeq to a numerical field.
svn path=/trunk/; revision=20271
2007-01-02 17:06:00 +00:00
Bill Meier
739eb43c3a More ethereal --> wireshark
svn path=/trunk/; revision=20270
2007-01-02 14:11:35 +00:00
Martin Mathieson
86056bff3c "an wireshark" -> "a wireshark".
Presumably "an ethereal" was search replaced...

svn path=/trunk/; revision=20266
2007-01-02 13:25:36 +00:00
Martin Mathieson
7e2db474c8 Fix for bug 1279 (Negative values for RTCP round trip delay
cannot be stored in guint32).
- Makes the threshold preference value an absolute value.
- There is now a separate expert info item for -ve roundtrips

N.B. There is still a problem with filtering -ve values on this
FT_INT32 field, i.e. rtcp.roundtrip-delay < 0 never matches with
frames that it should (even if rtcp.roundtrip-delay == -3 can
be used to match specific frames...).

svn path=/trunk/; revision=20264
2007-01-02 11:46:30 +00:00
Guy Harris
04ca66dfb1 Ehtereal[sic] -> Wireshark. :-)
Give a little more detail in the comment in the H.248 dissector about
"MEGACO" vs. "H.248".

svn path=/trunk/; revision=20262
2007-01-02 09:20:27 +00:00
Anders Broman
9375e27794 Use TransactionId to match ansi map responses to requests and fix
some bugs in the asn2wrs generated ansi map dissector.

svn path=/trunk/; revision=20257
2007-01-01 22:03:01 +00:00
Jaap Keuter
224a21ecfe From Mark C. Brown:
HP-UX 11.31 will add a new nettl trace subsystem, NS_LS_TELNET (ID=267).
NS_LS_TELNET is just raw telnet data.  There is no layer 2/3/4 headers, so
there's just the HP-UX nettl record header followed directly by the TCP payload
for a telnet connection.  Thus the need for a new wiretap encapsulation type...

svn path=/trunk/; revision=20253
2007-01-01 14:48:18 +00:00
Jaap Keuter
f824a895a4 From Paul Erkkila:
parse NAPTR records in dns dissector (rfc 3403)

svn path=/trunk/; revision=20250
2006-12-31 00:00:06 +00:00
Stephen Fisher
e376bf66e8 Fix for bug #1132:
Stop displaying the application data (in this case, HTML) in the tree and
and "Decrypted SSL data" tab twice since each already includes both of the
application data record layers combined.


svn path=/trunk/; revision=20247
2006-12-30 01:06:46 +00:00
Guy Harris
fa9aeff8db Give dissect_cmd_Get_Channel_Auth_Capabilities() a return type (it
returns nothing, so it should be void), and make it static like the
other functions.

Make the ipmi_cmd_array[] table static - and const, while we're at it.

svn path=/trunk/; revision=20235
2006-12-29 22:48:09 +00:00
Gerald Combs
bd282b4114 Move the contents of airpdcap to epan/crypt. Try to fix the current
distcheck failure.  Move the nmake build targets for airpdcap from 
epan/dissectors to epan.  This will probably break the Windows build.

svn path=/trunk/; revision=20231
2006-12-28 17:22:12 +00:00
Tomas Kukosa
60180815a6 debug improvements
svn path=/trunk/; revision=20230
2006-12-28 12:30:53 +00:00
Gerald Combs
2437fd2e77 Prepare to move the airpdcap code to epan/crypt (SVN won't let me actually
move the files until these changes are checked in).  Add an AC_DEFINE
for airpdcap (which will be removed once the changes have settled).
Update the airpdcap code to compile on non-Windows systems.  Fix up
comments and whitespace to conform more closely to the rest of the
code base.  Verified to compile under Windows and OS X.

svn path=/trunk/; revision=20227
2006-12-27 23:05:55 +00:00
Guy Harris
303082812e From Sebastien Tandel: fix places where a signed character was being
passed to ctype.h macros.

Make some routines in packet-exec.c not used outside that file static,
and fix a typo.

svn path=/trunk/; revision=20222
2006-12-26 22:56:35 +00:00
Jeff Morriss
37d4a40254 If p2p_dir isn't set (no message direction is configured) or no association is found, try to find a subdissector on both the called and calling SSNs instead of just trying the called SSN. Also clean up some indenting and fix the capitalization when showing what dissector the TCAP SSN is linked to.
svn path=/trunk/; revision=20220
2006-12-26 22:27:46 +00:00
Ulf Lamping
f2671283b5 use prefix to prevent redefinition warning from wingdi.h
svn path=/trunk/; revision=20216
2006-12-26 20:00:45 +00:00
Jaap Keuter
c7959ab0e1 From Sebastien Tandel:
Here is a patch for the management of the bad/good checksum for ISIS (like TCP/UDP/IP).
support added for:
- booleans hf_isis_lsp_checksum_good, hf_isis_lsp_checksum_bad in the tree,
- information in the info column if bad checksum,
- expert info for bad checksum,

svn path=/trunk/; revision=20214
2006-12-26 09:13:05 +00:00
Stephen Fisher
d5aa0e1844 From Sake Blok:
The attached patch changes the way the ssl-session-id is displayed.
Currently it is not shown, only the length is shown like this:
 
   Session ID Length: 32
   Session ID (32 bytes)
 
To me, it is not useful to repeat the length and omit the ID itself.
With this patch the ssl-session-id is shown like this:
 
   Session ID Length: 32
   Session ID: A4B2FB0EE6D8F58DEFF68E38B1E5B4C25F1869D4BC86A96E...


svn path=/trunk/; revision=20212
2006-12-25 04:01:22 +00:00
Guy Harris
3094d7e3f6 dissect_roofnet_link() returns no value and nothing expects it to;
declare it to return void, not int.

Get rid of an unused variable.

svn path=/trunk/; revision=20211
2006-12-24 20:40:19 +00:00
Stephen Fisher
3700141ae2 Report inaccurate PPPoE Session payload length when detected to aid in the
troubleshooting of malformed packets.


svn path=/trunk/; revision=20203
2006-12-22 22:15:38 +00:00
Jaap Keuter
79b23d4856 Fix for bug 1272.
Check length remaining before aligning.

svn path=/trunk/; revision=20198
2006-12-22 14:48:51 +00:00
Jaap Keuter
14cafb271f From Alfred Alinazar:
The patch is to dissect unknown information element when an Avaya PBX
use codeset = 6 to send display.

svn path=/trunk/; revision=20189
2006-12-21 22:24:33 +00:00
Jaap Keuter
888cf1130b From Taisuke SASAKI:
I found a misdecoding in dissect_sflow_extended_switch() in epan/dissector/packet-sflow.c and fixed it.

svn path=/trunk/; revision=20187
2006-12-21 22:13:30 +00:00
Martin Mathieson
09c7a1abc4 Add a generated field for how many data bytes are accepted by subdissector
svn path=/trunk/; revision=20184
2006-12-21 18:00:07 +00:00
Martin Mathieson
7a84ccbe0f TBCP changes:
- Fix 'ignored' flag that wasn't wide enough to take result
- Use FP_UINT_STRING in a couple of places

svn path=/trunk/; revision=20183
2006-12-21 17:05:42 +00:00
Stephen Fisher
69ddfdb12e From Motonori Shindo:
As per NetFlow V9 protocol, Template ID is guaranteed to be unique per
Observation Domain (identified by Source ID) and the Exporter
(identified by the source IP address of NetFlow PDU).

The former code was ignoring these information for simplicity, but
noticing such a necessity.


svn path=/trunk/; revision=20182
2006-12-21 06:41:11 +00:00
Ronnie Sahlberg
78ad94c00d Enhance tcp reassembly of the flavor "reassemble one more segment" work properly
for the quite unusual case when we need to do this multiple times in a row for the same PDU.

This fixes the issue reported by Xiaoguang Liu on the mailinglist
where wireshark did not manage to properly reassemble a big HTTP header spanning several (more than two) tcp segments.



svn path=/trunk/; revision=20179
2006-12-20 11:57:31 +00:00
Anders Broman
cf919a1adb Remove an unused variable.
svn path=/trunk/; revision=20173
2006-12-19 22:28:20 +00:00
Anders Broman
898f55b302 Correct a problem with media parameter dissection and add inforamtion about a number of packages.
svn path=/trunk/; revision=20166
2006-12-19 22:26:41 +00:00
Jaap Keuter
5ce80ed046 From Sebastien Tandel:
Here is a patch for the dissector of the new Roofnet protocol.

svn path=/trunk/; revision=20154
2006-12-19 22:16:54 +00:00
Anders Broman
039a3278a0 From Florent Drouin:
Update the Camel ASN1 definition to version 3GPP TS
29.078 7.3.0 Release 7.
Some definitions for element SIZE have been replaced to use the capSpecificBound variables, and some decoding problemes, like for Establish temporary connection have been solved.
I did notice that the CalledPartyBCDNumber (ISDN-AddressString (1..9) ) is not inline with the last definition (1..41), but I did not update it.

svn path=/trunk/; revision=20153
2006-12-19 22:07:08 +00:00
Anders Broman
ea86134eaf From Florent Drouin:
Introduce the support for "expert info" in the BER decoding module.
It is usefull if you have to analyze long capture files, containing few malformed messages.

With changes to make it compile with MSVC6.

svn path=/trunk/; revision=20152
2006-12-19 22:04:22 +00:00
Stephen Fisher
e4dc8bd0fb From Sebastien Tandel:
a little patch against revision 20088 in packet-isis-lsp.c for the
following :
- hf_isis_lsp_remaining_life declared but unused
- replacing a proto_tree_add_uint useless with proto_tree_add_item


svn path=/trunk/; revision=20148
2006-12-18 23:12:50 +00:00
Martin Mathieson
927e520b1a Show generated field when frame has 0 TBs for a channel
svn path=/trunk/; revision=20146
2006-12-18 17:58:52 +00:00
Stephen Fisher
5ed8492c42 Display icmp echo/echo reply sequence numbers in decimal in addition to hex,
so that it is easier to match it with the output of a ping program. 


svn path=/trunk/; revision=20142
2006-12-17 05:44:32 +00:00
Stephen Fisher
a058ef7325 Make IPv4 addresses in AIM TLV data human readable.
svn path=/trunk/; revision=20141
2006-12-17 05:37:18 +00:00
Jeff Morriss
12bf9032cf From Sebastien Tandel: if the TCP dissector is dissecting a fragment of a packet in an ICMP message, put the TCP sequence number in the tree.
svn path=/trunk/; revision=20140
2006-12-16 15:17:43 +00:00
Jeff Morriss
40ad0bce4d From Sebastien Tandel: don't allocate a hash table until a little bit later in the function so memory is not leaked by an early (error) return
svn path=/trunk/; revision=20138
2006-12-14 12:46:50 +00:00
Martin Mathieson
6005837364 Fix version check needed for EDCH 'Number of subframes' field
svn path=/trunk/; revision=20137
2006-12-14 11:50:54 +00:00
Ronnie Sahlberg
2aaabbba43 check for whether the blob starts with "NTLMSSP" before any other check if it is not BED/DER encoded and call tha appropriate subdissector if so.
this fixes some issues with some really ancient cifs implementations where the previous tests and statemanagement would cause it to fail othervise.



svn path=/trunk/; revision=20136
2006-12-14 10:11:40 +00:00
Jaap Keuter
577343f7c3 Some source code clean up.
svn path=/trunk/; revision=20135
2006-12-14 07:54:55 +00:00
Stephen Fisher
3785851d84 Add checksum verification to the CDP dissector and add an entry for this
in the main colorfilters file.


svn path=/trunk/; revision=20134
2006-12-14 03:34:26 +00:00
Stephen Fisher
c97caf2a94 From Stig Bjorlykke:
I have added a new dissector for DMP (STANAG 4406 Direct Message
Profile) as defined in STANAG 4406 Annex E.  The DMP protocol has no
assigned UDP port number yet, so the default value in this dissector
is 0 (I suppose this is som sort of "disabled"?) until we get this
registered.

The dissector has been tested on OSX Intel/PowerPC and Solaris SPARC.

Changes in this patch:
* Added DMP dissector
* Added a new CRC table and functions in crc16.c
* Made NonDeliveryReasonCode and NonDeliveryDiagnosticCode available
from X.411
* Made NonReceiptReasonField and DiscardReasonField available from X.420


svn path=/trunk/; revision=20133
2006-12-14 00:16:06 +00:00
Stephen Fisher
daa21601b2 From Marc Petit-Huguenin:
This is a new dissector for STUN v2, that is currently in WGLC at the IETF.

- Keep packet-stun.c for the RFC 3498 protocol, plus the STUN and TURN
drafts up to draft-ietf-behave-rfc3489bis-02 and
draft-rosenberg-midcom-turn-08, as there is some huge deployments using
this.  There will be no modification to this dissectors in the future,
excepted perhaps to add support for retransmission or things like this.

- Add a new dissector packet-stun2.c for the new STUN (currently in
WGLC), the STUN relay-usage (formerly known as TURN) and the other
usages that will be added in the future (IPv6, NAT Behavior, etc...).


svn path=/trunk/; revision=20131
2006-12-13 22:22:05 +00:00
Ronnie Sahlberg
84553a1b5e if there is a list of mechTypes in the negTokenInit then store the first one
and associate it with the conversation properly.

do the same for supportedMech in the negTokenTarg


This will allow wireshark to decode the blob in negTokenTarg even when no supportedMech is provided.



svn path=/trunk/; revision=20129
2006-12-13 02:44:00 +00:00
Gerald Combs
75ba22c7d0 Processing packet data via tvb_get_ptr() is like palpating a cow -- it's
messy and you shouldn't do it unless you REALLY have to.  Change several
routines to use standard tvb_get_* accessors instead of operating on raw
packet data.  This fixes an integer overflow in dissect_vendor_ie_rsn()
found by Neil Kettle.

Use value_strings instead of duplicating their functionality with our
own routines.  Print the WME surplus bandwidth allowance factor.  Fix
some compiler warnings.

Update the release notes.

Some of the changes are untested due to a lack of capture data.

svn path=/trunk/; revision=20126
2006-12-12 22:24:18 +00:00
Ronnie Sahlberg
fd00fc9cb2 kerberos error with ERR_ETYPE_NOSUPP which is issued when the kdc does not support the specified enctype in AS REQ contains in the e-type field for optional additional data a PA_DATA sequence of sequence just as PREAUTH_REQ/FAILED does.
(it would make much more sense if the KDC here would list the enctypes that are supported)




svn path=/trunk/; revision=20125
2006-12-12 08:28:37 +00:00
Anders Broman
a78874863a Dissect Get Channel Authentication Capabilities Command.
svn path=/trunk/; revision=20124
2006-12-12 07:06:40 +00:00
Bill Meier
ee29136d41 Remove svn:executable property from a few more .[hc] files
svn path=/trunk/; revision=20122
2006-12-12 02:24:51 +00:00
Jaap Keuter
376c54d343 Removed executable property.
svn path=/trunk/; revision=20119
2006-12-11 21:28:07 +00:00
Stephen Fisher
f4e0b64fe7 From Thomas Sillaber:
Create two new columns: IP DSCP and L2 COS (802.1p)


svn path=/trunk/; revision=20118
2006-12-11 20:24:51 +00:00
Martin Mathieson
bb910ed113 Remove \n from long preference description
svn path=/trunk/; revision=20114
2006-12-11 13:33:46 +00:00
Martin Mathieson
5f6cad23a2 Try to fix build (on Linux at least...) by including <errno.h>
svn path=/trunk/; revision=20113
2006-12-11 10:43:43 +00:00
Ronnie Sahlberg
21f0235936 fixup ERASE16 FORMAT_MEDIUM and LOAD_UNLOAD commands
svn path=/trunk/; revision=20112
2006-12-11 10:15:42 +00:00
Guy Harris
c5b7476a35 For length errors, add an error item for the expert info, and put a tag
in the summary line.

svn path=/trunk/; revision=20111
2006-12-11 09:55:22 +00:00
Ronnie Sahlberg
2b8517a1c1 add comment that the dissector is based on SBC2
this dissector should be in fairly good shape now


svn path=/trunk/; revision=20110
2006-12-11 09:07:10 +00:00
Ronnie Sahlberg
1765b2e83e add a comment about the (few) opcodes that are still missing
svn path=/trunk/; revision=20109
2006-12-11 09:04:58 +00:00
Tomas Kukosa
9f6a4d9f27 SSL keys configuration can be read from file
svn path=/trunk/; revision=20108
2006-12-11 08:47:38 +00:00
Guy Harris
562570782d Add #defines for the authentication types, and use them.
Squelch some compiler warnings.

Get rid of a C++/C99 comment.

Fix some typoes.

Clean up indentation.

svn path=/trunk/; revision=20105
2006-12-11 01:55:50 +00:00
Anders Broman
e9ddf3558a Applied the patch http://www.wireshark.org/lists/wireshark-dev/200606/msg01818.html
from Jason Allred.
Added some more V2 dissection but far from complete.

svn path=/trunk/; revision=20103
2006-12-10 22:58:55 +00:00