Commit Graph

17529 Commits

Author SHA1 Message Date
Anders Broman 69b54d4d23 From W. Borgert:
- Regenerated files.
- Use .sort() on one or two of the lists in ethereal_gen.py to make generated files
  more diff-friendly in the future. 

svn path=/trunk/; revision=17885
2006-04-17 18:10:23 +00:00
Jaap Keuter b59ad33b63 From Thomas Anders:
- allow DHCP option 43 suboption 8 (OUI) for CableLabs clients to be a 6-byte string (as required for DOCSIS CMs) to 
  account for inconsistencies in different CableLabs specifications
- add new DHCP option 60 fields 0x0d (IP Filters Support) and 0x0e (LLC Filters Support) for CableLabs DOCSIS 2.0 CMs
- rename PKT_CM_* variables to have a DOCS_CM prefix instead (overdue, as indicated by an existing comment)
- update specification references

svn path=/trunk/; revision=17884
2006-04-17 08:38:08 +00:00
Guy Harris acb0e6d237 Pull the plugin-specific code into "plugin.c", and generate a
"register.c" with "make-reg-dotc"/"make-reg-dotc.py".

Pull the lists of dissector .c and .h files into Makefile.common and
have Makefile.am and Makefile.nmake use it.

svn path=/trunk/; revision=17883
2006-04-17 05:44:00 +00:00
Guy Harris 8d17de8776 make-reg-dotc and make-reg-dotc.py were moved.
svn path=/trunk/; revision=17882
2006-04-17 02:11:04 +00:00
Guy Harris e7d75a821d Move "make-reg-dotc" and "make-reg-dotc.py" to the "tools" directory, so
that it can more easily be used when building plugins.

svn path=/trunk/; revision=17881
2006-04-17 00:41:54 +00:00
Anders Broman 1c26abfe29 From W. Borgert:
the attached patch enables the explicit GIOP dissection. This fixes erronous decoding, if methods of two different CORBA interfaces have the same name, which happens frequently.

The generated GIOP plugins (CosEvent, CosNaming, Parlay, Tango) need to be re-generated to make use of the fix.

svn path=/trunk/; revision=17880
2006-04-16 23:16:46 +00:00
Guy Harris c9653f94b9 Re-UTF-8-ify.
svn path=/trunk/; revision=17879
2006-04-16 22:58:12 +00:00
Anders Broman 7d61c89d91 Calculate Timezone correctly fixes http://bugs.ethereal.com/bugzilla/show_bug.cgi?id=876
svn path=/trunk/; revision=17878
2006-04-16 22:48:47 +00:00
Jaap Keuter 12de0d5145 From Steve Karg:
1) BACnet signed values were being decoded incorrectly for negative
values since BACnet tries to be clever and minimizes the number of bytes
sent on the wire and drops the leading FF on negative values.  For
example, -200 is passed as FF 38 on the wire, but would display as 65336.
2) Since the BACnet unsigned values were decoded using a 64-bit entity,
I changed the decoding such that allows all 8 bytes to be decoded.  The
function can now decode 5, 6, and 7 byte values.
3) Corrected warning about signed/unsigned in a pointer parameter.

svn path=/trunk/; revision=17877
2006-04-16 22:03:04 +00:00
Guy Harris f45378f3bc Squelch a compiler warning.
svn path=/trunk/; revision=17876
2006-04-16 22:00:11 +00:00
Anders Broman 1d1cf3790a bssgp - handle LLC PDU of 0 length.
Gsm_a - radio pri included in Modify PDP context request.

svn path=/trunk/; revision=17875
2006-04-16 19:14:21 +00:00
Guy Harris 1fddaf0211 The code to read hcidump files sets the p2p pseudo-header for
WTAP_ENCAP_BLUETOOTH_H4.

svn path=/trunk/; revision=17874
2006-04-16 10:54:32 +00:00
Guy Harris 701b569104 Get rid of the unused WTAP_ENCAP value - holes in the number space cause
ugly printouts for "editcap -T".

svn path=/trunk/; revision=17873
2006-04-16 10:38:47 +00:00
Guy Harris dc5f4a69e2 Add some missing little-endianizing.
Get rid of some unnecessary casts.

Multiply seconds by 10^9, not 10^6, to get nanoseconds.

svn path=/trunk/; revision=17872
2006-04-16 02:59:49 +00:00
Guy Harris 3a1b1fc8ff Add a loop to process TLVs in the file header.
Advertise nanosecond resolution.

svn path=/trunk/; revision=17871
2006-04-16 02:04:42 +00:00
Guy Harris 749faec6a3 Move file format definitions to the header file.
Put the code to read the packet header and the packet data into routines
(which also fixes some places where observer_seek_read() was using the
sequential file handle rather than the random file handle), make the
packet header reader skip over the TLVs,

Do some additional sanity checking.

Wiretap supports nanosecond resolution; provide nanosecond resolution
time stamps.

Rename some structure members to match their purpose (they're TLV
counts, not flags).

Remove the TLV header from the TLV structures (and eliminate TLV
structures if we don't have the contents or they're just a string); if
we process them, we'll probably end up reading the header and data
separately.

Add some information about some of the TLVs in expert information packets.

svn path=/trunk/; revision=17870
2006-04-16 00:52:36 +00:00
Jaap Keuter b33cccd47f Sake Blok wrote....
I have taken a look at the trace myself and calculated the TpS to be 
20000000.0 for this particular trace. If I also discard the start_timestamp
like it has been done for other versions of the netxray format, then I get 
the proper results.

svn path=/trunk/; revision=17869
2006-04-15 19:00:42 +00:00
Anders Broman 8f7a6edca8 Add some missing commands.
svn path=/trunk/; revision=17868
2006-04-15 18:41:39 +00:00
Anders Broman 518732d903 From Martin Mathieson:
Please find a patch to catapult_dct2000.c:
- doesn't use g_hash_table_new_full(), which is missing from earlier versions of glib
- fixed a couple of memory leaks
- hopefully cast away a few warnings I saw on the fedora and solaris buildbot logs


svn path=/trunk/; revision=17867
2006-04-15 15:16:26 +00:00
Ulf Lamping f1553378e1 from Martin Mathieson: add catapult_dct2000.h
svn path=/trunk/; revision=17866
2006-04-14 13:46:19 +00:00
Ulf Lamping cb1f23eecc fix #865: if the timestamps fraction (m/u/nsec) of a packet is out of range (<0 or >1000000000) add a generated line to the protocol tree and a corresponding expert info entry
A special marker in the packet list would be too much effort to implement

svn path=/trunk/; revision=17865
2006-04-14 13:32:03 +00:00
Anders Broman 75f2454646 SVN properties...
svn path=/trunk/; revision=17864
2006-04-14 13:12:13 +00:00
Anders Broman 69ea88e3f7 SVN properties...
svn path=/trunk/; revision=17863
2006-04-14 13:08:41 +00:00
Anders Broman af554c2f75 From Martin Mathieson:
patch and new files provide support for Catapult DCT2000 
.out files to wiretap and ethereal.

This wiretap support (catapult_dct2000.c+h) appends a short header to 
each packet giving some context, and a corresponding ethereal dissector 
(packet-catapult-dct2000.c) parses this before passing the real payload 
onto an existing ethereal dissector (for ethernet, ip, lapd, ppp, 
frame-relay,...).

For now, there is only support for saving dct2000 files in their own 
format, although I may add support for converting between dct2000 and 
libpcap later.

updated version of these files and patch, now with support 
for MTP2.  Olivier's trace used the ANSI variant - the MTP2 and MTP3 
decode fine with the right preferences set (although the ISUP dissector 
reports a reserved/retired message type).

Witha a change to NOT to declare gboolean catapult_dct2000_board_ports_only;
as extern as MSVC choked on it.

svn path=/trunk/; revision=17862
2006-04-14 12:41:06 +00:00
Guy Harris 44aa78fe5e Skip non-data records. Fixes bug 767.
svn path=/trunk/; revision=17861
2006-04-14 10:22:29 +00:00
Ulf Lamping f8e8ccac5c bugfix: don't crash with a Null pointer exception, if the open file preview timestamp can't be converted
svn path=/trunk/; revision=17860
2006-04-14 08:50:41 +00:00
Anders Broman f92ed70a3f From Martin Mathieson:
-  Also show vpi/vci in info column 

svn path=/trunk/; revision=17859
2006-04-13 22:30:20 +00:00
Anders Broman 93e95ca62b From Frederic Roudaut:
I updated my previous patch of ESP :

* It now check authentication for (similar to the ICMP checksum):

- NULL Authentication
- HMAC-SHA1-96 [RFC2404]
- HMAC-SHA256
- HMAC-MD5-96 [RFC2403] (2)

I put aside AES-XCBC-MAC-96 [RFC3566] because I did not succeed to have 
a working implementation.
I added a field for any authenticator of 12bytes length (without 
authentication process)

* I also correct the printing of this authenticator field which was 
decrypted :-[ .


Thus, with this patch  if libgcrypt is linked withe ethereal you should 
have the availability to :
- decrypt packets
- check authentication
 at the same time or not.
If noone of these options are set (or libgcrypt is not available) you 
also may use the previous heuristic.

svn path=/trunk/; revision=17858
2006-04-13 22:26:13 +00:00
Guy Harris 336cc54807 Pass the right tree argument to the DOCSIS dissector if "treat all
frames as DOCSIS" was selected.  Fixes bug 872.

svn path=/trunk/; revision=17856
2006-04-13 19:06:52 +00:00
Jörg Mayer d0a8f7e313 Update to current IEEE list
svn path=/trunk/; revision=17855
2006-04-13 16:34:00 +00:00
Guy Harris a38c1417f7 Fix typo.
svn path=/trunk/; revision=17852
2006-04-12 21:21:47 +00:00
Ulf Lamping fdf555a9cf From Jaap Keuter, fix for 871: split interface details statistics into it's own tab, making the dialog a lot smaller.
svn path=/trunk/; revision=17850
2006-04-12 20:58:20 +00:00
Gerald Combs e9fb9fe971 0.10.14 -> 0.99.0.
svn path=/trunk/; revision=17849
2006-04-12 20:54:40 +00:00
Gerald Combs dc4488c3d4 Add a few entries to the "Known Bugs" section.
svn path=/trunk/; revision=17848
2006-04-12 20:52:09 +00:00
Gerald Combs acebebcd61 Update Lua.
svn path=/trunk/; revision=17847
2006-04-12 20:36:31 +00:00
Jaap Keuter 3d14528215 Add 2px height to avoid a vertical scrollbar with Gtk-Wimp
svn path=/trunk/; revision=17846
2006-04-10 17:24:14 +00:00
Ulf Lamping fee131e1a7 fix #868: don't assert but simply ignore values that don't have the proper size
svn path=/trunk/; revision=17845
2006-04-10 01:34:23 +00:00
Jaap Keuter 3d22396ca0 Fix for bug 848. Make a scrollable window when more than 10 interfaces are listed.
svn path=/trunk/; revision=17844
2006-04-08 20:19:40 +00:00
Anders Broman ae3b5c3766 Fix bug 597:
- Add TCP reassembly to get the proper packet length
- Add "result = check_ucp(tvb, &endpkt);" in dissect_udp_commong to fill some variables used.

svn path=/trunk/; revision=17843
2006-04-08 13:03:18 +00:00
Ulf Lamping 01ee2cc369 set SVN properties correct "when will I ever learn" :-(
svn path=/trunk/; revision=17842
2006-04-08 00:20:00 +00:00
Ulf Lamping 4196c4c80f add packet-dcom-dispatch.h
svn path=/trunk/; revision=17841
2006-04-08 00:17:51 +00:00
Ulf Lamping 384c960017 bring HRESULT values in the right order
svn path=/trunk/; revision=17840
2006-04-07 22:05:34 +00:00
Ulf Lamping 69f822f177 some of the CBA interfaces are actually derived from IDispatch, dissect the methods accordingly
svn path=/trunk/; revision=17839
2006-04-07 22:03:58 +00:00
Ronnie Sahlberg 9481eac669 make dissect_scsi_rsp() take an exchange structure as parameter instead of just a lun.
this finally allows us to have scsi.time  for scsi transactions   but we need to cleanup and refactor the other three scsi entrypoints before we should implement scsi srt    to make the other three also take an exchange data structure as parameter from their transports (and get rid of the pinfo->private_data )


svn path=/trunk/; revision=17838
2006-04-07 10:15:15 +00:00
Anders Broman 5683612f36 Fix bug 851
svn path=/trunk/; revision=17837
2006-04-06 20:50:48 +00:00
Jaap Keuter cdc0de3de5 Better read NTP LSW from the right spot
svn path=/trunk/; revision=17836
2006-04-06 20:47:22 +00:00
Guy Harris 2f42327a63 Handle a filter that evaluates to an empty "matches everything" filter.
svn path=/trunk/; revision=17835
2006-04-06 20:07:16 +00:00
Jaap Keuter 0834b09ca2 From: Martin Mathieson
- fixes bug 863 (RTCP sender report's NTP time display incorrect - use using wrong bytes)
- makes NTP timestamp MSW and LSW proper filterable fields, displaying them in dec and hex
- when doing roundtrip calculations, rationalise fields added, add link to LSR frame whenever it matches

svn path=/trunk/; revision=17834
2006-04-06 13:30:45 +00:00
Ronnie Sahlberg 2fbe952694 change iscsi to track transaction data in a fc_exchange_data structure just as the fc / fcp transport does.
while reusing this structure for multi-purpose would make it berret suited to move the struct from packet-fc.h to packet-scsi.h
we would have to include packet-scsi.h   for everyone that includes packet-fc.h  and that are a few dependencies.
(would have to include it even in packet-llc.c)

so leave it as a fc structure for now.




svn path=/trunk/; revision=17833
2006-04-06 11:05:18 +00:00
Ronnie Sahlberg 26bbda330d remove the hashtables for pdu tracking and replace with an se_tree
indexed by itt


svn path=/trunk/; revision=17832
2006-04-06 10:41:49 +00:00