Commit Graph

14609 Commits

Author SHA1 Message Date
Anders Broman 2ab0496a72 From Mike Duigou:
In order to get filtering of conversations and
> endpoints to work from the endpoints and conversations windows I found 
> it necessary to add a new AT_URI address type and a SAT_JXTA. This also 
> necessitated a change to to_str.c to avoid a buffer overflow problem. 
> Please review these changes carefully.
> 
> Also includes some changes to the jxta dissector to fix filtering on
> generated fields and some changes to the types used for ints/unsigned ints.
> 
> Fixes a bug with the processing of messages containing namespaces.

svn path=/trunk/; revision=14714
2005-06-20 20:14:22 +00:00
Gerald Combs 3a6c9ab134 Fix a format string vulneratility in the AFP dissector identified
by iDEFENSE.  Add constant format strings to proto_item_append_text()
in a bunch of other dissectors.  Copy a comment from proto.c to proto.h.

svn path=/trunk/; revision=14713
2005-06-20 19:35:58 +00:00
Ronnie Sahlberg c3cfe365cf convert the function
dissect_spnego_mechTypes() tu use the packet-ber api instead of the 
asn1 api.


svn path=/trunk/; revision=14712
2005-06-20 10:22:03 +00:00
Ronnie Sahlberg bdac892d95 convert one function to use packet-ber instead of asn1
svn path=/trunk/; revision=14711
2005-06-20 09:43:29 +00:00
Ronnie Sahlberg 5f334f7f7b move two functions that are not used by tcap and only used by gsm_a and gsm_ss into gsm_ss.
remove the include <epan.asn1.h> from tcap since it no longer needs that file.

only 9 dissectors remain that use asn1.h



svn path=/trunk/; revision=14710
2005-06-20 07:18:10 +00:00
Ronnie Sahlberg b958accede move one function only used by SPNEGO to packet-spnego.c
remove the include of <epan/asn1.h> from kerberos, ntlmssp and gssapi since they no longer need to include that file.


svn path=/trunk/; revision=14709
2005-06-20 05:28:56 +00:00
Ronnie Sahlberg 9df676d79b convert gssapi to use packet-ber helpers instead of the asn1 ones.
once spnego is converted as well, the   epan/asn1.h  include can be removed from :
kerberos, spnego, gssapi and ntlmssp



svn path=/trunk/; revision=14708
2005-06-20 04:44:39 +00:00
Ronnie Sahlberg a0a9d9ec06 add Sids email as the original author of ACSE dissector
svn path=/trunk/; revision=14707
2005-06-20 02:37:42 +00:00
Guy Harris 75bdc46493 Get rid of the include of "snprintf.h", as g_snprintf()" should be used.
Add _U_s to reduce the number of warnings.

svn path=/trunk/; revision=14706
2005-06-19 22:29:08 +00:00
Anders Broman 2524713192 Add some Cisco AVP:s
svn path=/trunk/; revision=14705
2005-06-19 21:16:04 +00:00
Anders Broman fa82445742 Update some OID:s and add some ASN1 code from ETSI TS 129 002 V5.7.0.
Will regenerate later.

svn path=/trunk/; revision=14704
2005-06-19 21:11:52 +00:00
Guy Harris 5dde018c50 Add a note about the PNG, JPEG, and TIFF loaders not being usable (or
not easy to get to work) on Tiger.

svn path=/trunk/; revision=14703
2005-06-19 19:17:15 +00:00
Guy Harris 75f9e9f5c8 Update URL for omniORB.
svn path=/trunk/; revision=14702
2005-06-19 19:08:37 +00:00
Jörg Mayer 3b785e39ec Fix trivial warning
svn path=/trunk/; revision=14701
2005-06-19 15:17:42 +00:00
Jörg Mayer 39fe3f0ba3 Warning fix: Declare some more strings const
svn path=/trunk/; revision=14700
2005-06-19 15:16:30 +00:00
Ronnie Sahlberg 3c1fa6d6eb New autogenerated ACSE dissector.
Note that the autogenerated dissector contains two bugs which i belive are asn2eth bugs.
This is why make copy_files does not work.

The comment at the top of the generated file explains which two changes one has to do manually after autogenerating the dissector, until asn2eth gets fixed.


svn path=/trunk/; revision=14699
2005-06-19 11:54:33 +00:00
Ronnie Sahlberg fddc09d930 New autogenerated ACSE dissector.
There is a bug in ASN2ETH which means one can not do make copy_files
instead one needs to change two bugs in the generated code manually.
These two changes are in the comment at the top of the template/generated file


svn path=/trunk/; revision=14698
2005-06-19 11:51:23 +00:00
Ronnie Sahlberg f8a0c37aca register cmip as ber oid dissector
svn path=/trunk/; revision=14697
2005-06-19 11:49:16 +00:00
Ronnie Sahlberg 54f15811b5 make cmip and ftam also register by ber oid so that they will work when the new ACSE goes in
svn path=/trunk/; revision=14696
2005-06-19 11:47:59 +00:00
Ronnie Sahlberg beb9e86120 push one more object into the session structure so acse can pick it up later.
svn path=/trunk/; revision=14695
2005-06-19 11:40:39 +00:00
Luis Ontanon 30b7a5866b from Didier Gautheron
The new AFP 3.2 specification used by Apple OS X 10.4


svn path=/trunk/; revision=14694
2005-06-19 00:08:30 +00:00
Gerald Combs c62e906508 Clear out any leftover preference information. Fix up whitespace.
svn path=/trunk/; revision=14693
2005-06-18 20:57:01 +00:00
Jörg Mayer f4e36cdc6c Partial fix for bug 191: Sanity check is ok now
svn path=/trunk/; revision=14692
2005-06-18 15:41:26 +00:00
Jörg Mayer 6d9dcbc88a Add Dominik Kuhlen to AUTHORS
svn path=/trunk/; revision=14691
2005-06-18 08:52:41 +00:00
Jörg Mayer bf1c2080d4 Dominik Kuhlen: Fix a copy/paste bug reported in
http://bugs.ethereal.com/bugzilla/show_bug.cgi?id=211

svn path=/trunk/; revision=14690
2005-06-18 08:49:24 +00:00
Luis Ontanon 9dfb07c762 from Vasanth Manickam
Synergy is a cross platform software which enables to easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware. Its listed on sourceforge (http://synergy2.sourceforge.net/).


svn path=/trunk/; revision=14689
2005-06-18 01:15:17 +00:00
Luis Ontanon c7244c2a0d - Use report_error and Co. to report errors
svn path=/trunk/; revision=14688
2005-06-18 01:09:04 +00:00
Jörg Mayer 557b714e71 Remove a leftover dummy list
svn path=/trunk/; revision=14687
2005-06-18 00:10:59 +00:00
Michael Tüxen d8ff9be3ba Add support for draft-ietf-tsvwg-sctp-auth-00.txt.
svn path=/trunk/; revision=14686
2005-06-17 21:02:40 +00:00
Gerald Combs 6126a01eb9 Tweak the global coloring rules a bit. Give "normal" traffic pastel
backgrounds and "bad" traffic bold backgrounds, which is the strategy
used in some of the sample coloring rules.  Include a few rules from
the samples as well.

svn path=/trunk/; revision=14685
2005-06-17 18:41:02 +00:00
Luis Ontanon c014cc7973 - fix a bug I introduced by copy pasting an incorrect offset of some items
- prepare the tap


svn path=/trunk/; revision=14684
2005-06-17 17:37:10 +00:00
Luis Ontanon 9af01355e5 Register the dtap dissector by name.
svn path=/trunk/; revision=14683
2005-06-17 17:33:48 +00:00
Luis Ontanon 57b4ec0b35 - Write rf5 files (I don't think tektronix software will be able to read these, ethereal does)
- change k12.atm.vci and k12.atm.vpi into atm.vci and atm.vpi


svn path=/trunk/; revision=14682
2005-06-17 17:26:43 +00:00
Jörg Mayer dd9b2e2ab5 Update FAQ
svn path=/trunk/; revision=14681
2005-06-17 17:12:12 +00:00
Jörg Mayer 5a54dba64f Update manuf
svn path=/trunk/; revision=14680
2005-06-17 17:10:21 +00:00
Gerald Combs f97247e3d0 Add a note about fuzz testing.
svn path=/trunk/; revision=14679
2005-06-17 15:03:26 +00:00
Ulf Lamping a1b6649a54 fix a typo in the usage output
svn path=/trunk/; revision=14678
2005-06-17 07:57:41 +00:00
Ulf Lamping 46b7ee3e4d the -E probability parameter was missing in the usage summary
svn path=/trunk/; revision=14677
2005-06-17 07:56:27 +00:00
Ulf Lamping 1867bf8119 updated to latest Ethereal GUI
svn path=/trunk/; revision=14676
2005-06-17 01:28:41 +00:00
Ulf Lamping 6428c5d208 updated to latest Ethereal GUI
svn path=/trunk/; revision=14675
2005-06-17 01:27:52 +00:00
Ulf Lamping dd7260d67f updated to latest Ethereal GUI
svn path=/trunk/; revision=14674
2005-06-16 23:27:57 +00:00
Anders Broman 03bae827fc Change "radius type" on some vendor AVP:s and add some more ones.
svn path=/trunk/; revision=14673
2005-06-16 22:07:38 +00:00
Anders Broman 5cea18c3e2 Add some more vendors
svn path=/trunk/; revision=14672
2005-06-16 22:06:12 +00:00
Ulf Lamping 20ff95f123 updated to latest Ethereal GUI
svn path=/trunk/; revision=14671
2005-06-16 21:51:17 +00:00
Ulf Lamping b6d028442c add ChIOExportCSVDialog section, docbook validation should work again
svn path=/trunk/; revision=14670
2005-06-16 21:34:06 +00:00
Ulf Lamping e8bdd3f8db add a "file sets" section and fix a link to it
svn path=/trunk/; revision=14669
2005-06-16 21:19:50 +00:00
Anders Broman aa97bb5dd7 Add Paul Ollis
svn path=/trunk/; revision=14668
2005-06-16 21:19:37 +00:00
Anders Broman 6b95a695cd From Paul Ollis:
epan/dissectors/packet-sigcomp.c
  --------------------------------

    Function dissect_sigcomp:

        1. Make sure the temporary buffer that is used to load byte-code from
           state is zeroed, since the function udvm_state_access implicitly
           relies on this.

        2. Pass the SigComp message header length, state length and partial
           state length to decompress_sigcomp_message.

        3. Removed the state_vars_valid parameter from calls to
           udvm_state_access.

svn path=/trunk/; revision=14667
2005-06-16 21:16:23 +00:00
Anders Broman 681f2bbdef From Paul Ollis:
epan/sigcomp_state_hdlr.c epan/sigcomp_state_hdlr.h
  ---------------------------------------------------

    Function udvm_state_access:

        1. Removed the state_vars_valid parameter. It is no longer used.

        2. The function now correctly updates each of state_length,
           state_address and state_instruction with saved state value.

           [Previously this was only done for state referenced in the SigComp
            message header.]

        3. Removed code that (incorrectly) read byte_copy_left from UDVM memory
           within the loop that writes the state to UDVM memory.

        4. Removed the code that set the useful values in UDVM memory. This
           should only be done for state referenced in the SigComp message
           header. (The decompress_sigcomp_message function, sets the useful
           values.)


  epan/sigcomp-udvm.c epan/sigcomp-udvm.h
  ---------------------------------------

    Function decompress_sigcomp_message:

        1. Added three new parameters; header_len, byte_code_state_len,
           byte_code_id_len.  The byte_code_state_len and byte_code_id_len
           are used to set the useful values in UDVM memory. The
           header_len is required to calculate the cycles available
           for decompression.

        2. Various minor corrections to spellings, etc in generated
           messages.

        3. Reduced the number of lines of output for print_level_1. Now
           the execution trace shows the instruction name and parameter
           values on one line.

           [This was done because, we found that even at the lowest
           level of detail ethereal became unusably slow; running on
           a 500 MHz SPARC. This seems to be related to the number of
           lines produced by the SigComp trace, which can easily be over
           1000 with the modified code.]

        4. Removed the used of some floating point functions. In all
           cases they were unnecessary and could potentially cause the
           code to produce the wrong results on some platforms (although
           this is unlikely).

        5. The useful values are now set correctly, using the new
           byte_code_state_len and byte_code_id_len parameters.

        6. The message header length is now included in the calculation of
           maximum_UDVM_cycles. Previously, the calculation could underestimate
           the value, resulting in the (small) chance that some legitimate
           messages might fail to decompress.

           Note: The calculation might now slightly over-estimate the cycles
           but this is a reasonable thing to do.

        7. Implemented the PUSH, POP, CALL and RETURN instructions.

           Note: The two SORT instructions and the CRC and SHA-1 instructions
           are still not implemented.

        8. The COPY and COPY-LITERAL instructions now apply the
           byte-copying-rules to the source address as well as the destination
           address.

        9. The COPY-LITERAL and COPY-OFFSET now correctly handle the
           destination operand. Previously, it was possible for the destination
           to be left at byte_copy_right when it should be left at
           byte_copy_left.

        10. All three COPY instructions will now behave correctly if the source
            or destination start at byte_copy_right; i.e. they read/write to
            byte_copy_right, byte_copy_right+1, etc. Previously the parameters
            would wrap to byte_copy_left.

        11. The COPY-OFFSET instruction now correctly calculates the source
            address for all values of offset. Previously a very large offset
            (greater than the circular buffer size) could cause the starting
            position to be mis-calculated.

        12. Modulo 65536 arithmetic has been added in some places where it was
            missing.

            [Only when noticed, we have not been able to check all the code.]

        13. Some redundant code was removed for the INPUT-BITS instruction.
            Also, INPUT-BITS (0, x, x) now correctly discards spare bits when
            the P-bit, has changed.

        14. Corrected the cycles used calculation for the INPUT-BITS
            instruction.

        15. Corrected some minor cases where the used_udvm_cycles was not
            incremented.

            [Not really a problem, but it allowed us to verify correctness with
            some of the SigComp torture tests.]

        16. Removed some redundant code in INPUT-HUFFMAN (and reorganised some
            comments to keep them making sense).


    Function decomp_dispatch_get_bits:

        1. This has been rewritten. The original version could not correctly
           handle requests for more than 8 bits. The new version is cleaner and
           correctly handles all cases.

svn path=/trunk/; revision=14666
2005-06-16 21:15:12 +00:00
Ulf Lamping f889a3ada3 updated to latest Ethereal GUI
svn path=/trunk/; revision=14665
2005-06-16 20:27:55 +00:00