Commit Graph

22046 Commits

Author SHA1 Message Date
Luis Ontanon 56eef0a47a From Gisle Vanem <gvanem@broadpark.no>
Some signals needs to be ifdef'ed (missing on VC/MingW):


svn path=/trunk/; revision=22658
2007-08-25 15:15:55 +00:00
Luis Ontanon becf83594b there's nothing like a MAX_OID_STR_LEN... get rid of a potential stack BO
svn path=/trunk/; revision=22657
2007-08-25 14:48:48 +00:00
Luis Ontanon 7c174c63f8 Initialize to zero all subids in oid_string2subid() to avoid creating bogus oids. This is aspirin for a buffer overflow somewhere in the code that reads cretificates, that dimensions a buffer probably assumung oid subids are few digits while they can actually be bigger.
Place two DISSECTOR_ASSERT() guards to avoid an (I believe impossible) buffer overflow of the ep_allocated subid array in  oid_string2subid() and oid_encoded2subid().


svn path=/trunk/; revision=22656
2007-08-25 14:15:56 +00:00
Stig Bjørlykke 1f58f3e2ec Removed duplicate entry of OID 1.0.8571.2.4 in FTAM
svn path=/trunk/; revision=22655
2007-08-25 09:57:12 +00:00
Jaap Keuter da921bf9e1 Partial fix for bug 1317:
Add Elliptic Curve cypher suites
Add extension types

svn path=/trunk/; revision=22654
2007-08-25 09:08:49 +00:00
Anders Broman 5abff6b3a4 Cast as (gfloat)
io->scrollbar_adjustment->value=(gfloat)first_interval;

svn path=/trunk/; revision=22653
2007-08-25 08:20:59 +00:00
Anders Broman f2e1c5cb7d Get rid of now unused:
add_oid_name
 add_oid_str_name
l get_oid_name
 get_oid_str_name

svn path=/trunk/; revision=22652
2007-08-25 07:44:01 +00:00
Luis Ontanon 00c5e48a17 get users of oid_resolv to use the new oids, rollout packet-snmp.c
svn path=/trunk/; revision=22651
2007-08-25 01:14:24 +00:00
Stig Bjørlykke fb082a9a3c From Shaun Jackman:
* asn1/mpeg/packet-mpeg-pes-template.c (proto_register_mpeg_pes):
	Register the dissectors mpeg and mpeg-pes.
	* epan/dissectors/packet-mp2t.c (dissect_tsp): Call the mpeg-pes
	dissector.
	(ett_mp2t_header, ett_mp2t_af): New subtree identifiers.

svn path=/trunk/; revision=22650
2007-08-25 00:50:20 +00:00
Stig Bjørlykke f8f58fceaa From Munenori Ohuchi:
1. Priority field decode.
   The 802.1q tag field of a frame is separated from its frame body in 
   a ERSPAN packet. 
   Current packet-cisco-erspan.c decodes only the vlan id field of the 
   802.1q tag.
   This patch can also decode the priority field of the 802.1q tag.

2. Direction of a captured frame decode.
   A ERSPAN packet includes the additional information of the direction
   a captured frame as below.

   If a caputred frame comes from outside to a switch port, this means an
   'Incoming' frame.  If a caputred frame goes out of a switch port, 
   this is an 'Outgoing' frame.


Added an extra unknown value for the bit between direction and spanid.

svn path=/trunk/; revision=22649
2007-08-25 00:29:40 +00:00
Stig Bjørlykke d2bc64938c Added expert info for length issues.
svn path=/trunk/; revision=22648
2007-08-24 23:27:33 +00:00
Stig Bjørlykke 1a03093490 - Added first version of DMP sequence analysis.
- Added some generated search fields.
- Added notice about negative ack in msg_type strings.
- Added some more expert infos.
- Rewrote alot of display filter names.
- Rewrote some hf_ values.

svn path=/trunk/; revision=22647
2007-08-24 22:42:08 +00:00
Stig Bjørlykke 8256495a7d From Todd J Martin:
- Decodes all valid Restart Signaling CLVs
- The restart flags are now shown in a tree and have display filters for them
- The Remaining hold time field now has a display filter
- The Restarting Neighbor Id field is now decoded
- Corrected another CLV decoder that assumed the length of a system ID was 6
  and hard coded that value instead of using the id_length variable

Rearranged the Restart Signaling Flags to show the most significant bit first


svn path=/trunk/; revision=22646
2007-08-24 22:22:34 +00:00
Stig Bjørlykke e5850628b0 The code for resizing the scrollbar page_size was a bit strange and did
some strange justifications when having high "tick values" in the graph.

Simplified this to fix a problem with scrolling to X Axis zero and a
problem with interval values printed in the wrong time position.

svn path=/trunk/; revision=22645
2007-08-24 21:38:10 +00:00
Stig Bjørlykke d46fcba723 Print the first interval in the graph.
Print zero label string in the X Axis (not centered).
Always start the graph with the first interval, not at zero x value.

svn path=/trunk/; revision=22644
2007-08-24 21:23:34 +00:00
Guy Harris b1c3877e22 Add a comment explaining why get_interface_descriptive_name() shouldn't
be, for example, called once a second while a capture is in progress.

svn path=/trunk/; revision=22643
2007-08-24 19:14:38 +00:00
Richard van der Hoff 289cce1119 take out oid_to_subid_buf again, because joerg has put it back into packet-snmp.c.
This is not a productive use of my time. I'm annoyed.

svn path=/trunk/; revision=22642
2007-08-24 16:43:42 +00:00
Gerald Combs a6d76c62a5 Clear out any remaining references to the h223 plugin. Replace the
references to h223 in README.plugins with agentx since it's small and
no one seems to be in a hurry to move it to epan/dissectors. 

svn path=/trunk/; revision=22641
2007-08-24 16:08:31 +00:00
Richard van der Hoff 77181f6db0 do the fifo test on platforms where mkfifo is available
svn path=/trunk/; revision=22640
2007-08-24 15:45:16 +00:00
Richard van der Hoff 924f2d928d Fix bug 1181 by always using select() on a capture fd on linux
svn path=/trunk/; revision=22639
2007-08-24 15:34:08 +00:00
Richard van der Hoff 56d329f7e9 Add some comments to the effect that capture_loop_dispatch must timeout to make
the packet batching stuff work properly.

Hence, do not block forever when doing a select() on a capture fd.

svn path=/trunk/; revision=22638
2007-08-24 15:33:37 +00:00
Richard van der Hoff aaf78a647e fix log msg typo
svn path=/trunk/; revision=22637
2007-08-24 15:29:13 +00:00
Jörg Mayer 5a1e278801 Revert back to old version with manually fixed get_ber_length parameters
svn path=/trunk/; revision=22636
2007-08-24 13:52:37 +00:00
Richard van der Hoff e184617c04 complete the death of the h223 plugin
svn path=/trunk/; revision=22635
2007-08-24 13:44:59 +00:00
Richard van der Hoff a312d7833c move packet-srp into the core (from the h223 plugin)
svn path=/trunk/; revision=22634
2007-08-24 13:08:21 +00:00
Richard van der Hoff 70af350b8b add oids.{c,h} for LEGO
svn path=/trunk/; revision=22633
2007-08-24 12:45:08 +00:00
Richard van der Hoff 65e55347ea Cut and paste old oid_to_subid_buf (it used to be in packet-snmp.c) to get things building again.
svn path=/trunk/; revision=22632
2007-08-24 12:44:29 +00:00
Richard van der Hoff b2f5d183fa fix 'unused variable' warning
svn path=/trunk/; revision=22631
2007-08-24 12:43:38 +00:00
Richard van der Hoff 8055225473 add newline to end of file
svn path=/trunk/; revision=22630
2007-08-24 12:15:49 +00:00
Jörg Mayer 93f5beda89 Warning fixes
svn path=/trunk/; revision=22629
2007-08-24 10:20:22 +00:00
Jörg Mayer 733f78043e The ber header was missing from the object, resulting in
invalid saved certificates.

svn path=/trunk/; revision=22628
2007-08-24 08:12:39 +00:00
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