Guy Harris
56b5a15d5f
Add support for file format version 2.001 (used by Sniffer Basic 2.0?).
...
This assumes that the time stamps are still in units of microseconds; I
don't yet have a text decode of the version-2.001 file from the program
that decoded it, so I can't check the time stamps.
svn path=/trunk/; revision=217
1999-03-20 09:10:49 +00:00
Gilbert Ramirez
f19fe6afea
Added g_slist_nth_data() to glib-new.o so that glib-1.0.x, x < 4, will work.
...
It seems that a stable version of the library received a new function. This
should help RedHat folks, since they seem to have glib-1.0.1.
svn path=/trunk/; revision=216
1999-03-20 04:41:04 +00:00
Gilbert Ramirez
ca662881cb
Re-wrote the NCP module in accordance with how NCP is really organized.
...
NCP is still not decoded much, but the infrastructure for doing so is now in
place, including a hashtable to record the NCP type of each request so that we
now how to parse the response.
svn path=/trunk/; revision=215
1999-03-20 04:38:57 +00:00
Guy Harris
71b4a3f7c8
Add "phtons()" and "phtonl()" macros, which handle unaligned quantities,
...
and use them to extract stuff in "bpf_mk_bytecmp()", so as to avoid core
dumps on processors that require strict alignment.
svn path=/trunk/; revision=214
1999-03-13 08:39:08 +00:00
Guy Harris
84361900fa
Decode more stuff in an ICMP packet.
...
svn path=/trunk/; revision=213
1999-03-09 02:52:37 +00:00
Guy Harris
dadb230a9e
Make the arrays of pointers to strings for ICMP decoding static, as
...
they're not used outside this file.
Compute their sizes with the standard "number of elements in an array" C
idiom, rather than hardcoding them as numbers.
Add the "information request" and "information reply" ICMP packet types.
svn path=/trunk/; revision=212
1999-03-09 01:45:06 +00:00
Gilbert Ramirez
8a8d084bf8
IPX addresses in the Destination/Source fields of the "column" part of the GUI
...
are now written in NNNNNNNN.hhhhhhhhhhhh form, N=IPX network, h=hwaddr.
svn path=/trunk/; revision=211
1999-03-05 06:09:39 +00:00
Gilbert Ramirez
902b69464b
dissect_sap() no longer assumes that packets are the proper length. It
...
checks for enough bytes for a SAP record before dissecting the bytes.
svn path=/trunk/; revision=210
1999-03-05 05:20:12 +00:00
Guy Harris
985a5b01d7
It's not a problem if we don't have GLib 1.1.x or later, so don't
...
complain about it.
svn path=/trunk/; revision=209
1999-03-03 08:51:58 +00:00
Guy Harris
5044b432cf
Include "config.h", so we know whether we have GLib 1.0[.x] or later, so
...
we know whether to include "glib-new.h".
svn path=/trunk/; revision=208
1999-03-03 08:31:43 +00:00
Gilbert Ramirez
dc6a300eab
Add the right byte count to fddi's initial add_item_to_tree so that the entire
...
FDDI header is highlighted in the hex dump.
svn path=/trunk/; revision=207
1999-03-02 20:50:05 +00:00
Gilbert Ramirez
0cf5b2de74
Fixed for glib-1.x.y, x > 0
...
svn path=/trunk/; revision=206
1999-03-02 19:32:33 +00:00
Guy Harris
2ed0b6d073
Have "rt-scanner.l" and "rt-grammar.y" depend on the filter description
...
files used to generate them.
svn path=/trunk/; revision=205
1999-03-02 07:04:55 +00:00
Guy Harris
e2b7e1aba9
It turns out that the first of the unknown fields in the NetXRay header
...
appears to be the UNIX "time_t" when the capture started, so use that to
figure out the time when a packet was captured.
svn path=/trunk/; revision=204
1999-03-01 22:59:47 +00:00
Gilbert Ramirez
70451c547a
lex_init() changed to wtap_lex_init()
...
svn path=/trunk/; revision=203
1999-03-01 21:50:20 +00:00
Gilbert Ramirez
3101077f2c
Guy noticed that lex_init was a function in both libpcap and wiretap. Fixed.
...
svn path=/trunk/; revision=202
1999-03-01 21:48:30 +00:00
Guy Harris
4375cad111
Add an "acinclude.m4", from which "aclocal.m4" is made.
...
Add "HAVE_GLIB10" to "acconfig.h", so that all the "auto*" stuff is
happy.
svn path=/trunk/; revision=201
1999-03-01 21:45:54 +00:00
Guy Harris
c8643cdee6
Fix a typo, and note that we can read Token Ring captures from Sniffer
...
Basic/Windows Sniffer Pro.
svn path=/trunk/; revision=200
1999-03-01 20:35:33 +00:00
Gilbert Ramirez
cd5af6645b
Disables "Follow TCP Stream" if compiled with wiretap.
...
svn path=/trunk/; revision=199
1999-03-01 20:32:54 +00:00
Gilbert Ramirez
2dbd008ea5
Added display filters to wiretap.
...
svn path=/trunk/; revision=198
1999-03-01 18:57:07 +00:00
Gilbert Ramirez
2744866326
Small fixes for alignment, and #include for gtk+-1.1.x/glib-1.1.x
...
svn path=/trunk/; revision=197
1999-03-01 18:28:12 +00:00
Gerald Combs
8eecc6e488
* Added Didier Joran to authors list.
...
svn path=/trunk/; revision=196
1999-02-28 16:10:39 +00:00
Guy Harris
8078050304
Update to reflect support for NetXRay format.
...
svn path=/trunk/; revision=195
1999-02-20 08:12:20 +00:00
Guy Harris
3200c25437
Add support for Cinco Networks NetXRay - which is, after their acquision
...
by Network General (subsequently merged with McAfee Associates into
Network Associates), called "Sniffer Basic".
A similar format appears to be used by the Windows Sniffer Pro.
svn path=/trunk/; revision=194
1999-02-20 06:49:27 +00:00
Guy Harris
0768c4b989
Make the "magic number" a "const" string.
...
svn path=/trunk/; revision=193
1999-02-20 06:46:57 +00:00
Guy Harris
19d8e24ab0
Fix a typo in a comment, and make the "magic number" a "const" string.
...
svn path=/trunk/; revision=192
1999-02-20 06:46:33 +00:00
Guy Harris
babd7de597
Added Richard Sharpe's TFTP support. (I missed this in my initial
...
checkin of that stuff.)
svn path=/trunk/; revision=191
1999-02-19 05:28:38 +00:00
Guy Harris
38a04d2660
Added Richard Sharpe's TFTP support.
...
svn path=/trunk/; revision=190
1999-02-15 06:36:57 +00:00
Guy Harris
58778fd8ad
Add support for "%i" (it's the same as "%d", according to the ANSI C
...
standard).
svn path=/trunk/; revision=189
1999-02-15 06:36:19 +00:00
Gilbert Ramirez
bba66b6f0f
Change to wtap.c switch() statement to allow compilation under IBM's C compiler.
...
It didn't like an empty default case. And <time.h> was forgotten in netmon.c
svn path=/trunk/; revision=188
1999-02-12 16:26:09 +00:00
Guy Harris
10d6bc0996
Add a first cut at HTTP decoding.
...
svn path=/trunk/; revision=187
1999-02-12 09:03:42 +00:00
Guy Harris
0e8998a11d
Have MIN_PACKET_SIZE, rather than 1, be the minimum value in the spin
...
box for the capture size.
svn path=/trunk/; revision=186
1999-02-11 07:11:45 +00:00
Guy Harris
22990ed08f
Make the minimum and maximum packet sizes #defines.
...
Crank the maximum packet size up to 65535 bytes.
svn path=/trunk/; revision=185
1999-02-11 06:17:30 +00:00
Guy Harris
75305346b5
When doing a capture, decode enough of the incoming packets to correctly
...
update the packet counts and percentages in the dialog box popped up
during a capture, even for non-Ethernet captures.
svn path=/trunk/; revision=184
1999-02-09 00:35:38 +00:00
Gilbert Ramirez
facb503960
I removed the bit-fields that depended upon gcc's ability to use any type
...
of variable as a bit field container. ANSI specs only allow unsigned ints
to host bit fields; IBM's C compiler is very ANSI-strict.
svn path=/trunk/; revision=183
1999-02-08 20:02:35 +00:00
Guy Harris
3384ac4a63
Copy the RIP header to a buffer, so that we don't blow up if it's
...
misaligned.
svn path=/trunk/; revision=182
1999-02-05 00:52:19 +00:00
Guy Harris
722424f987
No need to disable filter-related widgets for packet capture if we're
...
using wiretap - we use "libpcap" for packet capture, and it still lets
you filter.
svn path=/trunk/; revision=181
1999-02-02 02:53:24 +00:00
Guy Harris
71629b5409
Add Network Monitor and "iptrace" to the list of capture file formats
...
"wiretap" can read.
svn path=/trunk/; revision=180
1999-01-30 10:35:19 +00:00
Guy Harris
755e008e0d
Correct and expand the discussion of ATM Sniffer captures.
...
svn path=/trunk/; revision=179
1999-01-30 09:44:21 +00:00
Gilbert Ramirez
7cae0c6bd3
Modified code to allow compilation under IBM's C compiler for AIX.
...
svn path=/trunk/; revision=178
1999-01-29 17:06:56 +00:00
Gilbert Ramirez
69458d2e92
Added guy's time and DHCP patch.
...
svn path=/trunk/; revision=177
1999-01-28 21:29:36 +00:00
Gilbert Ramirez
4e1c7318cb
Added token-ring support to netmon.c
...
svn path=/trunk/; revision=176
1999-01-27 14:54:09 +00:00
hannes
a5d3ee4036
Removed Development notice within the CDP tree...
...
Cisco Discovery Protocol works fine for me now. I have tested it with various
Ciscos (7200, 3640, 2820, 2900, ...)
svn path=/trunk/; revision=175
1999-01-24 21:18:15 +00:00
Gilbert Ramirez
4efa83b58e
Added news about Guy's netmon addition.
...
svn path=/trunk/; revision=174
1999-01-21 05:07:45 +00:00
Gilbert Ramirez
10c23c3cd2
I changed the wtap_open_offline() function so that it takes only the
...
filename as the parameter. So far all the filetypes that wiretap can read
can be inferred from the first few bytes of the file, so we never
have to give wiretap a hint as to the file type.
svn path=/trunk/; revision=173
1999-01-21 05:03:56 +00:00
Gilbert Ramirez
43a8b4b5a5
Added Guy's netmon.[ch] files to CVS for him. His firewall admins forgot
...
to add ssh to their firewall rules, so he's out of CVS for a few days.
This adds support for MS Network Monitor files to wiretap.
svn path=/trunk/; revision=172
1999-01-18 21:34:54 +00:00
Guy Harris
5910deaa46
Add suppport for Microsoft Network Monitor Ethernet capture files.
...
svn path=/trunk/; revision=171
1999-01-17 09:33:15 +00:00
Guy Harris
ea75a2a99e
Clean up some output lines, and show the checksum value on the line for
...
the packet checksum.
svn path=/trunk/; revision=170
1999-01-17 09:30:05 +00:00
Gerald Combs
14ea89ec11
* Modified Makefile.am and configure.in so that wiretap isn't built unless
...
--with-wiretap is specified.
svn path=/trunk/; revision=169
1999-01-13 04:14:29 +00:00
Gilbert Ramirez
b918a92be2
Fixed a bug regarding bad packets. If a sub-vector indicated a 0-length,
...
dissect_trmac() would spin in an infinite loop. Now that condition is checked
and properly handled.
svn path=/trunk/; revision=168
1999-01-12 17:44:52 +00:00