Commit Graph

8017 Commits

Author SHA1 Message Date
Guy Harris 5b04b9a4ff Give FT_IPv4 val_repr_len and val_to_repr methods, and use them for
generating display filters from FT_IPv4 fields.

svn path=/trunk/; revision=8110
2003-07-31 04:18:01 +00:00
Guy Harris adf711d5fb Add val_repr_len and val_to_repr methods for FT_FLOAT and FT_DOUBLE, and
use them when generating display filters to match field values.  Use
"%{FLT_DIG}g" rather than "%{FLT_DIG}f" for FT_FLOAT.

svn path=/trunk/; revision=8109
2003-07-31 03:52:43 +00:00
Guy Harris 25adf89ed4 Fix a typo.
Wrap text to 80 columns.

Add myself to the authors list (e.g. for the portability section).

svn path=/trunk/; revision=8108
2003-07-30 23:18:55 +00:00
Guy Harris b37514b435 Give FT_ABSOLUTE_TIME and FT_RELATIVE_TIME val_repr_len and val_to_repr
methods, and use them when constructing display filters.

svn path=/trunk/; revision=8107
2003-07-30 22:50:39 +00:00
Guy Harris 325203fb17 Escape double-quotes, while you're at it.
svn path=/trunk/; revision=8106
2003-07-30 22:25:35 +00:00
Guy Harris bf3727b099 Escape backslashes in strings when generating the dfilter representation
of the string.

svn path=/trunk/; revision=8105
2003-07-30 22:20:04 +00:00
Guy Harris 2262452f35 Fix a typo.
Note that, inside double quotes, you must escape backslashes with
backslashes.

svn path=/trunk/; revision=8104
2003-07-30 22:08:45 +00:00
Guy Harris 657700ca0d "read_string()" can return a null pointer for the string, so check for
that.

svn path=/trunk/; revision=8103
2003-07-30 08:08:52 +00:00
Guy Harris f5ecf9a22f Crude workaround for a deficiency in the MEGACO parser - it assumes that
all packets have an "=" in them, which TransactionResponseAcks do not.
Check some of the "tvb_find_guint8()" replies and give up if they return
-1.

svn path=/trunk/; revision=8102
2003-07-30 06:28:55 +00:00
Guy Harris 091a2ca7d9 Put "WTP" into the Info column for segmented invoke/result PDUs on which
we don't try to do reassembly, just as it's put in for other PDUs.

svn path=/trunk/; revision=8101
2003-07-29 22:10:18 +00:00
Guy Harris 8ba1ff5e28 From Georg von Zezschwitz: don't pass segments other than the first
segment of a segmented invoke or result to subdissectors.

Show the payload of fragments other than the one that finishes
reassembly.

svn path=/trunk/; revision=8100
2003-07-29 22:02:38 +00:00
Guy Harris cf51d8d4c6 As suggested by Georg von Zezschwitz, check whether all the bytes of the
URI are present before processing it, to catch bogus length values.

svn path=/trunk/; revision=8099
2003-07-29 21:30:32 +00:00
Guy Harris 98450e967d Use GLib's macros for converting from host byte order to little-endian.
svn path=/trunk/; revision=8098
2003-07-29 20:50:39 +00:00
Guy Harris 98909d9045 Clean up argument names.
svn path=/trunk/; revision=8097
2003-07-29 20:49:32 +00:00
Guy Harris 2a679c88f8 Use GLib's macros for converting from host byte order to little-endian.
svn path=/trunk/; revision=8096
2003-07-29 20:41:19 +00:00
Guy Harris 27022f52e4 Don't free "wdh->dump.opaque" in the close routine - "wtap_dump_close()"
does it for you.

"wdh->dump.opaque" should never be null, so unconditionally call
"lanalyzer_dump_header()".

svn path=/trunk/; revision=8095
2003-07-29 20:30:00 +00:00
Guy Harris cbd5c2a47d Use "guint16" and "guint32" for items in data records, rather than
"unsigned short", "unsigned int" (or "int", as the items appear to be
unsigned), or "unsigned long".

Convert data to and from the appropriate byte order.

Don't free the private data structure in the dumper's close routine -
"wtap_dump_close()" does that for you.

svn path=/trunk/; revision=8094
2003-07-29 20:26:34 +00:00
Guy Harris 2240c0668d From Thierry Martin: support for reading files from Accellent 5Views LAN
agents.

svn path=/trunk/; revision=8093
2003-07-29 19:42:01 +00:00
Ronnie Sahlberg 27edcee365 fix minor bugs in h245 decoding
svn path=/trunk/; revision=8092
2003-07-29 08:59:14 +00:00
Ronnie Sahlberg 691221f2f7 Update PER so that the bit that indicates whether an extension is encoded or not
is displayed in the tree for CHOICE constructs when internal PER fields are displayed.

svn path=/trunk/; revision=8091
2003-07-29 07:57:22 +00:00
Ronnie Sahlberg a12e8f37fb Update to RPC, prettiry the presentation of duplicates.
Only cosmetic changes, no functionality change.

svn path=/trunk/; revision=8090
2003-07-29 07:30:58 +00:00
Ronnie Sahlberg 04a580a8ee update to PER to decode PrintableString properly
svn path=/trunk/; revision=8089
2003-07-29 07:25:14 +00:00
Guy Harris e43046bfb0 The NetInfo parent server address is an IPv4 address, and the NetInfo
parent server tag is a string.

Also, it's "NetInfo", not "Netinfo".

Clean up white space.

svn path=/trunk/; revision=8088
2003-07-29 00:35:55 +00:00
Ronnie Sahlberg 1eb4be4dc2 Updates to the MEGACO plugin so that it will call the H.245 dissector for some
instancews where megaco encapsulates h.245

svn path=/trunk/; revision=8087
2003-07-26 04:51:08 +00:00
Guy Harris 337287266e Get rid of carriage returns - some compilers don't like them.
svn path=/trunk/; revision=8086
2003-07-25 17:57:09 +00:00
Gilbert Ramirez 64a13fd560 Remove some warnings from gcc.
svn path=/trunk/; revision=8085
2003-07-25 04:17:37 +00:00
Gilbert Ramirez c91b8e713f Fix signed/unsigned comparison warnings.
svn path=/trunk/; revision=8084
2003-07-25 04:11:51 +00:00
Gilbert Ramirez 086774b71f Add to the fundamental types passed between the scanner and the parser.
Besides "STRING", there is now "UNPARSED_STRING", where the distinction
is that "STRING" was a double-quoted string and "UNPARSED_STRING" is just
a sequence of characters that the scanner didn't know how to scan/parse,
so it's up to the Ftype to parse it.

This gives us more flexibility and prepares the dfilter parsing engine
for the upcoming addition of the "contains" operator.

In the process of doing this, I also re-did the double-quoted string
support in the scanner, so that instead of the naively-simple support we
used to have, double-quoted strings now can have embedded dobule-quotes,
embedded octal sequences, and embedded hexadecimal sequences:
    "\""    embedded double-quote
    "\110"  embedded octal
    "\x48"  embedded hex

Enhance the dfilter unit test script to be able to run a single collection
of tests instead of having to run all of them all the time.

svn path=/trunk/; revision=8083
2003-07-25 03:44:05 +00:00
Guy Harris c2150d9d77 From Lars Roland: add a preference to control whether, in the TCP
dissector, heuristic dissectors should be checked before, or after,
dissectors for specific port numbers.

Add a similar preference for UDP.

Clean up white space.

svn path=/trunk/; revision=8082
2003-07-24 21:11:20 +00:00
Guy Harris 0e1dbea884 From Markus Seehofer: check the correct byte (the second byte, not the
first byte) in a host membership query to distinguish between IGMPv1 and
IGMPv2.

svn path=/trunk/; revision=8081
2003-07-24 20:46:26 +00:00
Guy Harris 47f684014c From Jean-Baptiste Marchand: add descriptions of permissions for
SAM_SERVER and SAM_USER objects in SAMR.

svn path=/trunk/; revision=8080
2003-07-24 20:33:22 +00:00
Guy Harris c58b4e5fcb Initial Laplink support, from Brad Hards.
svn path=/trunk/; revision=8079
2003-07-24 20:22:50 +00:00
Gerald Combs 54fa428775 Remove an extra comma.
svn path=/trunk/; revision=8078
2003-07-24 01:41:34 +00:00
Gerald Combs 858d3eaed4 Final updates for 0.9.14.
svn path=/trunk/; revision=8076
2003-07-23 23:14:57 +00:00
Gerald Combs 9d91efb9e2 Back out the changes made earlier.
svn path=/trunk/; revision=8075
2003-07-23 20:32:37 +00:00
Jörg Mayer 1732b3bc9b Fix a bug reported by Dave Nicoson:
Igmp v1 membership reports should not be misdetected as v2 reports
(don't confuse the query with the report).

svn path=/trunk/; revision=8074
2003-07-23 19:38:52 +00:00
Gerald Combs de1990a0ab Make "--enable-usr-local" disabled by default, as suggested by Joerg Mayer.
svn path=/trunk/; revision=8073
2003-07-23 18:00:15 +00:00
Jörg Mayer 7de7163e0b Update manuf
svn path=/trunk/; revision=8072
2003-07-23 15:13:29 +00:00
Jörg Mayer d6319d5c90 Update FAQ
svn path=/trunk/; revision=8071
2003-07-23 15:11:20 +00:00
Gerald Combs 4f0ecbde2e Remove duplicate targets and circular rules, as pointed out by Guy.
svn path=/trunk/; revision=8070
2003-07-23 14:33:34 +00:00
Guy Harris 183fa7f482 Give a more detailed message when WSAStartup fails.
svn path=/trunk/; revision=8069
2003-07-23 05:01:15 +00:00
Gerald Combs c6e91e0aa6 Prep for the 0.9.14 release
svn path=/trunk/; revision=8068
2003-07-23 02:06:25 +00:00
Guy Harris 487d0def6b From Greg Morris: code to support searches for text or raw binary data
in a frame in Find Frame.

svn path=/trunk/; revision=8067
2003-07-22 23:08:48 +00:00
Gerald Combs d6ed142549 From Lars Roland: Updates to support linking against Glib 2.2 plus GTK+ 1.3
on Windows.

svn path=/trunk/; revision=8066
2003-07-22 22:00:38 +00:00
Gerald Combs bdfd99d6e8 Fix a "make distcheck" failure.
svn path=/trunk/; revision=8065
2003-07-22 18:37:33 +00:00
Ronnie Sahlberg 09b4172ac4 Fix a bug in RPC where the RCP_DUP items where not always added to the tree
and were thus not always filterable.

At the same time, change the dup fields to be placed visibly in the tree and point to the original of the dup.

svn path=/trunk/; revision=8064
2003-07-22 11:51:20 +00:00
Gerald Combs d98ee5ef39 Add two preferences to control ADNS, one to enable/disable it and one to
set its concurrency level.  Fix an ADNS queueing bug.

svn path=/trunk/; revision=8063
2003-07-22 03:14:31 +00:00
Guy Harris 7dd93bc1f6 Don't assume that, if you've already seen the packet, you can use the
global variables to determine if packets were dropped, because you can't
- packets can be visited in any order.  Instead, attach to packets
preceded by dropped packets protocol data, as a flag that packets were
dropped.

Re-initialize the global variables when a capture is opened.

svn path=/trunk/; revision=8062
2003-07-21 21:52:32 +00:00
Guy Harris 1dcf7837e2 Get rid of two unused (and empty) value_string tables.
Make it correctly handle short frames (frames not long enough to have a
4-byte EOF record).

Don't give the "dropped packet" protocol tree item a length, as it
doesn't directly correspond to any data in the packet.

svn path=/trunk/; revision=8061
2003-07-21 21:30:10 +00:00
Guy Harris 34460af1ee Use "val_to_str()" to translate NDS verb numbers to strings.
svn path=/trunk/; revision=8060
2003-07-21 09:21:53 +00:00