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
Gerald Combs
aee34fd33d
* Added Tony Abbot's fixes for libpcap include directory discovery.
...
svn path=/trunk/; revision=167
1999-01-10 21:23:41 +00:00
Gerald Combs
e2e3fb7369
* Added RPM .spec
...
svn path=/trunk/; revision=166
1999-01-10 21:20:44 +00:00
Gilbert Ramirez
a68f557e27
Use g_free instead of free so that I don't have to include <stdlib.h>
...
for just one function.
svn path=/trunk/; revision=165
1999-01-08 17:24:01 +00:00
Gilbert Ramirez
a12038c884
A bad frame control value could crash ethereal because I didn't do
...
proper bounds checking. Fixed.
svn path=/trunk/; revision=164
1999-01-08 04:42:43 +00:00
Gilbert Ramirez
f1d8e63a43
Logged my change about per-packet encapsulation types.
...
svn path=/trunk/; revision=163
1999-01-07 16:43:40 +00:00
Gilbert Ramirez
7757b2e72b
I removed the per-file encapsulation type from wiretap, and make all filetypes
...
provide a per-packet encapsulation type. this required minor modifications to
ethereal.
svn path=/trunk/; revision=162
1999-01-07 16:15:37 +00:00
Guy Harris
f8046a1f29
The TLV structures in a CDP packet aren't necessarily aligned on 2-byte
...
boundaries, so use "pntohs()" to extract data from them, so that you
don't do unaligned accesses (which some processors don't handle).
Put the "IOS version" field out as multiple tree items, one per line of
text in the version description.
Use "memset()" rather than "bzero()" - "memset()" is used elsewhere, and
we already include the header file that declares it.
Use "ip_to_str()" rather than "inet_ntoa()" to display IP addresses as
text; that's what's used elsewhere in Ethereal.
svn path=/trunk/; revision=161
1999-01-06 23:07:42 +00:00
Guy Harris
464949dc2a
Clean up what's displayed for unknown opcodes and unknown rcodes.
...
svn path=/trunk/; revision=160
1999-01-05 09:01:42 +00:00