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
Guy Harris
bc21c7a2c7
Decode the various flag fields in resource records in NBNS replies.
...
svn path=/trunk/; revision=159
1999-01-05 08:48:40 +00:00
Guy Harris
e808e2a733
Neither "ether_to_str()" nor "ip_to_str()" modify the data pointed to by
...
their arguments, so make those arguments pointers to 'const", so that we
don't get complaints if somebody hands them a pointer to "const".
svn path=/trunk/; revision=158
1999-01-05 07:33:38 +00:00
Gerald Combs
1f3c0250b6
* Fixed missing curly brace.
...
svn path=/trunk/; revision=157
1999-01-05 03:05:50 +00:00
hannes
bea932a887
Finished the first version of CDP support.
...
-> this works for all CDP packets I've got
some minor additions will follow
svn path=/trunk/; revision=156
1999-01-05 00:08:49 +00:00
hannes
e39752f194
Okay. Please test the CVS code....
...
I think I figured out how CDP works :) ----
svn path=/trunk/; revision=155
1999-01-04 21:08:45 +00:00
hannes
5fdf1b9532
I've dicovered, that the existing CDP code does not work with Cisco
...
switches -> dissect_cdp stops a bit earlier... (preventing errors)
I have added the line "under development" to the CDP tree
svn path=/trunk/; revision=154
1999-01-04 20:07:29 +00:00
Guy Harris
229245043d
Decode the word containing the opcode, flags, reply code, etc. in DNS
...
and NBNS requests.
Put the opcode in the COL_INFO field for DNS requests (it was already
there for NBNS requests).
Don't assume a DNS or NBNS request is neatly aligned on a 2-byte
boundary (it might not be if, for example, the packet is an FDDI
packet).
svn path=/trunk/; revision=153
1999-01-04 09:13:46 +00:00
Guy Harris
52e0d7c7ea
Include "snprintf.h", as we use "snprintf()", so that we don't get
...
warnings from "gcc -Wall".
svn path=/trunk/; revision=152
1999-01-04 08:45:22 +00:00
Guy Harris
b6f5b5db78
Include "snprintf.h", as we use "snprintf()", so that we don't get
...
warnings from "gcc -Wall".
svn path=/trunk/; revision=151
1999-01-04 07:39:14 +00:00
Gerald Combs
b0fe085dc3
* Final commit for version 0.5.1
...
* Added RPM .spec file (Martin Maciaszek)
* Added Martin to AUTHORS
svn path=/trunk/; revision=149
1999-01-04 01:31:18 +00:00
Gilbert Ramirez
efa3b6ff41
Added files to handle AIX iptrace 2.0 files in wiretap.
...
svn path=/trunk/; revision=148
1999-01-03 04:30:13 +00:00
Guy Harris
1af1cf3cc0
The "lnk_t" field of per-packet data, and the "pkt_encap" field in the
...
packet header, are there only if "wiretap" is used, so protect their use
with "#ifdef WITH_WIRETAP".
svn path=/trunk/; revision=147
1999-01-03 01:57:24 +00:00
Gilbert Ramirez
9a50326466
I made sure to note that wiretap only supports iptrace 2.0 files so far.
...
iptrace 1.0 is not supported yet.
svn path=/trunk/; revision=146
1999-01-02 06:50:30 +00:00
Gilbert Ramirez
3688d96c45
Added the iptrace (AIX's packet-capture tool) file format to wiretap.
...
This necessitated a change in ethereal because iptrace supports multi-NIC
packet capturing, including multi-datalink-type capturing.
svn path=/trunk/; revision=145
1999-01-02 06:10:55 +00:00
Gilbert Ramirez
d1a7effcf9
Added #include <sys/types.h> for compilation under gtk-1.1.11
...
svn path=/trunk/; revision=144
1999-01-01 07:40:34 +00:00
Gilbert Ramirez
274f87319d
Be smarter about IPX port numbers and which function to call.
...
svn path=/trunk/; revision=143
1998-12-31 20:36:43 +00:00
Gerald Combs
cb1f8e34c5
* Added Joerg Mayer's Vines patch
...
* Added Joerg to the AUTHORS file
* Added Guy's bitfield decode patch
* Fixed time output
svn path=/trunk/; revision=142
1998-12-29 04:05:38 +00:00
Gerald Combs
2301bf5e10
* Installation documentation updates
...
svn path=/trunk/; revision=141
1998-12-29 03:12:07 +00:00
Gerald Combs
369f3fdad5
* Add library version information to about box, -v and -h output
...
svn path=/trunk/; revision=140
1998-12-27 20:47:53 +00:00
Gerald Combs
74d092e843
* Minor changes for GTK+ 1.1/1.2 support
...
svn path=/trunk/; revision=139
1998-12-27 20:46:45 +00:00
Gerald Combs
0ce50f1349
* GTK+ 1.1/1.2 compatibility changes (use gtk_scrolled_window_add_with_viewport
...
to add filter list to scrolled window)
svn path=/trunk/; revision=138
1998-12-27 20:44:53 +00:00
Gilbert Ramirez
b9084e83cb
Fixed more bugs with dialogues and gtk+-1.1.x.
...
svn path=/trunk/; revision=137
1998-12-22 07:07:11 +00:00
Gilbert Ramirez
e37cbc4fc1
Stopped the "TCP Follow" screen from producing an error when using
...
wiretap and gtk+-1.1.x. I also added an #include to util.c to keep
it from complaining about a lack of a definition of vsnprintf when
compiling with gtk+-1.1.x.
svn path=/trunk/; revision=136
1998-12-22 05:52:51 +00:00
Gilbert Ramirez
43558a7609
Fixed the version of gtk1.1.x required for
...
gtk_scrolledwindow_add_with_viewport. Now it compiles correctly on
gtk+-1.1.[0-4].
svn path=/trunk/; revision=135
1998-12-22 00:41:24 +00:00
Gerald Combs
d6863b0e29
Syntax and compilation fixes for the broken code I just committed.
...
svn path=/trunk/; revision=134
1998-12-21 03:58:00 +00:00
Gerald Combs
aa2d05e774
Make the info field verbose.
...
svn path=/trunk/; revision=133
1998-12-21 03:43:29 +00:00
Gerald Combs
719fd89b5f
Changed port print formats to unsigned, added raw port number to tree output.
...
svn path=/trunk/; revision=132
1998-12-21 03:42:22 +00:00