Commit graph

9116 commits

Author SHA1 Message Date
Gerasimos Dimitriadis
518995a4d8 No need for decoding function for a Tag-only IE
svn path=/trunk/; revision=31055
2009-11-23 19:15:58 +00:00
Stig Bjørlykke
d577ca0fa7 Guard #include <sys/types.h> with HAVE_SYS_TYPES_H.
svn path=/trunk/; revision=31053
2009-11-23 18:47:52 +00:00
Stig Bjørlykke
2a6f8f21fc From Barry Miller via bug 4258:
Include sys/types.h to make it compile on OpenBSD 4.5.

svn path=/trunk/; revision=31051
2009-11-23 08:47:25 +00:00
Guy Harris
3bb1cd12a4 No non-ASCII characters, please.
svn path=/trunk/; revision=31049
2009-11-22 21:54:50 +00:00
Anders Broman
98c852386d Handle lenght restriction extension of restricted strings.
Fixes 
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4251

svn path=/trunk/; revision=31047
2009-11-22 17:00:45 +00:00
Kovarththanan Rajaratnam
a8b7853536 ..but make sure we call tvb_get_guint8() at least once ;)
svn path=/trunk/; revision=31043
2009-11-21 11:21:23 +00:00
Kovarththanan Rajaratnam
ed5ff812fd Use gint when declaring a tree type variable
svn path=/trunk/; revision=31040
2009-11-21 10:45:27 +00:00
Kovarththanan Rajaratnam
d56779b966 Don't call tvb_get_guint8() twice
svn path=/trunk/; revision=31039
2009-11-21 10:45:19 +00:00
Anders Broman
9da838cb7e offset is in bits
svn path=/trunk/; revision=31036
2009-11-20 21:51:48 +00:00
Anders Broman
a3839c2a85 Dissect transportLayerAddress and rrc-context
svn path=/trunk/; revision=31035
2009-11-20 21:41:51 +00:00
Anders Broman
9aa6257dde Handle extended PER bitstrings.
svn path=/trunk/; revision=31034
2009-11-20 21:40:28 +00:00
Gerasimos Dimitriadis
d07a4dd389 When decoding a Cell Identifier, curr_offset is not increased after
reading rnc-id

svn path=/trunk/; revision=31032
2009-11-20 16:23:18 +00:00
Stig Bjørlykke
3734aaa330 Print adjusted length.
svn path=/trunk/; revision=31031
2009-11-20 14:12:15 +00:00
Stig Bjørlykke
e8bcb04ef4 Added nbss.length.
svn path=/trunk/; revision=31030
2009-11-20 13:57:26 +00:00
Gerald Combs
8533da1c94 Don't call tvb_new_subset on a NULL pointer. Fixes bug 4101.
svn path=/trunk/; revision=31029
2009-11-19 22:41:01 +00:00
Anders Broman
b1f6df534a From Michael Lum:
The attached patch calls the tap to allow the number
of each type of message to be counted.

The patch does not fix the "size"/number of octets
column that is all zeroes.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4253

svn path=/trunk/; revision=31027
2009-11-19 21:44:28 +00:00
Jaap Keuter
6602c02f68 From Fabrizio Bertocci:
I'm submitting an updated version of the RTPS & RTPS2 packet dissector.
While the RTPS packet dissector doesn't have too many changes (except for few
comments perhaps), the RTPS 2 packet dissector includes now dissecting of the
latest addition to the RTPS protocol (batched data, sessions, sparse data types).

svn path=/trunk/; revision=31026
2009-11-19 21:30:25 +00:00
Anders Broman
4a2c426b34 From Michael Lum:
MEID missing from some messages.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4252

svn path=/trunk/; revision=31025
2009-11-19 21:12:58 +00:00
Gerasimos Dimitriadis
14689bd1ca - Remove if(tree) checks
- Add masks so that PIM Version and Type nibbles are shown
- Show reserved byte in PIM header

svn path=/trunk/; revision=31022
2009-11-19 20:19:12 +00:00
Martin Mathieson
51e240596d Dissect SRB2 as PDCP signalling too.
svn path=/trunk/; revision=31021
2009-11-19 18:23:53 +00:00
Martin Mathieson
2d2a1ef1cf Tweak expert info level/text.
svn path=/trunk/; revision=31019
2009-11-19 18:11:38 +00:00
Stig Bjørlykke
005049bebb Changed hf_ip_proto to use ipproto_val[].
Removed some unneeded includes.

svn path=/trunk/; revision=31017
2009-11-19 15:30:06 +00:00
Anders Broman
7d6819f0bc ENBname is now a PrintableString. handling in .cnf no longer needed.
svn path=/trunk/; revision=31014
2009-11-19 09:56:18 +00:00
Anders Broman
cf5b1f4786 From Holger Freyther:
RSL is on more than stream-id == 0
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4245

svn path=/trunk/; revision=31013
2009-11-19 07:06:59 +00:00
Gerald Combs
cf8126a808 Instead of initializing the Media Format name to NULL, set it to
"Unknown".  This keeps us from crashing on some platforms if we have an
unknown media format ID.

svn path=/trunk/; revision=31011
2009-11-19 01:50:44 +00:00
Jaap Keuter
53d17afd80 Get the offset right.
svn path=/trunk/; revision=31010
2009-11-18 23:50:05 +00:00
Gerasimos Dimitriadis
36b1cc8e77 Updated GPRS TMSI Status and Update Type IEs
svn path=/trunk/; revision=31009
2009-11-18 22:41:08 +00:00
Gerasimos Dimitriadis
bb3447c6b1 GPRS Attach Type IE updated according to 24.008 v8.6.0
svn path=/trunk/; revision=31008
2009-11-18 22:05:16 +00:00
Gerasimos Dimitriadis
55b982b031 - Use the spare_bits hf from packet_gsm_a_common.c in
packet-gsm_a_dtap.c and packet-gsm_a_gm.c
- Update a number of GPRS IEs according to 24.008 v8.6.0
- Rewrite parts of GPRS IEs so that it is shown which octet parts
  contribute to which header fields


svn path=/trunk/; revision=31006
2009-11-18 20:39:14 +00:00
Martin Mathieson
fa8e0f479f Trivial: comment update
svn path=/trunk/; revision=31004
2009-11-18 13:47:38 +00:00
Martin Mathieson
479fc76dc9 Expert warning about BSRs over a threshold configured in pref.
svn path=/trunk/; revision=31003
2009-11-18 13:47:08 +00:00
Anders Broman
e290921da1 From Aamer Akhter:
Add fields for:
 cdp platform
 cdp device id
 cdp port id
From me:
Chnge ..add_uint to add_item in a couple of places, get rid of check_col.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4244

svn path=/trunk/; revision=30999
2009-11-17 21:23:19 +00:00
Anders Broman
0d6239a976 Mobile On Channel carries no data.
svn path=/trunk/; revision=30998
2009-11-17 20:48:04 +00:00
Gerasimos Dimitriadis
bd124019a4 Fix for Bug 4248:
Graft and GraftAck should get the same handling


svn path=/trunk/; revision=30997
2009-11-17 20:38:02 +00:00
Gerasimos Dimitriadis
c840cdd5a0 Remove the address operator from value_string arrays fed to VALS()
svn path=/trunk/; revision=30995
2009-11-17 18:35:27 +00:00
Martin Mathieson
7af44b2991 Resuse struct for PDCP info when redissecting.
svn path=/trunk/; revision=30992
2009-11-17 17:30:40 +00:00
Kovarththanan Rajaratnam
4e34e57739 From Benjamin Roch via. bug 4247:
Fix type-field of protocol control frame

svn path=/trunk/; revision=30989
2009-11-17 15:53:38 +00:00
Stig Bjørlykke
9c06ca976e Added format argument.
svn path=/trunk/; revision=30986
2009-11-17 08:47:27 +00:00
Anders Broman
44ee17f2d6 Herbert Lischka:
Recipients as IPv4 and IPv6.

svn path=/trunk/; revision=30985
2009-11-17 07:36:40 +00:00
Stig Bjørlykke
ebd71d6f84 Added more Peer ID Conventions.
svn path=/trunk/; revision=30980
2009-11-16 22:53:11 +00:00
Ronnie Sahlberg
6c05ca1051 dont print the window size for the initial SYN packet
svn path=/trunk/; revision=30979
2009-11-16 21:26:55 +00:00
Gerasimos Dimitriadis
e92c2e17da GPRS Attach Result IE updated according to 24.008 v8.6.0
svn path=/trunk/; revision=30977
2009-11-16 18:22:43 +00:00
Martin Mathieson
a6bc911e49 Show data-less PDUs are Error rather than warning.
Only call PDCP for complete signalling PDUs.

svn path=/trunk/; revision=30976
2009-11-16 18:18:07 +00:00
Gerald Combs
f075c30958 Don't let the session blob length go stomping all over the stack with
muddy boots. Fixes bug 4239.

svn path=/trunk/; revision=30975
2009-11-16 17:08:12 +00:00
Gerasimos Dimitriadis
79cf9b5f45 Erroneously ommitted from the patch of Bug 4219:
bit_offset used instead of curr_bit_offset


svn path=/trunk/; revision=30974
2009-11-16 16:20:49 +00:00
Martin Mathieson
1a46552674 Allow LTE RRC dissector to call PDCP/RRC dissectors as appropriate for signalling PDUs.
svn path=/trunk/; revision=30971
2009-11-16 15:35:56 +00:00
Anders Broman
8e07cb1a33 Update SIP headers.
svn path=/trunk/; revision=30969
2009-11-16 06:48:17 +00:00
Gerasimos Dimitriadis
18d299b758 - Replaced get_start_octet() with a right shift
- Deleted function bssgp_tvb_get_bits8(), uses tvbuff counterpart now
- guint32 vars should be enough for bit offsets

svn path=/trunk/; revision=30963
2009-11-14 21:15:38 +00:00
Gerasimos Dimitriadis
9b36fc784e From yy:
About GSM system information type 2quater
Modified to use newly defined tvb_get_bits() in tvbuff.c
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4219


svn path=/trunk/; revision=30962
2009-11-14 20:13:43 +00:00
Kovarththanan Rajaratnam
81fe22f0d1 Remove unused static variable
svn path=/trunk/; revision=30961
2009-11-14 07:28:46 +00:00
Jaap Keuter
2f2bfdddd9 From Ivan Sy:
Patch for IPv6 dissector to support the ff:
- RFC 2460 sec 3, particularly Traffic Class field's 6-bit DSCP and 2-bit ECN 
- RFC 2474 sec 3, copied implementation of ip.c to determine DSCP codepoints
- RFC 3168 sec 5, for ECN's ECT and CE bits
- changed the comment

svn path=/trunk/; revision=30957
2009-11-13 22:19:31 +00:00
Jaap Keuter
eeb2d89d92 From Herbert Lischka:
- packet-bacapp.h eliminated and included in packet-bacapp.c
- dissection of recipient-list and client-cov-increment added

svn path=/trunk/; revision=30955
2009-11-13 20:24:36 +00:00
Stig Bjørlykke
8b42b795e8 Use correct opcode table for error values and regular values.
Removed check_col().

svn path=/trunk/; revision=30950
2009-11-13 12:33:33 +00:00
Jaap Keuter
0e4e74ef3d From Michael Dishman:
Fixed parser for DIS DataRequest PDU.
Added parser for DIS StartResume, StopFreeze, Acknowledge, ActionRequest,
ActionResponse, Comment, CreateEntity, DeleteEntity PDUs.
Added parser for "reliable" versions of the above DIS PDUs.
Added parser for DIS Application Control PDU.
Added parsers for DIS Persistent Object Family PDUs.

svn path=/trunk/; revision=30947
2009-11-13 06:53:15 +00:00
Bill Meier
ec097d9981 (Trivial): check_col() guard not needed for col_set_str; #include <stdio.h> not req'd.
svn path=/trunk/; revision=30946
2009-11-13 00:02:48 +00:00
Jaap Keuter
aca15d236e From Thomas Dreibholz:
NetPerfMeter is an Open Source TCP/UDP/SCTP/DCCP network performance metering
application for Linux, FreeBSD and MacOS X. It can be downloaded here:
http://www.exp-math.uni-essen.de/~dreibh/netperfmeter/ . The protocol used by
this application for the transport of control and data is called NetPerfMeter
protocol. The attached patch is a dissector to decode its packets.

svn path=/trunk/; revision=30943
2009-11-12 22:35:27 +00:00
Jaap Keuter
bd92a72428 From Henning Rogge:
This patch adds support for PacketBB (RFC 5444) to Wireshark. 
PacketBB is a generic message format for mesh networks. 
Both OLSR version 2 and DYMO will use packetbb.

svn path=/trunk/; revision=30942
2009-11-12 18:18:15 +00:00
Gerald Combs
f218c18d00 Make the MCC length check a little more picky.
svn path=/trunk/; revision=30937
2009-11-12 02:03:10 +00:00
Gerald Combs
bc41dc6837 Check for an invalid MCC length. Fixes bug 4212.
svn path=/trunk/; revision=30936
2009-11-12 01:55:06 +00:00
Jaap Keuter
324b7484d9 Implement RFC 3514.
svn path=/trunk/; revision=30926
2009-11-10 21:46:14 +00:00
Jaap Keuter
d22d3bf804 From Hariharan Ananthakrishnan:
Support ISIS local /remote identifier display for extended IS adjacency
(RFC 5307 section 1.1.)

svn path=/trunk/; revision=30924
2009-11-10 20:13:10 +00:00
Jaap Keuter
be342f9e26 From Bernard Imbert:
If the "Level Of Interest" referenced in the smb.trans2.FIND_FIRST/FIND_NEXT
requests is 262, wireshark is unable to decode properly (neither the request
nor the response).

svn path=/trunk/; revision=30923
2009-11-10 19:24:50 +00:00
Anders Broman
9822e9f804 Align RRC-Container dissection with RANAP.
svn path=/trunk/; revision=30911
2009-11-09 21:47:21 +00:00
Balint Reczey
02c98c4517 Decode Circuit ID and Remote ID DSL Forum TR-101 PPPoE tags.
Based on patch from Stefan Puiu <stefan.puiu@gmail.com>.
This fixes bug 3113.

svn path=/trunk/; revision=30908
2009-11-09 15:55:01 +00:00
Stig Bjørlykke
edc6f0cd3b Put sndcp-xid elements in the sndcp-xid subtree.
svn path=/trunk/; revision=30907
2009-11-09 15:51:30 +00:00
Stig Bjørlykke
1743f6e76f Fixed a return statement.
svn path=/trunk/; revision=30906
2009-11-09 15:44:14 +00:00
Stig Bjørlykke
2c01893e72 Conversation is unused in dissect_rtmpt_tcp().
svn path=/trunk/; revision=30905
2009-11-09 15:43:54 +00:00
Stig Bjørlykke
ab3e4adf8b Removed an unused variable.
svn path=/trunk/; revision=30904
2009-11-09 15:43:25 +00:00
Stig Bjørlykke
2d9135f98c Removed unused assignments.
svn path=/trunk/; revision=30903
2009-11-09 15:43:05 +00:00
Stig Bjørlykke
5fa0e7b607 Removed some unused variables.
svn path=/trunk/; revision=30902
2009-11-09 15:17:14 +00:00
Stig Bjørlykke
d7a3a9d99c Removed some unused variables.
svn path=/trunk/; revision=30901
2009-11-09 15:16:51 +00:00
Stig Bjørlykke
af45c9dd3e Removed some unused assignments.
svn path=/trunk/; revision=30900
2009-11-09 15:16:12 +00:00
Stig Bjørlykke
e089ab2789 Removed an unused assignment.
svn path=/trunk/; revision=30899
2009-11-09 15:15:54 +00:00
Stig Bjørlykke
10b4dd438e Removed an unused assignment.
svn path=/trunk/; revision=30898
2009-11-09 15:15:29 +00:00
Stig Bjørlykke
c8810bbc2a Put type/length elements in correct subtree.
svn path=/trunk/; revision=30897
2009-11-09 15:05:34 +00:00
Stig Bjørlykke
b3a5cf28a5 Removed unused variables.
svn path=/trunk/; revision=30896
2009-11-09 14:40:35 +00:00
Stig Bjørlykke
68939c0d8d Removed an unused assignment.
svn path=/trunk/; revision=30895
2009-11-09 14:36:35 +00:00
Stig Bjørlykke
f14b274ec2 Removed unused assignments.
svn path=/trunk/; revision=30894
2009-11-09 14:35:27 +00:00
Stig Bjørlykke
5b7e0dcd9e Put tree elements in the arcnet subtree.
Some code cleanup.

svn path=/trunk/; revision=30890
2009-11-09 14:20:44 +00:00
Stig Bjørlykke
8fe96a84e0 Removed an unused assignment.
svn path=/trunk/; revision=30889
2009-11-09 14:18:27 +00:00
Stig Bjørlykke
ea3b87288b Removed an unused assignment.
svn path=/trunk/; revision=30888
2009-11-09 14:18:08 +00:00
Stig Bjørlykke
2672f93988 Removed unused code.
svn path=/trunk/; revision=30887
2009-11-09 14:17:33 +00:00
Stig Bjørlykke
8288deee24 Put key_index values in correct tree.
svn path=/trunk/; revision=30886
2009-11-09 14:15:38 +00:00
Stig Bjørlykke
535e5317c2 Removed an unused variable.
svn path=/trunk/; revision=30885
2009-11-09 14:13:22 +00:00
Stig Bjørlykke
826595c5b5 Removed an unused variable.
svn path=/trunk/; revision=30884
2009-11-09 14:12:09 +00:00
Stig Bjørlykke
ccc3e2f4d9 Removed an unused assignment.
svn path=/trunk/; revision=30883
2009-11-09 14:10:19 +00:00
Stig Bjørlykke
cc229fada3 Removed an unused variable.
svn path=/trunk/; revision=30882
2009-11-09 14:09:40 +00:00
Stig Bjørlykke
ccba8cc3df Removed an unused assignment.
svn path=/trunk/; revision=30881
2009-11-09 14:09:19 +00:00
Stig Bjørlykke
e9977dda66 Removed an unused variable.
svn path=/trunk/; revision=30880
2009-11-09 14:08:54 +00:00
Stig Bjørlykke
a25ea02717 Put flags subtree under correct element.
svn path=/trunk/; revision=30879
2009-11-09 14:08:27 +00:00
Stig Bjørlykke
64c5b724e3 Removed an unused assignment.
svn path=/trunk/; revision=30878
2009-11-09 14:07:20 +00:00
Stig Bjørlykke
00d20e0384 Made enterprise_oid pointer const.
svn path=/trunk/; revision=30877
2009-11-09 13:03:15 +00:00
Stig Bjørlykke
169547006b Remove an unused variable.
svn path=/trunk/; revision=30876
2009-11-09 12:38:47 +00:00
Martin Mathieson
6634d939d4 Avoid a warning about signed/unsigned comparison.
svn path=/trunk/; revision=30875
2009-11-09 11:10:38 +00:00
Stig Bjørlykke
308f743247 Add the missing changes from r30869.
svn path=/trunk/; revision=30871
2009-11-08 22:04:46 +00:00
Stig Bjørlykke
10e98317c8 Fixed printing of BACnetTypeName in the Packet Details tree.
svn path=/trunk/; revision=30870
2009-11-08 22:00:16 +00:00
Stig Bjørlykke
46ccbb5bbf From Steve Karg and Herbert Lischka via bug 4190:
Modified the open/close context tagging to include context tag number.
Modified the info column to show more specific information about certain
packets.

svn path=/trunk/; revision=30869
2009-11-08 21:49:55 +00:00
Anders Broman
ff5758cdcb Dissect Handover "containers".
svn path=/trunk/; revision=30866
2009-11-08 19:59:21 +00:00
Guy Harris
43c946a6b1 Add packet-umts_mac.h to the release tarball.
svn path=/trunk/; revision=30865
2009-11-08 19:20:00 +00:00
Guy Harris
7aeb317c1d Squelch more warnings.
svn path=/trunk/; revision=30860
2009-11-08 07:28:39 +00:00