Commit Graph

29706 Commits

Author SHA1 Message Date
Martin Mathieson 4474e0d25b Label a short BSR as "short"
svn path=/trunk/; revision=30699
2009-10-25 23:03:11 +00:00
Gerald Combs 5ba1582dda From Jim Young via bug 4162:
This patch limits the number of fractional digits used to calculate the
fractional component of editcap's -t and -w options.

Specifically this patch truncates the fractional component (if any) of the -t
and -w options to 6 and 9 respectively.

svn path=/trunk/; revision=30698
2009-10-25 20:18:24 +00:00
Balint Reczey 460e086f9e Decode DSL Forum TR-101 PPPoE tags.
This fixes bug 3113.

svn path=/trunk/; revision=30697
2009-10-25 20:11:47 +00:00
Gerald Combs b3e5d2f39d More fixes from John T. Haller via bug 4158, with some cleanups from me.
svn path=/trunk/; revision=30696
2009-10-25 19:33:36 +00:00
Gerald Combs 771e9ef518 Option 2 (Time Offset) is signed.
svn path=/trunk/; revision=30695
2009-10-25 17:05:08 +00:00
Gerald Combs a2af2db1cf [Automatic manuf and enterprise-numbers update for 2009-10-25]
svn path=/trunk/; revision=30692
2009-10-25 15:03:39 +00:00
Anders Broman 88bb44a51e From Jakub Zawadzki:
Cleanup dissector code - use proper memory functions.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4164

svn path=/trunk/; revision=30691
2009-10-25 11:43:30 +00:00
Stig Bjørlykke 337896f4c6 From Marton Nemeth via bug 4163:
Add support for input URBs.

svn path=/trunk/; revision=30690
2009-10-25 10:45:15 +00:00
Jörg Mayer e0ce6d735d Remove an obsolete comment
svn path=/trunk/; revision=30689
2009-10-25 10:33:10 +00:00
Anders Broman 53e44c4a73 From Gerasimos Dimitriadis:
DTAP: MAP component of indefinite length within Facility IE
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4157

svn path=/trunk/; revision=30688
2009-10-25 10:14:47 +00:00
Anders Broman c5ce562d60 Use pango 1.26
svn path=/trunk/; revision=30687
2009-10-25 09:59:40 +00:00
Stig Bjørlykke 1637e69118 No point passing a global pointer as a function argument.
Made check_ndmp_rm() and check_ndmp_hdr() static.

svn path=/trunk/; revision=30686
2009-10-24 16:30:11 +00:00
Stig Bjørlykke f88e3c3b84 From Jakub Zawadzki via bug 3764:
Don't call strcmp() when pointers are the same.

svn path=/trunk/; revision=30685
2009-10-24 15:51:10 +00:00
Stig Bjørlykke a3750f1ccf From Robert Simac via bug 3470:
Add the missing ndmp v4 messages, namely the:
 NDMP_CONFIG_GET_EXT_LIST
 NDMP_CONFIG_SET_EXT_LIST

This may serve as the 1st step into actual extensions (Snapvault etc)
dissector implementation.

svn path=/trunk/; revision=30684
2009-10-24 15:40:35 +00:00
Stig Bjørlykke 3dd1312d74 Load lua scripts from subdirectories in the plugins folders.
svn path=/trunk/; revision=30683
2009-10-24 13:36:16 +00:00
Jaap Keuter d90cb60f61 From Mithun Roy:
The primary header in bundle protocol contains some offset values(destination
scheme offset, destination ssp offset, source scheme offset, source ssp offset,
etc). These are the offsets within the dictionary if the length of the
dictionary length is greater than 0. But if the dictionary length is 0, then
these offset refer to node number and service number respectively(according to
compressed bundle header encoding). For example if destination scheme offset is
2 and the destination ssp offset is 1, then the destination
EID(<node_number>.<service_number>) is 2.1. 

Currently the dtn dissector will consider these offsets to be actual offsets in
the dictionary even if the dictionary length is 0. So the values for the
EID's(destination, source, report, custodian) and their schemes are junk
values. For example if the destination scheme offset is 2 and the destination
ssp offset is 1 and the dictionary length is 0(which means the dictionary is
empty), then the destination scheme is 2 bytes after the beginning of the
metadata block(field after dictionary) and destination is 1 byte after the
beginning of the metadata block.

svn path=/trunk/; revision=30682
2009-10-24 11:19:23 +00:00
Gerald Combs b1a5c989ee Add updates from bug 4158.
svn path=/trunk/; revision=30681
2009-10-23 21:38:38 +00:00
Gerald Combs 483711e3f5 Add a comment about using memcpy for scrubbing.
svn path=/trunk/; revision=30680
2009-10-23 21:07:28 +00:00
Stig Bjørlykke 81807b3e9b Added init_wslua.h
svn path=/trunk/; revision=30676
2009-10-23 18:00:57 +00:00
Stig Bjørlykke 3a5c9ec3b2 Load lua scripts in the plugins directory, both global and personal.
List loaded lua scripts in Help->About->Plugins.

svn path=/trunk/; revision=30675
2009-10-23 17:52:18 +00:00
Jaap Keuter c65f2d42f8 Fix building debian-package target, broken by r28784.
svn path=/trunk/; revision=30674
2009-10-23 16:48:23 +00:00
Jeff Morriss 350729607a dissect_udp_bundle(): check if dissect_payload_header() or
display_metadata_block() return 0 (meaning they failed to decode something and
the offset was not incremented) rather than checking if the resulting offset
is 0.

This fixes the infinite loop reported in:

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

svn path=/trunk/; revision=30672
2009-10-23 15:55:39 +00:00
Anders Broman 9db0d46eba Forgot to remove IA5_7BIT_decode(unsigned char * dest, const unsigned char* src, int len);
svn path=/trunk/; revision=30671
2009-10-23 05:32:15 +00:00
Anders Broman ea679ff697 From Gerasimos Dimitriadis:
DTAP: Decoding of subaddress information.
sligtly modified.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4150

svn path=/trunk/; revision=30670
2009-10-23 02:12:39 +00:00
Anders Broman f82442badc Move IA5_7BIT_decode to strutil.c
svn path=/trunk/; revision=30669
2009-10-23 01:56:09 +00:00
Gerald Combs 0bbe1cb546 Make the new packet list the default on Win64.
svn path=/trunk/; revision=30668
2009-10-23 00:16:34 +00:00
Jaap Keuter eae4219cea From Lars Ruoff:
Do not make dialog windows transient to the Wireshark top level window on
WIN32, since this causes some strange behaviour on Windows.
See http://www.wireshark.org/lists/wireshark-dev/200909/msg00184.html

svn path=/trunk/; revision=30667
2009-10-22 19:40:15 +00:00
Martin Mathieson f5b4b6e32f Expert error if (non-padded) PDU is shorter than reported.
svn path=/trunk/; revision=30666
2009-10-22 17:22:27 +00:00
Gerald Combs 839977fd7d Fix the WpdPack version on Win64.
svn path=/trunk/; revision=30665
2009-10-22 17:00:26 +00:00
Martin Mathieson 0f8ee9cdf9 More long BSR fixes.
svn path=/trunk/; revision=30664
2009-10-22 11:45:40 +00:00
Martin Mathieson b3f5ccdae0 Fix issues with long BSR format, and attach expert info for non-zero RAR TA to correct item.
svn path=/trunk/; revision=30663
2009-10-22 10:31:13 +00:00
Jaap Keuter 802dc7f334 From Greg Schwendimann:
The 802.3at Power Via MDI TLV dissector is incomplete as it does not decode the
last three bytes.  I have attached a patch that decodes the type/source/priority, 
PD requested power value, and PSE allocated power value fields.

svn path=/trunk/; revision=30662
2009-10-22 07:10:05 +00:00
Anders Broman 3faf5345ab From Gerasimos Dimitriadis:
DTAP: Progress description depends on coding standard.
Changed to export value strings trough .h file
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4146

svn path=/trunk/; revision=30661
2009-10-22 05:28:53 +00:00
Jeff Morriss d163d9cad7 Remove non-ASCII characters
svn path=/trunk/; revision=30656
2009-10-21 12:56:28 +00:00
Anders Broman f5f2bf6ecd From Gerasimos Dimitriadis:
DTAP: Call state depends on coding standard.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4145

svn path=/trunk/; revision=30655
2009-10-21 09:38:51 +00:00
Jaap Keuter d42280adb1 From Joe Eykholt:
The Fibre-Channel Extended Link Service request REC (Read Exchange Concise) 
is used in error recovery.  It is currently identified as REC but not completely 
dissected (the payload is shown as data).

svn path=/trunk/; revision=30654
2009-10-21 08:01:35 +00:00
Anders Broman 89e9745ed5 Use 2.22.2-1
svn path=/trunk/; revision=30653
2009-10-21 06:01:36 +00:00
Gerald Combs 09a0650607 Update WinPcap and the developer's pack to 4.1.1.
svn path=/trunk/; revision=30652
2009-10-21 03:13:42 +00:00
Jeff Morriss 6274e6b1ff ... and emem_init isn't (it is called directly by reassemble_test).
svn path=/trunk/; revision=30651
2009-10-21 00:12:36 +00:00
Guy Harris 7443432ed5 ep_init_chunk() and se_init_chunk() are static.
svn path=/trunk/; revision=30650
2009-10-20 23:50:31 +00:00
Jeff Morriss 4b6e25c627 s/#if HAVE_KERBEROS/#ifdef HAVE_KERBEROS/
svn path=/trunk/; revision=30649
2009-10-20 20:26:51 +00:00
Jeff Morriss 9341d5c8fa Take a stab at adding a section on environment variables that affect *shark's behavior. So far, all the emem variables are included.
svn path=/trunk/; revision=30648
2009-10-20 20:14:23 +00:00
Guy Harris ef2e5d71cc Fix broken link.
svn path=/trunk/; revision=30647
2009-10-20 18:17:32 +00:00
Jeff Morriss 78318b32ee Add emem_init() which initializes both the ep_ and se_ allocators; have all
callers use that instead of initializing each allocator individually.

svn path=/trunk/; revision=30646
2009-10-20 17:43:05 +00:00
Jeff Morriss 8ec5a160ec Make sure no one calls PROTO_ITEM_SET_*(proto_tree_add_*) by forcing a compile error if they do.
svn path=/trunk/; revision=30645
2009-10-20 17:39:22 +00:00
Jeff Morriss 38cb8e82c3 Don't call xx_init_chunk() in ep_free_all() and se_free_all() if we're not
using chunks.  With this change, xx_init_chunk() are only called once at
startup (as their comments imply).

Instead, set free_list to NULL in emem_free_all() (if we're not using chunks).

svn path=/trunk/; revision=30644
2009-10-20 17:16:40 +00:00
Gerald Combs e42a887353 Update the Windows requirements section.
svn path=/trunk/; revision=30642
2009-10-20 16:48:52 +00:00
Jeff Morriss f687349c04 Another, more sensible, attempt to fix the Win64 build.
svn path=/trunk/; revision=30641
2009-10-20 16:40:00 +00:00
Gerald Combs ccdf52a4cc Update the WinPcap installer to 4.1. The WinPcap installer now enables
NPF at startp, so remove the checkbox and associated code from the
Wireshark installer.

svn path=/trunk/; revision=30640
2009-10-20 16:22:14 +00:00
Gerald Combs 830ee22db4 Set a mem_chunk to NULL after we destroy it. This should fix the Solaris
buildbot test failures.

svn path=/trunk/; revision=30639
2009-10-20 15:43:40 +00:00