Commit graph

6961 commits

Author SHA1 Message Date
Bill Meier
961698e3e7 strncasecmp ==> g_ascii_strncasecmp
svn path=/trunk/; revision=26172
2008-09-10 12:57:48 +00:00
Jaap Keuter
890cbb15d1 Fix for bug 2859:
Skip data portion of unknown TLV.

Expand type interpretation and several other cleanups.

svn path=/trunk/; revision=26169
2008-09-09 21:17:17 +00:00
Bill Meier
7f2978acc8 From Pavol Rusnak: Add missing break statement....
svn path=/trunk/; revision=26166
2008-09-08 16:13:39 +00:00
Jaap Keuter
b6b59d1f99 From Neil Piercy:
The IP Address IE did not decode correctly - the address fetch did not skip the
Address Type field.

svn path=/trunk/; revision=26164
2008-09-08 06:02:35 +00:00
Anders Broman
17df3adc80 Udate tlv_type_names with values from http://www.iana.org/assignments/ldp-namespaces.
svn path=/trunk/; revision=26162
2008-09-07 17:18:49 +00:00
Anders Broman
2c68dca215 From Neil Piercy:
Empty GPRS LLC S frames cause truncated data exception
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2855

svn path=/trunk/; revision=26160
2008-09-07 13:36:56 +00:00
Guy Harris
9e82ae1e49 Move the advancement of the packet offset outside the "if (tree)".
This fixes bug 2856.

svn path=/trunk/; revision=26159
2008-09-07 08:44:47 +00:00
Guy Harris
e1d2a36b02 Clean up indetation.
If we're running in TShark, there's never a GUI; clean up comments.

Merge a couple of if statements together, as the "true" branch of the
second statement is executed only if the "true" branch of the first
statement is executed.

svn path=/trunk/; revision=26158
2008-09-07 03:13:10 +00:00
Guy Harris
dd317fd99c Style and indentation cleanups.
Don't initialize a variable that's set (in the handoff registration
routine) before being used.

Now that we're GLib 2.0-only, use g_ascii_isalpha() rather than rolling
our own.

svn path=/trunk/; revision=26157
2008-09-07 01:50:44 +00:00
Guy Harris
22b5159053 Add support for TLS-over-SMTP.
svn path=/trunk/; revision=26156
2008-09-07 01:28:43 +00:00
Guy Harris
93e12f5b69 Have a line_is_smtp_command() routine to check whether a line is an SMTP
command, and use that in the parsing loop (that means we don't have to
treat 4-character commands and non-4-character commands separately).

svn path=/trunk/; revision=26155
2008-09-06 23:58:23 +00:00
Guy Harris
73e36ab9da Add some comments.
svn path=/trunk/; revision=26153
2008-09-06 22:33:22 +00:00
Anders Broman
d1ea868c27 Bucket Leak Rate decoded incorrectly as bytes instead of bits
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2849

svn path=/trunk/; revision=26147
2008-09-06 11:45:08 +00:00
Anders Broman
7530143278 Add extended cap decoding.
svn path=/trunk/; revision=26145
2008-09-05 16:04:02 +00:00
Guy Harris
b7d8597ec3 Move another comment next to the code to which it refers.
svn path=/trunk/; revision=26144
2008-09-05 09:51:13 +00:00
Guy Harris
e707fb415f Move a comment to the right place.
svn path=/trunk/; revision=26143
2008-09-05 09:28:08 +00:00
Guy Harris
19d3eb7004 Clean up indentation.
svn path=/trunk/; revision=26142
2008-09-05 09:07:46 +00:00
Anders Broman
ebc8f1f8bf From Niel Percy:
Much as I hate white space changes, I got fed up of the huge variation of styles within these files, and tried to get to a much smaller range of variation. Also a few comment tidies, and use of _U_ for unused args rather than "arg = arg" lines.

svn path=/trunk/; revision=26140
2008-09-05 05:49:39 +00:00
Guy Harris
6321274b52 Mark unused argument as such.
Style changes.

svn path=/trunk/; revision=26139
2008-09-04 21:21:27 +00:00
Anders Broman
0b53441f69 Modified patch from Siva Jupudi adding support for
WAVE Service information element Dissection - IEEE 802.11p Draft 4.0

svn path=/trunk/; revision=26138
2008-09-04 20:54:22 +00:00
Guy Harris
5a97fd382f That #include is necessary to get epan_strcasestr() declared;
unfortunately, that didn't show up in a build, as this file isn't yet
clean and isn't yet built with -Werror.

svn path=/trunk/; revision=26135
2008-09-03 23:51:26 +00:00
Guy Harris
9d1b5335ac g_ascii_strdown() and g_ascii_strup(), unlike g_strdown() and g_strup(),
do *not* modify the string handed to them - they g_mallocate a new
string and return it.

Create routines that *do* ASCII-only case mapping in place, and use them
instead.

Clean up indentation.

svn path=/trunk/; revision=26131
2008-09-03 19:14:52 +00:00
Anders Broman
e708889484 Try to fix unused code warnings(hack).
svn path=/trunk/; revision=26129
2008-09-03 17:03:30 +00:00
Bill Meier
419e3a47f6 Cleanup related to prefs & proto_reg_handoff
svn path=/trunk/; revision=26128
2008-09-03 16:42:35 +00:00
Jaap Keuter
7116bc941b Made FCS calculation and checking code work on GCC 4.3.1.
Made FCS check actually mean something.

svn path=/trunk/; revision=26125
2008-09-03 05:56:30 +00:00
Bill Meier
8d9c5d9b2b Cleanup related to prefs & proto_reg_handoff
svn path=/trunk/; revision=26124
2008-09-02 21:40:46 +00:00
Anders Broman
80b87dfaf3 Try to fix unused code warnings.
svn path=/trunk/; revision=26122
2008-09-02 19:42:30 +00:00
Bill Meier
40bd43db83 Minor cleanup (mostly related to proto_reg_handoff...)
svn path=/trunk/; revision=26121
2008-09-02 19:08:29 +00:00
Anders Broman
6c7b56081c Handle extension header.
svn path=/trunk/; revision=26119
2008-09-02 18:27:33 +00:00
Bill Meier
afd857957a Fix a few Emacs "file variables" to have "safe" values.
That is: indent-tabs-mode: tabs --> indent-tabs-mode: t
Also: fix a typo: set-tabs-mode --> indent-tabs-mode

svn path=/trunk/; revision=26113
2008-09-02 11:17:03 +00:00
Guy Harris
dd190f38e5 OK, let's see if the x509sat dissector is clean.
svn path=/trunk/; revision=26112
2008-09-02 06:44:41 +00:00
Anders Broman
8970b4524d Try to fix unused code warnings.
svn path=/trunk/; revision=26111
2008-09-02 06:04:25 +00:00
Anders Broman
9d0a401a12 Try to fix unused code warnings.
svn path=/trunk/; revision=26110
2008-09-02 05:43:28 +00:00
Anders Broman
a517a46fa7 Try to fix unused code warnings.
svn path=/trunk/; revision=26109
2008-09-01 21:10:28 +00:00
Anders Broman
1a109ff02c Update to use unchanged asn1 files and X.501:08/2005.
Hopefullly without breaking to many things.

svn path=/trunk/; revision=26108
2008-09-01 20:29:01 +00:00
Anders Broman
3d07d2bee8 Try to fix "defined but not used" warnings.
svn path=/trunk/; revision=26107
2008-08-31 21:37:16 +00:00
Anders Broman
c7b010d246 Remove test code for depreciated OID.
svn path=/trunk/; revision=26106
2008-08-31 21:11:32 +00:00
Anders Broman
47d612ccc9 Update to X.509:08/2005.
svn path=/trunk/; revision=26105
2008-08-31 21:00:06 +00:00
Anders Broman
48dbffeda4 OID 1.3.6.1.5.5.7.8.5 (id-on-xmppAddr) not recognized by BER dissector.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2835

svn path=/trunk/; revision=26104
2008-08-31 12:55:45 +00:00
Guy Harris
56ae1ea2f7 Give "initialized" the right data type.
svn path=/trunk/; revision=26101
2008-08-27 22:46:03 +00:00
Bill Meier
32dc6c98e4 If port pref changed, delete registration for previous port
svn path=/trunk/; revision=26099
2008-08-27 19:47:21 +00:00
Guy Harris
317201b985 Give macros and libraries names that imply that clean dissectors are the
normal case, and dissectors with warnings are the exception; the
ultimate goal is to have only clean dissectors.

Move a bunch of now-cleaned-up dissectors into the "clean" category.

Fix a comment.

svn path=/trunk/; revision=26096
2008-08-26 03:45:42 +00:00
Guy Harris
f0acec0696 Fix some macro name errors.
svn path=/trunk/; revision=26092
2008-08-26 01:32:15 +00:00
Bill Meier
b52d95d591 #include <emem.h> not req'd
svn path=/trunk/; revision=26091
2008-08-26 01:28:50 +00:00
Guy Harris
d7a51fc7de Get rid of an unused variable in the P7 dissector.
Create a set of warning-clean ASN.1 dissectors and build them with
-Werror, to try to prevent errors creeping back in.  Put the P7
dissector there.

svn path=/trunk/; revision=26090
2008-08-26 01:04:39 +00:00
Bill Meier
77b81b391b #include <prefs.h> not req'd
svn path=/trunk/; revision=26089
2008-08-25 22:06:20 +00:00
Anders Broman
74efeaae80 Add Answer or Request to the Command name in the info column depending on
if the R bit is set or not.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2828

svn path=/trunk/; revision=26088
2008-08-25 21:15:55 +00:00
Bill Meier
aac2a36133 #include <prefs.h> not req'd; Fix indentation to be conistent
svn path=/trunk/; revision=26086
2008-08-25 20:41:05 +00:00
Anders Broman
798fe6acca From Andrei Slavoiu:
TS 29.060 v7.8.0 and later specify new flags in the Common Flags IE:
bit 5 - No QoS Negotiation
bit 6 - NRSN
bit 7 - Upgrade QoS Supported

The current Wireshark implementation has bits 5 and 6 reversed. Attached patch
fixes this issue.

svn path=/trunk/; revision=26084
2008-08-25 20:05:26 +00:00
Bill Meier
5f26848657 prefs_register_protocol not req'd since no prefs; simplify reg_handoff & do minor cleanup
svn path=/trunk/; revision=26081
2008-08-25 19:53:32 +00:00
Bill Meier
9c250392d8 prefs_register_protocol not req'd since no prefs; simplify reg_handoff & do minor cleanup
svn path=/trunk/; revision=26080
2008-08-25 19:25:40 +00:00
Bill Meier
c249da955c Remove unnecessary registration of a prefs callback
svn path=/trunk/; revision=26079
2008-08-25 18:42:30 +00:00
Bill Meier
acbbc43f2e Remove unnecessary registration of a prefs callback & do minor cleanup
svn path=/trunk/; revision=26078
2008-08-25 18:37:18 +00:00
Bill Meier
1b85a4b1e9 prefs.h not req'd; cleanup reg_handoff;
svn path=/trunk/; revision=26077
2008-08-25 17:36:24 +00:00
Bill Meier
129145495e remove unnecessary registration of a prefs callback; minor cleanup
svn path=/trunk/; revision=26076
2008-08-25 17:26:26 +00:00
Bill Meier
2ac68fb78a remove unnecessary prefs registration since no prefs; minor cleanup
svn path=/trunk/; revision=26075
2008-08-25 17:14:20 +00:00
Bill Meier
e6334320c5 Remove unnecessary prefs callback; simplify reg_handoff; minor cleanup
svn path=/trunk/; revision=26074
2008-08-25 16:59:38 +00:00
Bill Meier
be5a1aa111 Move a buffer from the stack & do some minor cleanup
svn path=/trunk/; revision=26073
2008-08-25 16:42:09 +00:00
Guy Harris
a1fb6f2e8c If HAVE_KERBEROS isn't defined, enc_authorization_data_etype isn't
defined; make it a local variable in that case.

svn path=/trunk/; revision=26072
2008-08-25 16:13:48 +00:00
Ronnie Sahlberg
640e4d4025 implement pac info type #12 UPN_DNS_INFO
svn path=/trunk/; revision=26069
2008-08-25 03:46:51 +00:00
Ronnie Sahlberg
8d98fcd177 start adding support to decrypt and dissect the enc-authorization-data
of TGS_REQ


svn path=/trunk/; revision=26068
2008-08-25 02:55:04 +00:00
Ronnie Sahlberg
ed83f835e6 add a preference and code for tracking how many un-acked bytes are in
flight on a tcp connection.

this is quite useful toghether with io-grapgs to track how much of the 
tcp window that an application actually uses



svn path=/trunk/; revision=26067
2008-08-25 02:15:36 +00:00
Anders Broman
ae07b1708a From Stefan Monhof:
Fix a bug in the previous patch.

svn path=/trunk/; revision=26065
2008-08-24 19:25:33 +00:00
Anders Broman
2226bccd44 From Neil Piercy:
1 new split file (GMM & SM in one file) and diff patches for the others. The RR, RP and BSSMAP patches are really a tidy-up: now they are split it becomes clear what was redundant code.

svn path=/trunk/; revision=26064
2008-08-24 17:42:30 +00:00
Anders Broman
924894e617 From: Stefan Monhof:
changes:
- fixed: display of kademlia hash (bug #2348)
- added: information on the meaning of the values of kad version, parameter of
message types KADEMLIA_REQ and KADEMLIA2_REQ, metatag sourcetype and metatag
encryption
- added: peer id, target id, recipients id, file id, keyword hash as variants
of kademlia hash (searchable as string now)
- added: xor between target id and recipients id
- fixed: ip adresses in taglist now displayed in dotted-decimal (instead of
int)
- fixed: some values in taglist were displayed in octal, it's hex now
- fixed: message type KADEMLIA2_BOOTSTRAP_REQ was wrongly marked as malformed
- added: differences in dissecting peer list 1.0 and peer list 2.0
- fixed: dissection of KADEMLIA2_SEARCH_KEY_REQ and KADEMLIA2_SEARCH_RES
- added: source-publishing and keyword-publishing in KADEMLIA_PUBLISH_REQ
- fixed: decompressed data are not displayed in a subtree anymore

svn path=/trunk/; revision=26063
2008-08-24 15:15:36 +00:00
Guy Harris
6f9b405534 One set of tests for whether a packet looks like a STUN2 packet
suffices; have the heuristic dissector call the message dissector and
return FALSE if the message dissector returns 0 (meaning it's not a
STUN2 packet) and TRUE otherwise.

New-style dissectors don't return a Boolean, they return 0 if the packet
isn't a packet for that protocol and the number of bytes dissected
otherwise.  (Yes, that's a problem if the length of the tvbuff handed to
the dissector is 0; that's why new-style dissectors aren't yet the
default.)

svn path=/trunk/; revision=26060
2008-08-22 22:17:37 +00:00
Stig Bjørlykke
7cf79249e0 Only use one IP address for seq/ack analysis.
Use correct length for dest entry and ack info entry.
Print correct id list for acks.

svn path=/trunk/; revision=26059
2008-08-22 15:15:56 +00:00
Bill Meier
d13bc6c7f4 Fix a (probably benign) case where it appears that && should be &
svn path=/trunk/; revision=26058
2008-08-22 14:28:03 +00:00
Bill Meier
50fc84d329 Fix a case of && which should be &; add some parentheses for clarity
svn path=/trunk/; revision=26057
2008-08-22 14:02:05 +00:00
Jeff Morriss
2acffab343 Add an expert info noting an a_rwnd of 0.
svn path=/trunk/; revision=26055
2008-08-21 20:29:27 +00:00
Bill Meier
1391addb5a Modified version of a fix from Christopher Maynard as reported in bug 2822.
svn path=/trunk/; revision=26054
2008-08-21 18:51:17 +00:00
Bill Meier
383b5e9723 Fix from christopher maynard as reported in bug 2822
svn path=/trunk/; revision=26053
2008-08-21 18:48:26 +00:00
Guy Harris
3acd12510b The first argument to vendor IE dissectors is a proto_item *, not a
proto_tree * (yes, they're the same data type, but they're thought of
differently - it's a long story).

Just call the IE type in a Marvell vendor IE the "type".  For IEs with
no known type, show the IE data as raw data, as is done with
Aironet/Cisco vendor IEs.

Get rid of an unused variable, and mark as unused an unused parameter.

svn path=/trunk/; revision=26050
2008-08-20 23:57:50 +00:00
Anders Broman
ec064849c5 From David Woodhouse:
The IEEE80211 part of "Add support for OLPC 802.11s-like mesh protocol".
With some changes to make it a bit more generic.

svn path=/trunk/; revision=26049
2008-08-20 19:50:26 +00:00
Jaap Keuter
45705aadc3 From Scott Bailey:
It takes a calculator to decode the timestamps.  But no more! 
Timestamps using the attached patch are displayed as follows:
   Timestamp = MM:SS mmm absolute (UTM)
or
   Timestamp = MM:SS mmm relative
where M is minutes, S is seconds, and m is milliseconds.
This is in accord with 'IEEE Std 1278.1-1995' section 5.2.31.

svn path=/trunk/; revision=26047
2008-08-20 06:32:08 +00:00
Jaap Keuter
90af2cb097 Lint reports addressed.
Whitespace cleanup.

svn path=/trunk/; revision=26046
2008-08-20 05:56:31 +00:00
Jaap Keuter
fd86b5d61a From Eric Travis:
The included tweak allows for the filtering of packets on the presence of
TCP Option 20: tcp.options.scps;

svn path=/trunk/; revision=26045
2008-08-20 05:42:35 +00:00
Jaap Keuter
d24ee65df8 From Steve Friedman:
s/Acknowledgment/Acknowledgement/

svn path=/trunk/; revision=26044
2008-08-20 05:40:25 +00:00
Guy Harris
267572b693 Fix up the construction of a subset tvbuff.
svn path=/trunk/; revision=26043
2008-08-20 02:58:41 +00:00
Anders Broman
bba165265c Fix bug:
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2285
7.3.2.22 Measurement Report element min length is 3
Added dissection of 
7.3.2.18 TPC Report element

svn path=/trunk/; revision=26042
2008-08-19 21:26:35 +00:00
Anders Broman
8417cf0fab Add a comment.
svn path=/trunk/; revision=26041
2008-08-19 08:11:49 +00:00
Anders Broman
bafcc127f8 From Neil Piercy:
RR has been split from DTAP, with common stuff going to the common files (plus a few minor knock-on consequences).
Fix the broken tap:
I had not realised that the register_tap call in the dissector registration actually _created_ the tap entry (not the register_tap_listener), and not just associated the tap_id returned with the tap registered by the listener. The use of separate statics by the split lead to 3 taps called "gsm_a", but only the first of which was ever found in the tap_queue_packet. Added (yet another) global for now to cope.

Also attached is a patch to tap.c which simply returns the same tap_id if the register_tap is called twice with the same name - I can't see any downside to this, can you? Anyway it seemed to work with deliberately keeping multiple calls.

svn path=/trunk/; revision=26039
2008-08-19 08:05:04 +00:00
Guy Harris
d9416525b6 Add to a comment.
svn path=/trunk/; revision=26036
2008-08-19 03:42:40 +00:00
Stig Bjørlykke
6b1c605ca4 Added handling of missing sequence number range in ack.
Add all message ids in ack to the info column.
Changed data types for sequence number and total number of pdus.
Untabify file.

svn path=/trunk/; revision=26031
2008-08-15 07:59:11 +00:00
Bill Meier
38eb4d6ce3 Use const with value_string array definitions
svn path=/trunk/; revision=26028
2008-08-14 23:51:52 +00:00
Gerald Combs
4cb727b342 It looks like /Zd was removed in VC++ 2005.
svn path=/trunk/; revision=26025
2008-08-14 22:23:27 +00:00
Stig Bjørlykke
5a526ecbaa Added a missing {0,NULL} as noted by Christopher.
svn path=/trunk/; revision=26024
2008-08-14 21:06:28 +00:00
Gerald Combs
bb8e507f31 From cjkelly1: Add "/MD" to the PortAudio compilation flags. Fixes
bug 2791.

Don't use "-o" in the PortAudio compilation flags. If we're running Visual
C++ 2008, don't use "/Zd" when compiling packet-rrc.c. Fixes bug 2795.

svn path=/trunk/; revision=26023
2008-08-14 20:56:34 +00:00
Anders Broman
8239127661 From Siva Jupudi:
Support WAVE Short Message Protocol IEEE P1609.3(WSMP).
Slightly modified to display the message as Data as from the supplied trace it looks not to be text.
The packet-ieee80211.c patch is not included as the trace in question shows malformed packets.

svn path=/trunk/; revision=26022
2008-08-14 20:41:55 +00:00
Anders Broman
f7e0b6490a Add Ethertype for WAVE Short Message dissection (WSMP).
svn path=/trunk/; revision=26018
2008-08-14 17:03:30 +00:00
Bill Meier
08281de94b Fix some spelling/typos
svn path=/trunk/; revision=26017
2008-08-14 16:55:42 +00:00
Stig Bjørlykke
7cba595943 From Edward J. Paradise (bug 2775):
Patch to fix windows compile errors.

svn path=/trunk/; revision=26015
2008-08-14 16:31:07 +00:00
Bill Meier
c93ba4d596 Fix a few typos & spelling errors
svn path=/trunk/; revision=26014
2008-08-14 16:28:56 +00:00
Jeff Morriss
88abfa7bba Add expert info warning to TSNs that are retransmitted more than 2 times.
svn path=/trunk/; revision=26013
2008-08-14 14:40:16 +00:00
Greg Morris
326e983d22 Fix for retransmission of fragmented NDS reply packets.
Fix for crash in expert file information.
Fix for malformed NDS iteration packets.
Fix indention on NDS read attribute definition verb.

svn path=/trunk/; revision=26012
2008-08-14 11:40:12 +00:00
Jaap Keuter
997e9162d0 From Edward J. Paradise:
This proposed patch adds decoding and filtering support for:
  *draft-ietf-ospf-manet-or-00
  *draft-ietf-ospf-af-alt-06
to packet-ospf.c

Some code cleanup added

svn path=/trunk/; revision=26011
2008-08-14 06:00:09 +00:00
Jaap Keuter
3f9ad89606 Updates based on lint output provided by Chris Maynard.
svn path=/trunk/; revision=26010
2008-08-13 21:44:53 +00:00
Jaap Keuter
90a37dc34c From Edward J. Paradise:
rfc4938 defines two credit granting mechanisms, out-of-band and inband.  The
current decoding mechanism in packet-pppoe.c only decodes out-of-band credit
grants.  This patches addresses decoding of inband credit as well.  In
addition, I added filters for these tags in the pppoes packets.  Previously,
the common pppoe filters were under the pppoed filter registration, but now
since there are pppoed and pppoes filters, I moved them out on their own.

svn path=/trunk/; revision=26009
2008-08-13 21:32:09 +00:00
Stig Bjørlykke
675db70a1b Rewrote to avoid prohibited API strcpy.
svn path=/trunk/; revision=26006
2008-08-13 15:23:15 +00:00
Tomas Kukosa
39515048dc supply dissected XML structure to caller dissector
svn path=/trunk/; revision=26005
2008-08-13 15:19:08 +00:00
Stig Bjørlykke
a904b55928 Removed a C++ style comment.
svn path=/trunk/; revision=26004
2008-08-13 14:57:21 +00:00
Guy Harris
7e4d12a120 PRI[duox]64 isn't being defined on all platforms, breaking the build,
and we don't want to use it in any case, as PRI[duox]64 might be
different from G_GUINT64_MODIFIER followed by [duox], and the latter is
what GLib's formatter supports, and that's the formatter we use.

svn path=/trunk/; revision=25996
2008-08-13 07:33:51 +00:00
Anders Broman
255d6b0af9 Fix:
packet-rtps.c:1462: warning: unused parameter 'label'
packet-rtps.c:2767: warning: unused parameter 'label'
packet-rtps2.c:1687: warning: unused parameter 'label'
packet-rtps2.c:3049: warning: unused parameter 'label'
packet-rtps2.c:3147: warning: unused parameter 'label'

svn path=/trunk/; revision=25995
2008-08-13 06:33:39 +00:00
Anders Broman
a143298812 From Fabrizio Bertocci:
- The RTPS packet dissector has been rewritten from scratch to dissect RTPS 1.0
- 1.2 packets

svn path=/trunk/; revision=25994
2008-08-13 06:09:54 +00:00
Anders Broman
9aa1b43f9c From Eric Travis:
Enhancement providing parsing capability for TCP Options 20 & 21 (IANA assigned).

svn path=/trunk/; revision=25991
2008-08-12 21:08:46 +00:00
Anders Broman
c1e67bc6d0 From Márton Németh:
Clean up the Linux USB pseudoheader dissection.

svn path=/trunk/; revision=25990
2008-08-12 20:24:50 +00:00
Anders Broman
3eadb385c3 From Alexey Neyman:
Implement dissector for IPMB (DLT_IPMB_LINUX, 209).

svn path=/trunk/; revision=25986
2008-08-12 04:44:35 +00:00
Anders Broman
8e032dbc87 From Darryl Champagne:
Add SyncML 1.2, and ActiveSync support to packet-wbxml.

svn path=/trunk/; revision=25984
2008-08-11 20:14:04 +00:00
Stig Bjørlykke
cb51efd25d From Roy Marples (bug 2781 and bug 2796):
Display FQDN binary encoded name as text
Ensure that get_dns_name does not cross packet sub boundry

From me:
Preserve the usage of bootp.fqdn.name as a display filter

svn path=/trunk/; revision=25981
2008-08-11 12:00:27 +00:00
Luis Ontanon
90b230cd1c Fix an se_leak
svn path=/trunk/; revision=25974
2008-08-09 20:19:52 +00:00
Stig Bjørlykke
165be68562 From Brooss (bug 2373):
Added TeamSpeak2 dissector

From me:
- Made all local functions static
- Renamed my_vals to conv_vals
- Call correct function to parse LOGINEND
- Fixed some obvious errors in typenames list
- Fixed some indentation

svn path=/trunk/; revision=25973
2008-08-09 18:36:22 +00:00
Stig Bjørlykke
9ef96188ee From Shinsuke SUZUKI (bug 2789):
Remove some non-ASCII characters.

svn path=/trunk/; revision=25972
2008-08-09 16:24:39 +00:00
Jaap Keuter
f9792481d2 Replace custom data presentation with native one.
svn path=/trunk/; revision=25965
2008-08-08 21:39:25 +00:00
Jaap Keuter
7acc2762e3 Fix for bug 2778:
Bye string is "null padded", not "null terminated". Change code to test for that fact.

svn path=/trunk/; revision=25964
2008-08-08 21:22:33 +00:00
Guy Harris
92f318bb83 Add Linux AF_ values to epan/aftypes.h; IAX2 implicitly uses them.
Have the IAX2 dissector include <epan/aftypes.h> and use the Linux AF_
values from it.  Point to the IAX2 I-D, and add some clarifying
comments.

svn path=/trunk/; revision=25962
2008-08-08 20:07:23 +00:00
Guy Harris
3cba46070c Add Winsock AF_ values to epan/aftypes.h; the DirectPlay and ActiveSync
Desktop Pass-Through protocols use them.

Use those values in the dissectors for those protocols.

In the Desktop Pass-Through dissector, define the Winsock SOCK_ values
ourselves, and get the IP protocol values from <epan/ipproto.h>.  Don't
include now-unnecessary system headers in that dissector.

svn path=/trunk/; revision=25959
2008-08-08 19:27:58 +00:00
Guy Harris
652343e2d1 Don't get AF_ values used in protocols from system header files -
they're not guaranteed to be the same in all OSes.  Define them
ourselves.

svn path=/trunk/; revision=25958
2008-08-08 18:15:24 +00:00
Jaap Keuter
9569e7a299 From Ryan Wamsley:
Add Ethernet Global Data (EGD) packet dissector.

svn path=/trunk/; revision=25954
2008-08-07 22:38:19 +00:00
Guy Harris
91407025b7 Put back the Intel URL for the IPMI specs.
svn path=/trunk/; revision=25952
2008-08-07 20:58:27 +00:00
Anders Broman
82ca2b89f0 Activate the IPMI changes
From    Alexey Neyman.

svn path=/trunk/; revision=25951
2008-08-07 19:33:40 +00:00
Anders Broman
46a26582ec From Alexey Neyman :
(Note just checking in the new files not yet added to the build process on purpose
the changes to packet-ipmi.c is also not done yet - Anders).

Generic changes:

- IPMI session wrapper dissection has been separated from the dissection of
  IPMI itself. This will allow for possible dissection of captures directly
  from IPMB (as the IPMB messages lack the IPMI session wrapper).
IPMI changes:

- Implemented request-response matching for IPMI sessions. This makes easy
  serves two purposes: first, it allows for easy location of response to a
  certain request and vice versa. Second, it allows for dissection of
  responses where response format depends on the request data.

- IPMI dissector can now dissect much broader set of commands.

- Command-specific completion codes are now handled.

- The dissector is able to parse IPMI commands embedded into other IPMI
  commands (for now, only Send Message; Get Message and Forward Message
  can be implemented later). Such embedded commands also matched with
  responses to them.

svn path=/trunk/; revision=25948
2008-08-06 20:51:02 +00:00
Anders Broman
07b1b848e0 From Hakim Bellam:
-Added support for aggregate frames
-Added correct decoding for most fields

svn path=/trunk/; revision=25945
2008-08-06 07:00:46 +00:00
Anders Broman
c0d6013845 From Kip McAtee:
Added a mask to drop the high order byte of a short to isolate the protocol ID.
Also lowered the length restriction to support shorter packets for PPPoEoA.

svn path=/trunk/; revision=25944
2008-08-06 06:55:53 +00:00
Ronnie Sahlberg
88d3b24a4e add initial dnsserver dcerpc implementation
svn path=/trunk/; revision=25943
2008-08-06 06:53:37 +00:00
Anders Broman
d261400dea From Gary Reynolds:
Extended the cldap desector to include all the current netlogon response data
types.  

Expanded the cldap netlogon ntver option to be a bit mask of the search flags

Updated the DS flags fields to include Windows 2008 options.

svn path=/trunk/; revision=25942
2008-08-06 06:53:04 +00:00
Ronnie Sahlberg
e0e1c45922 in nfs name to filehandle mappings
when we check and ignore the two names "." and ".."
we must do so for both methods a caller can provide the name :
offset into a tvb, as well as a char* to a string.

also add ->full_name in the dissection to the replies  so that fh 
matches
both request and reply and not ->name



svn path=/trunk/; revision=25941
2008-08-06 06:45:44 +00:00
Guy Harris
71a607d7e7 Fix some errors introduced when fixing Luis Ontanon's e-mail address.
svn path=/trunk/; revision=25938
2008-08-05 21:31:17 +00:00
Luis Ontanon
42c3239a1a luis.ontanon@gmail.com => luis@ontanon.org
svn path=/trunk/; revision=25937
2008-08-05 21:03:46 +00:00
Anders Broman
45b2e37a27 FromVincent Helfre:
A patch for the PS handover XID parameters Information element, which uses the sndcp-xid dissector.

svn path=/trunk/; revision=25934
2008-08-05 18:49:02 +00:00
Jeff Morriss
a330eaa8dc From Daniel Krueger:
The attached patch fixes a bug in the dissection of the StatusResponse,
where device-specific error code is only 6 Bytes long instead of 8 Bytes.

Additionally, I changed the spelling (i.e. the case) of "Ethernet
POWERLINK" to the new preferred one of the EPSG.

svn path=/trunk/; revision=25929
2008-08-05 13:59:27 +00:00
Bill Meier
6916eaf587 Keep the OSX compiler happy: initialize a variable (altho not really req'd)
svn path=/trunk/; revision=25926
2008-08-04 23:58:03 +00:00
Bill Meier
af00f796a0 Another temporary fix to prevent a build error
svn path=/trunk/; revision=25925
2008-08-04 23:50:11 +00:00
Luis Ontanon
fd2c4d0f83 if it's se allocated it needs to be filled only once.
svn path=/trunk/; revision=25924
2008-08-04 23:25:07 +00:00
Luis Ontanon
0177061bff Fix an ep memory corruption due to passing ep blocks into a se allocated structure.
far away from UAT...


svn path=/trunk/; revision=25923
2008-08-04 23:15:54 +00:00
Bill Meier
9ef15c9aa4 temp fix (until the proper fix) to handle buildbot errs;
svn path=/trunk/; revision=25922
2008-08-04 23:15:51 +00:00
Anders Broman
5cbe7f0f17 Fix packet-gsm_a_common.c:63: warning: assignment makes integer from pointer without a cast.
Assuming the default shouldn't occure and fix a copy past error.

svn path=/trunk/; revision=25918
2008-08-04 20:17:34 +00:00
Anders Broman
082a5aec04 From Neil Piercy:
All I've done in these is to split the 3 obviously distinct protocols (BSSMAP & RP) from the still-large (and wrongly-named) DTAP (really the whole of layer 3 - it includes RR and packet parts too).

So far I've only split in a "minimum change" manner - there is clearly some tidying and structure enhancement of how the common bits are used, removing the globals just added, and great scope for consistency of white space, improved naming etc. - but I thought it best to keep it very close to the original initially to establish the split.

With some changes to make it compile on Windows.

svn path=/trunk/; revision=25917
2008-08-04 19:44:03 +00:00
Anders Broman
96aa45646d First step to split the gsm_a dissector into several smaller ones ( done by Neil Piercy)
rename the "old" one to gsm_a_common.

svn path=/trunk/; revision=25915
2008-08-04 16:11:17 +00:00
Bill Meier
f4a7b39753 Print various uints with %u ...
svn path=/trunk/; revision=25914
2008-08-04 03:46:49 +00:00
Bill Meier
8f84b18945 Fix 2 bugs:
- Misplaced } resulted in incorrect program flow in switch statement;
- Invalid input caused "Dissector bug: infinite loop";

svn path=/trunk/; revision=25913
2008-08-04 02:56:47 +00:00
Bill Meier
1fc904c6be Adjust various indentation/spacing; Do some minor reformatting
svn path=/trunk/; revision=25911
2008-08-04 02:27:20 +00:00
Anders Broman
86e0bde995 packet-multipart.c:179: warning: unused parameter 'pinfo'
packet-multipart.c:179: warning: unused parameter 'name'
( restore a bit of previous code)
Move inclusion of tvbuff.h to base64.c

svn path=/trunk/; revision=25909
2008-08-03 15:44:26 +00:00
Anders Broman
2b9d63a4b5 Move common code to base64.c
svn path=/trunk/; revision=25908
2008-08-03 14:27:22 +00:00
Guy Harris
ea4fbda062 Don't fetch data until you need it.
svn path=/trunk/; revision=25907
2008-08-02 21:59:33 +00:00
Anders Broman
38ac851958 Fix packet-netflow.c:2666: warning: 'pen' may be used uninitialized in this function
and remove some C++ comments - some compilers don't allow them (at least not by default).

svn path=/trunk/; revision=25906
2008-08-02 16:13:40 +00:00
Anders Broman
7be2278d3c From Hitoshi Irino:
This patch
(1) fixes to decode IPFIX packets.
The revision 25601 warns and be not able to decodes IPFIX packets fully,
because the array "hf_register_info" does not have an entry
"hf_cflow_datarecord_length", and a length check for IPFIX packets is incorrect
in "dissect_netflow" function.
(2) is able to decode all Information Elements standardized by RFC 5102
(3) is able to decode IPFIX templates and data that contains PEN (Private
Enterprise Number) fields standardized by RFC 5101, and is able to decode
bi-directional flow standardized by RFC 5103.

svn path=/trunk/; revision=25905
2008-08-02 13:53:49 +00:00
Anders Broman
bb54e0bb03 From metatech:
- In DRDA the data is of different "nature" : EBCDIC vs ASCII, so I think they
deserve different field names.

svn path=/trunk/; revision=25902
2008-08-01 18:17:23 +00:00
Stig Bjørlykke
2f2a8edbd7 Regenerated to use the new decode function for UTCTime.
svn path=/trunk/; revision=25898
2008-08-01 16:45:30 +00:00
Stig Bjørlykke
d255e44bfa From Martin Peylo (bug 2507):
The attached patch enables asn2wrs.py and packet-ber.c to decode UTCTime
according to the definitions in X.680.

svn path=/trunk/; revision=25897
2008-08-01 16:44:06 +00:00
Anders Broman
1fa1d7736e packet-turnchannel.c:219: warning: passing argument 2 of 'register_dissector' from incompatible pointer type
A dissector returning int should return the length consumed of the tvb and be
registered with new_register_dissector();

svn path=/trunk/; revision=25896
2008-08-01 15:45:29 +00:00