Commit Graph

17838 Commits

Author SHA1 Message Date
Ronnie Sahlberg e3585b9185 from Christoph Scholz's bluetooth patch
add dissection of HCI Command protocol to ethereal


svn path=/trunk/; revision=18122
2006-05-10 10:38:53 +00:00
Guy Harris ee8d72fdc2 Properly use PRIu64, and (properly) use PRId64 rather than PRIo64 to
print longlong's.

svn path=/trunk/; revision=18121
2006-05-10 08:46:51 +00:00
Ronnie Sahlberg f5691aaba6 add Bluetooth to the long protocol name
svn path=/trunk/; revision=18120
2006-05-10 07:55:52 +00:00
Anders Broman 102bb4be54 Preparations to be able to handle unaligned PER.
svn path=/trunk/; revision=18119
2006-05-10 05:58:06 +00:00
Ronnie Sahlberg 535731ccec pass the correct hf filter name for the opcode field when we create the srt table
so that the popup menues to generate filters work.



svn path=/trunk/; revision=18118
2006-05-09 20:39:59 +00:00
Anders Broman 956d317fb8 - Some minor asn1 corrections
- Dissect Enumerated correctly
- Add message to info col.

svn path=/trunk/; revision=18117
2006-05-09 19:01:20 +00:00
Gerald Combs 8baf6e0ae2 The AMID type and tag are two bytes, not four. The PSID should be shown
in decimal, not hex.

svn path=/trunk/; revision=18116
2006-05-09 18:30:52 +00:00
Jörg Mayer 9b90db037d Propset...
svn path=/trunk/; revision=18115
2006-05-09 14:32:38 +00:00
Michael Tüxen e17636a3bf From Irene: Fix wrong display of SACKs.
svn path=/trunk/; revision=18114
2006-05-09 10:23:56 +00:00
Michael Tüxen 3365271c04 Make top_tree static. This allows ethereal to be built on Mac OS X.
svn path=/trunk/; revision=18113
2006-05-09 10:20:28 +00:00
Ronnie Sahlberg 01f6f60b62 Add the first layer of the bluetooth stack dissecting the hci h4 single byte
refactyored from the affix patch by Christoph Scholz



svn path=/trunk/; revision=18112
2006-05-09 09:13:20 +00:00
Tomas Kukosa 64f3bb3095 - support for multiple ASN.1 modules in one input file
- support for multiple input files
- #.MODULE_IMPORT replaced with #.MODULE (#.MODULE_IMPORT is supported for backward compatibility)
- #.MODULE is used for just compiled modules too
- more debug outputs

svn path=/trunk/; revision=18111
2006-05-09 07:35:36 +00:00
Graeme Lunt abefaf32bf Basic Encoding Rules (BER) encoded file reading. Not really a packet trace format but still useful for dissecting arbitrary BER/DER ASN.1.
svn path=/trunk/; revision=18110
2006-05-08 19:56:36 +00:00
Graeme Lunt 146d22767c LDAP attribute type dissector framework including support for "netlogon" attribute and PKI attributes
svn path=/trunk/; revision=18109
2006-05-08 17:52:42 +00:00
Graeme Lunt e0f8325deb Better split between dissectors and fixes for s4406 SEQ OF defined extensions
svn path=/trunk/; revision=18108
2006-05-08 17:46:58 +00:00
Graeme Lunt c725ebe242 FT_STRING => FT_OID where applicable
svn path=/trunk/; revision=18107
2006-05-08 17:45:12 +00:00
Anders Broman 9740278a1d Fix bug 926 OID wrongly decoded.
svn path=/trunk/; revision=18106
2006-05-08 17:30:24 +00:00
Ronnie Sahlberg dd40edccd9 use request/response tracking structure from NDMP and hang a scsi itlq nexus off it so that cdb/datain/dataout/response tracking for scsi forks also for the ndmp transport.
svn path=/trunk/; revision=18105
2006-05-08 09:20:34 +00:00
Ronnie Sahlberg ad8137903a add tracking of request/response and responsetime to ndmp
we need this in order to be able to provide proper itlq structures to the scsi dissector   so that response data from scsi is dissected properly.



svn path=/trunk/; revision=18104
2006-05-08 08:21:36 +00:00
Anders Broman 1f8782a66d From Bill Meier:
Fix bug 833 (remove 'dead' code flagged by Coverity); 
Update defines based upon current version of FreeTDS tds.h; Reformat defines for readability;

svn path=/trunk/; revision=18103
2006-05-07 18:39:47 +00:00
Anders Broman 4e54a1a204 Fix an ASN1 error and use the IAANA registered ports.
svn path=/trunk/; revision=18102
2006-05-07 13:22:30 +00:00
Ronnie Sahlberg 659e05529b fix for coverity bug 156
it does not seem like it it is possible to trigger this bug   since the condition where st is dereferenced and null should be impossible to create.

Still   handle this impossible situation better if the guarantee that st can not be null here is changed in the future.



svn path=/trunk/; revision=18101
2006-05-06 22:00:23 +00:00
Ronnie Sahlberg dcb63e2a9f from Chris Audley
fix for bug 909


svn path=/trunk/; revision=18100
2006-05-06 21:52:47 +00:00
Ulf Lamping 71bcc9b28d some minor fixes to the Preferences tooltip texts
svn path=/trunk/; revision=18099
2006-05-06 12:57:54 +00:00
Ronnie Sahlberg 7521c5a32c update the itl structure so that it sets the cmdset field to the current command set even for the case where we have not detected it by seeing the inquiry response.
Make teh msb of the cmdset variable indicate whether we detected the commandset from the trace or whether we used the default value from preferences.

indicate in the dissection of the packet whether the command set is "known" or whether we are using the default one.

make scsi srt stats work even for when we are using the "default" dommandset. Previously scsi srt would ignore all pdus for itl sessions where the "default" command set was used.



svn path=/trunk/; revision=18098
2006-05-05 22:01:45 +00:00
Ulf Lamping 6f6bd1f10a add two missing DCOM Dispatch error codes
svn path=/trunk/; revision=18097
2006-05-05 19:32:49 +00:00
Ulf Lamping 758e24c81d fix dissection of IDispatch Invoke dissection, if rgdispidNamedArgs array isn't NULL
svn path=/trunk/; revision=18096
2006-05-05 19:31:23 +00:00
Ulf Lamping cf17ccd7ac fix VARIANT BOOL meaning
svn path=/trunk/; revision=18095
2006-05-05 19:29:50 +00:00
Ulf Lamping 5714310d78 fix spelling: PROFInet -> PROFINET
svn path=/trunk/; revision=18094
2006-05-04 19:48:33 +00:00
Anders Broman 9aa7db0042 From LEGO fix "Dissector bug, Protocol H248"
svn path=/trunk/; revision=18093
2006-05-04 18:25:43 +00:00
Jaap Keuter 8f88da8a16 From Menno Andriesse
By popular request (sort of...) here is a patch for the S5066 dissector to enable TCP port preference.

svn path=/trunk/; revision=18092
2006-05-04 16:50:52 +00:00
Anders Broman 65dbbfa0ca From Greg Morris:
In summary these patches do the following:
1. GTK+ 2.x builds will now use Tree View to display the expert items, expanded items are the individual packet numbers.
2. GTK+ 1.x builds will continue to use the older clist functionality
3. Implements the equivilant of expert info (actually calls expert_dlg.c)

svn path=/trunk/; revision=18091
2006-05-04 15:36:41 +00:00
Jaap Keuter ad27b43867 From: Thomas Boehne
But since most PLCs now offer to run the protocol directly on TCP, I attached a little patch.

svn path=/trunk/; revision=18090
2006-05-04 15:04:05 +00:00
Ronnie Sahlberg 5a8a9702fe force the AssertionValue type to be displayed as a STRING instead of as hex BYTES.
Most of the time  AssertionValue will contain an ascii string   so make it always display as a string to make the display "correct" most of the time insterad of being "wrong" most of the time.

There are situations when AssertionValue contains binary data though  and in those cases the display will be "wrong" (but not more wrong than the old dissector anyway)


What someone really should do (someone interested in ldap that is) to make it more correct would be to implement a dissector for AssertionValue in the template file and having the dissector check if any of the bytes of the octet string has a value <32   and if so display it in hex as   0x.....
It all bytes have values >=32   then it shoudlk display it as a string "...
instead.

Someone interested in ldap may spend time on this refinement.



svn path=/trunk/; revision=18089
2006-05-04 10:19:32 +00:00
Ronnie Sahlberg ac1721573d from Guenther Deschner
Two more Kerberos error codes where it has been witnessed that the payload contains a PA-DATA structure with the magic salt containing an nt status code



svn path=/trunk/; revision=18088
2006-05-04 08:54:58 +00:00
Anders Broman 0167df6139 col_append_str() instead of col_set_str() by mistake.
svn path=/trunk/; revision=18087
2006-05-03 19:32:27 +00:00
Anders Broman abbbc2c4da Use the asn2eth generated snmp dissector.
svn path=/trunk/; revision=18086
2006-05-03 19:09:03 +00:00
Anders Broman 0a00782704 Add dissection of country code if number is in international format and Number plan is E164.
svn path=/trunk/; revision=18085
2006-05-03 18:57:32 +00:00
Anders Broman 2670be5859 Fix Bug 916 PurgeMS decoding error in GSM MAP.
Get rid of som unused ASN1 code and some asn2eth warnings. 

svn path=/trunk/; revision=18084
2006-05-03 18:49:37 +00:00
Ronnie Sahlberg c18467254d do some template magic to make ethereal dissect CLDAP RPC again.
i dont think it is the optimal way to solve this but it is better than nothing for the time being.


svn path=/trunk/; revision=18083
2006-05-03 10:59:15 +00:00
Guy Harris ac146caf5c Anything linked with @PCAP_LIBS@ needs, on at least some platforms
(e.g., Solaris 2 and later), to be linked with @SOCKET_LIBS@ and
@NSL_LIBS@ as well.

svn path=/trunk/; revision=18082
2006-05-03 08:48:52 +00:00
Anders Broman dbdb3729de From Paolo Abeni:
authesserre samuel <sauthess@gmail.com> kindly pointed out an issue with session renegotiation in the current ssl decryption code. 

Encrypted handshake message are decrypted, but the dissector try to interpret the encrypted code. Renegotiation messages are therefore ignored. The attached pcap trace and key can be used to trigger the issue.

The attached patch fix the problem storing the decrypted version of encrypted handshake message and dissecting it when available. The patch also fix bad issue with des cipher (alike the issue fixed in my previous post)

svn path=/trunk/; revision=18081
2006-05-03 05:29:04 +00:00
Anders Broman 97419848da From Andrei Emeltchenko:
I attached patch to add preferences in SDP for RTP stream detection. By default SDP decodes RTP stream but now I can disable it.

svn path=/trunk/; revision=18080
2006-05-03 05:07:04 +00:00
Anders Broman 437baee301 Fix Bug 913 DateAndTime dissection error in CAMEL CallInfoReportArg
svn path=/trunk/; revision=18079
2006-05-02 20:26:49 +00:00
Guy Harris e5001116f1 Do the ESP payload decoding, and pass it to the subdissector, regardless
of whether we're building a protocol tree or not - you have to call
subdissectors in either case.

svn path=/trunk/; revision=18078
2006-05-02 19:58:19 +00:00
Anders Broman b7f54f3e5a Makefiles for OMA UserPlane Location Protocol packet dissection..
svn path=/trunk/; revision=18077
2006-05-02 19:48:03 +00:00
Anders Broman 6cdc37b8b9 Add OMA UserPlane Location Protocol packet dissector
svn path=/trunk/; revision=18076
2006-05-02 19:44:12 +00:00
Anders Broman e965973f31 Handle UTCTime for PER.
svn path=/trunk/; revision=18075
2006-05-02 19:08:28 +00:00
Anders Broman 0fdfab9fc6 MSVC is picky about assignments in declarations.
svn path=/trunk/; revision=18074
2006-05-02 19:07:38 +00:00
Gerald Combs c23899620f It looks like g_fopen() in the version of GLib that we ship with Windows
sets errno to 0 when we can't open a file.  This resurrected the annoying
"C:\Program Files\Ethereal\asn1/default.tt" error in the ASN.1 plugin,
since we depended on errno being set to ENOENT.  Move some logic around
to account for this.

svn path=/trunk/; revision=18073
2006-05-02 18:21:42 +00:00