Commit Graph

16225 Commits

Author SHA1 Message Date
Anders Broman ff66247888 From Stig Bjørlykke
Added a new dissector for CDT (CompressedDataType) as
 defined in STANAG 4406 Annex E.  This dissector is used in P_Mul to  
 decode encapsulated X.411 content.  I have added a function in the  
 X.411 dissector to decode a MTS APDU without having a ROS

 Changes in this patch:
 * Added CDT dissector
 * Use CDT dissector in P_Mul
 * Added function to decode MTS APDU in the X.411 dissector

svn path=/trunk/; revision=16566
2005-11-23 07:32:24 +00:00
Anders Broman 59a7f595b4 From Stig Bjørlykke
Added a new dissector for CDT (CompressedDataType) as
 defined in STANAG 4406 Annex E.  This dissector is used in P_Mul to  
 decode encapsulated X.411 content.  I have added a function in the  
 X.411 dissector to decode a MTS APDU without having a ROS

 Changes in this patch:
 * Added CDT dissector
 * Use CDT dissector in P_Mul
 * Added function to decode MTS APDU in the X.411 dissector

svn path=/trunk/; revision=16565
2005-11-23 07:29:45 +00:00
Anders Broman 704e126253 Add cdt
svn path=/trunk/; revision=16564
2005-11-23 07:24:18 +00:00
Guy Harris c845a16144 Fix a couple of mangled UTF-8 names.
"cfs 2895" was a typo - combine the two entries for cjs2895 [AT]
hotmail.com.

svn path=/trunk/; revision=16563
2005-11-23 00:53:37 +00:00
Anders Broman c995a05ef4 Add dissection of Transparent Inter Process Communication (TIPC).
svn path=/trunk/; revision=16562
2005-11-22 21:48:10 +00:00
Jörg Mayer eff40f65db Trivial warning fixes
svn path=/trunk/; revision=16561
2005-11-22 12:51:14 +00:00
Richard Sharpe 5d58e19323 Remove unnecessary code to add NULLs to strings obtained with ASN1_STRING_VALUE_DECODE, as they are already there.
svn path=/trunk/; revision=16560
2005-11-22 06:36:06 +00:00
Richard Sharpe ca0774dd9e Remove a comment that says we don't support extensibleMatch, because we now do. Also, remove an unused static.
svn path=/trunk/; revision=16559
2005-11-22 03:55:02 +00:00
Richard Sharpe 0f46461794 A first pass at providing a dissector for extensibleMatch filters.
More work to come on the whole filters shtick and more clean-up required here.


svn path=/trunk/; revision=16558
2005-11-22 02:19:52 +00:00
Ronnie Sahlberg 8bcb4b47e6 from Metze
generalize the offset/length/buffer   handling
and make some code much nicer


svn path=/trunk/; revision=16557
2005-11-21 20:37:43 +00:00
Anders Broman eba478ca11 Add ethertype for TIPC
svn path=/trunk/; revision=16556
2005-11-21 19:01:52 +00:00
Anders Broman accf205005 Add ethertype for TIPC
svn path=/trunk/; revision=16555
2005-11-21 19:01:07 +00:00
Guy Harris a30e519736 When registering a context ID and OID, set the OID to NULL if we don't
have an OID to register.

If our table of context identifiers and OIDs is to keep that association
on a per-conversation basis, it should use conversations, not
address/port, as we aren't necessarily running over TCP or UDP.

svn path=/trunk/; revision=16554
2005-11-20 04:34:58 +00:00
Ronnie Sahlberg 2d8fb070ca if the packet is mangled the oid string might be NULL.
dont try to register a NULL oid



svn path=/trunk/; revision=16553
2005-11-20 02:48:26 +00:00
Anders Broman 15e0ccf887 Use VendorID from sminmpec.
svn path=/trunk/; revision=16552
2005-11-19 15:59:30 +00:00
Anders Broman 6aea9d65c9 Use the correct Application Id:s fix a typo.
svn path=/trunk/; revision=16551
2005-11-19 15:58:16 +00:00
Ronnie Sahlberg e2ef8b1632 fix for bug 570, the domain name is present in sessionsetupandx replies even for wc==4
svn path=/trunk/; revision=16550
2005-11-19 10:27:16 +00:00
Ronnie Sahlberg a54d3e960b fix bug 588 and friends
svn path=/trunk/; revision=16549
2005-11-19 10:03:16 +00:00
Ronnie Sahlberg 49499c1b96 the 4 bytes in MxAc are access maxk not file attributes
svn path=/trunk/; revision=16548
2005-11-19 03:19:56 +00:00
Ronnie Sahlberg 7e45fb1755 prettification
svn path=/trunk/; revision=16547
2005-11-19 03:15:39 +00:00
Ronnie Sahlberg 6de5370105 decode the extra blob at the end of Create calls
svn path=/trunk/; revision=16546
2005-11-19 02:24:22 +00:00
Ronnie Sahlberg ad65921598 update to SMB2_FILE_ALL_INFO dissection
prettify dissection of some strings


svn path=/trunk/; revision=16545
2005-11-18 21:59:05 +00:00
Guy Harris 12ae3bba4d Don't crash if a null OID pointer is passed to
"call_ber_oid_callback()".  (Arguably, the caller of
"call_ber_oid_callback()" should check for that, and report that a
presumably-required field is missing.)

svn path=/trunk/; revision=16544
2005-11-18 10:06:47 +00:00
Ronnie Sahlberg 3f047721a3 dissect some more infolevels
svn path=/trunk/; revision=16543
2005-11-18 07:31:18 +00:00
Guy Harris 93e66072c1 Add support for the "-B" flag to Tethereal on Windows.
svn path=/trunk/; revision=16542
2005-11-18 06:12:17 +00:00
Guy Harris 6753da5403 Make the message length in the sync pipe message header 3 bytes of
binary data, so the maximum message length can be up to 2^24-1.

Add a #define for that message size, and have it be 4096, for now, as
that was the size of the buffer used to read sync pipe messages.

Clean up white space.

When displaying an error message from the capture child, don't use it as
a format string - it could conceivably contain "%"s.  Instead, format it
with "%s".

svn path=/trunk/; revision=16541
2005-11-18 00:34:11 +00:00
Guy Harris 3f0751dda7 The fopen() is used only if you build this as a stand-alone SHA-1 test
program, not as a library routine; just leave it as fopen(), to simplify
the build process.

svn path=/trunk/; revision=16540
2005-11-17 23:50:08 +00:00
Ronnie Sahlberg 3afd94f519 add dissection of more infolevels for smb2
svn path=/trunk/; revision=16539
2005-11-17 22:30:19 +00:00
Ronnie Sahlberg e5b6a6426b add dissection of fs_[objectid|full_size]_info
svn path=/trunk/; revision=16538
2005-11-17 14:22:11 +00:00
Ronnie Sahlberg 6ac4fe9a25 add dissection of fs quota info
svn path=/trunk/; revision=16537
2005-11-17 14:00:07 +00:00
Ronnie Sahlberg 1b809cfcd7 add full dissection of fs_[volume|size|device|atrtibute]_info
svn path=/trunk/; revision=16536
2005-11-17 13:43:22 +00:00
Ronnie Sahlberg 675d0862b5 add dissection of the security descriptor mask
svn path=/trunk/; revision=16535
2005-11-17 12:30:36 +00:00
Guy Harris e2c9bcf703 The SHA-1 routines now take const pointers; don't cast away constness.
tvb_get_ptr() returns a "const guint8 *"; don't bother casting its
return value to "const guint8 *".

"cms_verify_msg_digest()" can be passed a const pointer for "alg"; make
its argument a "const char *".

svn path=/trunk/; revision=16534
2005-11-17 11:50:36 +00:00
Guy Harris 0af35b78dd Constify arguments.
svn path=/trunk/; revision=16533
2005-11-17 11:48:30 +00:00
Guy Harris 148d700e01 Get rid of some char * vs. const char * warnings, and declare a function
with no arguments as such.

svn path=/trunk/; revision=16532
2005-11-17 11:16:37 +00:00
Guy Harris b018becab3 Get rid of an unused variable.
svn path=/trunk/; revision=16531
2005-11-17 11:15:26 +00:00
Guy Harris 09c895785f With GCC 2.x and later, mark cmdarg_err() and cmdarg_err_cont() as being
printf-like.

svn path=/trunk/; revision=16530
2005-11-17 11:14:38 +00:00
Ronnie Sahlberg 57c5bffa85 decode the create flags
svn path=/trunk/; revision=16529
2005-11-17 08:21:53 +00:00
Ronnie Sahlberg b8cb0d07b8 add more updates from the wiki
svn path=/trunk/; revision=16528
2005-11-17 07:32:17 +00:00
Ronnie Sahlberg 5d24bf785a start updating the dissector from wiki updates done
svn path=/trunk/; revision=16527
2005-11-17 07:04:41 +00:00
Guy Harris 2f7fd680e2 Handle "-G" only in Tethereal - it doesn't work in Ethereal, and isn't
necessary there.

Add a "cmdarg_err()" routine to report command-line option errors; it
creates a console if necessary, and prints the command name and the
trailing newline.  Also add "cmdarg_err_cont()", which also creates a
console if necessary, and prints a trailing newline but no command name;
it's used to continue the message.  Use those, rather than
"g_warning()", for errors.

That means that we no longer need to pass the command name to various
command-line argument parsing routines.

svn path=/trunk/; revision=16526
2005-11-17 05:59:21 +00:00
Guy Harris 7586ab64db Squelch some const vs. non-const warnings.
svn path=/trunk/; revision=16525
2005-11-17 05:02:30 +00:00
Guy Harris 0c8be0fab6 Include <epan/emem.h> to declare ep_alloc().
svn path=/trunk/; revision=16524
2005-11-17 04:54:25 +00:00
Guy Harris 393ac45d83 "dissect_ber_object_identifier_str" expects a "const char **" as its
last argument; make it so.

svn path=/trunk/; revision=16523
2005-11-17 04:47:41 +00:00
Guy Harris 378ebd81a6 g_strlcat() and g_ascii_isprint() don't exist in GTK+ at all - they
exist in GLib 2.x, but not in 1.2[.x].  Check the version number of
GLIB, not of GTK+, to decide whether to #define them.

svn path=/trunk/; revision=16522
2005-11-17 04:15:01 +00:00
Guy Harris ff10d1c217 Don't list "-B" on UN*X - it's not available there.
On Windows, show it using the same usage-message syntax as other
options.

Clean up the usage message.

When doing the "pre-scan" of command-line arguments, suppress error
messages - that suppresses bogus messages for GTK+ command-line flags,
and gets rid of double messages for other errors.

svn path=/trunk/; revision=16521
2005-11-17 04:10:31 +00:00
Ronnie Sahlberg d71982fbbb add the rest of Graeme Lunts patch
svn path=/trunk/; revision=16520
2005-11-16 23:17:21 +00:00
Ronnie Sahlberg bde7f8d3b6 add a g_ascii_isprint() macro so that this symbol can be used for gtk1 platforms as well
svn path=/trunk/; revision=16519
2005-11-16 23:15:04 +00:00
Ronnie Sahlberg 3487cd6d59 from Graeme Lunt
4 new asn based protocols
X501
DISP
DAP
DSP



svn path=/trunk/; revision=16518
2005-11-16 22:53:33 +00:00
Ulf Lamping 32b71d9b7e hmmm, buggy bugfix
capture_child isn't initialized already here, so remove the whole error reaction check for now

svn path=/trunk/; revision=16517
2005-11-16 22:08:50 +00:00