Commit Graph

86268 Commits

Author SHA1 Message Date
Gerald Combs 06e5aae0e3 * Added preference file saves and reads.
svn path=/trunk/; revision=75
1998-10-28 21:38:11 +00:00
Gerald Combs 3b9dda5d6b * Aligned the icon with the top edge of the dialog.
svn path=/trunk/; revision=74
1998-10-28 21:22:33 +00:00
Guy Harris c1d8559379 Use "memcpy()" rather than "bcopy()", to eliminate one "gcc -Wall"
warning.  (We use "memcpy()" everywhere else.)

svn path=/trunk/; revision=73
1998-10-28 01:29:16 +00:00
Guy Harris 6f241463be Add the "Maximize security" type of service for IP, from RFC
1455.

	Make the arguments to "val_to_str()" and "match_strval()" that
	point to things those routines don't modify pointers to "const",
	and make the "value_string" tables passed into those routines in
	"packet-ip.c" "const".

svn path=/trunk/; revision=72
1998-10-28 01:16:49 +00:00
Gilbert Ramirez 4dc16ca678 Removed unused variable and fixed call to add_item_to_tree, as reported
by Guy Harris.

svn path=/trunk/; revision=71
1998-10-27 16:43:15 +00:00
Gilbert Ramirez dd4f06a54c I added the byte count to the Data section. The print routines had to
be modified to check the beginning of the string instead of the entire string
when trying to find the Data section in order to print a hex dump.

svn path=/trunk/; revision=70
1998-10-22 19:10:19 +00:00
Gilbert Ramirez 92057886bd An NCP READ is now decoded. This is the first function to be decoded.
I expect much of the packet-ncp.c file to change.

svn path=/trunk/; revision=69
1998-10-22 04:50:21 +00:00
Gilbert Ramirez 392dd3f68b Silly mistake which caused if(tree) to fail.
svn path=/trunk/; revision=68
1998-10-22 04:03:40 +00:00
Gilbert Ramirez c903fbf883 Removed some routines in support of match_strval function.
svn path=/trunk/; revision=67
1998-10-21 02:36:54 +00:00
Guy Harris 0bb16cb989 Add a "val_to_str()" routine that calls "match_strval()" and, if
it returns NULL, formats the value with the format passed in as
	an argument, and returns a pointer to that static buffer.

	Change several "match_strval()" calls to use "val_to_str()".

	In "dissect_ospf()", use "match_strval()" to look up the packet
	type, and use "Unknown" if it doesn't find a match.

svn path=/trunk/; revision=66
1998-10-20 05:31:03 +00:00
Guy Harris 7867e7441d Add declarations of "dissect_aarp()' and "dissect_ddp()".
svn path=/trunk/; revision=65
1998-10-16 06:46:55 +00:00
Guy Harris c667a0d82b Get rid of unused "etype_str[]" array in "ethertype()".
svn path=/trunk/; revision=64
1998-10-16 06:46:16 +00:00
Guy Harris 261e2cde3b Add Simon Wilkinson to the list of contributors in the "About" box.
svn path=/trunk/; revision=63
1998-10-16 06:44:32 +00:00
Gerald Combs 3202dc8a48 Added Simon
svn path=/trunk/; revision=62
1998-10-16 01:22:29 +00:00
Gerald Combs 349f96bb49 * Copied in the correct GNU license (I'm such a goober)
* Hacks to the filter interface (Gerald)
* About box (Laurent)
* AppleTalk support (Simon)
* Mods to the match_strval routine (Gerald)

svn path=/trunk/; revision=61
1998-10-16 01:18:35 +00:00
Gilbert Ramirez 5a35314f80 I'm preparing ncp for expansion (i.e., cleaning up my old code). I also
changed the summary line so that "Reply"/"Request" is printed.

svn path=/trunk/; revision=60
1998-10-15 21:12:17 +00:00
Guy Harris 44c17a888d Fix up an "sprintf()" to handle the possibility that the difference
between two pointers might be a "long" rather than an "int" (on a
platform where they're not the same).

svn path=/trunk/; revision=59
1998-10-15 06:55:42 +00:00
Guy Harris 75b9af68eb Show queries as a summary line (as was the case before my DNS checkins)
which can be expanded into a detailed name/type/class description.

svn path=/trunk/; revision=58
1998-10-15 06:40:51 +00:00
Guy Harris 02fdc292b1 Use "ip_to_str()" and "ether_to_str()" to extract IP and MAC addresses
from a packet and turn them into character strings in dotted-quad or
colonized-sextet form.

svn path=/trunk/; revision=57
1998-10-14 22:37:02 +00:00
Gilbert Ramirez ca377bf6cd Needed for common routines between DNS and NBNS.
svn path=/trunk/; revision=56
1998-10-14 20:03:03 +00:00
Guy Harris 022967513b Tag NetBIOS Name Service-over-UDP packets as "NBNS (UDP)".
Give a detailed display of the innards of NBNS-over-UDP packets.  Export
some stuff from the DNS decoder for the use of the NBNS decoder (NBNS is
DNS-like).

Give a more detailed display of the innards of DNS packets as well.

Fix a couple of minor NBNS bugs.

svn path=/trunk/; revision=55
1998-10-14 19:35:00 +00:00
Guy Harris b3da21d812 Don't assume the UDP header is always properly aligned (sometimes it
isn't).

svn path=/trunk/; revision=54
1998-10-14 08:47:16 +00:00
Gilbert Ramirez 5e649516c9 I've started to figure out the difference between NetBIOS over IPX for
Netware, and NetBIOS over IPX for WinNT (NWLink).

svn path=/trunk/; revision=53
1998-10-14 05:18:32 +00:00
Gilbert Ramirez 4dbba72d17 I rename the single dissect() function in packet-nbipx.c, and had packet-ipx.c
call it under fewer circumstances.

svn path=/trunk/; revision=52
1998-10-14 04:28:49 +00:00
Gilbert Ramirez f7d830215e This should have been part of my previous 'cvs commit' (netbios name
services), but I forgot this file (I was doing the commmit manually).

svn path=/trunk/; revision=51
1998-10-14 04:11:32 +00:00
Gilbert Ramirez 4ef47e6cfb Added preliminary support for NetBIOS Name Services over IPX and UDP. Note
that these are two very different implementations of NetBIOS name services and
at the protocol level are not similar. I have put the UDP protocol in
packet-nbns.c, since it will be a very big module. I have all of rfc 1002 to
read and implement. I am planning on putting many different NetBIOS over IPX
functions in packet-nbipx.c, however, since there is no RFC or published
standard. I have to hack the protocol, and as such, I do not expect it to be
as full-featured as the IP-world equivalents.

svn path=/trunk/; revision=50
1998-10-14 04:09:15 +00:00
Laurent Deniel 23ab0b90bd too few arguments for sprintf format
svn path=/trunk/; revision=49
1998-10-13 17:56:41 +00:00
Guy Harris f2f366e715 On most systems, bit-swap the bytes of an FDDI MAC address. (List of
systems on which you don't bit-swap them taken from "tcpdump"; the list
may not be complete.)

svn path=/trunk/; revision=48
1998-10-13 07:48:03 +00:00
Guy Harris d0b809aa74 Squelch a number of "-Wall" errors by:
1) renaming "snprintf.h" to "snprintf-imp.h" (it contains stuff
	   used by the "snprintf()" *implementation*, but not stuff it
	   *exports*);

	2) creating a new "snprintf.h" to declare "vsnprintf()" and
	   "snprintf()";

	3) removing an unused variable;

	4) fixing a call to "add_item_to_tree()" to handle the
	   possibility of "ntohl()" returning a "long" rather than an
	   "int".

svn path=/trunk/; revision=47
1998-10-13 07:03:37 +00:00
Guy Harris d9850d803f Remove the length-on-wire and length-captured values from the FDDI
detail display; that's now in the "frame" detail display.

svn path=/trunk/; revision=46
1998-10-13 05:55:45 +00:00
Guy Harris 7f2da15d6b Add a routine to dissect IP or TCP options (and, from a look at RFC
1883, it should, perhaps with some additions, be able to handle IPv6
options as well).

Make the IPv4 and TCP dissectors use it.

Fix a typo in the IP dissector ("Unknon" for "Unknown").

Show the IP and TCP header lengths as byte counts rather than
4-byte-word counts.

Show the protocol field value of an IP header as a name if it's a
protocol we know about.

List the acknowledgment and urgent pointer values in a TCP header only
if the corresponding flag is set.

Make the ETT_ values members of an enum, so that the compiler
automatically assigns them sequential integer values (at least if said
compiler conforms to the ANSI C standard).

svn path=/trunk/; revision=45
1998-10-13 05:40:04 +00:00
Guy Harris d6907f93bc Make the "value_string" array in "dissect_arp()" static, so it can be
initialized at compile time.

Compute the number of elements in that array at compile time.

Fix a typo ("Unkown" for "Unknown").

svn path=/trunk/; revision=44
1998-10-13 05:20:53 +00:00
Guy Harris 6de55279b9 Fix to use #define values as subscripts of "win_info[]".
svn path=/trunk/; revision=43
1998-10-13 05:12:13 +00:00
Gilbert Ramirez 6282a99523 Removed an endless loop situation if the BOOTP option was unknown.
svn path=/trunk/; revision=42
1998-10-13 03:39:15 +00:00
Gilbert Ramirez 0c8d1dd1b3 Commented out a left-over debug printf() statement.
svn path=/trunk/; revision=41
1998-10-13 03:38:16 +00:00
Gerald Combs 554e5d3f46 * Pod page update
* Minor tweaks to the filter prefs

svn path=/trunk/; revision=40
1998-10-13 02:10:57 +00:00
Gerald Combs 36607dd2d3 - Fixed status bar printing error (the total number of packets were being
printed instead of the total number of drops)

svn path=/trunk/; revision=39
1998-10-12 01:45:17 +00:00
Gerald Combs 0758da1146 - Added match_strval function to packet.c
- Separated display and capture filters; rearranged some of the look and feel
- Lots of other miscellaneous fixes and updates

svn path=/trunk/; revision=38
1998-10-12 01:40:57 +00:00
Gerald Combs 73e19611fd * Fixes for bugs introduced in last night's commit.
svn path=/trunk/; revision=37
1998-10-10 18:23:43 +00:00
Gerald Combs 1b26a7cdb7 * OSPF alignment fixes (Gerald)
* FDDI support (Laurent, Guy)

svn path=/trunk/; revision=36
1998-10-10 03:32:20 +00:00
Gilbert Ramirez 54945ddd04 Added more SAP types, from the ncpfs source.
svn path=/trunk/; revision=35
1998-10-02 22:14:29 +00:00
hannes 374846c370 Changes to capture.c and capture.h to support more detail in the capture
window. Added basic counter (%) hooks for all currently supported base protocols.

OSPF Counter added as an example.

All of this has mainly cosmetic purposes.

svn path=/trunk/; revision=34
1998-09-29 21:39:29 +00:00
hannes 229151a0c1 Support for AS-external LSAs added.
svn path=/trunk/; revision=33
1998-09-29 21:34:44 +00:00
hannes 062bb75f04 structure for AS-external LSA added.
documentation line changed.

svn path=/trunk/; revision=32
1998-09-29 21:32:46 +00:00
Gerald Combs 2e7e493198 Merged in a _huge_ patch from Guy Harris. It adds a time stap column,
generalizes the column printing code, adds a "frame" tree item to
   the tree view, and fixes a bunch of miscellaneous coding bugs.

svn path=/trunk/; revision=31
1998-09-27 22:12:47 +00:00
Laurent Deniel 385699d431 *** empty log message ***
svn path=/trunk/; revision=30
1998-09-27 07:13:29 +00:00
Gilbert Ramirez 5845ab82ab I added the Server Down SAP packet after discovering its description
in a book today.

svn path=/trunk/; revision=29
1998-09-27 03:43:44 +00:00
Gilbert Ramirez b9fb164099 I added the use of the END_OF_FRAME macro in dissect_dns() so that the entire
DNS layer in the hex dump ss highlighted when the "DNS" level is selected in
the protocol analysis tree. I am assuming that this is what Gerald wanted.

svn path=/trunk/; revision=28
1998-09-27 03:42:33 +00:00
Gerald Combs 3f7ed51f8d Initial prefs support.
svn path=/trunk/; revision=27
1998-09-26 19:28:51 +00:00
Gerald Combs 3da04dd983 * Ethernet manufacturer support (Laurent)
* PPP fixes (Gerald)
* Null/loopback interface support (Gerald)

svn path=/trunk/; revision=25
1998-09-25 23:24:07 +00:00