Commit Graph

257 Commits

Author SHA1 Message Date
Luis Ontanon cdc088fb66 An unimportant and harmless one per run leak in a tool used for building... Coverity cannot evaluate that :P
run 14 CID 107


svn path=/trunk/; revision=17526
2006-03-08 10:58:09 +00:00
Anders Broman 0331204009 Undo the prevous unfortunate "rearrangement of code".
svn path=/trunk/; revision=17508
2006-03-07 20:24:11 +00:00
Anders Broman 7e8a72a218 Fix a bug reported by covierty and solved by http://www.sqlite.org/cvstrac/rlog?f=sqlite/tool/lemon.c
Rearrange the code a bit to make it easier to make a diff with the sqlite version of lemon.

svn path=/trunk/; revision=17502
2006-03-07 18:18:04 +00:00
Gerald Combs 050525cfb5 Add Lua support by default for Win32. Fix some compilation problems.
Add Lua information to the version paragraph.

svn path=/trunk/; revision=17440
2006-03-01 21:31:07 +00:00
Ulf Lamping 4648592a43 add a possible solution (add another package using cygwin) if a tool wasn't found.
svn path=/trunk/; revision=17413
2006-02-26 18:21:50 +00:00
Jörg Mayer a5c03f490e Mike Duigou:
I noticed that when you run fuzz testing from both a root account and
a user account you can run into problems because the user account tries
to use and delete temp files created by the root account and fails. This
patch uses the same scheme as used for fuzz error files for naming the
tampered file and for the error file to prevent filename/permission
collisions between temp files from different runs.


svn path=/trunk/; revision=17145
2006-02-03 09:29:54 +00:00
Jörg Mayer 1b47d72350 Update from samba tree revision 12761 to 12961
============================ Samba log start ============
------------------------------------------------------------------------
r12776 | metze | 2006-01-08 21:20:18 +0100 (Sun, 08 Jan 2006) | 3 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/tests/Util.pm

use $ENV{TEST_DATA_PREFIX} for test files if available

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


svn path=/trunk/; revision=17039
2006-01-16 16:31:54 +00:00
Jörg Mayer 1cd8e8ca0c Reminder to clean up in case of ctrl-c etc
svn path=/trunk/; revision=16954
2006-01-05 12:43:35 +00:00
Guy Harris 9347bd2df6 That's "PIDL_FILES", not "PIDLFILES".
svn path=/trunk/; revision=16930
2006-01-02 10:37:52 +00:00
Jörg Mayer 05bf77a243 - Move pidl files into PIDL_FILES and include this info EXTRA_DIST.
- Sort files alphabetically.

svn path=/trunk/; revision=16929
2006-01-02 00:43:28 +00:00
Jörg Mayer 43189459e8 Forgot to commit Makefile.am with the samba changes
svn path=/trunk/; revision=16928
2006-01-01 23:50:47 +00:00
Jörg Mayer 6cbffe23a9 Update from samba tree revision 12488 to 12669
============================ Samba log start ============
------------------------------------------------------------------------
r12488 | jelmer | 2005-12-26 02:37:18 +0100 (Mon, 26 Dec 2005) | 2 lines

Fix MANIFEST to match recent changes

------------------------------------------------------------------------
r12490 | jelmer | 2005-12-26 03:14:18 +0100 (Mon, 26 Dec 2005) | 2 lines

Fix --warn-compat

------------------------------------------------------------------------
r12501 | jelmer | 2005-12-26 23:47:40 +0100 (Mon, 26 Dec 2005) | 4 lines

Merge EJSHeader.pm into EJS.pm and simplify smbcalls_rpc.c a bit,
now that it is guaranteed that the smbcalls modules are always
initialized
after the EJS subsystem itself.

------------------------------------------------------------------------
r12512 | jelmer | 2005-12-27 17:22:35 +0100 (Tue, 27 Dec 2005) | 3 lines

Use GUID structs in API functions everywhere rather then converting back
and
forth between GUID structs and strings in several places.

------------------------------------------------------------------------
r12515 | jelmer | 2005-12-27 18:50:53 +0100 (Tue, 27 Dec 2005) | 2 lines

Use UUID directly rather then string containing UUID

------------------------------------------------------------------------
r12517 | jelmer | 2005-12-27 20:13:18 +0100 (Tue, 27 Dec 2005) | 2 lines

Don't generate empty init functions

------------------------------------------------------------------------
r12528 | jelmer | 2005-12-27 23:51:30 +0100 (Tue, 27 Dec 2005) | 2 lines

Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server.

------------------------------------------------------------------------
r12539 | metze | 2005-12-28 10:31:43 +0100 (Wed, 28 Dec 2005) | 3 lines

fix the pidl tests

metze
------------------------------------------------------------------------
r12572 | jelmer | 2005-12-29 17:03:03 +0100 (Thu, 29 Dec 2005) | 2 lines

No longer parse coclasses as interfaces

------------------------------------------------------------------------
r12573 | jelmer | 2005-12-29 17:03:47 +0100 (Thu, 29 Dec 2005) | 2 lines

Update README to recent changes in pidls namespace

------------------------------------------------------------------------
r12574 | jelmer | 2005-12-29 17:04:34 +0100 (Thu, 29 Dec 2005) | 3 lines

Bring tables.pl back to life and move registration of interfaces
now completely to a new subsystem.

------------------------------------------------------------------------
r12651 | jelmer | 2005-12-31 15:57:43 +0100 (Sat, 31 Dec 2005) | 2 lines
Changed paths:
   M /branches/SAMBA_4_0/source/librpc/idl/idl_types.h
   M /branches/SAMBA_4_0/source/librpc/ndr/libndr.h
   M /branches/SAMBA_4_0/source/librpc/ndr/ndr_string.c

Remove STR_LARGE_SIZE as it's no longer used

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


svn path=/trunk/; revision=16927
2006-01-01 23:14:44 +00:00
Gerald Combs 306fbc3fdb Update to Net-SNMP 5.2.2.
svn path=/trunk/; revision=16907
2005-12-27 18:33:58 +00:00
Jörg Mayer 7b195acb54 Update from samba tree revision 12487 to 12488
============================ Samba log start ============
------------------------------------------------------------------------
r12488 | jelmer | 2005-12-26 02:37:18 +0100 (Mon, 26 Dec 2005) | 2 lines

Fix MANIFEST to match recent changes

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

Update Makefile.am accordingly

svn path=/trunk/; revision=16899
2005-12-26 01:42:44 +00:00
Jörg Mayer 3f66462306 Found by buildbot:
Update MANIFEST to fix a bug in the samba tree.

svn path=/trunk/; revision=16898
2005-12-26 01:20:38 +00:00
Jörg Mayer 2eb39a1bdc Update from samba tree revision 12430 to 12487
============================ Samba log start ============
------------------------------------------------------------------------
r12462 | jelmer | 2005-12-24 22:57:51 +0100 (Sat, 24 Dec 2005) | 2 lines

Hide oo magic from callers of the parser

------------------------------------------------------------------------
r12463 | jelmer | 2005-12-24 23:11:44 +0100 (Sat, 24 Dec 2005) | 2 lines

Rename 'Samba' namespace to 'Samba4'

------------------------------------------------------------------------
r12464 | jelmer | 2005-12-25 00:32:50 +0100 (Sun, 25 Dec 2005) | 4 lines

Add simple IDL parsing tests for pidl using the standard perl
testing framework (Test::Simple, distributed with perl itself).
Run these tests from 'make test'

------------------------------------------------------------------------
r12465 | jelmer | 2005-12-25 02:33:35 +0100 (Sun, 25 Dec 2005) | 3 lines

Merge Parse::Pidl::Samba4::NDR::Header into
Parse::Pidl::Samba4::NDR::Parser.
Small optimization to avoid including NDR headers multiple times

------------------------------------------------------------------------
r12470 | jelmer | 2005-12-25 04:04:13 +0100 (Sun, 25 Dec 2005) | 3 lines

Add helper module for pidl tests
Convert other pidl tests to use Test::More and run them from 'make test'

------------------------------------------------------------------------
r12480 | jelmer | 2005-12-25 15:11:59 +0100 (Sun, 25 Dec 2005) | 2 lines

Extend testsuite

------------------------------------------------------------------------
r12481 | jelmer | 2005-12-25 15:59:21 +0100 (Sun, 25 Dec 2005) | 4 lines

Move parser-specific utility functions to idl.yp, remove some unused
functions
Allow the use of non-typedef structs and unions when declaring
variables. Allow the
use of the 'signed' and 'unsigned' qualifiers for integer types

------------------------------------------------------------------------
r12482 | jelmer | 2005-12-25 15:59:39 +0100 (Sun, 25 Dec 2005) | 2 lines

Add some more tests

------------------------------------------------------------------------
r12483 | jelmer | 2005-12-25 16:19:55 +0100 (Sun, 25 Dec 2005) | 2 lines

Remove --tdr-header option (merged into --tdr-parser)

------------------------------------------------------------------------
r12484 | jelmer | 2005-12-25 18:12:52 +0100 (Sun, 25 Dec 2005) | 2 lines

Initial work on supporting non-typedeffed types

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


svn path=/trunk/; revision=16896
2005-12-26 00:47:24 +00:00
Jörg Mayer b7d11ac06c Update from samba tree revision 12205 to 12325
============================ Samba log start ============
------------------------------------------------------------------------
r12205 | jelmer | 2005-12-13 02:56:04 +0100 (Tue, 13 Dec 2005) | 2 lines

Support 'TFS' command in conformance files

------------------------------------------------------------------------
r12206 | jelmer | 2005-12-13 14:14:23 +0100 (Tue, 13 Dec 2005) | 2 lines

Fix some issues in NOEMIT

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


svn path=/trunk/; revision=16851
2005-12-18 22:40:49 +00:00
Gerald Combs 253b96e81f Add support for GLib/GTK+ 2.8. Point to the latest tag.
svn path=/trunk/; revision=16802
2005-12-14 21:19:39 +00:00
Jörg Mayer f6b5a5d924 Update from samba tree revision 12185 to 12205
============================ Samba log start ============
------------------------------------------------------------------------
r12205 | jelmer | 2005-12-13 02:56:04 +0100 (Tue, 13 Dec 2005) | 2 lines

Support 'TFS' command in conformance files

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


svn path=/trunk/; revision=16776
2005-12-13 09:30:09 +00:00
Gerald Combs 6b376c9c0e asn2eth.py:
Catch a TypeError that gets thrown if we don't use any conversion
specifiers during string formatting.

H.248:

Don't dereference a null pointer.  Fixes bug 626.

svn path=/trunk/; revision=16773
2005-12-13 03:48:26 +00:00
Guy Harris 46cbfd576a The Bitmap routine in lib/Parse/Pidl/Ethereal/NDR.pm in Pidl generates
fields as BASE_DEC; bitmaps are typically displayed in hex in Ethereal,
so it should generate BASE_HEX instead.  (Submitted to
bugzilla.samba.org as bug 3313.)

A couple of the IDL files use "unistr"; define it as "[string] uint16",
so that the resulting dissectors work correctly.

Regenerate dissectors.

svn path=/trunk/; revision=16754
2005-12-10 22:42:19 +00:00
Jörg Mayer c2eaf1bc74 Fix ...$ to : $
svn path=/trunk/; revision=16750
2005-12-09 16:51:56 +00:00
Jörg Mayer d3970d3674 Update to samba svn revision 12055:
========== Samba changelog start ========================
r11959 | jelmer | 2005-11-29 14:54:51 +0100 (Tue, 29 Nov 2005) | 2 lines

Use DOS_errors array for displaying WERROR values

------------------------------------------------------------------------
r11972 | metze | 2005-11-30 13:40:26 +0100 (Wed, 30 Nov 2005) | 3 lines

handle [noejs] property also on functions

metze
------------------------------------------------------------------------
r11974 | metze | 2005-11-30 18:07:02 +0100 (Wed, 30 Nov 2005) | 3 lines

only look at $pl->{POINTER_TYPE} when $pl is defined

metze
------------------------------------------------------------------------
r11997 | metze | 2005-12-01 13:39:33 +0100 (Thu, 01 Dec 2005) | 14 lines

for multidimentional array like this:
uint32 [num_level2][num_level1][num_level0]

fix the order they're pushed and pulled, it should be like this

for (l2=0; l2 < num_level2; l2++) {
        for (l1=0; l1 < num_level1; l1++) {
                for (l0=0; l0 < num_level0; l0++) {
                        ndr_pull_uint32(...);
                }
        }
}

metze
========== Samba changelog end ========================


svn path=/trunk/; revision=16673
2005-12-04 08:48:38 +00:00
Luis Ontanon 976804af94 Add #line directives to the genertated dissector.
Now the compiler knows where a line comes from and errors point to the .cnf or -template.[ch] file instead of the generated code.


svn path=/trunk/; revision=16654
2005-12-02 17:49:47 +00:00
Tomas Kukosa dcae7d303f new field type FT_OID for OBJECT IDENTIFIERs
svn path=/trunk/; revision=16652
2005-12-02 13:16:58 +00:00
Tomas Kukosa 97584210fb improvements in value constraint support
- NO_BOUND is defined instead of usage -1
- negative bound is handled properly for INTEGER

svn path=/trunk/; revision=16505
2005-11-14 13:05:17 +00:00
Jörg Mayer e5176d9a93 Update to samba 11691:
------------------------------------------------------------------------
r11535 | jelmer | 2005-11-06 14:53:37 +0100 (Sun, 06 Nov 2005) | 2 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba/Template.pm

Support void functions when generating templates.

------------------------------------------------------------------------
r11539 | jelmer | 2005-11-06 15:31:01 +0100 (Sun, 06 Nov 2005) | 4 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/TODO
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba/NDR/Header.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba/NDR/Server.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba/Template.pm

Fix indentation in templates. Always generate lower-case
UUID strings as GUID_from_string seems to have trouble with
uppercased ones.

------------------------------------------------------------------------


svn path=/trunk/; revision=16479
2005-11-12 00:42:03 +00:00
Jörg Mayer 65528c765a Update to samba svn 11484
svn path=/trunk/; revision=16388
2005-11-03 15:23:09 +00:00
Anders Broman 314c36da9a From Graeme Lunt:
The ftbp.patch file includes:
a) A fix to acse.cnf which works around an asn2eth bug (it is the AE-qualifier EXPORT I want, but asn2eth doesn't generate the appropriate extern for the values). Also a small cosmetic change for EXTERNAL decodings.
b) New EXPORTs for the FTAM dissector for use in FTBP.
c) A fix to asn2eth to solve the problem if you EXPORT types that include a '-' character in the name (e.g. "AE-qualifier" from acse.cnf, "Date-and-Time-Attribute" from ftam.cnf). The problem is that asn2eth generates the "xxxx-exp.cnf" file using the 'C' name (which has replaced '-' with '_') rather than the original 'ASN' name. The fix just undoes the replacement as I couldn't see the original name being preserved anywhere. There still remains a problem if the type has a '.' in the name - but generally I don't think they do.

* Better ROS handling and registration
* Simplified RTSE registration
* X411 column information, extension naming and use of new RTSE/ROS registration
* X420 notification extensions, warnings removal and export of ExtensionsField (missed from recent FTBP patch).
* Better highlighting of S4406 protocol.


svn path=/trunk/; revision=16296
2005-10-24 21:42:19 +00:00
Jörg Mayer 71df36b814 Update from samba tree
svn path=/trunk/; revision=16264
2005-10-18 14:59:30 +00:00
Gerald Combs 25d75e66a7 Set ETHEREAL_ABORT_ON_DISSECTOR_BUG. Make sure we create a core file. Fix
up file names and extensions.

svn path=/trunk/; revision=16190
2005-10-11 15:17:06 +00:00
Anders Broman 3f7ed7c2a2 Fix problems with bitstring:
- dissect_per_bitstring needs to know if extention exists or not.
- Fixes for bitstring sizes up to 16 ( where max = min ).

svn path=/trunk/; revision=16181
2005-10-10 20:38:28 +00:00
Jörg Mayer 9c38623b5a Sync with samba tree
svn path=/trunk/; revision=16152
2005-10-07 07:50:59 +00:00
Luis Ontanon 154d8ae087 one step further...
TPG now uses the ignore feature of tvbparse
 named sub_rules can have cardinality

epan/tvbparse.c:
   do not crash on zero cardinality


svn path=/trunk/; revision=16065
2005-10-01 15:19:36 +00:00
Luis Ontanon aef8dd5c4c Some changes in tpg's grammar to avoid constructing elements that cannot be dereferenced
svn path=/trunk/; revision=16062
2005-10-01 10:39:38 +00:00
Luis Ontanon 2b57849529 another step closer
svn path=/trunk/; revision=16052
2005-09-29 19:56:21 +00:00
Jörg Mayer 16bd74ab0c In case the paths to the tools are wrong, inform the
user about it instead of complaining that no capture files
could be found.


svn path=/trunk/; revision=16037
2005-09-28 08:14:54 +00:00
Luis Ontanon 217b73a0b1 update tpg
tvbparse:
     - for tvbparse_until spend the target token even if it isn't included


svn path=/trunk/; revision=16032
2005-09-28 01:06:39 +00:00
Luis Ontanon 230c36d360 now it starts to work...
svn path=/trunk/; revision=16028
2005-09-27 21:54:45 +00:00
Luis Ontanon 72cbc6410b TPG TVB Parser Generator
Given a bnf-like grammar generate a set of helpers for a dissector

It's not working yet, however I need this checkin as a cheeckpoint

(I'll write the doc when it starts to be ready)


svn path=/trunk/; revision=16021
2005-09-27 20:48:48 +00:00
Jörg Mayer d902c856e3 Add MANIFEST
svn path=/trunk/; revision=15984
2005-09-23 21:27:03 +00:00
Ulf Lamping e6f26721f4 replace WinPcap devel pack 3.0 with current 3.1 version
svn path=/trunk/; revision=15972
2005-09-22 23:18:34 +00:00
Gerald Combs 0e48360f73 Remove pidl.1.xml from the distribution.
svn path=/trunk/; revision=15971
2005-09-22 22:00:06 +00:00
Jörg Mayer c64775e754 Update from samba + new file MANIFEST
svn path=/trunk/; revision=15955
2005-09-22 09:13:33 +00:00
Jörg Mayer 4932a656cf pidl.1.xml doesn't exist any more in this form. It's now integrated
into pidl itself. So remove the file again and also the reference to
the file in tools/Makefile.am

svn path=/trunk/; revision=15944
2005-09-21 22:41:47 +00:00
Gerald Combs ece40ca87b Add the "test" directory and man page to pidl. This should hopefully
fix the current distcheck and RPM build failures.

svn path=/trunk/; revision=15933
2005-09-21 16:06:59 +00:00
Jörg Mayer 9e3f582c04 Sync with samba: Update to fix manpage handling
svn path=/trunk/; revision=15924
2005-09-21 09:40:45 +00:00
Jörg Mayer 44a3e93524 Add the pidl files.
svn path=/trunk/; revision=15896
2005-09-20 15:08:14 +00:00
Tomas Kukosa d3492e684a asn2eth
- #.FN_BODY accepts parameters too
 - single line variant of #.FN_PAR is possible
 - new parameter FN_VARIANT for OBJECT IDENTIFIER
packet-per.c
 - dissect_per_object_identifier() returns value as tvb
 - new dissect_per_object_identifier_str() function
PER dissectors adapted and regenerated

svn path=/trunk/; revision=15894
2005-09-20 10:56:08 +00:00
Jörg Mayer 44a4fd449c Revert back to local copy: The samba svn server does not support svn
over http - this was a much requested feature for Ethereals svn server.

svn path=/trunk/; revision=15882
2005-09-19 23:31:47 +00:00
Jörg Mayer dfaf9f9310 Change pidl to svn:externals
svn path=/trunk/; revision=15866
2005-09-19 14:50:23 +00:00
Tomas Kukosa ee8d53adf5 remove unused parameter 'name' from dissect_per_choice()
svn path=/trunk/; revision=15861
2005-09-19 07:35:05 +00:00
Jörg Mayer 33097899f8 Small update
svn path=/trunk/; revision=15860
2005-09-18 21:58:39 +00:00
Jörg Mayer f1bd7620a3 Update README.ethereal and sync with current samba tree
svn path=/trunk/; revision=15859
2005-09-18 21:57:59 +00:00
Jörg Mayer fdc91d7e24 Add a local copy of pidl, add a README.ethereal to include
minimalistic building and usage instructions.


svn path=/trunk/; revision=15836
2005-09-16 09:31:05 +00:00
Gerald Combs 4ba88078f9 Move to the latest ethereal-win32-libs tag.
svn path=/trunk/; revision=15706
2005-09-06 19:48:57 +00:00
Tomas Kukosa 1d6439aa7d - OID names table extended
- NAME and ABBREV attributes can be used in #.FIELD_ATTR
- following constraint format is supported (1..10, ..., 11..MAX)

svn path=/trunk/; revision=15634
2005-08-31 14:32:29 +00:00
Anders Broman bc3830f63d Fix a typo 'BER_UNI_TAG_TeletexString'
svn path=/trunk/; revision=15613
2005-08-29 16:51:58 +00:00
Jörg Mayer 344fc629fc Add a tool to check the hf_ values.
svn path=/trunk/; revision=15611
2005-08-29 14:15:32 +00:00
Tomas Kukosa ec979a97fb - dissect_per_restricted_character_string() returns value in tvbbuff_t instead of char
- asn2eth:
  fixed CHOICE tag handling
  #.FN_PARS support for BIT STRING and all string types
  intersection of SIZE and FROM constraints for string is handled
- new asn2eth features used in h225 and h245
- PER dissectors regeneration

svn path=/trunk/; revision=15408
2005-08-18 14:32:49 +00:00
Jörg Mayer cee545d958 Albert Chin:
"config.h" should always be included first. However, lemon
        includes <stdio.h> first.


svn path=/trunk/; revision=15208
2005-08-04 20:41:52 +00:00
Jörg Mayer c17d44e122 Fix svn properties where needed:
Remove svn:executable
         Add svn:executable
         Add svn:eol-style
         Add svn:keywords


svn path=/trunk/; revision=15182
2005-08-02 05:58:15 +00:00
Jörg Mayer 5e83d1e015 Fix more "no previous declaration" warnings
svn path=/trunk/; revision=15172
2005-08-02 04:35:40 +00:00
Tomas Kukosa 49a0d4f697 - fix name handling of imported types
- #.FN_PARS implemented for TypeRef, SET, SEQUENCE, CHOICE

svn path=/trunk/; revision=15161
2005-08-01 08:40:13 +00:00
Anders Broman 40c841279f rom Maynard, Chris :
The attached patches, generated via  svn diff , correct various compiler 

& lint warnings, among them: 

 

lemon.c(2582) : warning C4090: '=' : different 'const' qualifiers


svn path=/trunk/; revision=15086
2005-07-26 09:52:50 +00:00
Ulf Lamping 9eedc98db7 Update to zlib 1.2.3
svn path=/trunk/; revision=15040
2005-07-24 14:16:54 +00:00
Jörg Mayer 30a8557868 More 'char*' -> 'const char*' changes to fix warnings.
svn path=/trunk/; revision=15015
2005-07-23 11:41:25 +00:00
Jörg Mayer e1c6d9ac3d Fix some warnings (and one of my previous 'fixes')
svn path=/trunk/; revision=14997
2005-07-22 17:57:40 +00:00
Jörg Mayer f67b00ad9a More 'char*' -> 'const char*' warning fixes
svn path=/trunk/; revision=14986
2005-07-22 07:55:51 +00:00
Ronnie Sahlberg 0ca30abe65 change the symbol dissect_ber_CHOICE back into dissect_ber_choice
svn path=/trunk/; revision=14980
2005-07-21 21:12:09 +00:00
Tomas Kukosa aa6a15ebde PLY package updated to version 1.6
svn path=/trunk/; revision=14951
2005-07-18 20:45:46 +00:00
Gerald Combs e1c7558d93 Point to the latest Windows library tag and versions.
svn path=/trunk/; revision=14923
2005-07-15 20:50:34 +00:00
Tomas Kukosa 1374231148 - PER helper functions for SET/SEQUENCE OF dissection were changed to have prototype similar to BER (per_sequence_t is used as parameter)
- asn2eth was updated to support new PER helper functions for SET/SEQUENCE OF
- #.FN_PARS implemented for SET/SEQUENCE OF and REAL
- PER SET/SEQUENCE OF field can be FT_UINTxx to display number of items
- PER dissectors regenerated

svn path=/trunk/; revision=14921
2005-07-15 15:20:40 +00:00
Jörg Mayer 5b442f2279 After doing "make maintainer-clean", "svn status --no-ignore | grep ^I"
returned quite a list of files. Add them to MAINTAINERCLEANFILES.

Whitespace changes (replace multiple spaces by TABs, in a few cases this
needed to be done at the beginning of Makefile lines.


svn path=/trunk/; revision=14891
2005-07-10 08:04:27 +00:00
Gerald Combs 5b7df3128b Make sure "which" is present before we verify our tools. Add "env" to
the list of programs to check.  Make sure our python scripts start with
"#!/usr/bin/env python" as recommended at

  http://www.python.org/doc/faq/library.html#how-do-i-make-a-python-script-executable-on-unix

svn path=/trunk/; revision=14871
2005-07-07 21:26:09 +00:00
Guy Harris 2b086353a4 Fix a spelling error.
svn path=/trunk/; revision=14865
2005-07-06 23:55:19 +00:00
Tomas Kukosa 3f36906e3a - #.FN_PARS implemented for BOOLEAN
- user defined body #.FN_BODY can be combined with default body using DEFAULT_BODY parameter (see e.g. H.225)

svn path=/trunk/; revision=14863
2005-07-06 16:15:12 +00:00
Tomas Kukosa ed7d638053 new directives #.PDU_NEW and #.REGISTER_NEW creating and registering PDU dissectors with new_dissector_t prototype
svn path=/trunk/; revision=14860
2005-07-05 21:42:13 +00:00
Tomas Kukosa 648c7863cd - #.FN_PARS support for ENUMERATED type
- cleanup unused parameters for some methods

svn path=/trunk/; revision=14856
2005-07-05 19:47:04 +00:00
Tomas Kukosa 5f2fd433ab - use tvb instead of offset and length in dissect_per_octet_string() for value returning
- asn2eth: #.FN_PARS support for OCTET STRING
- usage of #.FN_PARS in h225 and h245
- h225: ParallelH245Control support
- h245: better support of NonStandardParameter
- usage of MAX_OID_STR_LEN constant
- all PER dissectors regenerated

svn path=/trunk/; revision=14844
2005-07-04 09:35:25 +00:00
Tomas Kukosa f9d6448624 fix for BER string tags
svn path=/trunk/; revision=14800
2005-06-27 13:45:47 +00:00
Ronnie Sahlberg 3a51ba4293 make dissect_ber_choice take a guint* that will return the
index of the branch taken or -1  to make prettifications easier to implement.


change the signature of dissect_ber_choice and rename it to dissect_ber_CHOICE to catch all
occurences of the use of this function

update asn2eth to use the new name/signature

update all occurences of this function to the new name and new signature.



svn path=/trunk/; revision=14758
2005-06-26 05:48:50 +00:00
Gerald Combs b94621701c From Steve Grubb:
Fix bounds checking in lemon.c.  Fix up an if/else block in
packet-dcerpc-samr.c.  Fix hex printing in packet-gtp.c.


Fix other problems discovered by Steve:

Fix a bounds check in packet-isis-lsp.c.  Also, fix netmask printing
on non-little-endian machines.  Add a comment about adding a netmask
routine to to_str.c.  Add bounds checks to packet-ncp2222.inc.


All of these apply to bug 217.

svn path=/trunk/; revision=14627
2005-06-14 18:18:05 +00:00
Ulf Lamping 53ace04fe1 fix a problem if the tools have a space char in their path
svn path=/trunk/; revision=14588
2005-06-08 06:40:17 +00:00
Ulf Lamping a30f4fb400 add some general and some cygwin related comments
svn path=/trunk/; revision=14587
2005-06-08 06:33:49 +00:00
Tomas Kukosa a9cecadc53 - usage of dissect_per_null() and dissect_ber_null()
- new #.FN_PARS directive (implemented only for OCTET STRING and INTEGER now)
- set true value strings for named bits

svn path=/trunk/; revision=14575
2005-06-07 11:58:22 +00:00
Gilbert Ramirez c2454f0260 Add a "-G fields3" report which prints the bitmask of the field, and avoids
printing the blurb twice, like fields2 does.
Add a script, fsanity.py, to check sanity of FT definitions. Right now the
only check is for bitmasks for integer-like fields.

svn path=/trunk/; revision=14454
2005-05-27 15:13:09 +00:00
Gilbert Ramirez 0e80461b68 Add get_items_before(), to help analyze in the presence of
tunneled protocols.

svn path=/trunk/; revision=14380
2005-05-17 01:47:04 +00:00
Gilbert Ramirez d3cd8d93e8 Add get_hide() to return the value of the "hide" tag
in field attributes.

svn path=/trunk/; revision=14379
2005-05-16 23:21:01 +00:00
Anders Broman acdaec7d25 Forgott the lex.py file
svn path=/trunk/; revision=14360
2005-05-13 05:50:26 +00:00
Anders Broman 746eefbaf5 Add the asn2eth related files to extra-dist (I hope this is the right thing to do to get them into the SVN tarballs).
svn path=/trunk/; revision=14359
2005-05-13 05:47:56 +00:00
Gerald Combs 103103e21c Fix a quoting bug.
svn path=/trunk/; revision=14177
2005-04-24 00:37:08 +00:00
Gerald Combs ec5ec3768e Allow the locations of tethereal, editcap, and capinfos to be changed.
Limit the amount of VM the process can use (default 500 MB).  If we
can't save a capture in libpcap format, try again with the encapsulation
type set to "ether".

svn path=/trunk/; revision=14156
2005-04-20 21:00:03 +00:00
Tomas Kukosa 2d40f0464b - fix handling SET/SEQUENCE OF Type if type name contains hyphen
- raise warning if type is not renamed to name with the first letter uppercase
- raise warning if field is not renamed to name with the first letter lowercase

svn path=/trunk/; revision=14147
2005-04-20 12:39:34 +00:00
Gerald Combs cb95a1d842 Add fuzz-test.sh to the distribution.
svn path=/trunk/; revision=14126
2005-04-18 13:47:20 +00:00
Gerald Combs e39e982856 Add a description and usage message. Handle invalid capture files.
svn path=/trunk/; revision=14114
2005-04-17 18:55:42 +00:00
Gerald Combs 210225e22d Add a script based on the "menagerie-fuzz" buildbot test. Running
"./tools/fuzz-test.sh /path/to/capture/files/*" will iterate over the
specified capture files, using editcap to introduce errors and tethereal
to check for bugs.  It will do this until tethereal exits abnormally or
a dissector bug is encountered.

svn path=/trunk/; revision=14073
2005-04-14 04:32:27 +00:00
Anders Broman 1214d29348 From Jacques, Olivier:
The patch attached fixes it by creating a table of unique files at the
time of file deletion. This way, current asn2eth behaviour is not
modified.
 

svn path=/trunk/; revision=13943
2005-03-27 21:39:38 +00:00
Guy Harris 26722e4761 Fix asn2eth to pass 0, not NULL, for the last argument to
"dissect_per_restricted_character_string()", which is a guint32, not a
pointer.  Re-generate packet-h225.c with the fixed asn2eth.

svn path=/trunk/; revision=13819
2005-03-20 10:57:39 +00:00
Anders Broman 53c43f0757 Add a comment about where lemon is maintained now.
svn path=/trunk/; revision=13781
2005-03-16 22:09:30 +00:00