Commit Graph

12342 Commits

Author SHA1 Message Date
Gerald Combs 236f1a9717 Update to GTK+ 2.4.13.
svn path=/trunk/; revision=12581
2004-11-23 17:31:16 +00:00
Anders Broman c45f9fee60 Fix some memmory leaks
svn path=/trunk/; revision=12580
2004-11-22 22:19:03 +00:00
Anders Broman 214d684823 Fix some memmory leaks
svn path=/trunk/; revision=12579
2004-11-22 22:18:18 +00:00
Jörg Mayer 8a45a54c22 Backup some notes on Airmagnet capture file format into Ethereal - I'm NOT going to write an importer in the near future though
svn path=/trunk/; revision=12578
2004-11-22 16:36:26 +00:00
Guy Harris 077423bc83 Get rid of an unused variable.
svn path=/trunk/; revision=12577
2004-11-22 10:26:45 +00:00
Guy Harris dabae881cd From Yaniv Kaul: increment the offset pointer *after* you use it to put
into the protocol tree the field you're incrementing past.

Update a comment.

svn path=/trunk/; revision=12576
2004-11-22 08:23:00 +00:00
Guy Harris 696a6dce64 Fix a spelling error.
svn path=/trunk/; revision=12575
2004-11-22 08:12:42 +00:00
Guy Harris 0271280470 Put the value of the length field in a variable-length token, not the
length of the token, into the protocol tree as the length value.

svn path=/trunk/; revision=12574
2004-11-22 08:11:31 +00:00
Ronnie Sahlberg f102c20151 New protocol: RFC2634 ExtendedSecurityServices
updates to cms to accomodate the new protocol

add author to some files


svn path=/trunk/; revision=12573
2004-11-22 03:36:26 +00:00
Guy Harris 117d9d7ee4 Tag the compression protocol item as such.
The compression option isn't just the compression protocol, it can
include options for the protocol, so name the ett_ variable for its tree
appropriately.

svn path=/trunk/; revision=12572
2004-11-22 02:12:43 +00:00
Guy Harris 2f72f30630 In code that checks whether to accept a packet, first check to make sure
the data being checked exists.

svn path=/trunk/; revision=12571
2004-11-22 01:58:21 +00:00
Ronnie Sahlberg f833c77dff cmip update add all remaining functions Arguments and Results
svn path=/trunk/; revision=12570
2004-11-21 23:25:04 +00:00
Guy Harris 6ec445bfe4 Set the length of the tvbuff to be handed to the subdissector
appropriately (minimum of reported length and length of data left
in the parent).

svn path=/trunk/; revision=12569
2004-11-21 23:02:36 +00:00
Anders Broman 010995250b Clean-up hash table at reloading of file.
svn path=/trunk/; revision=12568
2004-11-21 22:26:53 +00:00
Anders Broman 8ee46e0006 Free the statebuff and the string
svn path=/trunk/; revision=12567
2004-11-21 22:08:40 +00:00
Guy Harris 4956f5fba1 From Bill Meier:
1. Add Preferences:

   a. To allow specification of a hint as to TDS protocol being decoded 
      (Unspecified/TDS4/TDS5/TDS7/TDS8); Default: 'unspecified'

      The 'hint' is used only when needed to do a correct decode.

      If the protocol is unspecified, the decode is as previous.

   b. To allow specification of 'ranges' of TCP ports to be treated as 
      'TDS tcp ports'; i.e. if the source or destination port of a tcp
      connection matches a specified range, then the connection should be
      considered to be TDS.

   c. To allow specification of a hint as to whether TDS being decoded is 
      'little-endian' or 'big-endian'. Default: 'little-endian'.

      A hint is just that; E.G. if TDS7+ packets are encountered the decode
      is always 'little-endian'.

2, Register tcp MS SQL default ports (1433, 2433) as TDS ports
   ('dissector_add'). This also enables TDS as a choice for 'decode as'.

3. 'netlib_check_login_pkt' changed to check 'TDS tcp port' range(s) as 
    entered in preferences;

4. Change 'dissect_tds_query_packet' to handle TDS4 ascii in addition to
   TDS7/8 UCS-16.

5. Change 'dissect_tds_rpc' to:

   a. handle TDS4 ascii RPC in addition to TDS7/8 UCS-16 RPC;
   b. handle Microsoft 'encoded' rpc_name;
   c. fix memory leak (not freeing memory obtained using
      'tvb_fake_unicode');

6. Change 'dissect_tds_response' to:

   a. handle tds4 tokens 'tds_col_name' and 'tds_col_info';
   b. dissect tokens 'tds_doneinproc' and tds 'doneproc' similarly to
      'tds_done'
   c. reclaim memory allocated for 'tds_col' structures when finished 
      processing response
           (Additional memory was being allocated each time a 
            tokenized tds5 response was processed)

7. New function 'dissect_tds_col_info_token' (similar to
   'read_results_tds5') associated with handling TDS4 responses.

8. New functions 'dissect_tds_query5_packet', 'dissect_tds5_lang_token'

9. Rework TDS token size calculation; Some TDS tokens have a length field
   of other than 2 bytes. (e.g.: the length field 
   for TDS_LANG_TOKEN is 4 bytes)

10. Update token definitions and usages;

   a. Update based upon info from current version of FreeTDS 'tds.h' 
      as well as info from Sybase TDS5 document;
      example: TDS_124_TOKEN renamed to TDS_PROCID_TOKEN

   b. TDS_124_TOKEN [TDS_PROCID] was incorrectly not considered 
      a 'fixed-size' token in function 'tds_is_fixed_token'

svn path=/trunk/; revision=12566
2004-11-21 22:03:33 +00:00
Anders Broman 81a790ca83 If message for SIP port starts with F8 it's a SIGCOMP message - decode it.
svn path=/trunk/; revision=12565
2004-11-21 21:47:51 +00:00
Ronnie Sahlberg 7bd55170ac update to cmip
add functions  m-action and m-action-confirmed


svn path=/trunk/; revision=12564
2004-11-21 21:29:10 +00:00
Guy Harris acc3b28324 From Yaniv Kaul: yet *another* place where an NTLMSSP rather than GSSAPI
blob can appear.

svn path=/trunk/; revision=12563
2004-11-21 21:23:30 +00:00
Guy Harris aada868cd8 From Shingo Horisawa:
add the "unknown sequence number" flag;

	fix dissection of unreachable destinations in RERR messages;

	fix prefix size in draft-perkins-manet-aodv6-01 RREP
	messages to be 7 bits, not 5 bits;

	put the message dissection under the top-level AODV tree rather
	than at the top level;

	fix labeling of source IPv6 address in RREP messages.

Update the comments at the beginning (AODV is now RFC 3561), and note
that RFC 3561 says that, for IPv6, the only change is that the address
fields are enlarged.

Rename RREQ_DEST and RREQ_GRAT to more fully indicate what they are.

Fix the name of the draft in the description of the
draft-perkins-manet-aodv6-01 messages.

Fix description of Gratuitous RREP flag in RREQ messages.

svn path=/trunk/; revision=12562
2004-11-21 21:05:16 +00:00
Ulf Lamping 99576c146c removed an MSVC warning
svn path=/trunk/; revision=12561
2004-11-21 11:52:34 +00:00
Ronnie Sahlberg dc7aaa104b add a new oid
svn path=/trunk/; revision=12560
2004-11-21 11:12:20 +00:00
Ronnie Sahlberg c47d1f0aa6 with the autogenerated export conformance files we need a small change to packet-ber.c
asn2eth  generates exports for CHOICE as of BER_CLASS_UNI  while the handgenerated ones specified the calss as BER_CLASS_ANY.

make dissect_ber_sequence()  look at the tag as well and if -1 its a wildcard and anything goes.



svn path=/trunk/; revision=12559
2004-11-21 10:34:08 +00:00
Ronnie Sahlberg 00e3474dec cleanup for x509af
svn path=/trunk/; revision=12558
2004-11-21 10:16:06 +00:00
Ronnie Sahlberg dab0c0fa2c cleanup for x509ce
svn path=/trunk/; revision=12557
2004-11-21 10:00:40 +00:00
Ronnie Sahlberg b48e26b8df SelectedAttributeTypes are now almost completely implemented also here i added a small makefile to reduce boring typing on the commandline
svn path=/trunk/; revision=12556
2004-11-21 08:56:09 +00:00
Ronnie Sahlberg 8b9b044698 update to x509if autogenerate the exports conformance file and create a small makefile since i am tired of typing that long command line every time
svn path=/trunk/; revision=12555
2004-11-21 08:22:21 +00:00
Ronnie Sahlberg e097f046b5 From Yaniv Kaul : New Protocol: X509 Certificates over HTTP
svn path=/trunk/; revision=12554
2004-11-21 07:21:17 +00:00
Ronnie Sahlberg 7119af2815 Add a whole bunch of dissector to X509IF and export them.
X509if is now almost complete.



svn path=/trunk/; revision=12553
2004-11-21 06:40:02 +00:00
Ronnie Sahlberg 2c25e3c6f6 add dissection of AuthorityInfoAccessSyntax
svn path=/trunk/; revision=12552
2004-11-21 05:21:26 +00:00
Guy Harris 2ad42a55fc From Bart Braem: add support for the "destination only" flag.
svn path=/trunk/; revision=12551
2004-11-21 03:21:02 +00:00
Guy Harris 77f9af3434 Update a URL.
svn path=/trunk/; revision=12550
2004-11-21 03:01:15 +00:00
Ronnie Sahlberg ed107b8938 add the oids for id-kp-xxx key purpose identifier to the pkix dissector
svn path=/trunk/; revision=12549
2004-11-20 21:26:08 +00:00
Ronnie Sahlberg 649398d952 get rid of some compiler warnings
svn path=/trunk/; revision=12548
2004-11-20 07:11:08 +00:00
Ronnie Sahlberg 3528d63cdf add _U_ to int hf_index to reduce number of compiler warnings
svn path=/trunk/; revision=12547
2004-11-20 07:03:27 +00:00
Ronnie Sahlberg e216cc55f3 updates to sat to make the template smaller.
svn path=/trunk/; revision=12546
2004-11-20 06:54:45 +00:00
Ronnie Sahlberg a6d6309361 ean up SAT a bit remove the unneccesary implementation of DirectoryStr4ing in the template and make the export of it correct.
svn path=/trunk/; revision=12545
2004-11-20 05:58:13 +00:00
Ronnie Sahlberg 2ba488f839 When we have a BER blob but we dont have the dissector for that oid implemented in ethereal (yet),
call a new function to start dissecting what unknown fields we can dissect.

Currently only PrintableString and INTEGER implemented but it will be easy to add other BER Universal types as needed later



svn path=/trunk/; revision=12544
2004-11-18 10:46:27 +00:00
Guy Harris 105c252b03 Don't create a dissector handle that we don't use.
svn path=/trunk/; revision=12543
2004-11-18 03:35:43 +00:00
Guy Harris f6024ff41e Don't set a string pointer to point to a constant string if that pointer
will later be handed to a free-memory routine - g_strdup() the constant
string.

svn path=/trunk/; revision=12542
2004-11-17 20:09:11 +00:00
Guy Harris 650ba47a9a Fix some problems when compiling on Windows and when compiling on
systems where INET6 isn't defined.

svn path=/trunk/; revision=12541
2004-11-17 19:46:34 +00:00
Guy Harris f33fdc05c2 Don't assume that IPv6 addresses are aligned on 32-bit boundaries.
svn path=/trunk/; revision=12540
2004-11-17 19:41:56 +00:00
Anders Broman 7e6f597dd5 From Martin Regner add the possibillity to disscet BICC over SCTP
svn path=/trunk/; revision=12539
2004-11-17 19:33:31 +00:00
Guy Harris 745937933a Add IPv6 address<->name mappings for AAAA records.
svn path=/trunk/; revision=12538
2004-11-17 10:03:14 +00:00
Guy Harris 4469052ec3 Add a hash table for IPv6 addresses, and add an "add_ipv6_name()"
routine to add IPv6-address/name pairings to that table; use that when
reading the hosts file.

svn path=/trunk/; revision=12537
2004-11-17 09:44:41 +00:00
Guy Harris 366ff47474 Rename some routines and structures to reflect that they're specific to
IPv4; use different data structures for port numbers.

svn path=/trunk/; revision=12536
2004-11-17 08:53:20 +00:00
Ronnie Sahlberg bd1a1e3ae1 New protocol : SMRSE ShortMessageRelayService
svn path=/trunk/; revision=12535
2004-11-17 08:42:31 +00:00
Guy Harris 3eb79de07d Based on code from Francisco Alcoba, read the hosts file on startup if
we're using ADNS, so that we can resolve host names from the hosts file
as well as from DNS.

"fgetline()" strips newlines from the line, so don't bother looking for
them when tokenizing the line.

svn path=/trunk/; revision=12534
2004-11-17 08:34:36 +00:00
Gerald Combs 75ce5ae404 Fix a cut/paste error.
svn path=/trunk/; revision=12533
2004-11-16 23:29:09 +00:00
Anders Broman ffdb8be766 Implemented state-create, handling of g_hash_table at redesection needs more work.
svn path=/trunk/; revision=12532
2004-11-16 22:15:58 +00:00