Guy Harris
a60cae6935
Move pseudo-header routines from libpcap.c to pcap-common.c, for use
...
with pcap-NG files.
svn path=/trunk/; revision=28184
2009-04-27 19:39:06 +00:00
Martin Mathieson
c1e9d8244b
Try to speed up dissection by using pointers rather than allocating strings. This is safe as the line is in a static buffer throughout the dissection of any given frame.
...
svn path=/trunk/; revision=28183
2009-04-27 17:44:32 +00:00
Jörg Mayer
ebceaff49c
propset
...
svn path=/trunk/; revision=28182
2009-04-27 17:20:07 +00:00
Balint Reczey
eeef135e2f
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
svn path=/trunk/; revision=28181
2009-04-27 16:57:02 +00:00
Anders Broman
b96b6756c9
Use GTK+ 2.16.1-1
...
svn path=/trunk/; revision=28180
2009-04-27 16:50:58 +00:00
Anders Broman
93e07687ba
Bug fixes.
...
svn path=/trunk/; revision=28179
2009-04-27 15:32:43 +00:00
Bill Meier
9428d8a7d0
follow_stream: Oops: revert making functions static.
...
svn path=/trunk/; revision=28178
2009-04-27 14:56:07 +00:00
Bill Meier
37a45966a9
follow_stream: Don't load follow text twice when initially building the window;
...
Also: Define various internal functions as static;
svn path=/trunk/; revision=28177
2009-04-27 14:39:10 +00:00
Michael Tüxen
fa8bb35715
Use named constant.
...
svn path=/trunk/; revision=28176
2009-04-27 11:52:14 +00:00
Martin Mathieson
c620ac8ed6
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.
svn path=/trunk/; revision=28175
2009-04-27 11:12:01 +00:00
Michael Tüxen
5f96074755
Fix a comment.
...
svn path=/trunk/; revision=28174
2009-04-27 09:58:09 +00:00
Guy Harris
18a3b0659c
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.
svn path=/trunk/; revision=28173
2009-04-27 09:28:28 +00:00
Guy Harris
2b36f00d1c
Use GLib's G_MAXUINT16 as the largest value that fits in a guint16.
...
svn path=/trunk/; revision=28172
2009-04-27 08:38:58 +00:00
Michael Tüxen
dccaadc3dc
Remove duplicate code.
...
svn path=/trunk/; revision=28171
2009-04-27 08:24:21 +00:00
Michael Tüxen
6de58c28f0
Add -n option to dumpcap. It will save the capture files in
...
pcapng format instead of pcap. The default is to use pcap.
svn path=/trunk/; revision=28170
2009-04-27 08:11:10 +00:00
Michael Tüxen
6c26c204a1
Improve handling of strings longer than 64KB.
...
svn path=/trunk/; revision=28169
2009-04-27 07:12:36 +00:00
Michael Tüxen
f76f80ac31
Trying to make the Windows compiler happy.
...
svn path=/trunk/; revision=28168
2009-04-27 05:53:02 +00:00
Guy Harris
b8b67161c8
More casts to deal with 64-bit size_t.
...
svn path=/trunk/; revision=28167
2009-04-26 22:27:46 +00:00
Guy Harris
caff2f7cd4
Cast both parts of a FILETIME to guint32, as I think DWORD is signed.
...
svn path=/trunk/; revision=28166
2009-04-26 22:24:48 +00:00
Guy Harris
b6a18ad0b8
Add code that should work on Windows to get current time as microseconds
...
since January 1, 1970, 00:00:00 UTC.
svn path=/trunk/; revision=28165
2009-04-26 22:14:23 +00:00
Michael Tüxen
46e57a5574
(Try to) fix the 64-bit issues.
...
svn path=/trunk/; revision=28164
2009-04-26 21:30:40 +00:00
Michael Tüxen
fff39b54ee
Don't declare now when not used.
...
svn path=/trunk/; revision=28163
2009-04-26 20:03:16 +00:00
Michael Tüxen
120bf41606
Windows does not support gettimeofday(). Use 0 as a workaround for now.
...
svn path=/trunk/; revision=28162
2009-04-26 20:01:56 +00:00
Michael Tüxen
b09b4f4084
constify some args of libpcap_write_enhanced_packet_block()
...
similar to libpcap_write_packet().
svn path=/trunk/; revision=28161
2009-04-26 19:24:36 +00:00
Michael Tüxen
16027310e0
Fix names.
...
svn path=/trunk/; revision=28160
2009-04-26 19:16:54 +00:00
Michael Tüxen
b23f4a90fd
Add functions to write several pcapng blocks.
...
svn path=/trunk/; revision=28159
2009-04-26 18:40:40 +00:00
Gerald Combs
0db2eaff9d
[Automatic manuf and enterprise-numbers update for 2009-04-26]
...
svn path=/trunk/; revision=28157
2009-04-26 17:11:33 +00:00
Anders Broman
fb1f3f0825
More IE decoding and bug fixes.
...
svn path=/trunk/; revision=28156
2009-04-26 16:17:00 +00:00
Michael Tüxen
f5547c0d78
Make ringbuffer.[ch] file format agnostic.
...
Move write routines to dumpcap.c
This is a preparation for pcapng support.
svn path=/trunk/; revision=28155
2009-04-26 15:51:25 +00:00
Michael Tüxen
c68e344284
Clean up some comments I forgot to remove.
...
svn path=/trunk/; revision=28154
2009-04-26 07:46:03 +00:00
Guy Harris
a043d8482f
Don't do pointer casting - some version of GCC complain about that.
...
svn path=/trunk/; revision=28153
2009-04-26 02:59:16 +00:00
Guy Harris
f71921252e
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.
svn path=/trunk/; revision=28152
2009-04-25 21:06:09 +00:00
Michael Tüxen
94fc2641e7
- add support for interface statistic block
...
- distinguish between packet block and enhanced packet block
- fix a bug regarding the handling of unknown blocks
svn path=/trunk/; revision=28151
2009-04-25 19:11:35 +00:00
Anders Broman
c38c73ee5a
More IE decoding.
...
svn path=/trunk/; revision=28150
2009-04-25 17:46:16 +00:00
Anders Broman
ddb0505c5b
Update GSM MAP to V8.9.0 (2009-04).
...
svn path=/trunk/; revision=28149
2009-04-25 17:45:34 +00:00
Anders Broman
40f200a44c
Try to get the security context right.
...
svn path=/trunk/; revision=28148
2009-04-24 20:06:00 +00:00
Stig Bjørlykke
0d40f4c4ee
From Artem Tamazov (bug 3436):
...
Initialize some pointers.
svn path=/trunk/; revision=28147
2009-04-24 16:51:38 +00:00
Bill Meier
fa6acc7d55
vms.c: undo an incorrect const committed in SVN #28144 .
...
svn path=/trunk/; revision=28146
2009-04-24 12:52:02 +00:00
Bill Meier
f06f9125bc
range.c: ep_strbuf_new("") ==> ep_strbuf_new(NULL);
...
svn path=/trunk/; revision=28145
2009-04-24 12:18:31 +00:00
Bill Meier
72ef03e60a
[Trivial] Constify a few things
...
svn path=/trunk/; revision=28144
2009-04-24 12:16:01 +00:00
Stig Bjørlykke
ed948cc8f7
Fixed reassembly, which broke in r25195.
...
Small cleanup in info column.
svn path=/trunk/; revision=28143
2009-04-24 11:46:38 +00:00
Stig Bjørlykke
3517dbe258
The dissector does not use any bytes.
...
svn path=/trunk/; revision=28142
2009-04-24 08:17:28 +00:00
Stig Bjørlykke
98f592713c
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
svn path=/trunk/; revision=28141
2009-04-24 08:14:36 +00:00
Stig Bjørlykke
d628c0a4cc
Added tvb_format_stringzpad_wsp().
...
svn path=/trunk/; revision=28140
2009-04-24 08:08:37 +00:00
Anders Broman
a3534cd46a
From Wade Hennessey:
...
Fix version number support for kdp packets.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3435
svn path=/trunk/; revision=28139
2009-04-23 19:06:26 +00:00
Anders Broman
ba9dd57f6a
- 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
svn path=/trunk/; revision=28138
2009-04-23 18:58:18 +00:00
Stig Bjørlykke
3fd6fbb69e
Added PacketLogger to dump_open_table_base to be able to open pklg files
...
(and avoid crash).
svn path=/trunk/; revision=28137
2009-04-23 09:13:56 +00:00
Gerald Combs
163ee4356b
Add missing files to the distribution.
...
svn path=/trunk/; revision=28136
2009-04-23 00:12:16 +00:00
Gerald Combs
8a6694ccd5
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.
svn path=/trunk/; revision=28135
2009-04-22 20:37:48 +00:00
Bill Meier
d349ab0061
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.
svn path=/trunk/; revision=28134
2009-04-22 19:50:34 +00:00