obnox/wireshark/wip.git
10 years agoSequence analysis is only for UM channels for now.
martinm [Wed, 29 Apr 2009 21:50:02 +0000 (21:50 +0000)]
Sequence analysis is only for UM channels for now.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28195 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoTry to fix the build bot.
etxrab [Tue, 28 Apr 2009 22:40:59 +0000 (22:40 +0000)]
Try to fix the build bot.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28194 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoSignals and IE's updated to V8.1.1 (2009-04).
etxrab [Tue, 28 Apr 2009 19:40:37 +0000 (19:40 +0000)]
Signals and IE's updated to V8.1.1 (2009-04).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28193 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoDissect IMSI.
etxrab [Tue, 28 Apr 2009 19:39:16 +0000 (19:39 +0000)]
Dissect IMSI.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28192 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoTry to cast away win64 buildbot problem.
martinm [Tue, 28 Apr 2009 10:05:56 +0000 (10:05 +0000)]
Try to cast away win64 buildbot problem.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28191 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoAvoid calling strlen() lots of unnecessary times when parsing outhdr values.
martinm [Tue, 28 Apr 2009 09:22:35 +0000 (09:22 +0000)]
Avoid calling strlen() lots of unnecessary times when parsing outhdr values.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28190 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agofind_dlg: handler_id returned from g_signal_connect is gulong (not int)
wmeier [Tue, 28 Apr 2009 03:00:40 +0000 (03:00 +0000)]
find_dlg: handler_id returned from g_signal_connect is gulong (not int)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28189 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoreg_handoff: if (!initialized) ... not req'd; Also: propset.
wmeier [Tue, 28 Apr 2009 02:06:35 +0000 (02:06 +0000)]
reg_handoff: if (!initialized) ... not req'd; Also: propset.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28188 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoAdd packet-pw-common.h to the distribution.
guy [Tue, 28 Apr 2009 00:47:30 +0000 (00:47 +0000)]
Add packet-pw-common.h to the distribution.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28187 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agopcap_to_wtap_map is not used outside wiretap/pcap-common.c, so make it
guy [Mon, 27 Apr 2009 22:07:11 +0000 (22:07 +0000)]
pcap_to_wtap_map is not used outside wiretap/pcap-common.c, so make it
static.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28186 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoNettl format != libpcap format && nettl format != pcap-NG format.
guy [Mon, 27 Apr 2009 21:28:53 +0000 (21:28 +0000)]
Nettl format != libpcap format && nettl format != pcap-NG format.
Remove the stuff for nettl from the LINKTYPE_ <-> WTAP_ENCAP_ mapping
table.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28185 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoMove pseudo-header routines from libpcap.c to pcap-common.c, for use
guy [Mon, 27 Apr 2009 19:39:06 +0000 (19:39 +0000)]
Move pseudo-header routines from libpcap.c to pcap-common.c, for use
with pcap-NG files.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28184 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agogit-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28183 f5534014-38df-0310...
anonsvn [Mon, 27 Apr 2009 17:41:02 +0000 (17:41 +0000)]
git-svn-id: anonsvn.wireshark.org/wireshark/trunk@28183 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agopropset
jmayer [Mon, 27 Apr 2009 17:20:07 +0000 (17:20 +0000)]
propset

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28182 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoFrom Artem Tamazov: SAToP and CESoPSN MPLS PW support.
rbalint [Mon, 27 Apr 2009 16:57:02 +0000 (16:57 +0000)]
From Artem Tamazov: SAToP and CESoPSN MPLS PW support.

Introduction of decoding of MPLS payloads as CESoPSN PW (RFC5086)
and SAToP PW (RFC4553). Not supported yet:
- CESoPSN Basic NxDS0 mode.
- Decoding of <Optional> RTP Headers (RFC3550)
- Decoding of PW payload

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28181 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoUse GTK+ 2.16.1-1
etxrab [Mon, 27 Apr 2009 16:50:58 +0000 (16:50 +0000)]
Use GTK+ 2.16.1-1

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28180 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoBug fixes.
etxrab [Mon, 27 Apr 2009 15:32:43 +0000 (15:32 +0000)]
Bug fixes.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28179 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agofollow_stream: Oops: revert making functions static.
wmeier [Mon, 27 Apr 2009 14:56:07 +0000 (14:56 +0000)]
follow_stream: Oops: revert making functions static.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28178 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agofollow_stream: Don't load follow text twice when initially building the window;
wmeier [Mon, 27 Apr 2009 14:39:10 +0000 (14:39 +0000)]
follow_stream: Don't load follow text twice when initially building the window;
Also: Define various internal functions as static;

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28177 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoUse named constant.
tuexen [Mon, 27 Apr 2009 11:52:14 +0000 (11:52 +0000)]
Use named constant.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28176 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoAllow RAR UL Request field to be broken down (as in 36.213).
martinm [Mon, 27 Apr 2009 11:12:01 +0000 (11:12 +0000)]
Allow RAR UL Request field to be broken down (as in 36.213).
Also consider an RAR PDU to be malformed if it contains > 1 BI headers.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28175 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoFix a comment.
tuexen [Mon, 27 Apr 2009 09:58:09 +0000 (09:58 +0000)]
Fix a comment.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28174 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoHave the libpcap and pcap-NG code share the LINKTYPE_-to-WTAP_ENCAP_
guy [Mon, 27 Apr 2009 09:28:28 +0000 (09:28 +0000)]
Have the libpcap and pcap-NG code share the LINKTYPE_-to-WTAP_ENCAP_
mapping table - they should be using the same values.  Share the mapping
routines as well.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28173 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoUse GLib's G_MAXUINT16 as the largest value that fits in a guint16.
guy [Mon, 27 Apr 2009 08:38:58 +0000 (08:38 +0000)]
Use GLib's G_MAXUINT16 as the largest value that fits in a guint16.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28172 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoRemove duplicate code.
tuexen [Mon, 27 Apr 2009 08:24:21 +0000 (08:24 +0000)]
Remove duplicate code.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28171 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoAdd -n option to dumpcap. It will save the capture files in
tuexen [Mon, 27 Apr 2009 08:11:10 +0000 (08:11 +0000)]
Add -n option to dumpcap. It will save the capture files in
pcapng format instead of pcap. The default is to use pcap.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28170 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoImprove handling of strings longer than 64KB.
tuexen [Mon, 27 Apr 2009 07:12:36 +0000 (07:12 +0000)]
Improve handling of strings longer than 64KB.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28169 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoTrying to make the Windows compiler happy.
tuexen [Mon, 27 Apr 2009 05:53:02 +0000 (05:53 +0000)]
Trying to make the Windows compiler happy.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28168 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoMore casts to deal with 64-bit size_t.
guy [Sun, 26 Apr 2009 22:27:46 +0000 (22:27 +0000)]
More casts to deal with 64-bit size_t.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28167 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoCast both parts of a FILETIME to guint32, as I think DWORD is signed.
guy [Sun, 26 Apr 2009 22:24:48 +0000 (22:24 +0000)]
Cast both parts of a FILETIME to guint32, as I think DWORD is signed.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28166 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoAdd code that should work on Windows to get current time as microseconds
guy [Sun, 26 Apr 2009 22:14:23 +0000 (22:14 +0000)]
Add code that should work on Windows to get current time as microseconds
since January 1, 1970, 00:00:00 UTC.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28165 f5534014-38df-0310-8fa8-9805f1628bb7

10 years ago(Try to) fix the 64-bit issues.
tuexen [Sun, 26 Apr 2009 21:30:40 +0000 (21:30 +0000)]
(Try to) fix the 64-bit issues.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28164 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoDon't declare now when not used.
tuexen [Sun, 26 Apr 2009 20:03:16 +0000 (20:03 +0000)]
Don't declare now when not used.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28163 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoWindows does not support gettimeofday(). Use 0 as a workaround for now.
tuexen [Sun, 26 Apr 2009 20:01:56 +0000 (20:01 +0000)]
Windows does not support gettimeofday(). Use 0 as a workaround for now.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28162 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoconstify some args of libpcap_write_enhanced_packet_block()
tuexen [Sun, 26 Apr 2009 19:24:36 +0000 (19:24 +0000)]
constify some args of libpcap_write_enhanced_packet_block()
similar to libpcap_write_packet().

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28161 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoFix names.
tuexen [Sun, 26 Apr 2009 19:16:54 +0000 (19:16 +0000)]
Fix names.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28160 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoAdd functions to write several pcapng blocks.
tuexen [Sun, 26 Apr 2009 18:40:40 +0000 (18:40 +0000)]
Add functions to write several pcapng blocks.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28159 f5534014-38df-0310-8fa8-9805f1628bb7

10 years ago[Automatic manuf and enterprise-numbers update for 2009-04-26]
gerald [Sun, 26 Apr 2009 17:11:33 +0000 (17:11 +0000)]
[Automatic manuf and enterprise-numbers update for 2009-04-26]

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28157 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoMore IE decoding and bug fixes.
etxrab [Sun, 26 Apr 2009 16:17:00 +0000 (16:17 +0000)]
More IE decoding and bug fixes.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28156 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoMake ringbuffer.[ch] file format agnostic.
tuexen [Sun, 26 Apr 2009 15:51:25 +0000 (15:51 +0000)]
Make ringbuffer.[ch] file format agnostic.
Move write routines to dumpcap.c
This is a preparation for pcapng support.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28155 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoClean up some comments I forgot to remove.
tuexen [Sun, 26 Apr 2009 07:46:03 +0000 (07:46 +0000)]
Clean up some comments I forgot to remove.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28154 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoDon't do pointer casting - some version of GCC complain about that.
guy [Sun, 26 Apr 2009 02:59:16 +0000 (02:59 +0000)]
Don't do pointer casting - some version of GCC complain about that.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28153 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoThere's no guarantee that "ll" is the right modifier to use for
guy [Sat, 25 Apr 2009 21:06:09 +0000 (21:06 +0000)]
There's no guarantee that "ll" is the right modifier to use for
gint64/guint64 with GLib's formatting routines; use G_GINT64_MODIFIER
instead.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28152 f5534014-38df-0310-8fa8-9805f1628bb7

10 years ago- add support for interface statistic block
tuexen [Sat, 25 Apr 2009 19:11:35 +0000 (19:11 +0000)]
- add support for interface statistic block
- distinguish between packet block and enhanced packet block
- fix a bug regarding the handling of unknown blocks

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28151 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoMore IE decoding.
etxrab [Sat, 25 Apr 2009 17:46:16 +0000 (17:46 +0000)]
More IE decoding.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28150 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoUpdate GSM MAP to V8.9.0 (2009-04).
etxrab [Sat, 25 Apr 2009 17:45:34 +0000 (17:45 +0000)]
Update GSM MAP to V8.9.0 (2009-04).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28149 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoTry to get the security context right.
etxrab [Fri, 24 Apr 2009 20:06:00 +0000 (20:06 +0000)]
Try to get the security context right.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28148 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoFrom Artem Tamazov (bug 3436):
stig [Fri, 24 Apr 2009 16:51:38 +0000 (16:51 +0000)]
From Artem Tamazov (bug 3436):
Initialize some pointers.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28147 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agovms.c: undo an incorrect const committed in SVN #28144.
wmeier [Fri, 24 Apr 2009 12:52:02 +0000 (12:52 +0000)]
vms.c: undo an incorrect const committed in SVN #28144.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28146 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agorange.c: ep_strbuf_new("") ==> ep_strbuf_new(NULL);
wmeier [Fri, 24 Apr 2009 12:18:31 +0000 (12:18 +0000)]
range.c: ep_strbuf_new("") ==> ep_strbuf_new(NULL);

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28145 f5534014-38df-0310-8fa8-9805f1628bb7

10 years ago[Trivial] Constify a few things
wmeier [Fri, 24 Apr 2009 12:16:01 +0000 (12:16 +0000)]
[Trivial] Constify a few things

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28144 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoFixed reassembly, which broke in r25195.
stig [Fri, 24 Apr 2009 11:46:38 +0000 (11:46 +0000)]
Fixed reassembly, which broke in r25195.
Small cleanup in info column.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28143 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoThe dissector does not use any bytes.
stig [Fri, 24 Apr 2009 08:17:28 +0000 (08:17 +0000)]
The dissector does not use any bytes.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28142 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoImproved reading Apple's PacketLogger files:
stig [Fri, 24 Apr 2009 08:14:36 +0000 (08:14 +0000)]
Improved reading Apple's PacketLogger files:
- Send last byte of header (type) and data to a packetlogger dissector
- Rewrite type to ACI channel in the dissector
- Direction is indirectly given from the PL type
- Dissect PacketLogger NewC and Info as text

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28141 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoAdded tvb_format_stringzpad_wsp().
stig [Fri, 24 Apr 2009 08:08:37 +0000 (08:08 +0000)]
Added tvb_format_stringzpad_wsp().

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28140 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoFrom Wade Hennessey:
etxrab [Thu, 23 Apr 2009 19:06:26 +0000 (19:06 +0000)]
From Wade Hennessey:
Fix version number support for kdp packets.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3435

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28139 f5534014-38df-0310-8fa8-9805f1628bb7

10 years ago- GSM MAP: incorrect decoding of getPassword operation .
etxrab [Thu, 23 Apr 2009 18:58:18 +0000 (18:58 +0000)]
- GSM MAP: incorrect decoding of getPassword operation .
   https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3433
- GSM MAP: incorrect decoding of returnError component
   https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3434

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28138 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoAdded PacketLogger to dump_open_table_base to be able to open pklg files
stig [Thu, 23 Apr 2009 09:13:56 +0000 (09:13 +0000)]
Added PacketLogger to dump_open_table_base to be able to open pklg files
(and avoid crash).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28137 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoAdd missing files to the distribution.
gerald [Thu, 23 Apr 2009 00:12:16 +0000 (00:12 +0000)]
Add missing files to the distribution.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28136 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoDon't rename the "ChmodBPF" directory to "Startup". Add an alias to
gerald [Wed, 22 Apr 2009 20:37:48 +0000 (20:37 +0000)]
Don't rename the "ChmodBPF" directory to "Startup". Add an alias to
/Library/StartupItems with an arrow similar to the top-level directory.
Update the arrow image in the top-level directory. Adjust the layouts of
the top-level and Utilities directories. Update the documentation.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28135 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoproto.c: proto_registrar_dump...() fixes/changes:
wmeier [Wed, 22 Apr 2009 19:50:34 +0000 (19:50 +0000)]
proto.c: proto_registrar_dump...() fixes/changes:
- dump_values: Handle range_strings (prevents crash);
- dump_fields:
   a. Formats 2,3: If type==FT_BOOLEAN: output integer "parent bitfield width"
      in Field 7 instead of "BASE_NONE", etc. to allow addt'l
      field validation when using ftsanity.py.
   b. Format 3: Output bitmask (Field 8) in hex (0x...) instead of decimal.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28134 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoTry to fix more unused code warnings.
etxrab [Wed, 22 Apr 2009 19:38:04 +0000 (19:38 +0000)]
Try to fix more unused code warnings.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28133 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoFix a warning in the RANAP dissector.
guy [Wed, 22 Apr 2009 19:21:43 +0000 (19:21 +0000)]
Fix a warning in the RANAP dissector.

There don't seem to be any more RANAP warning, so put it back with the
clean dissectors.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28132 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoUse #.OMIT_ASSIGNMENT
etxrab [Wed, 22 Apr 2009 18:34:22 +0000 (18:34 +0000)]
Use #.OMIT_ASSIGNMENT

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28131 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoTry to fix unused code warnings.
etxrab [Wed, 22 Apr 2009 18:13:57 +0000 (18:13 +0000)]
Try to fix unused code warnings.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28130 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoTry to fix unused code warnings.
etxrab [Wed, 22 Apr 2009 18:03:53 +0000 (18:03 +0000)]
Try to fix unused code warnings.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28129 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoFrom Mark Cave-Ayland: Fix a crash in the PCNFSD dissector.
gerald [Wed, 22 Apr 2009 17:42:47 +0000 (17:42 +0000)]
From Mark Cave-Ayland: Fix a crash in the PCNFSD dissector.

From me: Apply Mark's fix to the ident string. Add public #defines for
the special strings that dissect_rpc_* might return and use them in
PCNFSD.  Replace a manual buffer allocation with ep_strdup_printf.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28128 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoFix a typo.
etxrab [Wed, 22 Apr 2009 16:19:06 +0000 (16:19 +0000)]
Fix a typo.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28127 f5534014-38df-0310-8fa8-9805f1628bb7

10 years ago- Dissect transportlayeraddress
etxrab [Wed, 22 Apr 2009 16:11:53 +0000 (16:11 +0000)]
- Dissect transportlayeraddress
- Don't add nbap to protocols in framelist for every IE.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28126 f5534014-38df-0310-8fa8-9805f1628bb7

10 years ago- Try to get rid of the unused code warnings.
etxrab [Wed, 22 Apr 2009 16:10:31 +0000 (16:10 +0000)]
- Try to get rid of the unused code warnings.
- GTP-TEI as hex and dec.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28125 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agosmpp: Fix potential crash(es): Mark hf[] entries with a range_string[] with BASE_RANG...
wmeier [Wed, 22 Apr 2009 16:06:14 +0000 (16:06 +0000)]
smpp: Fix potential crash(es): Mark hf[] entries with a range_string[] with BASE_RANGE_STRING in 'display' field;

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28124 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoFrom Anders: add the OPCUA plugin to the Windows distribution
morriss [Wed, 22 Apr 2009 12:19:59 +0000 (12:19 +0000)]
From Anders: add the OPCUA plugin to the Windows distribution

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28123 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoMore file-offset fixes.
guy [Wed, 22 Apr 2009 04:33:49 +0000 (04:33 +0000)]
More file-offset fixes.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28122 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agossize_t is UN*X-only; don't use it.
guy [Wed, 22 Apr 2009 03:57:37 +0000 (03:57 +0000)]
ssize_t is UN*X-only; don't use it.

The header length, as processed by airopeekv9_process_header(), is never
0, so use 0, not -1, as the error return.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28121 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoLLP64 fix.
guy [Wed, 22 Apr 2009 03:50:13 +0000 (03:50 +0000)]
LLP64 fix.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28120 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoSigned vs. unsigned fix.
guy [Wed, 22 Apr 2009 03:49:45 +0000 (03:49 +0000)]
Signed vs. unsigned fix.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28119 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoBleah, some dissectors still insist on using structures and sizeof and
guy [Wed, 22 Apr 2009 03:10:24 +0000 (03:10 +0000)]
Bleah, some dissectors still insist on using structures and sizeof and
offsetof, so turn off 64-to-32 warnings for now.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28118 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoClean up some 64-bit issues.
guy [Wed, 22 Apr 2009 03:07:37 +0000 (03:07 +0000)]
Clean up some 64-bit issues.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28117 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoMore float-constant-not-double-constant fixes.
guy [Wed, 22 Apr 2009 00:49:00 +0000 (00:49 +0000)]
More float-constant-not-double-constant fixes.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28116 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoGet rid of trailing tab.
guy [Tue, 21 Apr 2009 22:29:47 +0000 (22:29 +0000)]
Get rid of trailing tab.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28115 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agocheckAPIs: check for 'const' in value_string definition.
wmeier [Tue, 21 Apr 2009 22:26:34 +0000 (22:26 +0000)]
checkAPIs: check for 'const' in value_string definition.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28114 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoReplace some non-ascii characters in comment
wmeier [Tue, 21 Apr 2009 22:22:35 +0000 (22:22 +0000)]
Replace some non-ascii characters in comment

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28113 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoinfiniband.h: Verify addt'l fields against spec; reformat
wmeier [Tue, 21 Apr 2009 21:48:38 +0000 (21:48 +0000)]
infiniband.h: Verify addt'l fields against spec; reformat

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28112 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoMove ranap to dirty dissectors for now.
etxrab [Tue, 21 Apr 2009 21:42:25 +0000 (21:42 +0000)]
Move ranap to dirty dissectors for now.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28111 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoFrom Artem Tamazov: Fix compilation for Visual C++ 7.1.
gerald [Tue, 21 Apr 2009 21:15:52 +0000 (21:15 +0000)]
From Artem Tamazov: Fix compilation for Visual C++ 7.1.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28110 f5534014-38df-0310-8fa8-9805f1628bb7

10 years ago- Reintroduce heuristic dissector
etxrab [Tue, 21 Apr 2009 16:58:13 +0000 (16:58 +0000)]
- Reintroduce heuristic dissector
  https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3426
- Dissect TransportLayerAddress as IPv4 or IPv6 address
  https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3427
- Use call dissector_try_port_new()
- Update ASN1 descriptions.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28109 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoTurn on -Wshorten-64-to-32 by default, and fix some issues that turned
guy [Tue, 21 Apr 2009 16:57:52 +0000 (16:57 +0000)]
Turn on -Wshorten-64-to-32 by default, and fix some issues that turned
up (99 44/100% of which were assignments of double-precision
floating-point constants to floats).  Hopefully this will catch at least
some P64 issues on UN*X.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28108 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoFix a typo.
etxrab [Tue, 21 Apr 2009 16:53:34 +0000 (16:53 +0000)]
Fix a typo.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28107 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoIntroduce call dissector_try_port_new() to be used when no protocol entry is to be...
etxrab [Tue, 21 Apr 2009 16:53:00 +0000 (16:53 +0000)]
Introduce call dissector_try_port_new() to be used when no protocol entry is to be made in the protocols list. Used by asn2wrs dissectors to avoid multiple entrys as calls are made
multiple times for the same PDU.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28106 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoinfiniband: Fix various issues mostly relating to protocol field display:
wmeier [Tue, 21 Apr 2009 13:52:00 +0000 (13:52 +0000)]
infiniband: Fix various issues mostly relating to protocol field display:
- Conform display of fields to Infiniband spec (1.2.1): E.G.: use correct bitmasks in hf[];
  (The verification/correction process is not complete: see packet-inifiniband.h);
- Comment out unused hf[] & related elements;
- hf[]: FT_BOOLEAN entries with bitmask: "BASE" should be "bitwidth of parent bitfield";
- packet-infiniband.c: Use consistent indentation;
-                      Move proto_register & proto_reg_handoff to the end of the file.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28105 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoAlso show number of RAR bodies/entries in stats.
martinm [Tue, 21 Apr 2009 12:35:50 +0000 (12:35 +0000)]
Also show number of RAR bodies/entries in stats.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28104 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoSimplify headerfields a bit.
jake [Tue, 21 Apr 2009 05:59:01 +0000 (05:59 +0000)]
Simplify headerfields a bit.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28103 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoConstify some more value_strings.
jake [Tue, 21 Apr 2009 05:58:31 +0000 (05:58 +0000)]
Constify some more value_strings.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28102 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoConstify some more value_strings.
jake [Tue, 21 Apr 2009 05:33:32 +0000 (05:33 +0000)]
Constify some more value_strings.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28101 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoRemove some backslashes that were inadvertently continuing lines.
gerald [Mon, 20 Apr 2009 21:20:47 +0000 (21:20 +0000)]
Remove some backslashes that were inadvertently continuing lines.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28100 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoSquelch some warnings.
guy [Mon, 20 Apr 2009 21:03:46 +0000 (21:03 +0000)]
Squelch some warnings.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28099 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoMore IE decoding, expect messages to be integrity protected.
etxrab [Mon, 20 Apr 2009 20:31:33 +0000 (20:31 +0000)]
More IE decoding, expect messages to be integrity protected.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28098 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoFix build without HAVE_LIBGCRYPT.
jake [Mon, 20 Apr 2009 20:27:16 +0000 (20:27 +0000)]
Fix build without HAVE_LIBGCRYPT.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28097 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoMore constification to fix warnings.
guy [Mon, 20 Apr 2009 19:20:49 +0000 (19:20 +0000)]
More constification to fix warnings.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28096 f5534014-38df-0310-8fa8-9805f1628bb7

10 years agoAdd Naoyoshi Ueda to authors list.
jake [Mon, 20 Apr 2009 18:53:12 +0000 (18:53 +0000)]
Add Naoyoshi Ueda to authors list.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28095 f5534014-38df-0310-8fa8-9805f1628bb7