Commit Graph

15310 Commits

Author SHA1 Message Date
Ulf Lamping 2da0e86244 minor workflow enhancement, generate the HTML files before the pdf's and alike.
while working with the docbook sources, the html versions are a lot easier to look at than the pdf's. At least the Adobe Reader will lock the pdf file, so one has to close it to generate a next version, it's ugly to work with.

the html files can be viewed with e.g. Firefox while a new version is already generated, a simple reload will do the update then ...

svn path=/trunk/; revision=15625
2005-08-30 19:42:05 +00:00
Ulf Lamping 2ee4a296b2 from Jaap Keuter:
There were so many little things in chapter 2 that I had to get to it and
weed them all out. Its mainly capitalizations, some wording, and the
addition of GnuWin32 references.

svn path=/trunk/; revision=15624
2005-08-30 19:35:20 +00:00
Ulf Lamping 4cd4f9a669 Add support for slightly modified libpcap file format with nanosecond resolution (currently supported by Ethereal only). Support for both read and write was added.
The file format stays the same as the common libpcap format, only the lower part of the timestamp field uses nanoseconds instead of microseconds.

This file format uses the libpcap magic number 0xa1b23c4d.

svn path=/trunk/; revision=15623
2005-08-30 09:43:47 +00:00
Ronnie Sahlberg 57ad54abdc remove some g_string_printf[a]() and replace it with g_snprintf() to ememified buffers
svn path=/trunk/; revision=15622
2005-08-30 09:38:06 +00:00
Ronnie Sahlberg e480a7c1e8 remove a bunch of sprintf that should be perfectly safe but for the principle of it
replace with g_snprintf()


svn path=/trunk/; revision=15621
2005-08-30 09:25:44 +00:00
Ronnie Sahlberg 3921146575 replace some g_string_sprintf() with g_snprintf()
remove one static 1kb char array and make it emem ep allocated


svn path=/trunk/; revision=15620
2005-08-30 09:05:44 +00:00
Ronnie Sahlberg d4c04e3c57 move an array off the stack into emem allocated memory
svn path=/trunk/; revision=15619
2005-08-30 08:47:25 +00:00
Ronnie Sahlberg 4d2b9df7e0 change g_string_sprintf() into g_snprintf()
svn path=/trunk/; revision=15618
2005-08-30 08:41:18 +00:00
Ronnie Sahlberg 259de71199 change one g_string_sprintf() into g_snprintf() and move one array of characters from the stack into emem allocated memory
svn path=/trunk/; revision=15617
2005-08-30 08:23:50 +00:00
Ronnie Sahlberg a5413c85f4 remove a variable that is never used and thus two also completely redundant g_free() calls.
svn path=/trunk/; revision=15616
2005-08-30 08:06:16 +00:00
Ronnie Sahlberg f2d15f3798 replace some (safe) g_string_sprintf with g_snprintf()
(so we dont have that many different string handling functions to memorize their usage of and can standardize on a single one )


svn path=/trunk/; revision=15615
2005-08-30 07:54:15 +00:00
Anders Broman 2273b1b7fc MapDialougePDU.cnf
Fix a typo.

packet-ber.c 
packet-acse.c
packet-cmip.c
- Add  OID(s)

packet-ses.c
Fix export of a value string and change names to the ones used in the protocol spec.

Replace PRES dissector with an asn2eth generated one.

svn path=/trunk/; revision=15614
2005-08-29 20:07:06 +00:00
Anders Broman bc3830f63d Fix a typo 'BER_UNI_TAG_TeletexString'
svn path=/trunk/; revision=15613
2005-08-29 16:51:58 +00:00
Jörg Mayer 19fbd1dcbd Change the field description to match the field name.
svn path=/trunk/; revision=15612
2005-08-29 15:00:24 +00:00
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