Commit Graph

7389 Commits

Author SHA1 Message Date
Gerald Combs 92802883a6 Change the "--enable-setuid-install" option to install dumpcap and TShark
setuid instead of Wireshark.  Remove the "DANGEROUS" notices, but leave it
disabled by default.  Whine if the user runs Wireshark or TShark as root.
Add a preference to disable the whining.  Add a "setuid-root" script that
can be used to switch dumpcap and TShark's setuid-ness on and off for
development and testing.  Update the release notes and README.packaging.

svn path=/trunk/; revision=22733
2007-08-30 00:24:40 +00:00
Stig Bjørlykke 21d5aaaa4f - Rewrote handling of extensions to get rid of "funky" oid strings.
- Added ASN.1 integer values for StandardExtension, ExtensionAttributeType
  and TokenDataType.
- Added expert info for unknown standard-extension, extension-attribute-type 
  and tokendata-type.
- Added expert info for unknown built-in content-type.

svn path=/trunk/; revision=22730
2007-08-29 18:39:30 +00:00
Anders Broman b71c2da3e4 OID name fixes.
svn path=/trunk/; revision=22729
2007-08-29 16:10:47 +00:00
Martin Mathieson 7f6d5c04a8 Don't show fragment offset as a bit field, but note number of bits used in long text.
svn path=/trunk/; revision=22727
2007-08-29 15:35:27 +00:00
Tomas Kukosa a8357929c4 RANAP rewritten to use original ASN.1 source and updated to TS 25.413 V7.6.0 (2007-06)
svn path=/trunk/; revision=22726
2007-08-29 11:57:27 +00:00
Tomas Kukosa c927edea31 ASN.1 parameterization handling (1st raw implementation)
it is not supported in asn2wrs now, code has to be written manually

svn path=/trunk/; revision=22724
2007-08-29 11:44:49 +00:00
Anders Broman f832aaf3b6 Fix up most of the OID names in GSM MAP.
svn path=/trunk/; revision=22723
2007-08-29 06:13:40 +00:00
Luis Ontanon d56f4f3a68 - turn some other TC from FT_BYTES to FT_STRING so that human-readable strings become readable by humans
- Add the EngineId decoding for the contextEngineId
- Add some expert info about malformed indexed oids


svn path=/trunk/; revision=22720
2007-08-28 23:55:49 +00:00
Luis Ontanon 79ea56143c Fix non implicit oid key indexes. This starts to look good!
svn path=/trunk/; revision=22718
2007-08-28 21:27:54 +00:00
Bill Meier ac04f94a3d From Todd Martin: "Flag IP TTL more intelligently".
Also: Change default "Low TTL" color filter to match.

svn path=/trunk/; revision=22715
2007-08-28 20:58:50 +00:00
Luis Ontanon 450767fb93 Report loading failures to the user
svn path=/trunk/; revision=22712
2007-08-28 19:07:39 +00:00
Anders Broman ba38b75a24 Add filters.
svn path=/trunk/; revision=22709
2007-08-28 17:50:02 +00:00
Luis Ontanon 0c154e528a Commit canges to uat_load.l, and initialize uat_t->loaded (not every system zeroes-out on malloc).
svn path=/trunk/; revision=22705
2007-08-28 15:38:05 +00:00
Luis Ontanon dfbac00752 SNMP:
- As noted by Thomas Anders values are not added to the tree anymore. Move the calling of subdissectors to the end of the function, so that the value is added to the tree.
 - add port 8161 to be decoded as SNMP (hey, it's on IANA's services file!)
UAT:
 - do not have the uat reloaded.
OIDS:
 - do not complain if renaming an OID to an identical name



svn path=/trunk/; revision=22704
2007-08-28 15:18:32 +00:00
Ronnie Sahlberg 8fde3b7561 rename dcerpc_smb_store_pol_name to dcerpc_store_polhnd_name
rename dcerpc_smb_fetch_pol  to dcerpc_fetch_polhnd_data and also make 
it take an additional parameter to return the "type" of the policy 
handle, if such a type was stored.

extend the pol_value structure used to track policy handles to also 
store a type to represent what created the policy handle
types could be USER/ALIAS/CONNECT/... etc handles returned from the 
SAMR interface

add a new helper function  dcerpc_store_polhnd_type()

track policy handles between request/responses for dcerpc

update the samr.cnf file to make the samr dissectors for
SetSecurity/QuerySecurity dissect the specific bits for the security 
descriptor correctly based on whether the policy handle refers to a 
CONNECT/DOMAIN/USER/ALIAS or GROUP



svn path=/trunk/; revision=22703
2007-08-28 11:45:08 +00:00
Tomas Kukosa 99a2ec1c9f fix bug in snmp.variable_oid subdissector calling and call them at the end of snmp dissector (so as snmp does not overwrite COL_INFO of subdissector)
svn path=/trunk/; revision=22701
2007-08-28 07:59:35 +00:00
Ronnie Sahlberg 90b34f5b69 improve the ctdb dissector to track request/responses for controls and
start decoding some control payload


svn path=/trunk/; revision=22700
2007-08-28 07:34:05 +00:00
Jaap Keuter 22cb9fb03f Fix warnings "dereferencing type-punned pointer will break strict-aliasing rules"
svn path=/trunk/; revision=22699
2007-08-28 05:59:09 +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
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
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
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 42d99d2724 De-NET-SNMPize COPS
svn path=/trunk/; revision=22673
2007-08-26 20:16:35 +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
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
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
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 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 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
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
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