aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2000-01-14Note that the Ethereal workaround for the libpcap timeout problem shouldGuy Harris1-30/+11
prevent Ethereal's GUI from hanging during a capture, even if libpcap on your Linux system hasn't been patched. svn path=/trunk/; revision=1472
2000-01-14Note that we can read "i4btrace" capture files.Guy Harris2-21/+22
svn path=/trunk/; revision=1471
2000-01-14Note that the Ethereal distribution also comes with Tethereal andGuy Harris1-18/+26
editcap. Expand the list of OSes on which Ethereal has (at least at one time) been built and used. Note that systems other than Solaris that use DLPI (e.g., HP-UX) may also have "/dev" entries that can be made more widely readable and writable to allow non-root users to capture packets. Note that we can read "i4btrace" capture files. Note that we now always do SNMP dissection, and that an external library just allows us to do more sophisticated dissection. svn path=/trunk/; revision=1470
2000-01-14Add "doc/editcap.pod" and "doc/tethereal.pod.template" to theGuy Harris1-1/+3
distribution. svn path=/trunk/; revision=1469
2000-01-14Add "tethereal", a tty-oriented derivative of Ethereal that works likeGuy Harris6-20/+1268
Sun's snoop or like tcpdump. svn path=/trunk/; revision=1468
2000-01-13Add "file_wrappers.c" to the list of things to compile with MicrosoftGuy Harris1-0/+1
Visual C{++}. svn path=/trunk/; revision=1467
2000-01-13Call the CDP entry listing addresses "Addresses", not "Address" - it canGuy Harris1-2/+2
have more than one address. svn path=/trunk/; revision=1466
2000-01-130x2000, for CDP, doesn't appear to be an Ethernet type - it's notGuy Harris2-10/+2
registered as a type for CDP, and CDP packets appear to be LLC packets with an OUI of 00-00-0C, not the encapsulated Ethernet OUI of 00-00-00. svn path=/trunk/; revision=1465
2000-01-13Fix "ascend-scanner.l" to include "file_wrappers.h" rather than theGuy Harris2-13/+15
defunct "file.h". Make "file_wrappers.c" include "wtap.h", so that the WTAP_ERR_ZLIB_ values are defined. svn path=/trunk/; revision=1464
2000-01-13We are obliged to define HAVE_UNISTD_H in "config.h"; to avoid theGuy Harris18-114/+167
hideous problem on FreeBSD 3.[23] (and perhaps other BSDs) if HAVE_UNISTD_H is defined before "zlib.h" is included, turn "file_seek()" into a subroutine defined in a file that *undefines* HAVE_UNISTD_H before including "zlib.h", so that the *only* call to "gzseek()" is made from a file that does not have HAVE_UNISTD_H defined when it includes "zlib.h". Move "file_error()" to that file while you're at it, so it holds all the wrappers that hide the presence or absence of zlib from routines to read capture files. Turn "file.h", which declared those wrapper functions as well as wrapper macros, into "file_wrapper.h" - it belongs with the "file_wrapper.c" file that defines the wrapper functions, not with "file.c" which handles higher-layer file access functions. Remove the comment in "configure.in" that explained why defining HAVE_UNISTD_H was a bad idea, as we're not obliged to define it and work around the problem. (The comment in "file_wrapper.c" explains the workaround.) svn path=/trunk/; revision=1463
2000-01-13Get the NLPID value for ISIS from "nlpid.h", and report the NLPID valueGuy Harris3-21/+8
in ISIS packets with "nlpid_vals". Report the NLPID value in CLNP packets with "nlpid_vals" as well. svn path=/trunk/; revision=1462
2000-01-13Add the NLPID value for PPP.Guy Harris4-22/+14
In Q.931 and Q.2931, the TR 9577 values are NLPIDs, so use "nlpid_vals" to dissect them, and values from "nlpid.h" to refer to them. svn path=/trunk/; revision=1461
2000-01-13X.25-over-Ethernet, as I'm inferring it works (i.e., the payload of theGuy Harris2-2/+10
packet is just an X.25 packet). svn path=/trunk/; revision=1460
2000-01-13Indicate that the RFC for SDP is 2327.Guy Harris1-2/+2
svn path=/trunk/; revision=1459
2000-01-13Indicate that the RFC for RTSP is 2326.Guy Harris1-2/+2
svn path=/trunk/; revision=1458
2000-01-13Changes from Jason to make some RTSP fields filterable.Guy Harris1-31/+97
svn path=/trunk/; revision=1457
2000-01-13Assign a frame number to a frame only when reading frame data from aGuy Harris1-3/+2
file, not when filtering or colorizing packets - filtering shouldn't change the frame number of a frame (yes, this means that a filtered display won't necessarily have packets numbered contiguously 1 through N - that's a feature). svn path=/trunk/; revision=1456
2000-01-13Export the list of OSI NLPIDs in "nlpid.h", for use by the CDPGuy Harris4-92/+370
dissector. Add a "value_string" table for NLPIDs to the OSI dissector, and export it for use by the CDP dissector. Fix the CDP dissector as per the documentation in http://www.cisco.com/univercd/cc/td/doc/product/lan/trsrb/frames.htm and as per some traces we have with CDP data in them. svn path=/trunk/; revision=1455
2000-01-12Add an "Hex. Dump" radio button to the "Contents of TCP stream" window. ItOlivier Abad1-39/+112
displays the contents of the TCP connexion in hexadecimal. The two opposite directions of the conversation are displayed side by side. svn path=/trunk/; revision=1454
2000-01-12For the Cisco OUI, always add the protocol ID to the tree if we'reGuy Harris1-8/+9
constructing a protocol tree. Don't add the protocol ID for unknown OUIs unless we're constructing a protocol tree. svn path=/trunk/; revision=1453
2000-01-12Cisco CDP packets appears to be sent as LLC packets with an OUI ofGuy Harris2-3/+24
0x00000c and a protocol ID of 0x2000 - we used to recognize those as CDP because we ignored the OUI and treated all LLC packets as SNAP-encapsulated packets, and treated 0x2000 as an Ethertype, but we now treat only encapsulated-Ethernet and Apple packets as SNAP-encapsulated (and arguably we should handle Apple separately). svn path=/trunk/; revision=1452
2000-01-12Enough is enough. Requiring anybody who uses Ethereal on Linux toGuy Harris1-2/+45
update their libpcap probably isn't going to scale - the increasing frequency with which "Ethereal hangs when I try to capture packets" shows up on "ethereal-dev" suggests that, unless and until a libpcap with the "select()" in it becomes ubiquitous on Linux, that'll be the source of a constant support burden - so we'll just put the "select()" in Ethereal if it's being built for Linux. (Putting it in for platforms where the read timeout argument to "pcap_open_live()" works adds an extra useless system call at best and, at worst, could make Ethereal not work - "select()" doesn't work on "/dev/bpf" devices on FreeBSD 3.3, at least, unless you're in "immediate mode", and, whilst "immediate mode" would make Ethereal respond more quickly when packets arrive, it might cause Ethereal to respond too quickly, doing reads for every new packet rather than waiting for multiple packets to arrive and reading them all with one "read()", which appears to be at least part of the intent of the read timeout on "/dev/bpf" devices in BSD.) svn path=/trunk/; revision=1451
2000-01-10Remove the reference to my old samples directory on the web server;Gilbert Ramirez1-4/+0
the new ethereal web site contains a link to its own samples directory. svn path=/trunk/; revision=1450
2000-01-10Updates to the L2TP parser, from Laurent Cazalet and Thomas Parvais.Guy Harris3-37/+120
svn path=/trunk/; revision=1449
2000-01-10Some initial changes for win32 support, but not all.Gilbert Ramirez18-28/+142
Added lots of #ifdef HAVE_*_H wrappers. Added some #defines in config.h.win32 Check for more headers in configure.in Added prototype for inet_aton() in inet_v6defs.h. Changed "BYTE" token (i.e., #define) in ascend-gramamr.y because it conflicts with a windows definition. Use HEXBYTE instead. svn path=/trunk/; revision=1448
2000-01-10Move the code in "column.c" that implements the column preferences tabGuy Harris8-373/+434
into "gtk/column_prefs.c". Get rid of "get_column_width()" - instead, export "get_column_longest_string()", and have "get_column_width()"'s callers make the GDK call to get the width of that string, so that "column.c" contains no GTK+/GDK code. svn path=/trunk/; revision=1447
2000-01-09Add a man page for "editcap".Guy Harris4-3/+111
svn path=/trunk/; revision=1446
2000-01-09Make "editcap" one of the standard targets, so it's built and installedGuy Harris2-11/+23
by default. Use the automake mechanisms for it, and, having done so, arrange that it not be linked with GTK+ (which it doesn't need) - it currently links with libpcap, but that should be fixed as well. (It also needs a man page.) svn path=/trunk/; revision=1445
2000-01-09Add finaly news item.Gilbert Ramirez1-0/+1
svn path=/trunk/; revision=1443
2000-01-09Add to some comments notes on the meaning of DLT types 15 and 16 onGuy Harris1-3/+15
Linux systems with the isdn4linux patches; they help make DLT types even less useful than they were after the various flavors of BSD proceeded to add their own types past 14, with no coordination whatosever, so that they overlapped, rendering it impossible to read a libpcap capture file without knowing what particular OS generated it. svn path=/trunk/; revision=1442
2000-01-08Don't recompute "cf->count" when filtering packets - the recomputationGuy Harris2-25/+23
will just give it the value it's always had, as packets are counted regardless of whether they pass the filter or not (which is what we want). Given that, so there's no need for a separate "cf->unfiltered_count" value, so get rid of it and use "cf->count" instead. svn path=/trunk/; revision=1441
2000-01-08Allow people to print packets if there are packets to print, even ifGuy Harris1-2/+2
we're in the middle of an "Update list of packets in real time" capture. svn path=/trunk/; revision=1440
2000-01-08Fix my typo in a variable name.Gilbert Ramirez1-2/+2
svn path=/trunk/; revision=1439
2000-01-08I finally got autoconf, automake, and the plugins to behave together.Gilbert Ramirez8-872/+47
The distro is buildable finally. I had to change "plugins/gryphon" from a separately configured (i.e., "./configure") package to a member of the main ethereal autoconf package so that PLUGIN_DIR could be passed to plugins/gryphon/Makefile.am. In doing so, I had to get rid of plugins/gryphon/config.h which had PACKAGE and VERSION #defined, the latter of which was actually used in packet-gryphon.c. So I moved those two #defines into a new file, plugins/gryphon/moduleinfo.h. svn path=/trunk/; revision=1438
2000-01-07Fix Gerald's e-mail address.Guy Harris56-111/+111
svn path=/trunk/; revision=1437
2000-01-07Indicate the RFC that specifies L2TP.Guy Harris1-29/+28
Update Gerald's e-mail address. Make some variables static. Make some *other* variables auto, as they don't need to have static storage duration. svn path=/trunk/; revision=1436
2000-01-07Include L2TP support in the list of new features in 0.8.1.Guy Harris1-0/+1
svn path=/trunk/; revision=1435
2000-01-07The L2TP dissector is by John Thomes, not John Thomas.Guy Harris2-2/+2
svn path=/trunk/; revision=1434