1186 Commits

Author SHA1 Message Date
Gilbert Ramirez
f6147bfdd9 Change Olivier's e-mail address.
svn path=/trunk/; revision=1158
1999-11-29 22:45:34 +00:00
Gilbert Ramirez
7e957bf876 Made copyright date read "1998-1999".
svn path=/trunk/; revision=1157
1999-11-29 21:33:36 +00:00
Guy Harris
a6d527a70e Add "README.aix", "INSTALL.configure", and "doc/proto_tree" to the
distribution tarballs.

svn path=/trunk/; revision=1156
1999-11-29 20:08:04 +00:00
Nathan Neulinger
117d23c3a1 added start of tns dissector
svn path=/trunk/; revision=1155
1999-11-29 19:43:26 +00:00
Uwe Girlich
172047e2c6 ACCESS call,reply added.
svn path=/trunk/; revision=1154
1999-11-29 13:16:57 +00:00
Uwe Girlich
ca3bcfd404 Some more RPC functions dissected.
svn path=/trunk/; revision=1153
1999-11-29 11:52:40 +00:00
Guy Harris
39be2f99be Expand some comments.
svn path=/trunk/; revision=1152
1999-11-29 08:51:11 +00:00
Guy Harris
4d5a749309 Add a comment.
svn path=/trunk/; revision=1151
1999-11-29 08:28:45 +00:00
Guy Harris
5feaeca5f2 Update one more comment.
svn path=/trunk/; revision=1150
1999-11-29 08:00:58 +00:00
Guy Harris
2fcfdf77d7 Update some comments.
svn path=/trunk/; revision=1149
1999-11-29 07:54:40 +00:00
Guy Harris
962977f1cd Note that we can now read files from Sun's "atmsnoop", which is a
version of "snoop" that apparently comes with Sun's ATM software and
that supports ATM.

svn path=/trunk/; revision=1148
1999-11-29 07:33:53 +00:00
Gilbert Ramirez
b8f2136ca9 Move to version 0.7.9 and add less than a week's changes to NEWS. We
did a lot in less than a week.

svn path=/trunk/; revision=1146
1999-11-29 05:35:01 +00:00
Guy Harris
f60e02335a Duh. If you say you're going to check for "gzgets()", check for
"gzgets()", not "gzseek()"....

svn path=/trunk/; revision=1145
1999-11-29 05:17:56 +00:00
Guy Harris
f3c3ed2c03 Of the "zlib" functions we use that aren't in all versions of "zlib",
"gzgets()" is the one most recently added; it was added in 1.0.9.

Check for it, rather than for a list of functions, when checking for
"zlib" support - if you check for N functions, and they're all there,
you get N "-lz"s added to the list of libraries with which to link.

Indicate in the README that "zlib" versions prior to 1.0.9 definitely
won't work.

svn path=/trunk/; revision=1144
1999-11-29 05:10:18 +00:00
Guy Harris
c21ec24fbb Fix a typo, and just say that "ethereal -v" indicates the versions of
the libraries with which Ethereal was built, rather than enumerating all
the libraries for which it gives the version.

svn path=/trunk/; revision=1143
1999-11-29 04:38:23 +00:00
Guy Harris
1678a318da Get version number information for CMU SNMP.
svn path=/trunk/; revision=1142
1999-11-29 04:31:05 +00:00
Gilbert Ramirez
548be624ae Update copyright date in About box.
svn path=/trunk/; revision=1141
1999-11-29 03:56:26 +00:00
Guy Harris
ef5b3fa9e2 Include, in the version message, information about whether the UCD or
CMU SNMP library was linked in and, if one of them was, information
about the version of the library, if that information is available.

svn path=/trunk/; revision=1140
1999-11-29 03:07:19 +00:00
Guy Harris
4fa99001a8 Include in the version message an indication of whether it was built
with "libz" and, if so, which version.

svn path=/trunk/; revision=1139
1999-11-29 02:45:23 +00:00
Gilbert Ramirez
700115b2b9 Add info about zlib version support.
svn path=/trunk/; revision=1138
1999-11-29 02:40:15 +00:00
Guy Harris
150479490c Move the callback for input available on the sync pipe from "file.c" to
"capture.c", along with the other code that deals with the sync pipe.

Close the sync pipe, and get rid of the temporary capture file, on
errors.

Split "tail_cap_file()" into routines to set up to read from the capture
file, to read a specified number of packets from it when told to do so
by the child process, and to read the rest of the capture file and
finish up the capture, to provide the code in "capture.c" the hooks it
needs.

Have a common routine to set the status bar to report the file name and
number of dropped packets, to use both when reading in a capture file in
its entirety all at once and when done with a "read it while the capture
is writing to it" live capture.

svn path=/trunk/; revision=1137
1999-11-29 01:54:01 +00:00
Guy Harris
f315a4b745 Don't add compressed-file-reading support unless "gzopen()" *and*
"gzseek()" *and* "gztell()" *and* "gzgets()" *and* "zError()" are all in
Zlib - we use all of them, and it appears that some older versions of
Zlib that some users had on their systems don't have some of them.

svn path=/trunk/; revision=1136
1999-11-29 01:44:56 +00:00
Guy Harris
8bac651320 When a capture completes, the capture file is a temporary file,
regardless of whether we were displaying it in real time or not; if we
were displaying it in real time, activate "File/Save", rather than
"File/Save As", when it finishes.

svn path=/trunk/; revision=1135
1999-11-29 01:40:49 +00:00
Guy Harris
818e9eff8c Don't add compressed-file-reading support unless "gzopen()" *and*
"gzseek()" *and* "gztell()" *and* "gzgets()" *and* "zError()" are all in
Zlib - we use all of them, and it appears that some older versions of
Zlib that some users had on their systems don't have some of them.

svn path=/trunk/; revision=1134
1999-11-29 00:17:19 +00:00
Gilbert Ramirez
789a0d467d Remove a couple commented-out lines that I had left in from an earlier
debug session.

svn path=/trunk/; revision=1133
1999-11-28 14:50:23 +00:00
Guy Harris
cb33824550 Pass the right argument to the "simple_dialog()" call to put up the "we
couldn't open the temporary capture file" dialog box.

svn path=/trunk/; revision=1132
1999-11-28 09:44:53 +00:00
Gerald Combs
664fde99e5 Add code to colorize TCP streams.
svn path=/trunk/; revision=1131
1999-11-28 03:35:20 +00:00
Guy Harris
9f084a7ebc Add in a comment about the "fs" and "flags" fields in the "frame2"
record.

svn path=/trunk/; revision=1130
1999-11-28 02:08:48 +00:00
Guy Harris
d6c3d1b5bf Sigh. Apparently "Internetwork analyzer" covers a multitude of sins;
both LAPB and PPP captures get written out with that network type.

Flag it as WTAP_ENCAP_UNKNOWN when the file is opened, and, when we see
the first packet, check whether the address field is 0xFF, in which case
we flag it as PPP, or anything else, in which case we flag it as LAPB.

svn path=/trunk/; revision=1129
1999-11-27 20:46:46 +00:00
Guy Harris
a79dabb998 Add dissection of RFC 2065 resource records.
svn path=/trunk/; revision=1128
1999-11-27 08:59:28 +00:00
Guy Harris
73ef3d4490 Dissect AAAA resource records.
svn path=/trunk/; revision=1127
1999-11-27 07:46:44 +00:00
Guy Harris
8089383761 Make the VPI and VCI filterable fields.
svn path=/trunk/; revision=1126
1999-11-27 06:17:23 +00:00
Guy Harris
7c502167e4 Update a comment.
svn path=/trunk/; revision=1125
1999-11-27 06:03:46 +00:00
Guy Harris
077e70e0b7 Pull the code to dissect an ATM NSAP address out of "packet-q2931.c" and
put it into a subroutine in "packet-arp.c", and call it from
"packet-q2931.c".

Add a "packet-arp.h" header to hold declarations of routines exported by
"packet-atm.c" (other than the ATM dissector itself), moving them out of
"packet.h".

Use the aforementioned NSAP dissector to display ATM addresses in NSAP
format, and display E.164 addresses as ASCII text (under the assumption
that they're presented as a string of IA5, i.e. ASCII, characters, just
as they are in Q.931).

svn path=/trunk/; revision=1124
1999-11-27 04:48:14 +00:00
Guy Harris
ad0cf4f6ef ARP requests with a hardware type of ARPHRD_ATM2225 are ATM ARP
requests, as described in RFC 2225; they do *not* have the same format
as regular ARP requests, so dissect them differently.

Inverse ARP is also used on ATM, so add the Inverse ARP request and
reply message types.  (It's also used with other protocols, e.g. Frame
Relay.)

Handle zero-length addresses (meaning the address is absent).

They can have up to 6 different address fields, so make "bytes_to_str()"
have six static buffers in which it can return strings.

svn path=/trunk/; revision=1123
1999-11-27 04:01:43 +00:00
Richard Sharpe
b09955d91d Fixed the problem of crashing when a NetServerEnum2 with Level 0 is
seen.

svn path=/trunk/; revision=1122
1999-11-27 02:17:49 +00:00
Guy Harris
422ad3afe0 Minor bug fix.
svn path=/trunk/; revision=1121
1999-11-27 02:14:38 +00:00
Guy Harris
48d5f6de4d Move the "guess what type of ATM traffic this is" stuff into the ATM
dissector; I don't think it's guaranteed that even a Sniffer will tell
you that (there may be situations where it can't figure it out, and
where the user didn't tell it), we may need it for "atmsnoop" traffic
and other types of ATM traffic as well, we will probably want to add to
it the ability to let the user specify "virtual circuit X.Y is this kind
of traffic", and we may also have Ethereal try to intuit it based on
previous traffic in the capture (Q.2931 call setup, LANE traffic, etc.).

Don't show the cell count if it's zero - assume that means we don't know
how many cells made up the packet.  Also don't show the AAL5 trailer if
the cell count is zero - the ATM Sniffer *might* sometimes supply a cell
count of 0 even if it has the AAL5 trailer, I guess, and we *might* see
some other capture file format that has the AAL5 trailer but no cell
count, but we'll cross that bridge when we come to it.

Add support for "atmsnoop" captures to the code to handle "snoop"
captures.

Use the field in "iptrace" headers that appears to be, in ATM captures,
a direction indicator - we may have the direction backwards, but, as an
STP packet was tagged as a DCE->DTE packet, and as the capturing
machine, which also was presumably the recipient of the packet, was an
AIX box, not a switch or bridge or some piece of networking equipment
such as that, it *probably* wasn't sending the STP packet, it was
probably receiving it.

svn path=/trunk/; revision=1120
1999-11-27 01:55:44 +00:00
Guy Harris
f08f10c093 It appears that the first frame in a NetMon 2.0 capture file doesn't
necessarily start at an offset of 128 into the file; we have to read the
first entry in the frame table to find the offset in the file of the
first frame.  (That also works on NetMon 1.0.)

Keep the header size around, though, as we'll need it if we add code to
*write* NetMon files.

svn path=/trunk/; revision=1119
1999-11-26 22:50:51 +00:00
Gilbert Ramirez
9d96677a18 Update documentation about iptrace version support.
svn path=/trunk/; revision=1118
1999-11-26 20:49:28 +00:00
Gilbert Ramirez
9b6369af4b Support for iptrace 1.0 traces (AIX 3). Thanks to Florian Lohoff
<flo@rfc822.org> for the sample traces.

It turns out that the iptrace 2.0 header is simply an extension to
the iptrace 1.0 header. It also appears that iptrace 1.0 has only tv_sec, but
not tv_usec, which explains why the fields are separated in the iptrace 2.0
header, but doesn't explain why the iptrace 2.0 header has tv_sec copied
in two places.

I changed iptrace.c to detect FDDI captures via if_type, even though I
don't have a trace to substantiate this. If *should* work, given that
loopback, ethernet, token-ring, and X.25 work. If it doesn't work, someone
will let me know.

svn path=/trunk/; revision=1117
1999-11-26 17:57:14 +00:00
Uwe Girlich
9593366e69 NFS v2 setattr call: non-set values are marked as such.
svn path=/trunk/; revision=1116
1999-11-26 13:32:58 +00:00
Uwe Girlich
4927825777 Portmapper v2 dump reply somehow nicer formatted.
svn path=/trunk/; revision=1115
1999-11-26 12:55:34 +00:00
Guy Harris
73813e04ce Add a bunch of placeholder entries for DLPI link-layer types, for
reference.

svn path=/trunk/; revision=1114
1999-11-26 11:18:12 +00:00
Richard Sharpe
7d7b0fbdbd Fixed the problem causing a SIGSEGV, and fixed problems with
UNICODE strings in transact SMBs.

Added decode of NetShareEnum transact request.  Will have to clean that all
up and use the decode engine when I get it done.

Still more fix ups to be done, but the book is calling, and I have to write
some stuff after an interview with LinuxCare.

svn path=/trunk/; revision=1113
1999-11-26 06:27:22 +00:00
Gilbert Ramirez
29087f241f Make TCP follow put display filter in the text-entry box, but not in
the history of display filters. If it is deemed useful to put the filter in
the histor of filters also, then I can do that.

When Match Selected produces byte-range display filters (field[x:y] == x.y.z),
use notation without length, since the length is no longer needed.
(field[x] == x.y.z is produced)

When Match Selected prodcues a filter for FT_ETHER's, use ether_to_str()
instead of sprintf().

svn path=/trunk/; revision=1112
1999-11-26 05:23:40 +00:00
Gilbert Ramirez
9f1b44de89 Support for RFC 1089, SNMP over Ethernet. (I just had to
add a call to dissect_snmp() for ethertype 0x814c).

svn path=/trunk/; revision=1111
1999-11-26 04:52:36 +00:00
Guy Harris
58e9b67cca Add a pile of stuff from the UNI 3.1 and UNI 4.0 specs.
svn path=/trunk/; revision=1110
1999-11-25 22:52:20 +00:00
Guy Harris
e02dab4a85 Minor bug fix.
svn path=/trunk/; revision=1109
1999-11-25 22:49:01 +00:00
Guy Harris
298f3b2402 On a "wtap_dump_close()" error, if it's not one of the errors for which
we put up a special error, just use "wtap_strerror()" to generate the
error message - it'll handle both "errno" errors and Wiretap-specific
errors.

svn path=/trunk/; revision=1108
1999-11-25 22:37:53 +00:00