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
Gerald Combs
3ef33b29e9
Modify add_item_to_tree to return immediately on a null tree ptr.
...
svn path=/trunk/; revision=131
1998-12-21 03:39:27 +00:00
Guy Harris
7aa5722e3c
Back out change that Hannes Boehm said he didn't intend to commit,
...
replacing "memset(..., 0, ...)" with "bzero(..., ...)" - he asked me to
remove the change.
svn path=/trunk/; revision=130
1998-12-20 01:47:05 +00:00
hannes
183c35b0b4
Added "Cisco Discovery Protocol" Hooks
...
Added Ethernet Loopback Protocol Type to ethertype.c
svn path=/trunk/; revision=129
1998-12-19 00:12:23 +00:00
Gilbert Ramirez
e071c65555
Added Guy Harris' patch to read Sniffer ATM trace files. Very nice.
...
svn path=/trunk/; revision=128
1998-12-17 06:39:13 +00:00
Gilbert Ramirez
5676298385
A patch spread across many files to let Ethereal compile under GTK+-1.1.x.
...
Tests for GTK versions are done during compilation, not during "./configure".
The big problems have been taken care of in this patch (functional change
in the packet clist and conversion of menu_factory to item_factory), but
plenty of smaller problems with dialogue boxes abound. I have fixed
a small problem with file_open*(), but have left 2 comments in just in case
I'm not going about this the right way. Can someone verify?
svn path=/trunk/; revision=127
1998-12-17 05:42:33 +00:00
Guy Harris
f5e3259b0a
Note that wiring the current longest string in a column into
...
"get_column_width()" is somewhat fragile, and suggest a possible
alternative.
svn path=/trunk/; revision=126
1998-12-16 09:05:51 +00:00
Guy Harris
dfceeaeb7c
Fix the bitmask for the hour field in a DOS-format time (not that it
...
matters, as that code is commented out).
svn path=/trunk/; revision=125
1998-12-15 04:11:58 +00:00
Gilbert Ramirez
40dfa08bab
Debug statement commented out.
...
svn path=/trunk/; revision=124
1998-12-13 05:38:13 +00:00
Gilbert Ramirez
84e0fc12a0
Added Guy's patch to calculate date of Sniffer packet trace. I copied
...
bits of it to do the same for Lanalyzer packets.
svn path=/trunk/; revision=123
1998-12-13 05:08:05 +00:00
Guy Harris
7dd4f76f59
When dissecting DNS or NBNS queries or replies, add the item to the tree
...
for the queries or replies first, then create and add the subtree and
populate it, and, when that's done, set the length of the item
appropriately; if you add the subtree later, the subtree's top-level
node appears to have level 0, rather than 1 greater than the tree of
which it's a subtree, which causes those trees not to print correctly.
svn path=/trunk/; revision=122
1998-12-04 05:59:14 +00:00
Guy Harris
5274503f24
The Appletalk ARP opcode, like other AARP fields, is big-endian, not
...
little-endian.
svn path=/trunk/; revision=121
1998-12-03 09:42:21 +00:00
Gilbert Ramirez
4220c8722e
LANalyzer records time in half microseconds, not microseconds.
...
svn path=/trunk/; revision=120
1998-11-23 15:48:38 +00:00
Gilbert Ramirez
cd7484ddf5
Added time-stamp decoding to LANalyzer decodes, made minor comment changes to
...
ngsniffer.c, and removed DLT_* defines from wtap.h
svn path=/trunk/; revision=119
1998-11-23 04:40:22 +00:00
Gilbert Ramirez
bb9f28af0f
The Sniffer-reading code now checks to make sure that it is trying
...
to read an uncompressed Sniffer file.
svn path=/trunk/; revision=118
1998-11-21 05:08:40 +00:00
Guy Harris
af5354f148
Take the name-processing part of "get_nbns_name_type_class()" and put it
...
in "get_nbns_name()", and have "get_nbns_name_type_class()" call it.
Use "get_nbns_name()" rather than "get_nbns_name_type_class()" in the
NBDS code, as there aren't any type or class fields in an NBDS packet.
Show the data in an NBDS datagram as raw data. (We don't have an SMB
parser yet.)
Don't dissect anything past the header if an NBDS packet is an unknown
packet type.
svn path=/trunk/; revision=117
1998-11-21 04:00:31 +00:00
Guy Harris
f0e0581ff5
Pick up from Ethereal's "configure.in" the test to check whether we're
...
running GCC and, if so, to add the "-Wall" flag.
svn path=/trunk/; revision=116
1998-11-21 03:26:54 +00:00
Gilbert Ramirez
2b7cb49995
Fix for non null-terminated strings.
...
svn path=/trunk/; revision=115
1998-11-20 17:47:33 +00:00
Guy Harris
c1902f17ea
The address family isn't part of the RIP header, it's part of the RIP
...
entry.
Show, for each RIP entry, a summary line with, for IP routes, the
destination and metric, as well as showing the detailed breakdown below
it.
Dissect authentication entries.
svn path=/trunk/; revision=114
1998-11-20 09:24:42 +00:00
Gilbert Ramirez
d570947a14
Added NetBIOS Datagram (over UDP) support.
...
svn path=/trunk/; revision=113
1998-11-20 05:58:42 +00:00
Gilbert Ramirez
5174440b33
I gave Guy the credit he deserves.
...
svn path=/trunk/; revision=112
1998-11-20 05:54:39 +00:00
Gilbert Ramirez
41ce57799c
Added NetBIOS datagram support (over UDP, as per RFC 1002).
...
svn path=/trunk/; revision=111
1998-11-20 05:54:08 +00:00
Gilbert Ramirez
955c1dce22
BOOTP option 55 (parameter request list) now shows more detail.
...
svn path=/trunk/; revision=110
1998-11-20 04:34:37 +00:00
Gerald Combs
a7f302810d
* Fixed minor bug when printing string values.
...
svn path=/trunk/; revision=108
1998-11-18 23:58:54 +00:00