Commit Graph

22081 Commits

Author SHA1 Message Date
Luis Ontanon c9fde316d6 Add a default smi_modules file.
svn path=/trunk/; revision=22693
2007-08-27 22:00:39 +00:00
Luis Ontanon 5e7a8a9a87 Do not throw, some of this functions get called outside TRY blocks.
svn path=/trunk/; revision=22692
2007-08-27 21:29:20 +00:00
Stig Bjørlykke 49fc9636b9 From Tuomas Maattanen:
Committed changes in r21450 again.

svn path=/trunk/; revision=22691
2007-08-27 21:23:18 +00:00
Anders Broman 30bbd51e06 Update comments.
svn path=/trunk/; revision=22690
2007-08-27 20:44:28 +00:00
Luis Ontanon 4e26d3ad2e cast a guint64 down to guint32 before assignment to get windows build running
svn path=/trunk/; revision=22689
2007-08-27 19:37:48 +00:00
Luis Ontanon 1b760a7ae5 Fixed an ep_ buffer overflow (off by one) in oid_subid2string()
Abort on integer overflow in oid_string2subid() and oid_encoded2subid()





svn path=/trunk/; revision=22688
2007-08-27 19:14:30 +00:00
Guy Harris 49dbf60a03 Get rid of extra newlines at the end of epan/oids.h, and give one of
them to epan/oids.c. :-)

svn path=/trunk/; revision=22687
2007-08-27 18:44:55 +00:00
Bill Meier c4531ac2a8 Re-enable unittests after determining that they work correctly
on Windows (and shouldn't cause the Windows buildbot any problems).

svn path=/trunk/; revision=22686
2007-08-27 18:09:38 +00:00
Bill Meier cc7d161c4e Prevent execution of the fifo tests on Windows.
(Windows cygwin has a mkfifo but Windows dumpcap & etc
use Windows named pipes which are different than
the cygwin named pipes).

svn path=/trunk/; revision=22685
2007-08-27 17:49:53 +00:00
Luis Ontanon 392fd3f689 - packet-snmp(-template).c
- reimplement the "snmp.variable_oid" dissector table
- oids.[ch]
   - get rid of keytype_implicit in oid_value_type_t we won't use it.
   - have the windows base path for mibs be consistent to where we've put the mibs
   - oid_get_from_encoded() and oid_get_from_string(): have the subids array being computed in a prior statement of where the side-effected argument is going to be used... worked on gcc, not on windows... I deserve "have daemons flying out of my nose" for that :-).


svn path=/trunk/; revision=22684
2007-08-27 17:05:11 +00:00
Stig Bjørlykke 495be18676 Adjusted indentation to align email addresses.
svn path=/trunk/; revision=22683
2007-08-27 11:33:47 +00:00
Stig Bjørlykke 97b11f2200 Removed ^L as they turn up as a strange square in About->License
svn path=/trunk/; revision=22682
2007-08-27 11:27:41 +00:00
Anders Broman 296a359e5a And now the MIB's
svn path=/trunk/; revision=22681
2007-08-27 06:40:36 +00:00
Anders Broman b4246788a3 Add SMI to the installation, the MIB:s are still missing.
svn path=/trunk/; revision=22680
2007-08-27 06:28:20 +00:00
Luis Ontanon ca2683dc8b This was missing
svn path=/trunk/; revision=22679
2007-08-26 23:24:49 +00:00
Luis Ontanon 4c3b41917e Remove every remembrance of NET_SNMP from COPS
svn path=/trunk/; revision=22678
2007-08-26 21:38:09 +00:00
Luis Ontanon 9a850615d1 Give the files its propper title
Keep libsmi's default path and append the user given one


svn path=/trunk/; revision=22677
2007-08-26 21:37:11 +00:00
Luis Ontanon 088ba70162 libsmi was missing from the CFLAGS
svn path=/trunk/; revision=22676
2007-08-26 21:35:17 +00:00
Anders Broman 6c7f768c01 Fix a typo
svn path=/trunk/; revision=22675
2007-08-26 21:19:18 +00:00
Anders Broman c2c385fc9f Minor tweeks.
svn path=/trunk/; revision=22674
2007-08-26 21:01:13 +00:00
Luis Ontanon 42d99d2724 De-NET-SNMPize COPS
svn path=/trunk/; revision=22673
2007-08-26 20:16:35 +00:00
Anders Broman ef9971610c Use config and makefile from Chris Maynard and Luis instead.
svn path=/trunk/; revision=22672
2007-08-26 20:03:23 +00:00
Anders Broman d4e158db74 Download libsmi
svn path=/trunk/; revision=22671
2007-08-26 19:17:03 +00:00
Jörg Mayer bc422bc08b Undo last commit. It's not yet clear to my why isakmp traffic
after nat-t isn't matched by a isakmp display filter, but this
approach wrong.

svn path=/trunk/; revision=22670
2007-08-26 18:39:34 +00:00
Jörg Mayer dcf3c05d5e Isakmp runs over port 4500 (natt) as well
svn path=/trunk/; revision=22669
2007-08-26 18:21:52 +00:00
Jörg Mayer 7109b71246 libsmi: Small fix and add a comment
svn path=/trunk/; revision=22668
2007-08-26 17:58:26 +00:00
Stig Bjørlykke 77fc959dde Added "Dot" as a new IO Graph style in the user guide.
svn path=/trunk/; revision=22667
2007-08-26 17:03:44 +00:00
Stig Bjørlykke d106d8eadc Added "Dot" as new style in IO Graph.
svn path=/trunk/; revision=22666
2007-08-26 14:02:59 +00:00
Stig Bjørlykke 72d0652b8f From Todd J Martin:
- Added support for grace-LSA TLVs
- Fix a checksum that was printed in hex, but did not prepend "0x"

svn path=/trunk/; revision=22665
2007-08-26 13:43:47 +00:00
Anders Broman a08351feec Fix indentation
svn path=/trunk/; revision=22664
2007-08-26 09:17:16 +00:00
Luis Ontanon 873dd9585d add the new oid_* functions
svn path=/trunk/; revision=22663
2007-08-26 03:11:27 +00:00
Luis Ontanon 6ce4115354 Turns out that smiGetMinSize() and smiGetMaxSize() exists only in libsmi's HEAD... ;-)
Official releases do not have them yet, avoid using them.


svn path=/trunk/; revision=22662
2007-08-25 23:49:09 +00:00
Luis Ontanon 782c19a0c5 get libsmi into the picture
svn path=/trunk/; revision=22661
2007-08-25 20:27:58 +00:00
Bill Meier b089f00013 Disable capture tests and unit tests until possible issues corrected.
Hopefully the windows buildbot will be OK with these tests disabled
temporarily.

svn path=/trunk/; revision=22660
2007-08-25 19:13:00 +00:00
Luis Ontanon bcd55f4c8e replace oid_to_str_buf() and oid_to_str()
fix a potential buffer overflow due to a very liberal estimate by oid_repr_len()


svn path=/trunk/; revision=22659
2007-08-25 17:29:55 +00:00
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