Commit Graph

22015 Commits

Author SHA1 Message Date
Jörg Mayer b312e64f6a get_ber_length doesn't need the tree argument, get rid of it.
Rebuild asn1 dissectors.

svn path=/trunk/; revision=22627
2007-08-24 07:12:04 +00:00
Jörg Mayer 1f06d65424 Decode certificates
svn path=/trunk/; revision=22626
2007-08-24 07:10:33 +00:00
Jörg Mayer c144679532 Don't acidentally print the hexdump of a certificate
in the summary-tree

svn path=/trunk/; revision=22625
2007-08-24 06:52:19 +00:00
Jörg Mayer 0576eb451f Make Windows path separator look like Unix path separator.
That way, we will not have irrelevant diffs depending on
the platform the last submitter built the dissector on.

svn path=/trunk/; revision=22624
2007-08-24 06:51:10 +00:00
Jörg Mayer 533429b2e0 Add a value for message_authenticator
svn path=/trunk/; revision=22623
2007-08-24 06:49:47 +00:00
Anders Broman 220484c1c2 From Chris Maynard:
Fix display filter field problems
Correct the template files in the case of generated dissectors.

svn path=/trunk/; revision=22622
2007-08-24 05:59:08 +00:00
Anders Broman 64ae231eaa From Chris Maynard:
Fix display filter field problems
Correct the template files in the case of generated dissectors.

svn path=/trunk/; revision=22621
2007-08-24 05:58:08 +00:00
Luis Ontanon 4787c0ce6a this one was missing
svn path=/trunk/; revision=22620
2007-08-24 00:41:43 +00:00
Luis Ontanon 2fdaae5dc2 Never, never, never modify a generated file... or out of idiocy you might loose changes (or not check them in).
svn path=/trunk/; revision=22619
2007-08-24 00:33:35 +00:00
Luis Ontanon e7d5e2fc2d Another iteration, the new code is almost there, We're missing just the implied octetstrings indexes.
svn path=/trunk/; revision=22618
2007-08-24 00:26:30 +00:00
Richard van der Hoff bea90e8c33 In keeping with all the other path variables (eg, libdir), don't resolve
plugindir at configure time. Instead leave it to be defined at make
time, which means it can then be changed by, eg, changing $prefix. This
also means moving the definition of PLUGIN_DIR from config.h to a -D in
CPPFLAGS.


svn path=/trunk/; revision=22617
2007-08-24 00:06:30 +00:00
Richard van der Hoff 58b39bde74 Don't build in init_plugin_dir if HAVE_PLUGINS is not defined, which
means that we aren't reliant on PLUGIN_DIR having a sensible value.

svn path=/trunk/; revision=22616
2007-08-24 00:03:02 +00:00
Richard van der Hoff 31f0128188 From Chris Maynard <christopher.maynard@gtech.com> / bug 1789:
Incorrect display filter field naming conventions for packet-c*.c dissector
files.

svn path=/trunk/; revision=22615
2007-08-23 23:58:59 +00:00
Richard van der Hoff 8c39917b53 add remaining golay_* functions
svn path=/trunk/; revision=22614
2007-08-23 23:33:23 +00:00
Gerald Combs c517f302a4 Move follow_infos into folow_stream.c and initialize it.
svn path=/trunk/; revision=22613
2007-08-23 23:01:20 +00:00
Stephen Fisher f76387ba1c From Scott Robinson:
Enhancement patch:
  http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1758

This change gives Wireshark the ability to read ATM captures saved by UpTime
Select traffic capture.


svn path=/trunk/; revision=22612
2007-08-23 22:11:39 +00:00
Stephen Fisher 1cd16d8493 Fix comment on top of file
svn path=/trunk/; revision=22611
2007-08-23 21:51:44 +00:00
Stig Bjørlykke 5040aa1613 Fixed drawing of X Axis decimal values: "0. 50" -> "0.050"
svn path=/trunk/; revision=22610
2007-08-23 21:51:36 +00:00
Jeff Morriss 3f2a49f17c When detecting fast retransmissions or out of order packets, use a 64-bit variable to store the time delta (instead of a 32-bit one). We're counting nanoseconds here, so this allows us to accurately detect differences greater than 4.294 seconds.
svn path=/trunk/; revision=22609
2007-08-23 21:38:15 +00:00
Jeff Morriss 6f9a2673c6 Export golay_errors() to get the Windows builds going again
svn path=/trunk/; revision=22608
2007-08-23 21:11:47 +00:00
Jaap Keuter a061f172d1 Clean up the code.
- Move add. info from header
- Remove excess comma's
- Use plurality macro
- NULL pointer for field descriptions

svn path=/trunk/; revision=22607
2007-08-23 20:42:27 +00:00
Luis Ontanon cfc4b0efc8 Implement Resolution of conceptual table indexing
So far this has being tested only for integer indexes.


svn path=/trunk/; revision=22606
2007-08-23 19:45:31 +00:00
Jaap Keuter 13d050e9b6 List additional request for command presentation
svn path=/trunk/; revision=22605
2007-08-23 19:12:52 +00:00
Gerald Combs 34e8aec5b0 Include libpcap.h so that we can use wtap_pcap_encap_to_wtap_encap()
in its new location.

svn path=/trunk/; revision=22604
2007-08-23 17:49:47 +00:00
Richard van der Hoff 27c71e90ba in preparation for de-pluginising h223, move golay code support into libwireshark
svn path=/trunk/; revision=22603
2007-08-23 17:25:22 +00:00
Anders Broman 7c574cb6e3 Translate Q.850 Cause values.
svn path=/trunk/; revision=22602
2007-08-23 17:00:44 +00:00
Bill Meier 2fa88cfca3 Don't rename to self when fuzz err; enable ^C file cleanup trap
svn path=/trunk/; revision=22601
2007-08-23 14:56:18 +00:00
Graham Bloice 2c86c37628 Large update with improvements in objects dissected, fragment reassembly, info column details and filter field names
svn path=/trunk/; revision=22600
2007-08-23 09:28:03 +00:00
Graham Bloice 0e5819e547 Permit decoding of individual service errors + removal of a few lines consisting of just whitespace
svn path=/trunk/; revision=22599
2007-08-23 09:26:01 +00:00
Jaap Keuter 902737dfff From David Helder:
The MP_REACH_NLRI (and MP_UNREACH_NLRI) parser incorrectly increments a buffer
offset.  Any attributes following will be skipped and/or parsed incorrectly. 
No security problem I see - the bounds are checked before parsing each attribute.

svn path=/trunk/; revision=22598
2007-08-23 09:16:31 +00:00
Jaap Keuter 8f1d57f7ca From Steve Karg
1. Moved all the network layer message type decodings under the network layer control bit check to prevent malformed packets.
2. Added the decoding of the optional network number for the Who-Is-Router-To-Network message type.
3. Added the decoding for the Establish-Connection-To-Network and Disconnect-Connection-To-Network network layer messages.
4. Corrected Initialize-Routing-Table and Initialize-Routing-Table-Ack decoding.
5. Added Network layer info under Column Info.

svn path=/trunk/; revision=22597
2007-08-23 06:56:04 +00:00
Luis Ontanon 4e3372473b Prepare the oids dataset for managing conceptual table indexing
svn path=/trunk/; revision=22596
2007-08-22 22:56:36 +00:00
Stig Bjørlykke 4041a94951 Added DPNSS_NONE as par3_num and par4_num to "PCON-P"
Fixed a signed/unsigned compiler warning

svn path=/trunk/; revision=22595
2007-08-22 22:32:13 +00:00
Stig Bjørlykke 391431af73 From Todd J Martin:
When LACP packets have the actor state or partner state fields set to 0x00,
wireshark prints the state like this (note the closing parenthesis):

  Actor State: 0x00)

Since there are no flags set, this fields should be printed like this:
  Actor State: 0x00

svn path=/trunk/; revision=22594
2007-08-22 21:58:21 +00:00
Anders Broman 367c7f0c4c Put suplementarry service strings and parameters into the tree.
svn path=/trunk/; revision=22593
2007-08-22 21:47:31 +00:00
Jeff Morriss 8aa05e0f58 Postpone checking if dumpcap is enabled until after we have checked if we have libpcap or not: if not, don't bother trying to build dumpcap.
svn path=/trunk/; revision=22592
2007-08-22 21:05:25 +00:00
Jeff Morriss 4020fb9c39 Move wtap_pcap_encap_to_wtap_encap()'s definition to libpcap.h so packet-ppi.c can get access to it even when we don't HAVE_LIBPCAP (besides, it doesn't seem to be specific to capturing...)
svn path=/trunk/; revision=22591
2007-08-22 19:38:49 +00:00
Bill Meier 1d23f6fd83 Handle case of source-dir != build-dir; 2 other minor bug fixes
svn path=/trunk/; revision=22590
2007-08-22 19:36:49 +00:00
Jeff Morriss 535f6af89c autoscroll_button is not used if we don't HAVE_LIBPCAP so put it inside the #ifdef
svn path=/trunk/; revision=22589
2007-08-22 18:58:26 +00:00
Jeff Morriss 8043464c24 gcc 4 doesn't like my macro for getting the interface description: it says there's an invalid lvalue in it. I don't see what's wrong with it, but replace the macro with a function. Also: don't include the .xpm files in gtk/main.c if we're building without PCAP (as they're not used in that configuration).
svn path=/trunk/; revision=22588
2007-08-22 18:56:20 +00:00
Jeff Morriss 2f77efce7d Fix bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1757 :
Try to call get_interface_descriptive_name() as little as possible (storing
the result in capture_opts) to avoid a performance hit during live capture
(especially if you have lots of interfaces) and to avoid leaking memory.

One issue with this is that capture_opts.c cannot (without adding significant
dependencies) set the iface_descr so readers of that field (only gtk/main.c
and tshark.c) use a macro to (set if not already set and) get the value of
that field.

svn path=/trunk/; revision=22587
2007-08-22 16:30:16 +00:00
Martin Mathieson 914e885354 Show which bits 'fragment offset' comes from (I had to look it up :( )
svn path=/trunk/; revision=22586
2007-08-22 14:43:26 +00:00
Jaap Keuter a4f2082eb8 The reserved field is now 16 bits. Treat it as such.
svn path=/trunk/; revision=22585
2007-08-22 13:58:39 +00:00
Guy Harris ae8b29ec53 More timestamp calculation fixes similar to the previous ones.
svn path=/trunk/; revision=22584
2007-08-22 07:14:08 +00:00
Jaap Keuter 4533ff34a0 From Victor Fajardo:
Updated patches to support draft-ietf-pana-pana-18.txt.

svn path=/trunk/; revision=22583
2007-08-22 06:59:28 +00:00
Guy Harris a18a6233d1 Oops, have to regenerate this after changing its template.
svn path=/trunk/; revision=22582
2007-08-22 04:31:32 +00:00
Guy Harris e994584040 Cast away shortening conversions that are presumed not to lose any data.
Use G_GINT64_CONSTANT() to make a 64-bit integral constant; not all
compilers we use support LL as a suffix for that (MSVC++ 6, for one).

svn path=/trunk/; revision=22581
2007-08-22 04:25:00 +00:00
Guy Harris 2c041a8fa4 Cast away shortening conversions that are presumed not to lose any data.
Use G_GINT64_CONSTANT() to make a 64-bit integral constant; not all
compilers we use support LL as a suffix for that (MSVC++ 6, for one).

svn path=/trunk/; revision=22580
2007-08-22 02:45:42 +00:00
Jeff Morriss 6dd41716b2 Fix a known- and marked-by-a-comment memory leak: replace g_strdup() with se_strdup(). (The address in question is stored in a conversation structure so it's "seasonal".)
svn path=/trunk/; revision=22579
2007-08-21 22:18:27 +00:00
Richard van der Hoff 62569354fe From yin sun <sunyin51@gmail.com> / bug 1722:
When a subdissector on top of TCP set ... DESEGMENT_UNTIL_FIN ... then
the subdissector should receive the whole reassembled TCP stream in tvb.
But the bug is it is missing the last payload from the FIN packet.


svn path=/trunk/; revision=22578
2007-08-21 22:15:17 +00:00