aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2000-01-22Fix files that had Gilbert's old e-mail address or that didn't have myGuy Harris51-103/+103
forwarding e-mail address. svn path=/trunk/; revision=1522
2000-01-22Give "dissect_rpc_string()" an extra "char **" argument; if it'sGuy Harris7-53/+83
non-null, it returns through that argument a pointer to the displayed version of the string, otherwise it just frees that string. Use that to put, in the tree item for READDIR and READDIRPLUS reply directory entry items, the file name from the directory entry. svn path=/trunk/; revision=1521
2000-01-22Add "proto_item_set_text()", which sets the "representation" field of anGuy Harris3-94/+82
existing protocol tree item. Add "proto_tree_add_notext()"; it's just like "proto_tree_add_text()", but without the text, and it sets the "representation" field to NULL; that field would be set later with "proto_item_set_text()". Those routines let you construct, for example, an interior node of the protocol tree whose text can't be determined until all the nodes under it have been dissected - it's similar to "proto_item_set_len()" in that fashion. Use that when dissecting address TLVs in the CDP dissector - create the item for an address in an "Addresses" TLV with no text, and then fill in the items under it one at a time; if we get cut off before we get to the actual address, set the text to "Truncated address", otherwise set it to a description of the address. Also, set the length of the item for the entire address TLV correctly. svn path=/trunk/; revision=1520
2000-01-22"tm_mon" in a "struct tm" is 0-based, not 1-based; when printing theGuy Harris3-8/+9
month number, add 1 to "tm_mon". svn path=/trunk/; revision=1519
2000-01-21Add URL.Gilbert Ramirez1-1/+2
svn path=/trunk/; revision=1518
2000-01-21Add stuff to add platform-specific compiler flags; currently, we haveGuy Harris1-1/+29
only flags for HP's ANSI C compiler, as suggested by Jost Martin. svn path=/trunk/; revision=1517
2000-01-21Add "-L" flags to LDFLAGS, not LIBS, and get rid of all the exoticGuy Harris2-60/+7
searching that tries to figure out in what directory libpcap lives - we should treat "-L" just like "-I", rather than adding a ton of complication to do it the way the autoconf maintainers think, for some reason, it should be done (by adding "-L" flags to LIBS - "-L" flags don't specify libraries, so I have no clue why they think they belong in LIBS; they specify a search path for libraries, just as "-I" flags specify a search path for header files, so they strike me as "flags to the linker" rather than "libraries", and LDFLAGS, unlike LIBS, appears before *all* "-l" flags, including those specified by PCAP_LIBS and so on). svn path=/trunk/; revision=1516
2000-01-21Applied the vines part of Joerg's vines patch.Gilbert Ramirez1-2/+14
svn path=/trunk/; revision=1515
2000-01-20Joerg Mayer's updates to the VINES dissector and to protocol layersGuy Harris6-8/+34
above VINES. svn path=/trunk/; revision=1514
2000-01-20Gerrit Gehnen's patch to add support for the "Inactive Subset" of theGuy Harris3-1/+19
ISO 8473 CLNP protocol. svn path=/trunk/; revision=1513
2000-01-20The headers of HP-UX 9.04 and HP-UX 10.20 nettl files seem to be different.Olivier Abad1-7/+11
Check for both "magic numbers". svn path=/trunk/; revision=1512
2000-01-20Put the RFC number for PPTP into the introductory comment.Guy Harris1-58/+58
Fix a bunch of byte-order problems, as noted by Thomas Quinot in Debian bug 55347, although his fix addressed only the byte-order problems, not the blithely-fetching-through-a-possibly-unaligned-pointer problems that said code also had; we fix both of them. svn path=/trunk/; revision=1511
2000-01-18Include CFLAGS in the command to build "rdps".Guy Harris1-2/+2
svn path=/trunk/; revision=1510
2000-01-18Use "strrchr()" instead of "rindex()" - "strrchr()" is the routine theGuy Harris1-4/+5
ANSI C standard specifies. Fix up some menu stuff that should've been fixed when I put "Find Frame" and "Go To Frame" under "Edit". svn path=/trunk/; revision=1509
2000-01-18Last dissectors for NFS v3 are finally done.Uwe Girlich1-31/+185
svn path=/trunk/; revision=1508
2000-01-18New constants for ftype3 decoding.Uwe Girlich1-1/+10
svn path=/trunk/; revision=1507
2000-01-18Put into the "Capture Preferences" dialog box a check box to controlGuy Harris2-18/+33
whether, in a live capture that updates the display as packets arrive, the packet list pane should scroll to show the most recently captured packets or not. svn path=/trunk/; revision=1506
2000-01-18Put the "Find Frame" and "Go To Frame" menu items under "Edit"; leaveGuy Harris2-14/+15
them under "Display" as well for now. svn path=/trunk/; revision=1505
2000-01-18Jerry Talkington's changes to support, in the packet list and protocolGuy Harris7-17/+124
tree panes, menus popped up by the right mouse button. svn path=/trunk/; revision=1504
2000-01-17Squelch some complaints from GCC (and protect against the admittedlyGuy Harris1-7/+22
unlikely possibility that, on some platform, converting a "gpointer" to pointers of the types in question involves more than just reinterpreting the bits of the "gpointer" value). svn path=/trunk/; revision=1503
2000-01-17Use "strchr()" rather than "index()" - the ANSI C standard specifiesGuy Harris1-2/+3
"strchr()", and it, unlike "index()", is declared in <string.h>. svn path=/trunk/; revision=1502
2000-01-17Add Makefile.nmake to list of deliverables. I had sent Thomas ParvaisGilbert Ramirez1-1/+3
a tarball from the current CVS image using "make dist". That's why he sent an e-mail today saying that the gtk/Makefile.namek was not in CVS. It's in CVS, but it wasn't in the tarball I sent him. svn path=/trunk/; revision=1501
2000-01-17We have to #include "plugins.h" before using the HAVE_PLUGINS define.Olivier Abad3-7/+6
svn path=/trunk/; revision=1500
2000-01-17Add a "-F" flag, to allow the format of a file being written to beGuy Harris2-16/+58
specified. This will be of more use when I allow "-w" to be used when reading an existing capture file rather than doing a live capture (which will also allow you to specify a read filter, and thus to write a capture file containing those packets from an existing capture file that match a given display filter). Fix up some messages to say "tethereal" rather than "ethereal". svn path=/trunk/; revision=1499
2000-01-17Small patch to editcap to allow ranges of packets to be specifiedRichard Sharpe1-6/+62
as well as individual packets. I needed to grab quite a few from the middle of a large capture file. Will eventually need to sort the extract list. svn path=/trunk/; revision=1498
2000-01-17Add a "-x" flag to Tethereal, to make it print a hex and ASCII dump ofGuy Harris2-5/+25
the packet data. svn path=/trunk/; revision=1497
2000-01-16Get rid of the include of "util.h" that some dissectors do - it's notGuy Harris7-14/+7
necessary. svn path=/trunk/; revision=1496
2000-01-16Move the routine to get a list of the network interfaces on the systemGuy Harris7-202/+278
to "util.c", and provide a routine to free that list as well. When picking an interface on which to do a capture (if no "-i" flag was specified), use that routine, and pick the first interface on the list. svn path=/trunk/; revision=1495
2000-01-16The NetBSD zlib problem is probably the same as the FreeBSD and OpenBSDGuy Harris1-6/+2
zlib problems, and my workaround appears to handle that problem, so let's reenable zlib support in NetBSD and look into it in more detail if there's still a problem. svn path=/trunk/; revision=1494
2000-01-15Rename "save_LIBS" to "ethereal_save_LIBS", to reduce the risk of a nameGuy Harris1-5/+5
collision with another variable. svn path=/trunk/; revision=1493
2000-01-15Don't exclude register.c from the distribution tarball because weGilbert Ramirez1-3/+9
no longer optionally compile the snmp dissector. But I left the dist-hook line in the Makefile.am in case we're ever in that situation again. svn path=/trunk/; revision=1492
2000-01-15Add in a couple of the artifacts produced from autoconf/automakeGilbert Ramirez1-0/+4
svn path=/trunk/; revision=1491
2000-01-15Remove libltdl from the build. The directory is still in CVS, but it isGilbert Ramirez3-24/+7
not used in the build. I'll wait a few days to remove the libltdl directory, just in case. svn path=/trunk/; revision=1490
2000-01-15Move top-level window creation to separate function outside ofGilbert Ramirez1-103/+112
main(). svn path=/trunk/; revision=1489
2000-01-15Add missing #ifdef HAVE_PLUGINS before calling init_plugins()Olivier Abad1-1/+3
svn path=/trunk/; revision=1488
2000-01-15Add a call to init_plugins() in order to read the plugins.status file andOlivier Abad1-1/+5
enable plugins if their saved status is "active". svn path=/trunk/; revision=1487
2000-01-15As we're not using the default action for AC_CHECK_LIB inGuy Harris2-3/+10
AC_ETHEREAL_PCAP_CHECK, we have to explicitly define HAVE_LIBPCAP if we find it, otherwise it doesn't get defined. svn path=/trunk/; revision=1486
2000-01-15Pass the number of packets to be captured to "capture()" as an argument,Guy Harris1-8/+9
rather than making it static. Don't print the "Capturing on <interface>" message until you actually start capturing, and print it regardless of whether the interface was explicitly specified or not (that's what snoop and tcpdump do). svn path=/trunk/; revision=1485
2000-01-15Arrange that, on Solaris, we link with "-lkstat" if necessary whenGuy Harris3-29/+124
linking with "-lsnmp". Link only Ethereal and Tethereal with "-lpcap"; don't link editcap, or any of the test programs that the configure script builds, with it (because that means you also have to arrange that those test programs be linked with @SOCKET_LIBS@ and @NSL_LIBS@) - i.e., don't add it to LIBS, add it to PCAP_LIBS, and use that only for programs that need it. svn path=/trunk/; revision=1484
2000-01-15Tethereal needs the same set of additional objects that Ethereal does;Guy Harris3-12/+109
make it link with them. Provide dependencies for Tethereal as well. Tethereal may need to be linked with "-lsocket" and/or "-lnsl"; check for that, and arrange that it be linked with them if necessary. svn path=/trunk/; revision=1483
2000-01-15If no "-i" flag is specified to Tethereal when no file is to be read,,Guy Harris4-18/+49
or to Ethereal when the "-k" flag is specified, i.e. when a capture is to be started immediately, use "pcap_lookupdev()" to pick an interface, just as tcpdump does. svn path=/trunk/; revision=1482
2000-01-15When configuring for GLib, we have to include gmodule support; the GTK+Guy Harris1-2/+2
options include it automatically, but the GLib options don't, and Tethereal links with GLib but not with GTK+. svn path=/trunk/; revision=1481
2000-01-15Fix up a bunch of places where a pointer into the packet buffer was castGuy Harris4-54/+54
to a type requiring 2-byte or better alignment and was then dereferenced; doing that requires that the code generated by your compiler not trap if it makes an unaligned reference, and on most RISC processors the code generated by the compiler *will* trap on an unaligned reference by default. svn path=/trunk/; revision=1480
2000-01-15Merge in the final code to make Ethereal run on Win32, compiledGilbert Ramirez24-258/+356
with MSVC 6.0 and 'nmake', the make tool that comes with MSVC. It compiles, links, and runs. It doesn't run correctly. There's a problem when reading files. I'm getting short reads. I'm not linking in zlib or libsnmp because it first needs to be debugged. I changed the plugin code to use gmodule instead of libltdl, but the Unix build still links ethereal against libltdl. I'll fix that tonight; sorry about leaving it in such a sad state, but I wanted to check in this code before I left work on a Friday night. Ethereal still works, but the building is less than optimal. svn path=/trunk/; revision=1479
2000-01-14better command line syntax descriptionNathan Neulinger1-4/+5
svn path=/trunk/; revision=1478
2000-01-14Don't assume that the RX header is neatly aligned on a 4-byte boundaryGuy Harris1-10/+10
in our address space. svn path=/trunk/; revision=1477
2000-01-14Set an initial (blank) filter to get around the peculiarities in RHGerald Combs1-2/+2
6.1's libpcap. svn path=/trunk/; revision=1476
2000-01-14Fixed small typo in hex printing.Gerald Combs1-2/+2
svn path=/trunk/; revision=1475
2000-01-14Check for existence of cf.iface before calling capture(). ChangeGilbert Ramirez1-2/+7
usage statement accordingly. svn path=/trunk/; revision=1474
2000-01-14Supply a patch that, at least on HP-UX 11.00, lets you specify toGuy Harris1-33/+459
"pcap_open_live()" a network interface name rather than a "dlpiN" name (where "N" is the PPA for the device, as reported by lanscan). svn path=/trunk/; revision=1473