Commit graph

15296 commits

Author SHA1 Message Date
Jörg Mayer
344fc629fc Add a tool to check the hf_ values.
svn path=/trunk/; revision=15611
2005-08-29 14:15:32 +00:00
Tomas Kukosa
1050f6b5f2 avoid few warnings
svn path=/trunk/; revision=15610
2005-08-29 13:00:53 +00:00
Tomas Kukosa
0aad00ae37 - fix of bug made with too fast release
svn path=/trunk/; revision=15609
2005-08-29 11:37:08 +00:00
Tomas Kukosa
695130920c - put real value insted of only text into tree for choice extensions
- sort alphabet for restricted character strings
- different handling of PER internal fields (only hide them)

svn path=/trunk/; revision=15608
2005-08-29 10:43:33 +00:00
Ronnie Sahlberg
63044dd424 In the SEQUENCE OF dissector helper
Only count the number of items in the SEQUENCE OF   IFF we have the full TVB containing the entire blob.
Dont count the items if the tvb is "short" since then this would just lead to a [short frame]  before a single item in the SEQUENCE OF has been dissected.




Do we really need to count the items and create a FT_UINT field with the number of items at all?
Then count the items as we are calling the subdissectors and 
append the '# item[s]' text to the FT_NONE items after we finished the loop?




svn path=/trunk/; revision=15607
2005-08-29 08:24:15 +00:00
Guy Harris
88c5c6c0d8 Get rid of the old file header definition.
Set the time stamp resolution based on whether the number of ticks per
second is > 1 million or not.

svn path=/trunk/; revision=15606
2005-08-29 01:18:27 +00:00
Jörg Mayer
0de532170d Merge packet-afs-register-info.h, packet-afs-defs.h and packet-afs-macros.h
into packet-afs.c


svn path=/trunk/; revision=15605
2005-08-29 00:02:50 +00:00
Jörg Mayer
95d06eb4e1 properties: svn-keywords -> svn:keywords
svn path=/trunk/; revision=15604
2005-08-28 23:28:16 +00:00
Guy Harris
394582573d From Bill Meier:
1. Use the new (good work!) 'nanosec' precision only for gig pods;
2. Rework 'struct netxray_hdr' to make it (somewhat) easier
   to maintain and revise:
   a. Declare known hdr fields such as 'captype' instead
      of using offsets in 'xxx placeholder' fields.
   d. Define 'unknown' hdr fields using placeholder names
      based upon hex-offset in the netxray header record.
      (This isn't perfect, but I hope it will make things 
       more manageable).
3. Update hdr field info (based upon examination of various
   capture files):
   a. Define a hdr field which appears to be 'time-zone' 
      [offset in hours from UTC] for the machine doing
      the capture.
      (Maybe this field can eventually be used for Ethereal
       to display the (local) time as it was at the time
       of the capture).
   b. Describe certain hdr fields as being "file offsets"
      (altho the exact use is still unclear).

Update some comments.

svn path=/trunk/; revision=15603
2005-08-28 23:11:53 +00:00
Guy Harris
7b6ae0a049 Ethereal requires 64-bit integrer support; do the time stamp
calculations with integers, which avoids some floating-point inaccuracy.

svn path=/trunk/; revision=15602
2005-08-28 22:52:05 +00:00
Gerald Combs
4f3436fdee Update the RSVP entry.
svn path=/trunk/; revision=15601
2005-08-28 20:15:57 +00:00
Gerald Combs
e06c37bc45 Correct an eariler infinite loop fix. Fixes bug 382.
svn path=/trunk/; revision=15600
2005-08-28 20:15:08 +00:00
Gerald Combs
94e0d144c6 Add some length checks. Fixes bugs 381, 384, and 386.
svn path=/trunk/; revision=15599
2005-08-28 19:59:50 +00:00
Guy Harris
6a4a656881 Get rid of a no-longer-true comment.
svn path=/trunk/; revision=15598
2005-08-28 19:55:44 +00:00
Anders Broman
f5132f8229 From Graeme Lunt:
b) dissect_ber_set() to report missing fields and handle untagged CHOICEs
c) dissect_ber_choice() to handle untagged CHOICEs (within the CHOICE)

svn path=/trunk/; revision=15597
2005-08-28 19:50:36 +00:00
Guy Harris
4ea949e8f2 Put back a subtraction of 1 millisecond that was lost.
svn path=/trunk/; revision=15596
2005-08-28 19:28:04 +00:00
Guy Harris
815f003071 When creating subset tvbuffs, set the length to the minimum of the
desired reported length and the remaining length, so we don't throw an
exception at tvbuff creation time if we don't have all the desired data
- we want to throw the exception at dissection time, so we can dissect
the data we do have.

Use "tvb_ensure_bytes_exist()" to force exceptions to be thrown.

When "dissect_unknown_ber()" is called from "call_ber_oid_callback()",
we're handing it a newly-created tvbuff, so the offset in that tvbuff
should be zero.

svn path=/trunk/; revision=15595
2005-08-28 17:57:30 +00:00
Anders Broman
3a19af317a Update the Makefile with GNM.
svn path=/trunk/; revision=15594
2005-08-28 15:02:38 +00:00
Anders Broman
374034bf98 Co ordidnate CMIP abd GNM.
svn path=/trunk/; revision=15593
2005-08-28 15:01:49 +00:00
Anders Broman
12c44d2d72 Add dissection of ITU M.3100 GNM (GENERIC NETWORK INFORMATION MODEL).
svn path=/trunk/; revision=15592
2005-08-28 14:56:03 +00:00
Guy Harris
374c3d0b75 Export "bytestring_to_str()", and use it when adding the link-layer
address for the ND_OPT_TARGET_LINKADDR ICMPv6 packet type.

svn path=/trunk/; revision=15591
2005-08-28 06:44:06 +00:00
Guy Harris
d7f391d333 In at least some captures, some Kerberos packets contain just a Ticket
structure.  Handle that.

Don't muck with the columns, or put a top-level Kerberos protocol item
into the protocol tree, until we decide that we really have a Kerberos
packet.

Do, however, clear the Info column if we're dissecting the Kerberos
protocol.

svn path=/trunk/; revision=15590
2005-08-28 06:41:49 +00:00
Guy Harris
3287558c94 In at least some captures, some Kerberos packets contain just a Ticket
structure.  Handle that.

Don't muck with the columns, or put a top-level Kerberos protocol item
into the protocol tree, until we decide that we really have a Kerberos
packet.

Do, however, clear the Info column if we're dissecting the Kerberos
protocol.

svn path=/trunk/; revision=15589
2005-08-28 06:40:59 +00:00
Guy Harris
e6ca1b50a0 Put the units after the values for signal and noise, as that's a bit
more natural.

svn path=/trunk/; revision=15588
2005-08-28 06:38:30 +00:00
Ronnie Sahlberg
d598299776 add missing value_string termination
svn path=/trunk/; revision=15587
2005-08-28 03:13:30 +00:00
Ronnie Sahlberg
3b946782dd add missing value_string termination
svn path=/trunk/; revision=15586
2005-08-28 03:09:58 +00:00
Ronnie Sahlberg
f86e30f39b add missing value_string termination
svn path=/trunk/; revision=15585
2005-08-28 03:05:53 +00:00
Ronnie Sahlberg
6caf6d5d1c add missing value_string termination
svn path=/trunk/; revision=15584
2005-08-28 03:01:37 +00:00
Ronnie Sahlberg
c59e77840c add missing value_string termination
svn path=/trunk/; revision=15583
2005-08-28 02:56:24 +00:00
Ronnie Sahlberg
a085bc9094 add missing value_string termination
svn path=/trunk/; revision=15582
2005-08-28 02:28:48 +00:00
Ronnie Sahlberg
e3e3b12e71 add missing value_string termination
svn path=/trunk/; revision=15581
2005-08-28 02:24:01 +00:00
Ronnie Sahlberg
8ad6c3d2ac add missing value_string termination
svn path=/trunk/; revision=15580
2005-08-28 02:13:35 +00:00
Ronnie Sahlberg
c5b2e17d6a add missing value_string terminator
svn path=/trunk/; revision=15579
2005-08-28 02:06:40 +00:00
Ronnie Sahlberg
a6adeb0b2c value_strings are terminated with {0,NULL} not {0xff,NULL}
svn path=/trunk/; revision=15578
2005-08-28 01:57:13 +00:00
Ronnie Sahlberg
927b1668d8 another value_string that was not terminated
fix a bug from the previous checking as well.

svn path=/trunk/; revision=15577
2005-08-28 01:51:50 +00:00
Ronnie Sahlberg
a0b48c724a add missing value_string termination
svn path=/trunk/; revision=15576
2005-08-28 01:44:30 +00:00
Ronnie Sahlberg
cb14c85728 add missing value_string termination
svn path=/trunk/; revision=15575
2005-08-28 01:42:51 +00:00
Ronnie Sahlberg
90b47e5f57 fix value_string termination
svn path=/trunk/; revision=15574
2005-08-28 01:35:29 +00:00
Ronnie Sahlberg
7e44e2369e add some missing value_string termination entries
svn path=/trunk/; revision=15573
2005-08-28 01:29:55 +00:00
Guy Harris
40bf84f711 ...and don't print a separating comma if you haven't already printed an
item.

svn path=/trunk/; revision=15572
2005-08-27 18:44:57 +00:00
Guy Harris
1d861e5f58 Use "free()", not "g_free()", to free strings allocated with "malloc()".
Don't free strings allocated with "ep_alloc()".

svn path=/trunk/; revision=15571
2005-08-27 18:22:53 +00:00
Guy Harris
99ff1832d7 If you don't print an "(", don't print a ")".
svn path=/trunk/; revision=15570
2005-08-27 18:16:35 +00:00
Guy Harris
fab7006697 Set the time stamp precision; we need it when printing packet summary
lines.

Clean up indentation.

svn path=/trunk/; revision=15569
2005-08-27 18:15:42 +00:00
Jörg Mayer
f718b0d6a1 Remove S/A from company names
svn path=/trunk/; revision=15568
2005-08-27 15:11:00 +00:00
Jörg Mayer
0f20cf1abb Cosmectical comment updates
svn path=/trunk/; revision=15567
2005-08-27 11:59:10 +00:00
Jörg Mayer
9239684cbd Small update to comments and beginnings of a type field
svn path=/trunk/; revision=15566
2005-08-27 10:29:16 +00:00
Jörg Mayer
ac836959c0 Rename Cisco (00:40:96) back to Aironet
svn path=/trunk/; revision=15565
2005-08-27 09:21:41 +00:00
Jörg Mayer
c13c561f53 Typo
svn path=/trunk/; revision=15564
2005-08-27 06:10:08 +00:00
Jörg Mayer
4a9a14f2c6 - Add checksum verification
- Add checksum check to colorfilters


svn path=/trunk/; revision=15563
2005-08-27 05:33:50 +00:00
Jörg Mayer
fd51dcd73e Started to decode some Cisco proprietary L2 protocol:
* I couldn't find any documentation on this protocol. Neither
 * what it's good for nor what the elements do. This is purely
 * reverse engineered by looking at the hex dump of the packets.
 *
 * TODO
 *      - Find out more about unknown fields
 *      - Currently only one type of packet is really handled at all


svn path=/trunk/; revision=15562
2005-08-27 05:22:44 +00:00