Commit Graph

21108 Commits

Author SHA1 Message Date
Graeme Lunt 2e96e3fe55 Separate field for the elements of a constructed OCTET STRING.
svn path=/trunk/; revision=21695
2007-05-06 08:18:44 +00:00
Graeme Lunt 9efc4469dd New U3 packaging tool to generate a UUID based on the Wireshark version string within the Wireshark namespace. The Wireshark namespace UUID is:
94630be0-e031-11db-974d-0002a5d5c51b

It is based upon the example code from RFC4122 and links against gcrypt.

Using this tool allows the U3 packaging UUID to be automatically changed for new versions as well as giving each buildbot version a different UUID. 


svn path=/trunk/; revision=21694
2007-05-06 08:15:17 +00:00
Ulf Lamping 730fbdc983 add -P command line option help
svn path=/trunk/; revision=21693
2007-05-05 12:20:37 +00:00
Ulf Lamping e8900b8ee6 -E path setting doc, update wireshark help output
svn path=/trunk/; revision=21692
2007-05-05 12:19:04 +00:00
Ulf Lamping 530b2735e9 fix -E path setting doc
svn path=/trunk/; revision=21691
2007-05-05 12:17:19 +00:00
Ulf Lamping c32b8d992a add command line option -E for path settings - implemented already weeks ago
svn path=/trunk/; revision=21690
2007-05-05 11:33:32 +00:00
Ulf Lamping 3c2089e582 fix win32 build by using wtap_get_num_file_types() instead of direct variable access
svn path=/trunk/; revision=21689
2007-05-05 10:47:35 +00:00
Ulf Lamping 0bea95c152 disable warning 4005 *again*
svn path=/trunk/; revision=21688
2007-05-05 10:11:06 +00:00
Guy Harris 0ac1bdfc22 If the user explicitly specified "--enable-wireshark", fail immediately
if the test for GTK+ fails; that lets the user insist on getting
Wireshark and gives them immediate feedback if they can't have it, so
they can either give up and just get TShark or fix the problem.

svn path=/trunk/; revision=21687
2007-05-05 00:24:53 +00:00
Luis Ontanon 131cecd1e8 Add a plugin interface to wiretap.
So far I've done only regression testing (the new functionality and what's in wtap-plugins.c has not yet being tested).

it is a first step in the way to have lua opening files.



svn path=/trunk/; revision=21686
2007-05-04 21:10:55 +00:00
Anders Broman 334177b096 Show BER internal fields in external type in ACSE, update a comment in packet-ber.c.
svn path=/trunk/; revision=21685
2007-05-04 20:27:43 +00:00
Guy Harris 2447ba1de6 Once is enough. :-)
That should get rid of warnings in packet-ber.c; add it to the list of
clean dissectors, to try to keep it clean.

svn path=/trunk/; revision=21684
2007-05-04 18:56:59 +00:00
Tomas Kukosa bbe6caca6b - Q.932: fix warnings
- RNSAP: generate field functions only for necessary types 
- other dissectors regenerated

svn path=/trunk/; revision=21683
2007-05-04 13:33:35 +00:00
Tomas Kukosa d58b1031de - new #.OPT directive which allows to use command line options from conformance file (and more options in the future)
- option -F|CREATE_FIELDS used from conformance file can have type parameter, field functions are created only for its members

svn path=/trunk/; revision=21682
2007-05-04 13:11:34 +00:00
Jaap Keuter 639b32aeee Spare the filter compilation and filter list handling on clear display filter.
svn path=/trunk/; revision=21681
2007-05-04 11:28:01 +00:00
Jaap Keuter 742a43f941 From Steven Schaeffer:
Fix for bug 310. Use the frame number to store history i.s.o. row number.

svn path=/trunk/; revision=21680
2007-05-04 11:21:03 +00:00
Tomas Kukosa 176949badb missing packet-t30.h file
svn path=/trunk/; revision=21679
2007-05-04 09:48:06 +00:00
Tomas Kukosa 6632dd3a3b missing asn1.c file
svn path=/trunk/; revision=21678
2007-05-04 08:24:06 +00:00
Tomas Kukosa 180f915bef fix few warnings in Q.932 and QSIG dissectors
svn path=/trunk/; revision=21677
2007-05-04 07:51:19 +00:00
Tomas Kukosa cfa43d6daa generate T.38 dissector from ASN.1 source
svn path=/trunk/; revision=21676
2007-05-04 07:10:15 +00:00
Tomas Kukosa 48b11b6f15 - fix creating PDU_NEW functions, return the right value
- allow FN_PARS to be spreaded over more lines

svn path=/trunk/; revision=21675
2007-05-04 06:55:48 +00:00
Anders Broman 141674620e Fix a copy paste error.
svn path=/trunk/; revision=21674
2007-05-04 06:41:55 +00:00
Tomas Kukosa a22b42d509 revert changes done by mistake - keep original ASN.1 source
svn path=/trunk/; revision=21673
2007-05-04 06:08:17 +00:00
Anders Broman 386af8e774 From Olivier Montanuy:
Patch tested against traces obtained from Cisco IOS 12.4 Flexible Netflow,
IOS-XR 3.3, Huawei VRP 5.30.

Features:
- Decodes Netflow v9 option templates
- Decodes quite a few additional Netflow v9 types
- Packets and octets counters can be 64-bit
- Show unknown Netflow v9 fields as hexa, useful when using tshark -V with
  Netflow v9 implementations that use undocumented proprietary types.
  Enabled by:  "#define SHOW_UNKNOWN_TYPES 1"

svn path=/trunk/; revision=21672
2007-05-04 06:07:30 +00:00
Jörg Mayer 904640fdb4 Note: make test for the following update generates 1 error:
---------
tests/header..............NOK 14#   Failed test 'struct declaration'
#   in tests/header.pl at line 49.
#                   '/* header auto-generated by pidl */
#
# #include <core.h>
# #include <stdint.h>
#
# #ifndef _HEADER_p
# #define _HEADER_p
#
# struct x#endif /* _HEADER_p */
# '
#     doesn't match '(?ms-xi:struct x;)'
# Looks like you failed 1 test of 15.
tests/header..............dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 14
---------

Update from samba tree revision 22314 to 22657
============================ Samba log start ============
------------------------------------------------------------------------
r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines
Changed paths:
   M /branches/SAMBA_4_0
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
   M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl

Don't use 'our'

------------------------------------------------------------------------
r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line
Changed paths:
   M /branches/SAMBA_4_0
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm
   M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl

Fix TDR testsuite without using our.
------------------------------------------------------------------------
r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line
Changed paths:
   M /branches/SAMBA_4_0
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
   M /branches/SAMBA_4_0/source/pidl/pidl
   M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl
   M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl

Merge wireshark and ejs test improvements.
------------------------------------------------------------------------
r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 2007) | 1 line
Changed paths:
   M /branches/SAMBA_4_0
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm
   M /branches/SAMBA_4_0/source/pidl/pidl
   M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl

Fix tests for Samba3 client generator.
------------------------------------------------------------------------
r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 2007) | 1 line
Changed paths:
   M /branches/SAMBA_4_0
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
   M /branches/SAMBA_4_0/source/pidl/pidl
   M /branches/SAMBA_4_0/source/pidl/tests/Util.pm
   M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl

Fix test suite for ndr parser without using 'our'
------------------------------------------------------------------------
r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line
Changed paths:
   M /branches/SAMBA_4_0
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/Conformance.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
   M /branches/SAMBA_4_0/source/pidl/tests/wireshark-conf.pl

Fix the TYPE command.
------------------------------------------------------------------------
r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm

assume we have defered elements if the type is just provides via
'declare' this should fix the problem with the winbind IRPC calls

metze
------------------------------------------------------------------------
r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/idl.yp
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm

handle the properties related to the type
and not to 'declare' to avoid a pidl warning with:

declare [switch_type(uint16)] union netr_Validation;

void foo([in] uint16 level, [in,switch_is(level)] netrValidation info);

metze
------------------------------------------------------------------------
r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm

- generate nicer output
- fix compiler warning about unused ';'

metze
------------------------------------------------------------------------
------------------------------------------------------------------------
============================ Samba log end ==============

svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
Anders Broman 98cb9db12d Split out asn1 common functions. Start of BER EXTERNAL.
svn path=/trunk/; revision=21670
2007-05-03 21:52:57 +00:00
Ronnie Sahlberg d21de3799a use the latest version of PIDL to regenerate winreg using the new TYPE
conformance file directive to replace winreg_String with our own code.

PARAM_VALUE does not yet work for this however which needs to looked 
into


svn path=/trunk/; revision=21669
2007-05-03 19:58:04 +00:00
Anders Broman fdb44d8bb4 Show internal ber fields for tagged type if pref. set.
svn path=/trunk/; revision=21668
2007-05-03 19:56:13 +00:00
Anders Broman f16eb4e369 Dissect returnedFunction.
svn path=/trunk/; revision=21667
2007-05-03 19:55:22 +00:00
Luis Ontanon bb7e52fcd8 will this finally get rid of the warnigs?
svn path=/trunk/; revision=21666
2007-05-03 18:32:52 +00:00
Gerald Combs c1688f5612 Check for an infinite loop while processing cipher suites. Fixes bug 1582.
Add release notes for the SSL and display filter macro bugs.

svn path=/trunk/; revision=21665
2007-05-03 16:59:13 +00:00
Gerald Combs 5713fbc9b9 Handle cases where our macro doesn't have any arguments. We should
probably provide feedback to the user, but at least we don't crash now.
Fixes Coverity CID 232.

svn path=/trunk/; revision=21664
2007-05-03 16:11:18 +00:00
Tomas Kukosa 3ecac7ddd1 - REAL type and values are supported
- if a value of some INTEGER type is defined then it is assigned to this type like a named value
i.e.
MyType ::= INTEGER
mv01 MyType ::= 1
is equal to
MyType ::= INTEGER { mv01 (1) }

svn path=/trunk/; revision=21663
2007-05-03 11:42:33 +00:00
Tomas Kukosa a70a1b3eb6 EXTERNAL type is handled in asn2wrs now
private implementations were renamed EXTERNAL -> EXTERNALt

svn path=/trunk/; revision=21662
2007-05-03 11:37:47 +00:00
Tomas Kukosa a2e548266d comment out parameters of parametrized type
svn path=/trunk/; revision=21661
2007-05-03 10:49:49 +00:00
Tomas Kukosa 558221f7b8 uppercase identifiers are not allowed
svn path=/trunk/; revision=21660
2007-05-03 09:59:09 +00:00
Tomas Kukosa e09ee99714 uppercase identifiers are not allowed
svn path=/trunk/; revision=21659
2007-05-03 09:51:49 +00:00
Tomas Kukosa 6e491e8c3b REAL type support
svn path=/trunk/; revision=21658
2007-05-03 09:15:04 +00:00
Gerald Combs 696af3f35e Fix a couple of typos and fixup whitespace.
svn path=/trunk/; revision=21657
2007-05-03 00:21:22 +00:00
Luis Ontanon 51a7fa1404 The forgotten file strikes back.
... It also fixes a lua compile warning/error in wslua_gui.c. ...


svn path=/trunk/; revision=21656
2007-05-02 23:54:01 +00:00
Luis Ontanon 8a293db121 From Tamas Regos (Via Balint Reczey)
The attached patch adds ability of of creating radio button, drop-down
list and range type preference entries to the Lua plugin.
It also fixes a lua compile warning/error in wslua_gui.c.
The patch is written by Tamas Regos, he asked me to send it to the list.

svn path=/trunk/; revision=21655
2007-05-02 23:39:44 +00:00
Gerald Combs bb76982d2c Add a routine to dissect the MCS Set. Add a tree for the MCS Set
Rx Bitmask.  "Steams" -> "Scheme".

svn path=/trunk/; revision=21654
2007-05-02 23:26:33 +00:00
Luis Ontanon 13b1ebe574 fix warnings
svn path=/trunk/; revision=21653
2007-05-02 21:58:52 +00:00
Luis Ontanon 49e49452dd fix warnings in debug code
svn path=/trunk/; revision=21652
2007-05-02 20:37:25 +00:00
Luis Ontanon d4fd968d50 add support for the text export format of textronix k1[25]
svn path=/trunk/; revision=21651
2007-05-02 20:09:42 +00:00
Guy Harris cbea9dd75b Check for read failures, and report them (and don't parse the key list
if we get one).

svn path=/trunk/; revision=21650
2007-05-02 19:46:05 +00:00
Guy Harris 2cbb8e33e2 Immediately quit routines if fwrite() fails - further writes will
probably fail (as you're probably out of disk space or over quota), and,
even if they don't, the file's going to be corrupt in any case.

(Hopefully that's sufficient to avoid warnings that we're ignoring the
result of fwrite().)

For fread(), check for errors or short reads, at least in all cases
where we have a provision for failing if the read fails.

svn path=/trunk/; revision=21649
2007-05-02 19:28:24 +00:00
Jaap Keuter e51904c765 Fix the windows build by changing uint32_t into guint32.
svn path=/trunk/; revision=21648
2007-05-02 18:42:53 +00:00
Jaap Keuter 5834873aa7 From Matt Addison:
Problem:
The existing sll dissector does not handle ppp_hdlc packets (sll.ltype == 0x0007).
Resolution:
Alter packet-sll.c to call the ppp_hdlc dissector when a packet with sll.ltype=0x0007 is received.

svn path=/trunk/; revision=21647
2007-05-02 18:42:02 +00:00
Ronnie Sahlberg 46602a91ae updates to the ctdb dissector to follow the latest protocol
svn path=/trunk/; revision=21646
2007-05-02 13:32:07 +00:00