Commit graph

4552 commits

Author SHA1 Message Date
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
Ronnie Sahlberg
34824cb310 change all sbc2 references into sbc
svn path=/trunk/; revision=20100
2006-12-10 13:52:30 +00:00
Ronnie Sahlberg
f819b845bf add dissection of
writelong10
writesame10/16
xdread10
xdwrite10
xdwriteread10
xpwrite10


svn path=/trunk/; revision=20099
2006-12-10 13:38:42 +00:00
Ronnie Sahlberg
43bdbd0a78 fix the WRVERIFY commands
svn path=/trunk/; revision=20098
2006-12-10 13:04:37 +00:00
Ronnie Sahlberg
f53a3fb764 fixup WRITE 6,10,12,16
svn path=/trunk/; revision=20097
2006-12-10 12:01:36 +00:00
Ronnie Sahlberg
08e24dec09 fix the broken VERIFY 10, 12, 16
svn path=/trunk/; revision=20096
2006-12-10 11:43:02 +00:00
Ronnie Sahlberg
f9e28612b0 add SYNC CACHE 10 and 16
svn path=/trunk/; revision=20095
2006-12-10 11:14:35 +00:00
Stephen Fisher
e8458b3b84 Result of "compiling" s4406.cnf (that changed with SVN revision 20093.)
svn path=/trunk/; revision=20094
2006-12-10 04:57:47 +00:00
Guy Harris
ee74b05478 Treat the UDP checksum the same way the TCP checksum is treated - mark
the "checksum bad" and "checksum good" flags as generated fields, add
an expert info item on a checksum error, and put a "checksum incorrect"
indication in the Info column.

Clean up indentation.

svn path=/trunk/; revision=20092
2006-12-10 04:12:35 +00:00
Ronnie Sahlberg
4969d6e830 fixup START STOP UNIT
svn path=/trunk/; revision=20091
2006-12-10 03:56:25 +00:00
Ronnie Sahlberg
a070eb77f3 fixup REASSIGN BLOCKS
svn path=/trunk/; revision=20090
2006-12-10 03:47:11 +00:00
Ronnie Sahlberg
9f4df27dc3 add dissection of READ LONG 16
svn path=/trunk/; revision=20089
2006-12-10 02:59:09 +00:00
Ronnie Sahlberg
f73e437caf add dissection of READLONG10
svn path=/trunk/; revision=20088
2006-12-10 02:45:06 +00:00
Ronnie Sahlberg
069010285f fix up READEFECTDATA 10 and 12
svn path=/trunk/; revision=20087
2006-12-10 02:32:57 +00:00
Ronnie Sahlberg
9b0bd534a4 improve READCAPACITY10
svn path=/trunk/; revision=20086
2006-12-10 01:53:19 +00:00
Ronnie Sahlberg
9e68e2b237 fix up READ6 READ10 READ12 and READ16 to dissect the flags and the group in the cdb
svn path=/trunk/; revision=20085
2006-12-10 00:43:24 +00:00
Ronnie Sahlberg
2a99a93c64 Add dissection of the PREFETCH10 and PREFETCH16 SBC commands
svn path=/trunk/; revision=20083
2006-12-09 22:30:12 +00:00
Ronnie Sahlberg
2f20c29b9a dissect the flags of FORMAT_UNIT
change some hf definitions where FT_BOOLEAN types had the wrong length specified
(BASE_[HEX|DEC] instead of length of field in bits)


svn path=/trunk/; revision=20082
2006-12-09 21:29:06 +00:00
Stephen Fisher
5a3ec27194 Change a match_strval() to val_to_str() in a col_add_fstr() call to prevent
problems if there isn't a match (corrupted packet). 


svn path=/trunk/; revision=20077
2006-12-09 02:25:23 +00:00
Guy Harris
21726d3714 The XOT dissector is now a "new-style" dissector; register it as such.
svn path=/trunk/; revision=20073
2006-12-08 19:32:53 +00:00
Jörg Mayer
e26860607d Get rid of UCD SNMP support (it's not longer supported and
superseeded by net-snmp). Replace some_snmp by net_snmp
where appropriate.


svn path=/trunk/; revision=20071
2006-12-08 15:05:41 +00:00
Anders Broman
771d0fc34a Revert some dissector_handle_t to static changes to make it compile again.
svn path=/trunk/; revision=20064
2006-12-07 20:53:32 +00:00
Stephen Fisher
e1ebcca66a From Francesco Fondelli: Update/addition to Bandwidth Constraints Model code
in OSPF.


svn path=/trunk/; revision=20063
2006-12-07 20:34:21 +00:00
Anders Broman
d61e373bb4 As ponted out by Stig Bjørlykke change a whole bunch of dissector_handle_t to static.
svn path=/trunk/; revision=20062
2006-12-07 20:34:08 +00:00
Martin Mathieson
f4e3b4c033 Fix range highlighted by EDCH sfn header tree
svn path=/trunk/; revision=20060
2006-12-07 18:06:22 +00:00
Martin Mathieson
2552039f08 EDCH - show total number of PDUs in info column
svn path=/trunk/; revision=20059
2006-12-07 11:31:25 +00:00
Ronnie Sahlberg
c413602d77 strengthen the heuristics for iscsi commandis assuming that the last 6 bytes of the 8 byte LUN blob are always 0.
svn path=/trunk/; revision=20058
2006-12-07 09:28:16 +00:00
Stephen Fisher
a2d7a32d7b Fix for enhancement bug #1260. Now packet-text-media will display the
line terminators (\r and/or \n) for line-based data such as that used in
HTML.


svn path=/trunk/; revision=20057
2006-12-06 23:34:28 +00:00
Anders Broman
bb3b431776 Prepare to decode Q.850 REASON.
svn path=/trunk/; revision=20056
2006-12-06 22:08:32 +00:00
Anders Broman
6becee230b Fix a typo.
svn path=/trunk/; revision=20055
2006-12-06 22:05:55 +00:00
Anders Broman
9aea451086 Dissect EAP inside ISAKMP update some strings from IANA.
(fix bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=777)

svn path=/trunk/; revision=20054
2006-12-06 22:03:45 +00:00
Gerald Combs
8e397a2617 Don't define HAVE_AIRPDCAP if HAVE_AIRPCAP isn't defined. Fix a compiler
warning in the 802.11 dissector.

svn path=/trunk/; revision=20053
2006-12-06 20:29:54 +00:00
Gerald Combs
b751cf6797 Fix preference registration.
svn path=/trunk/; revision=20051
2006-12-05 20:57:22 +00:00
Gerald Combs
e99902c38a Fix a compilation error, and squelch a couple of other errors.
svn path=/trunk/; revision=20050
2006-12-05 19:39:54 +00:00
Gerald Combs
a980d04783 From Davide Schiera and Giorgio Tino: Add initial WPA/WPA2 decryption
support.

WEP key preferences have been overloaded to allow WPA keys.  The
decryption code currently uses Windows-specific data types, but can be
converted to use glib equivalents.

Add a few text and whitespace fixups.

svn path=/trunk/; revision=20049
2006-12-05 19:24:25 +00:00
Martin Mathieson
3c9a154750 Via param name copy-paste error
svn path=/trunk/; revision=20047
2006-12-05 14:20:55 +00:00
Ulf Lamping
f611704fd2 fix output of PROFINET specific MAC addresses - it simply displayed garbage
svn path=/trunk/; revision=20044
2006-12-05 08:07:00 +00:00
Anders Broman
3c8dcc67bb Fix a cut and paste error.
svn path=/trunk/; revision=20043
2006-12-05 06:53:28 +00:00
Anders Broman
2f849c368a From Cristian Constantin:
As a workarond for the problem that accsessing a state with a state id > the stored
minimum access length fail,  only store and compare the state with the minimum access
lengt specified in the standard of 6 bytes.

svn path=/trunk/; revision=20041
2006-12-05 06:43:47 +00:00
Bill Meier
a481698a95 Remove unused variable
svn path=/trunk/; revision=20038
2006-12-05 02:53:39 +00:00
Anders Broman
9226c9ef57 Add description of CT AS TIAS and H263-2000 profile.
svn path=/trunk/; revision=20035
2006-12-04 23:03:11 +00:00
Stephen Fisher
918ed4c03d Solution for enhancement "bug" #1254: "MSSQL / TDS parser should decode
passwords"


svn path=/trunk/; revision=20032
2006-12-02 01:08:16 +00:00
Ronnie Sahlberg
7ca2ad980f store FID/TID tracking based on the fid/tid value and not the frame it was opened in.
svn path=/trunk/; revision=20031
2006-12-01 23:41:10 +00:00
Anders Broman
34a2c27714 Add hf fields for the latest headers from IANA.
svn path=/trunk/; revision=20030
2006-12-01 18:49:09 +00:00
Martin Mathieson
436f46dc1a Make xot dissector findable by name
svn path=/trunk/; revision=20026
2006-11-30 18:29:45 +00:00
Martin Mathieson
90acc23b4d Fix infinite rate test, tweak filter names
svn path=/trunk/; revision=20025
2006-11-30 11:37:41 +00:00
Martin Mathieson
9dcd4c23b2 Make prettier the parsing of IPPrim header fields.
Add mm3 -> http mapping.

svn path=/trunk/; revision=20024
2006-11-30 11:36:28 +00:00
Jaap Keuter
28560580d3 From Marc Bevandi:
Please apply this patch (made against Wireshark 0.99.4). It defines the
NTLMSSP_NEGOTIATE_ANONYMOUS flag as described in
<http://davenport.sourceforge.net/ntlm.html>.

svn path=/trunk/; revision=20022
2006-11-30 07:16:39 +00:00
Jaap Keuter
dc0d48928a From Martin Warnesi:
Attached updated patch to use "dissect_mysql_pdu" instead of
"dissect_mysql" when registering the protocol dissector.

svn path=/trunk/; revision=20021
2006-11-30 07:15:17 +00:00
Jaap Keuter
b3a3401888 From Martin Warnesi:
Much simplified patch to use column fences on the COL_INFO field to
prevent sebsequent calls to the SSL dissector for the same packet
clearing the information placed by earlier calls. After each SSL record
is processed a col_set_fence() call is now issued to preserve what has
been written.

svn path=/trunk/; revision=20020
2006-11-30 07:14:09 +00:00
Jaap Keuter
4ee6a1602c From Michel Marti:
The attached patch fixes decoding of the "X-Mms-Reply-Charging-Deadline" header.
According to the OMA-TS-MMS-ENC specs, this header is encoded like this:
  Reply-charging-deadline-value = Value-length \
    (Absolute-token Date-value | Relative-token Delta-seconds-value)

svn path=/trunk/; revision=20019
2006-11-30 07:12:59 +00:00
Stephen Fisher
d078ee8d4d Allow the sub-dissector to be called for decrypted SSL data even when tree is
null.  This allows the encrypted payload's dissector to fill in columns such
as protocol and info without turning on packet coloring or otherwise rescanning
the packet list.


svn path=/trunk/; revision=20018
2006-11-30 02:29:31 +00:00
Guy Harris
9e8855ceef Add some protocol references.
svn path=/trunk/; revision=20016
2006-11-29 16:19:56 +00:00
Anders Broman
498f530dc4 From Reinhard Speyerer:
this patch adds support for Any-encoding (WSP, 8.4.2.9) and Any-language (WSP, 8.4.2.10)

svn path=/trunk/; revision=20014
2006-11-29 06:53:48 +00:00
Anders Broman
6c9ce8acf8 Froim Rene Pilz:
This patch consists also the last issues. Additionally it solves:
- For the SSCOP frames the AAL5 decoding was not performed due to an earlier patch. This caused that no SSCOP message was properly decoded.
- As the detection between a LANE frame and a SSCOP frame is rather hard a switch within the atm dissector is included which enforce SSCOP dissecting over a LANE frame. At the moment I do not see a better solution for that.

svn path=/trunk/; revision=20013
2006-11-29 06:44:07 +00:00
Anders Broman
612c85a7af From Richard Braun:
The Q931 dissector applies a wrong mask when testing the odd/even indicator bit.

svn path=/trunk/; revision=20010
2006-11-28 06:31:07 +00:00
Gerald Combs
70aa2a200d Use val_to_str() instead of match_strval().
svn path=/trunk/; revision=20007
2006-11-28 01:18:47 +00:00
Ronnie Sahlberg
41c258daf3 create a nice helper to dissect bitmasks and implement some test useage of it in the scsi dissector
svn path=/trunk/; revision=20002
2006-11-27 14:50:23 +00:00
Jeff Morriss
cc3567fabf Since this dissector is already 'new style' (it returns FALSE if it thinks the packet doesn't belong to it), register the dissector with new_create_dissector_handle() instead of create_dissector_handle(), thus fixing a compiler warning. Also comment out some (currently) unused hf_ fields to get rid warnings about them. Lastly, [AT]-ify the authors' email addresses.
svn path=/trunk/; revision=20001
2006-11-27 14:39:06 +00:00
Ronnie Sahlberg
3dca5cbed9 break the SCSI SBC commandset out into its own dissector
svn path=/trunk/; revision=20000
2006-11-27 11:00:06 +00:00
Bill Meier
0775839c11 fix compiler warning
svn path=/trunk/; revision=19991
2006-11-26 18:20:51 +00:00
Jeff Morriss
bd39b74d5e Clean up a bunch of unused parameter warnings and 2 uninitialized variable warnings
svn path=/trunk/; revision=19990
2006-11-26 14:27:13 +00:00
Jeff Morriss
382517930c If we found that the packet does not belong to Skinny (new style dissector), there's no need to call call_dissector(data_handle, ...) before returning FALSE.
svn path=/trunk/; revision=19988
2006-11-26 13:36:03 +00:00
Jaap Keuter
ef1750b7d2 From Stefan Metzmacher:
I have a little additional patch, that makes it easier to see what which bytes
are not caught by the sub_dissector.
And it makes it easy to select and export the full payload to a file.

svn path=/trunk/; revision=19987
2006-11-26 13:24:07 +00:00
Jaap Keuter
ba4895cdb4 From Stefan Metzmacher:
2nd try: implement dissection of SMB_NETLOGON cmd's 0x17 and 0x19

svn path=/trunk/; revision=19986
2006-11-26 13:22:14 +00:00
Bill Meier
6a9d8055ed Problem:
"off by 1" bug in 
   packet-smb-common.c:  dissect_ms_compressed_string_internal()
was causing a 1 character buffer overflow thus causing the canary to sing !

Fixes bug #1241


svn path=/trunk/; revision=19983
2006-11-26 00:23:50 +00:00
Anders Broman
692f21a184 Make dissecton of some of the annex packages work again.
svn path=/trunk/; revision=19982
2006-11-25 13:07:28 +00:00
Anders Broman
1509562c0f From Julian Cable:
New dissector for ETSI DCP (ETSI TS 102 821).

Code rearranged to look more like other Wireshark dissectors and some warnings/errors
on Windows fixed.

svn path=/trunk/; revision=19981
2006-11-25 13:03:48 +00:00
Anders Broman
643dc7099d From Eliot Blennerhassett :
Add Cirrus cobranet ethertype

svn path=/trunk/; revision=19980
2006-11-25 12:04:21 +00:00
Bill Meier
356e5b65ce Also required to fix Win32 build problem
svn path=/trunk/; revision=19977
2006-11-24 18:47:50 +00:00
Ronnie Sahlberg
bd16443f38 add some missing commandsets to the preference for default commandset and to the scsi srt statistics
svn path=/trunk/; revision=19973
2006-11-24 08:22:30 +00:00
Jaap Keuter
14a576d293 From Patrick vd Lageweg:
This patch fixes a simple typo.

svn path=/trunk/; revision=19972
2006-11-24 07:28:02 +00:00
Jaap Keuter
5a648d6193 From Stefan Metzmacher:
This patch fixes some problems with encrypted DCERPC traffic

svn path=/trunk/; revision=19971
2006-11-24 07:16:06 +00:00
Jaap Keuter
c9f25a4143 From Stefan Metzmacher:
I created two patches:
1.) move the handling of the compressed strings in CLDAP 'netlogon' replies into a generic place.
2.) implement dissection of SMB_NETLOGON cmd's 0x17 and 0x19

svn path=/trunk/; revision=19970
2006-11-24 07:09:38 +00:00
Stephen Fisher
b667477f8c Fix for bug #940. Convert HSRP to a new-style dissector so that it can
reject datagrams that don't have both the source and destination port
of UDP_PORT_HSRP (1985).


svn path=/trunk/; revision=19969
2006-11-24 06:04:01 +00:00
Stephen Fisher
2cca9d7f55 Fix for bug #646: show the end of HTTP chunked encoding (a chunk with size 0)
as described in RFC 2616.

-This line, and those below, will be ignored--

M    packet-http.c

svn path=/trunk/; revision=19968
2006-11-24 02:59:43 +00:00
Anders Broman
789a5d581b Show the header size as number of bytes.
svn path=/trunk/; revision=19966
2006-11-23 20:17:58 +00:00
Ronnie Sahlberg
303187fad8 break the SCSI SMC commandset out into its own dissector
svn path=/trunk/; revision=19964
2006-11-23 09:21:16 +00:00
Gerald Combs
e3ce33b8e4 Back out most of r19878; it was making the 802.11 dissector overwrite the
RSSI column with the wrong value.

svn path=/trunk/; revision=19963
2006-11-23 01:49:18 +00:00
Anders Broman
d12138839a From Cyril Margaria:
Patch to support RSVP notify and added a few error codes, with some more objectcodes
added.

svn path=/trunk/; revision=19960
2006-11-22 23:20:11 +00:00
Ulf Lamping
ff31e49dbc fix Win32 build: scsi_ssc2_vals -> scsi_ssc_vals
svn path=/trunk/; revision=19958
2006-11-22 20:52:40 +00:00
Ronnie Sahlberg
651ed76925 break the SCSI SSC commandset out into its own dissector
svn path=/trunk/; revision=19957
2006-11-22 10:12:59 +00:00
Ronnie Sahlberg
b7e08d5059 ssc space6 count is a signed integer
svn path=/trunk/; revision=19956
2006-11-22 09:00:36 +00:00
Anders Broman
d74d57789d From Michael Lum
1)
A small change in the number of teleservices recognized

2)
Finally finished a lot of the changes for IOS 5 support.

The attached files must be used together.

Built in Windows XP Pro using Visual Studio C++ with the latest repository.

packet-ansi_map.c.gz

packet-ansi_a.gz
    This file contains both packet-ansi_a.c and packet-ansi_a.h changes.

libwireshark.def.gz

ansi_a_stat.c.gz

svn path=/trunk/; revision=19955
2006-11-22 06:39:24 +00:00
Anders Broman
e1c57b07f7 Revert changes to have named bits in the bitstring of unknown length.
svn path=/trunk/; revision=19954
2006-11-21 22:18:12 +00:00
Ronnie Sahlberg
2b66ba9604 fix for bug 1226:
reported by Benjamin Meyer  

WireShark marks DCE RPC FACKs as "malformed" if they do not have a body.
According to DCE RPC Spec. 1.1 FACKs "may contain" a body PTU.

I am unable to build WireShark (lack of time to install all neccessary stuff)
but I looked at the SourceCode. I think, at least this has to be fixed:

file: epan/dissectors/packet-dcerpc.c
function: static gboolean dissect_dcerpc_dg (tvbuff_t *tvb, packet_info *pinfo,
proto_tree *tree)

*snip*
case PDU_FACK
dissect_dcerpc_dg_fack (tvb, offset, pinfo, dcerpc_tree, &hdr); 
break;
*snap*

I guess, it should look like "case PDU_NOCALL:" directly above.



svn path=/trunk/; revision=19952
2006-11-21 21:11:18 +00:00
Anders Broman
c8837b810a From Bill Florac:
Here is a patch for the ACN dissector. It fixes a bug in
acn_add_expiry() and cleans up some cosmetic things.

svn path=/trunk/; revision=19951
2006-11-21 21:00:25 +00:00
Jaap Keuter
45aa24f1ec Correct comments and examples on get_pdu_len().
svn path=/trunk/; revision=19949
2006-11-21 14:18:46 +00:00
Ronnie Sahlberg
541d2f8baa Patrick vd Lageweg <patrick@bitwizard.nl>
Hi,

The rease/release commands are also usable on SSC devices. This patch adds them to the valid SSC command.

        Patrick
_______________________________________________


svn path=/trunk/; revision=19947
2006-11-21 09:18:28 +00:00
Ronnie Sahlberg
b0ecf3f745 From: Burlyga, Alex
Hi,

Attached is a patch for packet-rpc.c and packet-rpc.h.
Update support for pseudo-flavors that used in RPCSEC_GSS
Also fixed a problem where rpc.reqframe and rpc.repframe where
reversed.

Alex.




svn path=/trunk/; revision=19946
2006-11-21 08:53:11 +00:00
Ronnie Sahlberg
11df1e182b the result code, encoded within the userdata is in network byte order not little endian.
this makes a difference for the cases where the result code is not KPASSWD_SUCCESS == 0x0000



svn path=/trunk/; revision=19945
2006-11-21 08:44:21 +00:00
Jaap Keuter
32304503e0 Fix for bug 1235. Elapsed time is in 10ms units.
svn path=/trunk/; revision=19937
2006-11-20 19:39:19 +00:00
Stephen Fisher
ce36a19766 Fix for bug #1126. In the SSL dissector, don't just check if we're allowed
to desegment, but also check if we need to before attempting it. 


svn path=/trunk/; revision=19931
2006-11-19 07:41:25 +00:00
Ulf Lamping
72d82b186c add dissection for PROFINET "PTCP Status"
svn path=/trunk/; revision=19922
2006-11-17 22:38:34 +00:00
Stephen Fisher
961a87c32c Improve the heuristics of the SES dissector some more in response to bug #1229
svn path=/trunk/; revision=19917
2006-11-17 01:52:15 +00:00
Gerald Combs
59562378e4 David Young pointed out that we weren't aligning fields according to the
radiotap specification.  Do so.  Add fields for FHSS and Transmit
attenuation (untested).

svn path=/trunk/; revision=19915
2006-11-16 22:27:47 +00:00
Jörg Mayer
f440212994 Jelmer Vernooij:
The attached patch replace the use of 'depends()' with "import" (the
latter is a standard IDL statement).


svn path=/trunk/; revision=19914
2006-11-16 21:57:31 +00:00
Martin Mathieson
8aa44209fa Make multipart part a proper field, and append contained content-type to
it label to make it easier to find the part you're looking for.

svn path=/trunk/; revision=19909
2006-11-16 14:35:52 +00:00
Jaap Keuter
29c109e5bd Adding ISC Object Management API dissector
svn path=/trunk/; revision=19904
2006-11-15 20:55:46 +00:00
Luis Ontanon
ca6a9a7d13 solve both issues pointed out in:
http://wireshark.org/lists/ethereal-dev/200605/msg02351.html

- dtd_parse.l:
   be more liberal on what a name can be (a number now can be a name)

- packet-xml.c
  if proto-name is given use it instead of the root element name as prefix for generated fields


svn path=/trunk/; revision=19903
2006-11-15 18:40:37 +00:00
Anders Broman
e89aadc13a Add OID translation for some more Generic codecs.
svn path=/trunk/; revision=19900
2006-11-15 07:04:22 +00:00
Stephen Fisher
3193603d78 Fix problem reported on -dev list by Frank Maerz with Wireshark crashing
when it encountered a proxy http connect to port 80.  This was caused by
the dissector calling itself over and over.  Now if the connect to port is
one of the defined http ports, it calls the data dissector.


svn path=/trunk/; revision=19899
2006-11-15 06:46:11 +00:00
Jörg Mayer
dd26a7021b nikai@nikai.net:
Remaining fixes from:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1225

svn path=/trunk/; revision=19895
2006-11-14 20:32:29 +00:00
Jörg Mayer
c3814a25de nikai@nikai.net:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1225

Attempting a simple cleanup of duplicated includes, will attach patch.


svn path=/trunk/; revision=19894
2006-11-14 20:08:44 +00:00
Anders Broman
f8bc3dd4a6 From martin Peylo:
This patch changes the name of "Link Configuration" Packets to "Neighbour Discovery" - as preferred by the creator of TIPC - and shows the TIPC src/dst in the columns instead of the MAC address for those packages.

svn path=/trunk/; revision=19887
2006-11-14 05:49:59 +00:00
Anders Broman
12b5181f46 From Stephen Fisher:
a new more accurate fix for bug #1163.  Thanks to Graeme Lunt for pointing out that the first patch broke a different capture with legitimate SES data in it.  My patch also corrects the check for number of bytes existing from 4 to 2 as the minimum length of an SES PDU is only 2 bytes: 1 byte type, 1 byte length.

svn path=/trunk/; revision=19886
2006-11-14 05:47:57 +00:00
Anders Broman
e53bccdfca This is Gerrit Renker code which:
* makes checksum computation dependent
         upon the header CsCov field (cf. RFC 4340, 5.1)
       * removes the case where checksums are zero
         (unlike UDP/packet-udp, from which the code stems,
          zero checksums are illegal in DCCP (as in TCP))
       * fixes a minor typo - missing bitshift of the
         CCVal field

svn path=/trunk/; revision=19885
2006-11-14 05:45:28 +00:00
Ashok Narayanan
06d1297a6b Add support for IPv4-Aggregate session/template/filter types.
svn path=/trunk/; revision=19884
2006-11-13 17:30:38 +00:00
Guy Harris
a54a816f92 Mark Krochmal says that the class field should be treated in mDNS as a
flag and a 15-bit field even for OPT RRs.

svn path=/trunk/; revision=19882
2006-11-12 23:42:08 +00:00
Guy Harris
43cd0ad045 Flag the question as a "QM" question if the QU flag isn't set.
svn path=/trunk/; revision=19881
2006-11-12 22:35:21 +00:00
Guy Harris
63cd996fa5 mDNS treats the class field as a flag bit and 15 bits of class; display
it as such.

svn path=/trunk/; revision=19879
2006-11-12 22:12:39 +00:00
Gerald Combs
d20f77d3ec Add a plain "radiotap.channel" field to the radiotap dissector.
Check for an invalid channel frequency.  Pass the channel, data rate,
and quality to the 802.11 dissector, so that they show up there
as well.  Clean up whitespace.

svn path=/trunk/; revision=19878
2006-11-12 00:52:05 +00:00
Ronnie Sahlberg
14810dd30c fix so that tcp.pdu.time works again.
it broken in one of the previous bugfixes to tcp

add a function to print an emem tree to the console for easier emem tree debugging


svn path=/trunk/; revision=19877
2006-11-11 22:39:25 +00:00
Ulf Lamping
aca8366250 add dissection of PROFINET "MRP Port Status"
svn path=/trunk/; revision=19876
2006-11-11 01:29:43 +00:00
Ronnie Sahlberg
d8c269be98 From Alex B
Added support for upcoming Netapp's ONTAP-GX nfsv3 filehandle.

Alex.




svn path=/trunk/; revision=19875
2006-11-10 23:36:57 +00:00
Martin Mathieson
82203cdb6c Fix test
svn path=/trunk/; revision=19873
2006-11-10 12:06:10 +00:00
Martin Mathieson
9cc8175f5f Use value_string for info column. Also use fences to handle compound packets
svn path=/trunk/; revision=19872
2006-11-09 16:46:58 +00:00
Martin Mathieson
3dfa2fdfc3 Make it easier to track user-buffer-space vs capacity requests for HSDPA calls
svn path=/trunk/; revision=19871
2006-11-09 16:35:12 +00:00
Jaap Keuter
a29881ba55 Improve HP Switch Protocol Dissection.
svn path=/trunk/; revision=19870
2006-11-09 12:27:52 +00:00
Anders Broman
28e73ca8d2 Sorry that should have been static int. Corrcted now.
svn path=/trunk/; revision=19869
2006-11-08 21:28:03 +00:00
Jörg Mayer
c0d26bccb9 Make Wireshark build on my system (gcc 4.1.0) again
svn path=/trunk/; revision=19868
2006-11-08 13:59:46 +00:00
Anders Broman
3f1b8044d0 Use h248v3.asn.
svn path=/trunk/; revision=19867
2006-11-08 06:57:29 +00:00
Jörg Mayer
5bd45dfdb9 Make things build on my system again
svn path=/trunk/; revision=19866
2006-11-08 00:10:09 +00:00
Guy Harris
b6986a0b81 The tvb_ensure_length_remaining() calls aren't needed - we want an
exception to be thrown if all the data for the icon isn't there, so the
packet gets marked as incomplete.

svn path=/trunk/; revision=19865
2006-11-07 21:27:52 +00:00
Anders Broman
8d8af34ba4 Fix bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1206
MEGACO message cannot be decoded correctly for ServiceChange Command
And decoding of serviceChangeReason.

svn path=/trunk/; revision=19861
2006-11-07 19:25:59 +00:00
Ronnie Sahlberg
5a0ba5b0c7 fix for bug 1200
there used to be a bug in tcp reassembly that even if the dissector only asked for x more bytes from the next segment   the entire segment would still be added to reassembly.
this caused some issues when there was a new multisegment pdu that started at the end of the segment   but this bug was fixed when tcp reassembly was refactored semi-recently.


there was also another "bug" in the http reassembly that it would only ask for one more byte at a time when doing reassembly.
this did work well however when we still had the bug in tcp reassembly   but made wireshark become very very very slow once this tcp bug was fixed  since it is very very very slow to reassemble a huge http pdu just one byte at a time.


this patch adds partial support (what we need for http   which does not use tcp_dissect_pdus() ) for the desegmentation flag : DESEGMENT_ONE_MORE_SEGMENT and also to the http dissector   so that reassembly of http headers spanning multiple semgents now become fast again



svn path=/trunk/; revision=19859
2006-11-07 13:19:31 +00:00
Guy Harris
a19025c3f6 Bitfields are bad - the C language spec does *NOT* guarantee which bits
will correspond to which bit fields.  Don't use them.

Use #defines rather than numbers in the appropriate places.

Constify some arguments.

Get rid of C++ comments.

svn path=/trunk/; revision=19854
2006-11-07 09:06:53 +00:00
Ronnie Sahlberg
6a745262b4 from albert chin
The Solaris C compiler, among others, do not allow anonymous unions.
Patch attached.



thanks albert


svn path=/trunk/; revision=19852
2006-11-07 08:33:24 +00:00
Guy Harris
5ea6272700 You run perl, not make, on Makefile.PL files.
svn path=/trunk/; revision=19851
2006-11-07 08:19:57 +00:00
Jörg Mayer
7acc35d3c6 regenerate with news pidl
svn path=/trunk/; revision=19849
2006-11-07 08:00:30 +00:00
Jörg Mayer
e44e0795ce Update to use --includedir instead of copying idl_types.h.
svn path=/trunk/; revision=19847
2006-11-07 07:57:07 +00:00
Jaap Keuter
5f955a0fcc From Albert Chin:
Patch attached to convert usage of ntohl() -> g_ntohl(). On HP-UX,
ntohl() isn't available unless you -D_XOPEN_SOURCE_EXTENDED but there
are other uses of g_ntohl().

svn path=/trunk/; revision=19844
2006-11-07 07:39:16 +00:00
Ronnie Sahlberg
b84d470206 convert restrictiontype to be an enum
svn path=/trunk/; revision=19834
2006-11-06 20:47:37 +00:00
Ronnie Sahlberg
3c65eab84e building the nspi dissector depends also on the nspi.cnf file, add this dependency to the makefile
add tracking of policyhandles to the dissector


svn path=/trunk/; revision=19832
2006-11-06 20:28:19 +00:00
Ronnie Sahlberg
258b3af063 new acn dissector from Bill Florac
svn path=/trunk/; revision=19830
2006-11-06 20:13:32 +00:00
Jörg Mayer
9cb8ab0b8a Fix some warnings about missing newline at end of file.
svn path=/trunk/; revision=19829
2006-11-06 19:58:06 +00:00
Jörg Mayer
b9c69db9d3 Remove some // comments.
Fix a warning about nested comments.

svn path=/trunk/; revision=19828
2006-11-06 19:56:11 +00:00
Jörg Mayer
c7d28461ce Don't do forward declarations in the file. I'll try to eventually
put this stuff into an external file but just doing a forward
declaration to squelch a compiler warning isn't the way to go - it
needs to be done right one day.

svn path=/trunk/; revision=19827
2006-11-06 19:53:39 +00:00
Jörg Mayer
207c844d36 Copy over the nspi.cnf file which was recently added
svn path=/trunk/; revision=19826
2006-11-06 19:47:39 +00:00
Jaap Keuter
cf9adce9be Fix bug 1207, simple swap of the two text strings.
svn path=/trunk/; revision=19819
2006-11-06 12:19:26 +00:00
Jaap Keuter
066cab237e Don't remove a preference, make it obsolete instead.
svn path=/trunk/; revision=19818
2006-11-06 11:41:02 +00:00