Commit graph

21128 commits

Author SHA1 Message Date
Tomas Kukosa
a38b44a647 - simple Information Objects support
- all definitions in ASN.1 source are skipped and need not to be commented out
  - #.CLASS directive can define types for Object Class Fields
- do not append 'xxx' postfix to parametrized types (changes H.235 and H.450 in accordance with it)
- change QSIG ASN.1 source to be more identical to original one

svn path=/trunk/; revision=21715
2007-05-07 12:59:31 +00:00
Tomas Kukosa
a8c10b431f changes in external structure of asn1_ctx_t
svn path=/trunk/; revision=21714
2007-05-07 11:25:21 +00:00
Ronnie Sahlberg
0eae1cc0bd add dissection of smb1 ioctl data by tying it into the dissectors for
ioctl data that already exists for smb2


svn path=/trunk/; revision=21713
2007-05-07 09:07:29 +00:00
Ronnie Sahlberg
34afdc5fc3 change the smb2 ioctl function to take a pointer to a uint32 (ioctl
function code) instead of a structure

extend the nt trans structure to contain a ioctl function code for smb1


svn path=/trunk/; revision=21712
2007-05-07 08:11:59 +00:00
Ronnie Sahlberg
bda722d3bf remove the ioctl function and table from the smb dissector and just use
the one in smb2 instead since the smb2 one is more developed.


svn path=/trunk/; revision=21711
2007-05-07 07:41:35 +00:00
Ronnie Sahlberg
a7faef785f new attempt to resolve recent breakage
svn path=/trunk/; revision=21710
2007-05-07 07:33:26 +00:00
Ronnie Sahlberg
57f4b01fa9 there was a syntax error introduced in this file which made it
impossible to configure and build wireshark under gtk1


svn path=/trunk/; revision=21709
2007-05-07 07:23:38 +00:00
Ronnie Sahlberg
731485ecc4 there were missing #defines in the header file that prevented it from
compiling properly

update the headerfile from a freshly generated one from pidl


svn path=/trunk/; revision=21708
2007-05-07 06:26:39 +00:00
Ronnie Sahlberg
119634f650 GTK1 does not have GDir and as such needs to include dirent.h
Since wiretap.h is not autogenerated, just make wtap-plugins.h include
the top level config.h to pull in the defines for HAVE_DIRENT which was 
checked at top level


svn path=/trunk/; revision=21707
2007-05-07 06:17:58 +00:00
Anders Broman
fd108518ed _U_ mark some parameters and a forgotten file.
svn path=/trunk/; revision=21706
2007-05-07 05:35:45 +00:00
Anders Broman
4c692a62b6 Start introducing actx to ber functions.
svn path=/trunk/; revision=21705
2007-05-06 22:34:05 +00:00
Anders Broman
1103a38976 Ad missing pkcs12.
svn path=/trunk/; revision=21704
2007-05-06 21:41:06 +00:00
Anders Broman
07f4155687 -p not -b :)
svn path=/trunk/; revision=21703
2007-05-06 20:02:26 +00:00
Anders Broman
91466a5503 Add mpeg to the Win makefiles.
svn path=/trunk/; revision=21702
2007-05-06 19:56:01 +00:00
Jaap Keuter
3da55888e6 Improve readability of code samples and program output
svn path=/trunk/; revision=21701
2007-05-06 19:25:14 +00:00
Graeme Lunt
01fa6378eb Better column information display for delivery reports.
svn path=/trunk/; revision=21700
2007-05-06 16:38:04 +00:00
Ulf Lamping
302f45549f add CBA_E_INVALIDID
svn path=/trunk/; revision=21699
2007-05-06 12:07:44 +00:00
Ulf Lamping
85cee37933 the default is still python 2.4, as 2.5 currently doesn't work with the buildbot installation.
svn path=/trunk/; revision=21698
2007-05-06 09:32:51 +00:00
Ulf Lamping
56ddeb6b85 embed the manifest files for the unittest exe's as well
svn path=/trunk/; revision=21697
2007-05-06 09:24:36 +00:00
Ulf Lamping
0abc3ba979 instead of copying the MSVC 2005 manifest files around, embed them into the .exe / .dll files - this way is easier to handle while packaging and alike, and probably will solve some problems. We might want to do this for the plugins as well later.
svn path=/trunk/; revision=21696
2007-05-06 09:17:19 +00:00
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