home *** CD-ROM | disk | FTP | other *** search
/ PC Answers 2003 September / PC Answers September 2003.iso / Software / toolkit / ethereal / ethereal-setup-0.9.13a.exe / $INSTDIR / FAQ < prev    next >
Encoding:
Text File  |  2003-07-07  |  77.2 KB  |  1,701 lines

  1.  
  2.    The Ethereal FAQ
  3.  
  4.    Note: This is just an ASCII snapshot of the faq and may not be up to
  5.          date. Please go to http://www.ethereal.com/faq for the up to
  6.          date version. The version of this snapshot can be found at the
  7.          end of this document.
  8.  
  9.    INDEX
  10.  
  11.    General Questions:
  12.  
  13.    1.1 Where can I get help?
  14.  
  15.    1.2 What protocols are currently supported?
  16.  
  17.    1.3 Are there any plans to support {your favorite protocol}?
  18.  
  19.    1.4 Can Ethereal read capture files from {your favorite network
  20.    analyzer}?
  21.  
  22.    1.5 What devices can Ethereal use to capture packets?
  23.  
  24.    1.6 How do you pronounce Ethereal? Where did the name come from?
  25.  
  26.    Downloading Ethereal:
  27.  
  28.    2.1 I downloaded the Win32 installer, but when I try to run it, I get
  29.    an error.
  30.  
  31.    2.2 When I try to download the WinPcap driver and library, I can't get
  32.    to the WinPcap Web site.
  33.  
  34.    Installing Ethereal:
  35.  
  36.    3.1 I installed an Ethereal RPM, but Ethereal doesn't seem to be
  37.    installed; only Tethereal is installed.
  38.  
  39.    Building Ethereal:
  40.  
  41.    4.1 The configure script can't find pcap.h or bpf.h, but I have
  42.    libpcap installed.
  43.  
  44.    4.2 Why do I get the error 
  45.  
  46.      dftest_DEPENDENCIES was already defined in condition TRUE, which
  47.      implies condition HAVE_PLUGINS_TRUE
  48.  
  49.    when I try to build Ethereal from CVS or a CVS snapshot?
  50.  
  51.    4.3 The link fails with a number of "Output line too long." messages
  52.    followed by linker errors. 
  53.  
  54.    4.4 The link fails on Solaris because plugin_list is undefined. 
  55.  
  56.    4.5 The build fails on Windows because of conflicts between winsock.h
  57.    and winsock2.h. 
  58.  
  59.    Using Ethereal:
  60.  
  61.    5.1 When I use Ethereal to capture packets, I see only packets to and
  62.    from my machine, or I'm not seeing all the traffic I'm expecting to
  63.    see from or to the machine I'm trying to monitor.
  64.  
  65.    5.2 I can't see any TCP packets other than packets to and from my
  66.    machine, even though another sniffer on the network sees those
  67.    packets.
  68.  
  69.    5.3 I'm only seeing ARP packets when I try to capture traffic.
  70.  
  71.    5.4 How do I put an interface into promiscuous mode?
  72.  
  73.    5.5 I can set a display filter just fine, but capture filters don't
  74.    work.
  75.  
  76.    5.6 I'm entering valid capture filters, but I still get "parse error"
  77.    errors.
  78.  
  79.    5.7 I saved a filter and tried to use its name to filter the display,
  80.    but I got an "Unexpected end of filter string" error.
  81.  
  82.    5.8 Why am I seeing lots of packets with incorrect TCP checksums?
  83.  
  84.    5.9 I've just installed Ethereal, and the traffic on my local LAN is
  85.    boring.
  86.  
  87.    5.10 When I run Ethereal on Solaris 8, it dies with a Bus Error when I
  88.    start it.
  89.  
  90.    5.11 When I try to run Ethereal, it complains about
  91.    sprint_realloc_objid being undefined.
  92.  
  93.    5.12 I'm running Ethereal on Linux; why do my time stamps have only
  94.    100ms resolution, rather than 1us resolution?
  95.  
  96.    5.13 I'm capturing packets on {Windows 95, Windows 98, Windows Me};
  97.    why are the time stamps on packets wrong? 
  98.  
  99.    5.14 When I try to run Ethereal on Windows, it fails to run because it
  100.    can't find packet.dll.
  101.  
  102.    5.15 I'm running Ethereal on Windows; why does some network interface
  103.    on my machine not show up in the list of interfaces in the
  104.    "Interface:" field in the dialog box popped up by "Capture->Start",
  105.    and/or why does Ethereal give me an error if I try to capture on that
  106.    interface? 
  107.  
  108.    5.16 I'm running on a UNIX-flavored OS; why does some network
  109.    interface on my machine not show up in the list of interfaces in the
  110.    "Interface:" field in the dialog box popped up by "Capture->Start",
  111.    and/or why does Ethereal give me an error if I try to capture on that
  112.    interface? 
  113.  
  114.    5.17 I'm running Ethereal on Windows NT/2000/XP/Server; my machine has
  115.    a PPP (dial-up POTS, ISDN, etc.) interface, and it shows up in the
  116.    "Interface" item in the "Capture Options" dialog box. Why can no
  117.    packets be sent on or received from that network while I'm trying to
  118.    capture traffic on that interface?
  119.  
  120.    5.18 I'm running Ethereal on Windows 95/98/Me, on a machine with more
  121.    than one network adapter of the same type; Ethereal shows all of those
  122.    adapters with the same name, but I can't use any of those adapters
  123.    other than the first one.
  124.  
  125.    5.19 I'm running Ethereal on Windows, and I'm not seeing any traffic
  126.    being sent by the machine running Ethereal.
  127.  
  128.    5.20 I'm trying to capture traffic but I'm not seeing any.
  129.  
  130.    5.21 I have an XXX network card on my machine; if I try to capture on
  131.    it, my machine crashes or resets itself. 
  132.  
  133.    5.22 My machine crashes or resets itself when I select "Start" from
  134.    the "Capture" menu or select "Preferences" from the "Edit" menu. 
  135.  
  136.    5.23 Does Ethereal work on Windows ME? 
  137.  
  138.    5.24 Does Ethereal work on Windows XP? 
  139.  
  140.    5.25 Why doesn't Ethereal correctly identify RTP packets? It shows
  141.    them only as UDP.
  142.  
  143.    5.26 Why doesn't Ethereal show Yahoo Messenger packets in captures
  144.    that contain Yahoo Messenger traffic?
  145.  
  146.    5.27 Why do I get the error 
  147.  
  148.      Gdk-ERROR **: Palettized display (256-colour) mode not supported on
  149.      Windows.
  150.      aborting....
  151.  
  152.    when I try to run Ethereal on Windows?
  153.  
  154.    5.28 When I capture on Windows in promiscuous mode, I can see packets
  155.    other than those sent to or from my machine; however, those packets
  156.    show up with a "Short Frame" indication, unlike packets to or from my
  157.    machine. What should I do to arrange that I see those packets in their
  158.    entirety? 
  159.  
  160.    5.29 How can I capture raw 802.11 packets, including non-data
  161.    (management, beacon) packets? 
  162.  
  163.    5.30 How can I capture packets with CRC errors? 
  164.  
  165.    5.31 How can I capture entire frames, including the FCS? 
  166.  
  167.    5.32 Ethereal hangs after I stop a capture. 
  168.  
  169.    5.33 How can I search for, or filter, packets that have a particular
  170.    string anywhere in them? 
  171.  
  172.    GENERAL QUESTIONS 
  173.    Q 1.1: Where can I get help?
  174.  
  175.    A: Support is available on the ethereal-users mailing list.
  176.    Subscription information and archives for all of Ethereal's mailing
  177.    lists can be found at http://www.ethereal.com/lists
  178.  
  179.    Q 1.2: What protocols are currently supported?
  180.  
  181.    A: There are currently 381 supported protocols and media, listed
  182.    below. Descriptions can be found in the ethereal(1) man page.
  183.  
  184.             802.1q Virtual LAN
  185.             802.1x Authentication
  186.             AFS (4.0) Replication Server call declarations
  187.             AOL Instant Messenger
  188.             ARCNET
  189.             ATM
  190.             ATM AAL1
  191.             ATM AAL3/4
  192.             ATM LAN Emulation
  193.             ATM OAM AAL
  194.             AVS WLAN Capture header
  195.             Ad hoc On-demand Distance Vector Routing Protocol
  196.             Address Resolution Protocol
  197.             Aggregate Server Access Protocol
  198.             Alert Standard Forum
  199.             Andrew File System (AFS)
  200.             Apache JServ Protocol v1.3
  201.             AppleTalk Filing Protocol
  202.             AppleTalk Session Protocol
  203.             AppleTalk Transaction Protocol packet
  204.             Appletalk Address Resolution Protocol
  205.             Application Configuration Access Protocol
  206.             Async data over ISDN (V.120)
  207.             Authentication Header
  208.             BACnet Virtual Link Control
  209.             Banyan Vines ARP
  210.             Banyan Vines Echo
  211.             Banyan Vines Fragmentation Protocol
  212.             Banyan Vines ICP
  213.             Banyan Vines IP
  214.             Banyan Vines IPC
  215.             Banyan Vines LLC
  216.             Banyan Vines RTP
  217.             Banyan Vines SPP
  218.             Blocks Extensible Exchange Protocol
  219.             Boardwalk
  220.             Boot Parameters
  221.             Bootstrap Protocol
  222.             Border Gateway Protocol
  223.             Building Automation and Control Network APDU
  224.             Building Automation and Control Network NPDU
  225.             CDS Clerk Server Calls
  226.             Check Point High Availability Protocol
  227.             Checkpoint FW-1
  228.             Cisco Auto-RP
  229.             Cisco Discovery Protocol
  230.             Cisco Group Management Protocol
  231.             Cisco HDLC
  232.             Cisco Hot Standby Router Protocol
  233.             Cisco ISL
  234.             Cisco Interior Gateway Routing Protocol
  235.             Cisco NetFlow
  236.             Cisco SLARP
  237.             Clearcase NFS
  238.             CoSine IPNOS L2 debug output
  239.             Common Open Policy Service
  240.             Common Unix Printing System (CUPS) Browsing Protocol
  241.             DCE DFS Calls
  242.             DCE Distributed Time Service Local Server
  243.             DCE Distributed Time Service Provider
  244.             DCE Name Service
  245.             DCE RPC
  246.             DCE Security ID Mapper
  247.             DCE/RPC BOS Server
  248.             DCE/RPC CDS Solicitation
  249.             DCE/RPC Conversation Manager
  250.             DCE/RPC Endpoint Mapper
  251.             DCE/RPC FLDB
  252.             DCE/RPC FLDB UBIK TRANSFER
  253.             DCE/RPC FLDB UBIKVOTE
  254.             DCE/RPC Kerberos V
  255.             DCE/RPC RS_ACCT
  256.             DCE/RPC RS_MISC
  257.             DCE/RPC RS_UNIX
  258.             DCE/RPC Remote Management
  259.             DCE/RPC Repserver Calls
  260.             DCE/RPC TokenServer Calls
  261.             DCE/RPC UpServer
  262.             DCOM OXID Resolver
  263.             DCOM Remote Activation
  264.             DEC Spanning Tree Protocol
  265.             DHCPv6
  266.             DNS Control Program Server
  267.             Data
  268.             Data Link SWitching
  269.             Data Stream Interface
  270.             Datagram Delivery Protocol
  271.             Diameter Protocol
  272.             Distance Vector Multicast Routing Protocol
  273.             Distributed Checksum Clearinghouse Prototocl
  274.             Domain Name Service
  275.             Dynamic DNS Tools Protocol
  276.             Encapsulating Security Payload
  277.             Enhanced Interior Gateway Routing Protocol
  278.             Ethernet
  279.             Ethernet over IP
  280.             Extensible Authentication Protocol
  281.             FC Extended Link Svc
  282.             FC Fabric Configuration Server
  283.             FCIP
  284.             FTP Data
  285.             FTServer Operations
  286.             Fiber Distributed Data Interface
  287.             Fibre Channel
  288.             Fibre Channel Common Transport
  289.             Fibre Channel Fabric Zone Server
  290.             Fibre Channel Name Server
  291.             Fibre Channel Protocol for SCSI
  292.             Fibre Channel SW_ILS
  293.             File Transfer Protocol (FTP)
  294.             Financial Information eXchange Protocol
  295.             Frame
  296.             Frame Relay
  297.             GARP Multicast Registration Protocol
  298.             GARP VLAN Registration Protocol
  299.             GPRS Tunneling Protocol
  300.             GPRS Tunnelling Protocol v0
  301.             GPRS Tunnelling Protocol v1
  302.             General Inter-ORB Protocol
  303.             Generic Routing Encapsulation
  304.             Generic Security Service Application Program Interface
  305.             Gnutella Protocol
  306.             HP Extended Local-Link Control
  307.             HP Remote Maintenance Protocol
  308.             Hummingbird NFS Daemon
  309.             HyperSCSI
  310.             Hypertext Transfer Protocol
  311.             ICQ Protocol
  312.             IEEE 802.11 wireless LAN
  313.             IEEE 802.11 wireless LAN management frame
  314.             ILMI
  315.             IP Over FC
  316.             IP Payload Compression
  317.             IPX Message
  318.             IPX Routing Information Protocol
  319.             IPX WAN
  320.             ISDN
  321.             ISDN Q.921-User Adaptation Layer
  322.             ISDN User Part
  323.             ISO 10589 ISIS InTRA Domain Routeing Information Exchange Protocol
  324.             ISO 8073 COTP Connection-Oriented Transport Protocol
  325.             ISO 8473 CLNP ConnectionLess Network Protocol
  326.             ISO 8602 CLTP ConnectionLess Transport Protocol
  327.             ISO 9542 ESIS Routeing Information Exchange Protocol
  328.             ITU-T Recommendation H.261
  329.             Intel ANS probe
  330.             Intelligent Platform Management Interface
  331.             Inter-Access-Point Protocol
  332.             Interbase
  333.             Internet Cache Protocol
  334.             Internet Content Adaptation Protocol
  335.             Internet Control Message Protocol
  336.             Internet Control Message Protocol v6
  337.             Internet Group Management Protocol
  338.             Internet Message Access Protocol
  339.             Internet Printing Protocol
  340.             Internet Protocol
  341.             Internet Protocol Version 6
  342.             Internet Relay Chat
  343.             Internet Security Association and Key Management Protocol
  344.             Internetwork Packet eXchange
  345.             Java RMI
  346.             Java Serialization
  347.             Kerberos
  348.             Kerberos Administration
  349.             Kernel Lock Manager
  350.             Label Distribution Protocol
  351.             Layer 2 Tunneling Protocol
  352.             Lightweight Directory Access Protocol
  353.             Line Printer Daemon Protocol
  354.             Link Access Procedure Balanced (LAPB)
  355.             Link Access Procedure Balanced Ethernet (LAPBETHER)
  356.             Link Access Procedure, Channel D (LAPD)
  357.             Link Aggregation Control Protocol
  358.             Link Management Protocol (LMP)
  359.             Linux cooked-mode capture
  360.             Local Management Interface
  361.             LocalTalk Link Access Protocol
  362.             Logical-Link Control
  363.             Lucent/Ascend debug output
  364.             MDS Header
  365.             MMS Message Encapsulation
  366.             MS Proxy Protocol
  367.             MSN Messenger Service
  368.             MSNIP: Multicast Source Notification of Interest Protocol
  369.             MTP 2 Transparent Proxy
  370.             MTP 2 User Adaptation Layer
  371.             MTP 3 User Adaptation Layer
  372.             MTP2 Peer Adaptation Layer
  373.             Message Transfer Part Level 2
  374.             Message Transfer Part Level 3
  375.             Message Transfer Part Level 3 Management
  376.             Microsoft Distributed File System
  377.             Microsoft Exchange MAPI
  378.             Microsoft Local Security Architecture
  379.             Microsoft Local Security Architecture (Directory Services)
  380.             Microsoft Network Logon
  381.             Microsoft Registry
  382.             Microsoft Security Account Manager
  383.             Microsoft Server Service
  384.             Microsoft Service Control
  385.             Microsoft Spool Subsystem
  386.             Microsoft Telephony API Service
  387.             Microsoft Windows Browser Protocol
  388.             Microsoft Windows Lanman Remote API Protocol
  389.             Microsoft Windows Logon Protocol
  390.             Microsoft Workstation Service
  391.             Mobile IP
  392.             Mobile IPv6
  393.             Modbus/TCP
  394.             Mount Service
  395.             MultiProtocol Label Switching Header
  396.             Multicast Router DISCovery protocol
  397.             Multicast Source Discovery Protocol
  398.             MySQL Protocol
  399.             NFSACL
  400.             NFSAUTH
  401.             NIS+
  402.             NIS+ Callback
  403.             NSPI
  404.             NTLM Secure Service Provider
  405.             Name Binding Protocol
  406.             Name Management Protocol over IPX
  407.             NetBIOS
  408.             NetBIOS Datagram Service
  409.             NetBIOS Name Service
  410.             NetBIOS Session Service
  411.             NetBIOS over IPX
  412.             NetWare Core Protocol
  413.             NetWare Link Services Protocol
  414.             Network Data Management Protocol
  415.             Network File System
  416.             Network Lock Manager Protocol
  417.             Network News Transfer Protocol
  418.             Network Status Monitor CallBack Protocol
  419.             Network Status Monitor Protocol
  420.             Network Time Protocol
  421.             Novell Distributed Print System
  422.             Null/Loopback
  423.             Open Shortest Path First
  424.             OpenBSD Encapsulating device
  425.             OpenBSD Packet Filter log file
  426.             PC NFS
  427.             PPP Bandwidth Allocation Control Protocol
  428.             PPP Bandwidth Allocation Protocol
  429.             PPP CDP Control Protocol
  430.             PPP Callback Control Protocol
  431.             PPP Challenge Handshake Authentication Protocol
  432.             PPP Compressed Datagram
  433.             PPP Compression Control Protocol
  434.             PPP IP Control Protocol
  435.             PPP IPv6 Control Protocol
  436.             PPP Link Control Protocol
  437.             PPP MPLS Control Protocol
  438.             PPP Multilink Protocol
  439.             PPP Multiplexing
  440.             PPP Password Authentication Protocol
  441.             PPP VJ Compression
  442.             PPP-over-Ethernet Discovery
  443.             PPP-over-Ethernet Session
  444.             PPPMux Control Protocol
  445.             Point-to-Point Protocol
  446.             Point-to-Point Tunnelling Protocol
  447.             Portmap
  448.             Post Office Protocol
  449.             Pragmatic General Multicast
  450.             Prism
  451.             Privilege Server operations
  452.             Protocol Independent Multicast
  453.             Q.2931
  454.             Q.931
  455.             Quake II Network Protocol
  456.             Quake III Arena Network Protocol
  457.             Quake Network Protocol
  458.             QuakeWorld Network Protocol
  459.             Qualified Logical Link Control
  460.             RFC 2250 MPEG1
  461.             RIPng
  462.             RPC Browser
  463.             RSTAT
  464.             RSYNC File Synchroniser
  465.             RX Protocol
  466.             Radio Access Network Application Part
  467.             Radius Protocol
  468.             Raw packet data
  469.             Real Time Streaming Protocol
  470.             Real-Time Transport Protocol
  471.             Real-time Transport Control Protocol
  472.             Registry Server Attributes Manipulation Interface
  473.             Registry server administration operations.
  474.             Remote Management Control Protocol
  475.             Remote Override interface
  476.             Remote Procedure Call
  477.             Remote Program Load
  478.             Remote Quota
  479.             Remote Shell
  480.             Remote Wall protocol
  481.             Remote sec_login preauth interface.
  482.             Resource ReserVation Protocol (RSVP)
  483.             Rlogin Protocol
  484.             Routing Information Protocol
  485.             Routing Table Maintenance Protocol
  486.             SADMIND
  487.             SCSI
  488.             SGI Mount Service
  489.             SMB (Server Message Block Protocol)
  490.             SMB MailSlot Protocol
  491.             SMB Pipe Protocol
  492.             SNA-over-Ethernet
  493.             SNMP Multiplex Protocol
  494.             SPNEGO-KRB5
  495.             SPRAY
  496.             SS7 SCCP-User Adaptation Layer
  497.             SSCOP
  498.             SSH Protocol
  499.             Secure Socket Layer
  500.             Sequenced Packet eXchange
  501.             Service Advertisement Protocol
  502.             Service Location Protocol
  503.             Session Announcement Protocol
  504.             Session Description Protocol
  505.             Session Initiation Protocol
  506.             Short Message Peer to Peer
  507.             Signalling Connection Control Part
  508.             Signalling Connection Control Part Management
  509.             Simple Mail Transfer Protocol
  510.             Simple Network Management Protocol
  511.             Sinec H1 Protocol
  512.             Skinny Client Control Protocol
  513.             SliMP3 Communication Protocol
  514.             Socks Protocol
  515.             Spanning Tree Protocol
  516.             Spnego
  517.             Stream Control Transmission Protocol
  518.             Synchronous Data Link Control (SDLC)
  519.             Syslog message
  520.             Systems Network Architecture
  521.             Systems Network Architecture XID
  522.             TACACS
  523.             TACACS+
  524.             TPKT
  525.             Tabular Data Stream
  526.             Tazmen Sniffer Protocol
  527.             Telnet
  528.             Time Protocol
  529.             Time Synchronization Protocol
  530.             Token-Ring
  531.             Token-Ring Media Access Control
  532.             Transmission Control Protocol
  533.             Transparent Network Substrate Protocol
  534.             Trivial File Transfer Protocol
  535.             Universal Computer Protocol
  536.             User Datagram Protocol
  537.             Virtual Router Redundancy Protocol
  538.             Virtual Trunking Protocol
  539.             WAP Binary XML
  540.             Web Cache Coordination Protocol
  541.             Wellfleet Breath of Life
  542.             Wellfleet Compression
  543.             Wellfleet HDLC
  544.             Who
  545.             Windows 2000 DNS
  546.             Wireless Session Protocol
  547.             Wireless Transaction Protocol
  548.             Wireless Transport Layer Security
  549.             X Display Manager Control Protocol
  550.             X.25
  551.             X.25 over TCP
  552.             X.29
  553.             X11
  554.             Xyplex
  555.             Yahoo Messenger Protocol
  556.             Yahoo YMSG Messenger Protocol
  557.             Yellow Pages Bind
  558.             Yellow Pages Passwd
  559.             Yellow Pages Service
  560.             Yellow Pages Transfer
  561.             Zebra Protocol
  562.             Zone Information Protocol
  563.             iSCSI
  564.             iSNS
  565.  
  566.    Q 1.3: Are there any plans to support {your favorite protocol}?
  567.  
  568.    A: Support for particular protocols is added to Ethereal as a result
  569.    of people contributing that support; no formal plans for adding
  570.    support for particular protocols in particular future releases exist.
  571.  
  572.    Q 1.4: Can Ethereal read capture files from {your favorite network
  573.    analyzer}?
  574.  
  575.    A: Support for particular protocols is added to Ethereal as a result
  576.    of people contributing that support; no formal plans for adding
  577.    support for particular protocols in particular future releases exist.
  578.  
  579.    If a network analyzer writes out files in a format already supported
  580.    by Ethereal (e.g., in libpcap format), Ethereal may already be able to
  581.    read them, unless the analyzer has added its own proprietary
  582.    extensions to that format.
  583.  
  584.    If a network analyzer writes out files in its own format, or has added
  585.    proprietary extensions to another format, in order to make Ethereal
  586.    read captures from that network analyzer, we would either have to have
  587.    a specification for the file format, or the extensions, sufficient to
  588.    give us enough information to read the parts of the file relevant to
  589.    Ethereal, or would need at least one capture file in that format AND a
  590.    detailed textual analysis of the packets in that capture file (showing
  591.    packet time stamps, packet lengths, and the top-level packet header)
  592.    in order to reverse-engineer the file format.
  593.  
  594.    Note that there is no guarantee that we will be able to
  595.    reverse-engineer a capture file format.
  596.  
  597.    Q 1.5: What devices can Ethereal use to capture packets?
  598.  
  599.    A: Ethereal can read live data from Ethernet, Token-Ring, FDDI, serial
  600.    (PPP and SLIP) (if the OS on which it's running allows Ethereal to do
  601.    so), 802.11 wireless LAN (if the OS on which it's running allows
  602.    Ethereal to do so), ATM connections (if the OS on which it's running
  603.    allows Ethereal to do so), and the "any" device supported on Linux by
  604.    recent versions of libpcap. See the list of supported capture media on
  605.    various OSes for details (several items in there say "Unknown", which
  606.    doesn't mean "Ethereal can't capture on them", it means "we don't know
  607.    whether it can capture on them"; we expect that it will be able to
  608.    capture on many of them, but we haven't tried it ourselves - if you
  609.    try one of those types and it works, please send an update to
  610.    ethereal-web[AT]ethereal.com).
  611.  
  612.    It can also read a variety of capture file formats, including:
  613.      * libpcap/tcpdump
  614.      * Sun snoop/atmsnoop
  615.      * Shomiti/Finisar Surveyor
  616.      * LanAlyzer
  617.      * DOS-based Sniffer (compressed and uncompressed)
  618.      * MS Network Monitor
  619.      * AIX iptrace
  620.      * NetXray and Windows-based Sniffer
  621.      * EtherPeek/TokenPeek/AiroPeek
  622.      * RADCOM WAN/LAN analyzer
  623.      * Lucent/Ascend debug output
  624.      * Toshiba ISDN router "snoop" output
  625.      * HPUX nettl
  626.      * ISDN4BSD "i4btrace" utility.
  627.      * Cisco Secure IDS
  628.      * pppd log files (pppdump format)
  629.      * VMS TCPIPtrace
  630.      * DBS Etherwatch
  631.      * Visual Networks' Visual UpTime
  632.      * CoSine L2 debug
  633.  
  634.    so that it can read traces from various network types, as captured by
  635.    other applications or equipment, even if it cannot itself capture on
  636.    those network types.
  637.  
  638.    Q 1.6: How do you pronounce Ethereal? Where did the name come from?
  639.  
  640.    A: The English pronunciation can be found in Merriam-Webster's online
  641.    dictionary at
  642.    http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va=ethereal.
  643.  
  644.    According to the book "Computer Networks" by Andrew Tannenbaum,
  645.    Ethernet was named after the "luminiferous ether" which was once
  646.    thought to carry electromagnetic radiation. Taking that into
  647.    consideration, Ethereal seemed like an appropriate name for an
  648.    Ethernet sniffer.
  649.  
  650.    DOWNLOADING ETHEREAL 
  651.    Q 2.1: I downloaded the Win32 installer, but when I try to run it, I
  652.    get an error.
  653.  
  654.    A: The program you used to download it may have downloaded it
  655.    incorrectly. Web browsers sometimes may do this.
  656.  
  657.    Try downloading it with, for example:
  658.      * Wget, for which Windows binaries are available on the SunSITE FTP
  659.        server at sunsite.tk or Heiko Herold's windows wget spot - wGetGUI
  660.        offers a GUI interface that uses wget;
  661.      * WS_FTP from Ipswitch,
  662.      * the ftp command that comes with Windows.
  663.  
  664.    If you use the ftp command, make sure you do the transfer in binary
  665.    mode rather than ASCII mode, by using the binary command before
  666.    transferring the file.
  667.  
  668.    Q 2.2: When I try to download the WinPcap driver and library, I can't
  669.    get to the WinPcap Web site.
  670.  
  671.    A: As is the case with all Web sites, that site won't necessarily
  672.    always be accessible; the server may be down due to a problem or down
  673.    for maintenance, or there may be a networking problem between you and
  674.    the server. You should try again later, or try the local mirror or the
  675.    Wiretapped.net mirror.
  676.  
  677.    INSTALLING ETHEREAL 
  678.    Q 3.1: I installed an Ethereal RPM, but Ethereal doesn't seem to be
  679.    installed; only Tethereal is installed.
  680.  
  681.    A: Red Hat RPMs for Ethereal put only the non-GUI components into the
  682.    ethereal RPM, the fact that Ethereal is a GUI program nonwithstanding;
  683.    there's a separate ethereal-gnome RPM that includes GUI components
  684.    such as Ethereal itself, the fact that Ethereal doesn't use GNOME
  685.    nonwithstanding. Find the ethereal-gnome RPM, and install that also.
  686.  
  687.    BUILDING ETHEREAL 
  688.    Q 4.1: The configure script can't find pcap.h or bpf.h, but I have
  689.    libpcap installed.
  690.  
  691.    A: Are you sure pcap.h and bpf.h are installed? The official
  692.    distribution of libpcap only installs the libpcap.a library file when
  693.    "make install" is run. To install pcap.h and bpf.h, you must run "make
  694.    install-incl". If you're running Debian or Redhat, make sure you have
  695.    the "libpcap-dev" or "libpcap-devel" packages installed.
  696.  
  697.    It's also possible that pcap.h and bpf.h have been installed in a
  698.    strange location. If this is the case, you may have to tweak
  699.    aclocal.m4.
  700.  
  701.    Q 4.2: Why do I get the error 
  702.  
  703.      dftest_DEPENDENCIES was already defined in condition TRUE, which
  704.      implies condition HAVE_PLUGINS_TRUE
  705.  
  706.    when I try to build Ethereal from CVS or a CVS snapshot?
  707.  
  708.    A: You probably have automake 1.5 installed on your machine (the
  709.    command automake --version will report the version of automake on your
  710.    machine). There is a bug in that version of automake that causes this
  711.    problem; upgrade to a later version of automake (1.6 or later).
  712.  
  713.    Q 4.3: The link fails with a number of "Output line too long."
  714.    messages followed by linker errors. 
  715.  
  716.    A: The version of the sed command on your system is incapable of
  717.    handling very long lines. On Solaris, for example, /usr/bin/sed has a
  718.    line length limit too low to allow libtool to work; /usr/xpg4/bin/sed
  719.    can handle it, as can GNU sed if you have it installed.
  720.  
  721.    On Solaris, changing your command search path to search /usr/xpg4/bin
  722.    before /usr/bin should make the problem go away; on any platform on
  723.    which you have this problem, installing GNU sed and changing your
  724.    command path to search the directory in which it is installed before
  725.    searching the directory with the version of sed that came with the OS
  726.    should make the problem go away.
  727.  
  728.    Q 4.4: The link fails on Solaris because plugin_list is undefined. 
  729.  
  730.    A: This appears to be due to a problem with some versions of the GTK+
  731.    and GLib packages from www.sunfreeware.org; un-install those packages,
  732.    and try getting the 1.2.10 versions from that site, or the versions
  733.    from The Written Word, or the versions from Sun's GNOME distribution,
  734.    or the versions from the supplemental software CD that comes with the
  735.    Solaris media kit, or build them from source from the GTK Web site.
  736.    Then re-run the configuration script, and try rebuilding Ethereal. (If
  737.    you get the 1.2.10 versions from www.sunfreeware.org, and the problem
  738.    persists, un-install them and try installing one of the other versions
  739.    mentioned.)
  740.  
  741.    Q 4.5: The build fails on Windows because of conflicts between
  742.    winsock.h and winsock2.h. 
  743.  
  744.    A: As of Ethereal 0.9.5, you must install WinPcap 2.3 or later, and
  745.    the corresponding version of the developer's pack, in order to be able
  746.    to compile Ethereal; it will not compile with older versions of the
  747.    developer's pack. The symptoms of this failure are conflicts between
  748.    definitions in winsock.h and in winsock2.h; Ethereal uses winsock2.h,
  749.    but pre-2.3 versions of the WinPcap developer's packet use winsock.h.
  750.    (2.3 uses winsock2.h, so if Ethereal were to use winsock.h, it would
  751.    not be able to build with current versions of the WinPcap developer's
  752.    pack.)
  753.  
  754.    Note that the installed version of the developer's pack should be the
  755.    same version as the version of WinPcap you have installed.
  756.  
  757.    USING ETHEREAL 
  758.    Q 5.1: When I use Ethereal to capture packets, I see only packets to
  759.    and from my machine, or I'm not seeing all the traffic I'm expecting
  760.    to see from or to the machine I'm trying to monitor.
  761.  
  762.    A: This might be because the interface on which you're capturing is
  763.    plugged into a switch; on a switched network, unicast traffic between
  764.    two ports will not necessarily appear on other ports - only broadcast
  765.    and multicast traffic will be sent to all ports.
  766.  
  767.    Note that even if your machine is plugged into a hub, the "hub" may be
  768.    a switched hub, in which case you're still on a switched network.
  769.  
  770.    Note also that on the Linksys Web site, they say that their
  771.    auto-sensing hubs "broadcast the 10Mb packets to the port that operate
  772.    at 10Mb only and broadcast the 100Mb packets to the ports that operate
  773.    at 100Mb only", which would indicate that if you sniff on a 10Mb port,
  774.    you will not see traffic coming sent to a 100Mb port, and vice versa.
  775.    This problem has also been reported for Netgear dual-speed hubs, and
  776.    may exist for other "auto-sensing" or "dual-speed" hubs.
  777.  
  778.    Some switches have the ability to replicate all traffic on all ports
  779.    to a single port so that you can plug your sniffer into that single
  780.    port to sniff all traffic. You would have to check the documentation
  781.    for the switch to see if this is possible and, if so, to see how to do
  782.    this. See, for example:
  783.      * this documentation from Cisco on the Switched Port Analyzer (SPAN)
  784.        feature on Catalyst switches;
  785.      * documentation from HP on how to set "monitoring"/"mirroring" on
  786.        ports on the console for HP Advancestack Switch 208 and 224;
  787.      * the "Network Monitoring Port Features" section of chapter 6 of
  788.        documentation from HP for HP ProCurve Switches 1600M, 2424M,
  789.        4000M, and 8000M.
  790.  
  791.    Note also that many firewall/NAT boxes have a switch built into them;
  792.    this includes many of the "cable/DSL router" boxes. If you have a box
  793.    of that sort, that has a switch with some number of Ethernet ports
  794.    into which you plug machines on your network, and another Ethernet
  795.    port used to connect to a cable or DSL modem, you can, at least, sniff
  796.    traffic between the machines on your network and the Internet by
  797.    plugging the Ethernet port on the router going to the modem, the
  798.    Ethernet port on the modem, and the machine on which you're running
  799.    Ethereal into a hub (make sure it's not a switching hub, and that, if
  800.    it's a dual-speed hub, all three of those ports are running at the
  801.    same speed.
  802.  
  803.    If your machine is not plugged into a switched network or a dual-speed
  804.    hub, or it is plugged into a switched network but the port is set up
  805.    to have all traffic replicated to it, the problem might be that the
  806.    network interface on which you're capturing doesn't support
  807.    "promiscuous" mode, or because your OS can't put the interface into
  808.    promiscuous mode. Normally, network interfaces supply to the host
  809.    only:
  810.      * packets sent to one of that host's link-layer addresses;
  811.      * broadcast packets;
  812.      * multicast packets sent to a multicast address that the host has
  813.        configured the interface to accept.
  814.  
  815.    Most network interfaces can also be put in "promiscuous" mode, in
  816.    which they supply to the host all network packets they see. Ethereal
  817.    will try to put the interface on which it's capturing into promiscuous
  818.    mode unless the "Capture packets in promiscuous mode" option is turned
  819.    off in the "Capture Options" dialog box, and Tethereal will try to put
  820.    the interface on which it's capturing into promiscuous mode unless the
  821.    -p option was specified. However, some network interfaces don't
  822.    support promiscuous mode, and some OSes might not allow interfaces to
  823.    be put into promiscuous mode.
  824.  
  825.    If the interface is not running in promiscuous mode, it won't see any
  826.    traffic that isn't intended to be seen by your machine. It will see
  827.    broadcast packets, and multicast packets sent to a multicast MAC
  828.    address the interface is set up to receive.
  829.  
  830.    You should ask the vendor of your network interface whether it
  831.    supports promiscuous mode. If it does, you should ask whoever supplied
  832.    the driver for the interface (the vendor, or the supplier of the OS
  833.    you're running on your machine) whether it supports promiscuous mode
  834.    with that network interface.
  835.  
  836.    In the case of token ring interfaces, the drivers for some of them, on
  837.    Windows, may require you to enable promiscuous mode in order to
  838.    capture in promiscuous mode. Ask the vendor of the card how to do
  839.    this, or see, for example, this information on promiscuous mode on
  840.    some Madge token ring adapters (note that those cards can have
  841.    promiscuous mode disabled permanently, in which case you can't enable
  842.    it).
  843.  
  844.    In the case of wireless LAN interfaces, it appears that, when those
  845.    interfaces are promiscuously sniffing, they're running in a
  846.    significantly different mode from the mode that they run in when
  847.    they're just acting as network interfaces (to the extent that it would
  848.    be a significant effor for those drivers to support for promiscuously
  849.    sniffing and acting as regular network interfaces at the same time),
  850.    so it may be that Windows drivers for those interfaces don't support
  851.    promiscuous mode.
  852.  
  853.    Q 5.2: I can't see any TCP packets other than packets to and from my
  854.    machine, even though another sniffer on the network sees those
  855.    packets.
  856.  
  857.    A: You're probably not seeing any packets other than unicast packets
  858.    to or from your machine, and broadcast and multicast packets; a switch
  859.    will normally send to a port only unicast traffic sent to the MAC
  860.    address for the interface on that port, and broadcast and multicast
  861.    traffic - it won't send to that port unicast traffic sent to a MAC
  862.    address for some other interface - and a network interface not in
  863.    promiscuous mode will receive only unicast traffic sent to the MAC
  864.    address for that interface, broadcast traffic, and multicast traffic
  865.    sent to a multicast MAC address the interface is set up to receive.
  866.  
  867.    TCP doesn't use broadcast or multicast, so you will only see your own
  868.    TCP traffic, but UDP services may use broadcast or multicast so you'll
  869.    see some UDP traffic - however, this is not a problem with TCP
  870.    traffic, it's a problem with unicast traffic, as you also won't see
  871.    all UDP traffic between other machines.
  872.  
  873.    I.e., this is probably the same question as this earlier one; see the
  874.    response to that question.
  875.  
  876.    Q 5.3: I'm only seeing ARP packets when I try to capture traffic.
  877.  
  878.    A: You're probably on a switched network, and running Ethereal on a
  879.    machine that's not sending traffic to the switch and not being sent
  880.    any traffic from other machines on the switch. ARP packets are often
  881.    broadcast packets, which are sent to all switch ports.
  882.  
  883.    I.e., this is probably the same question as this earlier one; see the
  884.    response to that question.
  885.  
  886.    Q 5.4: How do I put an interface into promiscuous mode?
  887.  
  888.    A: By not disabling promiscuous mode when running Ethereal or
  889.    Tethereal.
  890.  
  891.    Note, however, that:
  892.      * the form of promiscuous mode that libpcap (the library that
  893.        programs such as tcpdump, Ethereal, etc. use to do packet capture)
  894.        turns on will not necessarily be shown if you run ifconfig on the
  895.        interface on a UNIX system;
  896.      * some network interfaces might not support promiscuous mode, and
  897.        some drivers might not allow promiscuous mode to be turned on -
  898.        see this earlier question for more information on that;
  899.      * the fact that you're not seeing any traffic, or are only seeing
  900.        broadcast traffic, or aren't seeing any non-broadcast traffic
  901.        other than traffic to or from the machine running Ethereal, does
  902.        not mean that promiscuous mode isn't on - see this earlier
  903.        question for more information on that.
  904.  
  905.    I.e., this is probably the same question as this earlier one; see the
  906.    response to that question.
  907.  
  908.    Q 5.5: I can set a display filter just fine, but capture filters don't
  909.    work.
  910.  
  911.    A: Capture filters currently use a different syntax than display
  912.    filters. Here's the corresponding section from the ethereal(1) man
  913.    page:
  914.  
  915.    "Display filters in Ethereal are very powerful; more fields are
  916.    filterable in Ethereal than in other protocol analyzers, and the
  917.    syntax you can use to create your filters is richer. As Ethereal
  918.    progresses, expect more and more protocol fields to be allowed in
  919.    display filters.
  920.  
  921.    Packet capturing is performed with the pcap library. The capture
  922.    filter syntax follows the rules of the pcap library. This syntax is
  923.    different from the display filter syntax."
  924.  
  925.    The capture filter syntax used by libpcap can be found in the
  926.    tcpdump(8) man page.
  927.  
  928.    Q 5.6: I'm entering valid capture filters, but I still get "parse
  929.    error" errors.
  930.  
  931.    A: There is a bug in some versions of libpcap/WinPcap that cause it to
  932.    report parse errors even for valid expressions if a previous filter
  933.    expression was invalid and got a parse error.
  934.  
  935.    Try exiting and restarting Ethereal; if you are using a version of
  936.    libpcap/WinPcap with this bug, this will "erase" its memory of the
  937.    previous parse error. If the capture filter that got the "parse error"
  938.    now works, the earlier error with that filter was probably due to this
  939.    bug.
  940.  
  941.    The bug was fixed in libpcap 0.6; 0.4[.x] and 0.5[.x] versions of
  942.    libpcap have this bug, but 0.6[.x] and later versions don't.
  943.  
  944.    Versions of WinPcap prior to 2.3 are based on pre-0.6 versions of
  945.    libpcap, and have this bug; WinPcap 2.3 is based on libpcap 0.6.2, and
  946.    doesn't have this bug.
  947.  
  948.    If you are running Ethereal on a UNIX-flavored platform, run "ethereal
  949.    -v", or select "About Ethereal..." from the "Help" menu in Ethereal,
  950.    to see what version of libpcap it's using. If it's not 0.6 or later,
  951.    you will need either to upgrade your OS to get a later version of
  952.    libpcap, or will need to build and install a later version of libpcap
  953.    from the tcpdump.org Web site and then recompile Ethereal from source
  954.    with that later version of libpcap.
  955.  
  956.    If you are running Ethereal on Windows with a pre-2.3 version of
  957.    WinPcap, you will need to un-install WinPcap and then download and
  958.    install WinPcap 2.3.
  959.  
  960.    Q 5.7: I saved a filter and tried to use its name to filter the
  961.    display, but I got an "Unexpected end of filter string" error.
  962.  
  963.    A: You cannot use the name of a saved display filter as a filter. To
  964.    filter the display, you can enter a display filter expression - not
  965.    the name of a saved display filter - in the "Filter:" box at the
  966.    bottom of the display, and type the key or press the "Apply" button
  967.    (that does not require you to have a saved filter), or, if you want to
  968.    use a saved filter, you can press the "Filter:" button, select the
  969.    filter in the dialog box that pops up, and press the "OK" button.
  970.  
  971.    Q 5.8: Why am I seeing lots of packets with incorrect TCP checksums?
  972.  
  973.    A: If the packets that have incorrect TCP checksums are all being sent
  974.    by the machine on which Ethereal is running, this is probably because
  975.    the network interface on which you're capturing does TCP checksum
  976.    offloading. That means that the TCP checksum is added to the packet by
  977.    the network interface, not by the OS's TCP/IP stack; when capturing on
  978.    an interface, packets being sent by the host on which you're capturing
  979.    are directly handed to the capture interface by the OS, which means
  980.    that they are handed to the capture interface without a TCP checksum
  981.    being added to them.
  982.  
  983.    The only way to prevent this from happening would be to disable TCP
  984.    checksum offloading, but
  985.     1. that might not even be possible on some OSes;
  986.     2. that could reduce networking performance significantly.
  987.  
  988.    However, you can disable the check that Ethereal does of the TCP
  989.    checksum, so that it won't report any packets as having TCP checksum
  990.    errors, and so that it won't refuse to do TCP reassembly due to a
  991.    packet having an incorrect TCP checksum. That can be set as an
  992.    Ethereal preference by selecting "Preferences" from the "Edit" menu,
  993.    opening up the "Protocols" list in the left-hand pane of the
  994.    "Preferences" dialog box, selecting "TCP", from that list, turning off
  995.    the "Check the validity of the TCP checksum when possible" option,
  996.    clicking "Save" if you want to save that setting in your preference
  997.    file, and clicking "OK".
  998.  
  999.    It can also be set on the Ethereal or Tethereal command line with a -o
  1000.    tcp.check_checksum:false command-line flag, or manually set in your
  1001.    preferences file by adding a tcp.check_checksum:false line.
  1002.  
  1003.    Q 5.9: I've just installed Ethereal, and the traffic on my local LAN
  1004.    is boring.
  1005.  
  1006.    A: We have a collection of strange and exotic sample capture files at
  1007.    http://www.ethereal.com/sample/
  1008.  
  1009.    Q 5.10: When I run Ethereal on Solaris 8, it dies with a Bus Error
  1010.    when I start it.
  1011.  
  1012.    A: Some versions of the GTK+ library from www.sunfreeware.org appear
  1013.    to be buggy, causing Ethereal to drop core with a Bus Error.
  1014.    Un-install those packages, and try getting the 1.2.10 version from
  1015.    that site, or the version from The Written Word, or the version from
  1016.    Sun's GNOME distribution, or the version from the supplemental
  1017.    software CD that comes with the Solaris media kit, or build it from
  1018.    source from the GTK Web site. Update the GLib library to the 1.2.10
  1019.    version, from the same source, as well. (If you get the 1.2.10
  1020.    versions from www.sunfreeware.org, and the problem persists,
  1021.    un-install them and try installing one of the other versions
  1022.    mentioned.)
  1023.  
  1024.    Similar problems may exist with older versions of GTK+ for earlier
  1025.    versions of Solaris.
  1026.  
  1027.    Q 5.11: When I try to run Ethereal, it complains about
  1028.    sprint_realloc_objid being undefined.
  1029.  
  1030.    A: Ethereal can only be linked with version 4.2.2 or later of UCD
  1031.    SNMP. Your version of Ethereal was dynamically linked with such a
  1032.    version of UCD SNMP; however, you have an older version of UCD SNMP
  1033.    installed, which means that when Ethereal is run, it tries to link to
  1034.    the older version, and fails. You will have to replace that version of
  1035.    UCD SNMP with version 4.2.2 or a later version.
  1036.  
  1037.    Q 5.12: I'm running Ethereal on Linux; why do my time stamps have only
  1038.    100ms resolution, rather than 1us resolution?
  1039.  
  1040.    A: Ethereal gets time stamps from libpcap/WinPcap, and libpcap/WinPcap
  1041.    get them from the OS kernel, so Ethereal - and any other program using
  1042.    libpcap, such as tcpdump - is at the mercy of the time stamping code
  1043.    in the OS for time stamps.
  1044.  
  1045.    At least on x86-based machines, Linux can get high-resolution time
  1046.    stamps on newer processors with the Time Stamp Counter (TSC) register;
  1047.    for example, Intel x86 processors, starting with the Pentium Pro, and
  1048.    including all x86 processors since then, have had a TSC, and other
  1049.    vendors probably added the TSC at some point to their families of x86
  1050.    processors.
  1051.  
  1052.    The Linux kernel must be configured with the CONFIG_X86_TSC option
  1053.    enabled in order to use the TSC. Make sure this option is enabled in
  1054.    your kernel.
  1055.  
  1056.    In addition, some Linux distributions may have bugs in their versions
  1057.    of the kernel that cause packets not to be given high-resolution time
  1058.    stamps even if the TSC is enabled. See, for example, bug 61111 for Red
  1059.    Hat Linux 7.2. If your distribution has a bug such as this, you may
  1060.    have to run a standard kernel from kernel.org in order to get
  1061.    high-resolution time stamps.
  1062.  
  1063.    Q 5.13: I'm capturing packets on {Windows 95, Windows 98, Windows Me};
  1064.    why are the time stamps on packets wrong? 
  1065.  
  1066.    A: This is due to a bug in WinPcap. The bug should be fixed in WinPcap
  1067.    3.0.
  1068.  
  1069.    Q 5.14: When I try to run Ethereal on Windows, it fails to run because
  1070.    it can't find packet.dll.
  1071.  
  1072.    A: In older versions of Ethereal, there were two binary distributions
  1073.    available for Windows, one that supported capturing packets, and one
  1074.    that didn't. The version that supported capturing packets required
  1075.    that you install the WinPcap driver; if you didn't install it, it
  1076.    would fail to run because it couldn't find packet.dll.
  1077.  
  1078.    The current version of Ethereal has only one binary distribution for
  1079.    Windows; that version will check whether WinPcap is installed and, if
  1080.    it's not, will disable support for packet capture.
  1081.  
  1082.    The WinPcap driver and libraries can be downloaded from the WinPcap
  1083.    Web site, the local mirror of the WinPcap Web site, or the
  1084.    Wiretapped.net mirror of the WinPcap site.
  1085.  
  1086.    Q 5.15: I'm running Ethereal on Windows; why does some network
  1087.    interface on my machine not show up in the list of interfaces in the
  1088.    "Interface:" field in the dialog box popped up by "Capture->Start",
  1089.    and/or why does Ethereal give me an error if I try to capture on that
  1090.    interface? 
  1091.  
  1092.    A: If you are running Ethereal on Windows NT 4.0, Windows 2000,
  1093.    Windows XP, or Windows Server, and this is the first time you have run
  1094.    a WinPcap-based program (such as Ethereal, or Tethereal, or WinDump,
  1095.    or Analyzer, or...) since the machine was rebooted, you need to run
  1096.    that program from an account with administrator privileges; once you
  1097.    have run such a program, you will not need administrator privileges to
  1098.    run any such programs until you reboot.
  1099.  
  1100.    If you are running on Windows 95/98/Me, or if you are running on
  1101.    Windows NT 4.0/2000/XP/Server and have administrator privileges or a
  1102.    WinPcap program has been run with those privileges since the machine
  1103.    rebooted, then note that Ethereal relies on the WinPcap library, on
  1104.    the WinPcap device driver, and on the facilities that come with the OS
  1105.    on which it's running in order to do captures.
  1106.  
  1107.    Therefore, if the OS, the WinPcap library, or the WinPcap driver don't
  1108.    support capturing on a particular network interface device, Ethereal
  1109.    won't be able to capture on that device.
  1110.  
  1111.    Note that:
  1112.      * 2.02 and earlier versions of the WinPcap driver and library that
  1113.        Ethereal uses for packet capture didn't support Token Ring
  1114.        interfaces; the current version, 2.3, does support Token Ring, and
  1115.        the current version of Ethereal works with (and, in fact,
  1116.        requires) WinPcap 2.1 or later.
  1117.        If you are having problems capturing on Token Ring interfaces, and
  1118.        you have WinPcap 2.02 or an earlier version of WinPcap installed,
  1119.        you should uninstall WinPcap, download and install the current
  1120.        version of WinPcap, and then install the latest version of
  1121.        Ethereal.
  1122.      * On Windows 95, 98, or Me, sometimes more than one interface will
  1123.        be given the same name; if that is the case, you will only be able
  1124.        to capture on one of those interfaces - it's not clear to which
  1125.        one the name, when used in a WinPcap application, will refer. For
  1126.        example, if you have a PPP serial interface and a VPN interface,
  1127.        they might show up with the same name, for example "ppp-mac", and
  1128.        if you try to capture on "ppp-mac", it might not capture on the
  1129.        interface you're currently using. In that case, you might, for
  1130.        example, have to remove the VPN interface from the system in order
  1131.        to capture on the PPP serial interface.
  1132.      * WinPcap doesn't support PPP WAN interfaces on Windows
  1133.        NT/2000/XP/Server, so Ethereal cannot capture packets on those
  1134.        devices when running on Windows NT/2000/XP/Server. Regular dial-up
  1135.        lines, ISDN lines, and various other lines such as T1/E1 lines are
  1136.        all PPP interfaces. This may cause the interface not to show up on
  1137.        the list of interfaces in the "Capture Options" dialog.
  1138.      * WinPcap prior to 3.0 does not support multiprocessor machines
  1139.        (note that machines with a single multi-threaded processor, such
  1140.        as Intel's new multi-threaded x86 processors, are multiprocessor
  1141.        machines as far as the OS and WinPcap are concerned), and recent
  1142.        2.x versions of WinPcap refuse to operate if they detect that
  1143.        they're running on a multiprocessor machine, which means that they
  1144.        may not show any network interfaces. You will need to use WinPcap
  1145.        3.0 to capture on a multiprocessor machine.
  1146.  
  1147.    If an interface doesn't show up in the list of interfaces in the
  1148.    "Interface:" field, and you know the name of the interface, try
  1149.    entering that name in the "Interface:" field and capturing on that
  1150.    device.
  1151.  
  1152.    If the attempt to capture on it succeeds, the interface is somehow not
  1153.    being reported by the mechanism Ethereal uses to get a list of
  1154.    interfaces; please report this to ethereal-dev@ethereal.com giving
  1155.    full details of the problem, including
  1156.      * the operating system you're using, and the version of that
  1157.        operating system;
  1158.      * the type of network device you're using.
  1159.  
  1160.    If you are having trouble capturing on a particular network interface,
  1161.    and you've made sure that (on platforms that require it) you've
  1162.    arranged that packet capture support is present, as per the above,
  1163.    first try capturing on that device with WinDump; see the WinDump Web
  1164.    site or the local mirror of the WinDump Web site for information on
  1165.    using WinDump.
  1166.  
  1167.    If you can capture on the interface with WinDump, send mail to
  1168.    ethereal-users@ethereal.com giving full details of the problem,
  1169.    including
  1170.      * the operating system you're using, and the version of that
  1171.        operating system;
  1172.      * the type of network device you're using;
  1173.      * the error message you get from Ethereal.
  1174.  
  1175.    If you cannot capture on the interface with WinDump, this is almost
  1176.    certainly a problem with one or more of:
  1177.      * the operating system you're using;
  1178.      * the device driver for the interface you're using;
  1179.      * the WinPcap library and/or the WinPcap device driver;
  1180.  
  1181.    so first check the WinPcap FAQ, the local mirror of that FAQ, or the
  1182.    Wiretapped.net mirror of that FAQ, to see if your problem is mentioned
  1183.    there. If not, then see the WinPcap support page (or the local mirror
  1184.    of that page) - check the "Submitting bugs" section.
  1185.  
  1186.    You may also want to ask the ethereal-users@ethereal.com and the
  1187.    winpcap-users@winpcap.polito.it mailing lists to see if anybody
  1188.    happens to know about the problem and know a workaround or fix for the
  1189.    problem. (Note that you will have to subscribe to that list in order
  1190.    to be allowed to mail to it; see the WinPcap support page, or the
  1191.    local mirror of that page, for information on the mailing list.) In
  1192.    your mail, please give full details of the problem, as described
  1193.    above, and also indicate that the problem occurs with WinDump, not
  1194.    just with Ethereal.
  1195.  
  1196.    Q 5.16: I'm running on a UNIX-flavored OS; why does some network
  1197.    interface on my machine not show up in the list of interfaces in the
  1198.    "Interface:" field in the dialog box popped up by "Capture->Start",
  1199.    and/or why does Ethereal give me an error if I try to capture on that
  1200.    interface? 
  1201.  
  1202.    A: You may need to run Ethereal from an account with sufficient
  1203.    privileges to capture packets, such as the super-user account. Only
  1204.    those interfaces that Ethereal can open for capturing show up in that
  1205.    list; if you don't have sufficient privileges to capture on any
  1206.    interfaces, no interfaces will show up in the list.
  1207.  
  1208.    If you are running Ethereal from an account with sufficient
  1209.    privileges, then note that Ethereal relies on the libpcap library, and
  1210.    on the facilities that come with the OS on which it's running in order
  1211.    to do captures.
  1212.  
  1213.    Therefore, if the OS or the libpcap library don't support capturing on
  1214.    a particular network interface device, Ethereal won't be able to
  1215.    capture on that device.
  1216.  
  1217.    On Linux, note that you need to have "packet socket" support enabled
  1218.    in your kernel; see the "Packet socket" item in the Linux
  1219.    "Configure.help" file.
  1220.  
  1221.    On BSD, note that you need to have BPF support enabled in your kernel;
  1222.    see the documentation for your system for information on how to enable
  1223.    BPF support (if it's not enabled by default on your system).
  1224.  
  1225.    On DEC OSF/1, Digital UNIX, or Tru64 UNIX, note that you need to have
  1226.    packet filtering support in your kernel; the doconfig command will
  1227.    allow you to configure and build a new kernel with that option.
  1228.  
  1229.    On Solaris, note that libpcap 0.6.2 and earlier didn't support Token
  1230.    Ring interfaces; the current version, 0.7.2, does support Token Ring,
  1231.    and the current version of Ethereal works with libcap 0.7.2 and later.
  1232.  
  1233.    If an interface doesn't show up in the list of interfaces in the
  1234.    "Interface:" field, and you know the name of the interface, try
  1235.    entering that name in the "Interface:" field and capturing on that
  1236.    device.
  1237.  
  1238.    If the attempt to capture on it succeeds, the interface is somehow not
  1239.    being reported by the mechanism Ethereal uses to get a list of
  1240.    interfaces; please report this to ethereal-dev@ethereal.com giving
  1241.    full details of the problem, including
  1242.      * the operating system you're using, and the version of that
  1243.        operating system (for Linux, give both the version number of the
  1244.        kernel and the name and version number of the distribution you're
  1245.        using);
  1246.      * the type of network device you're using.
  1247.  
  1248.    If you are having trouble capturing on a particular network interface,
  1249.    and you've made sure that (on platforms that require it) you've
  1250.    arranged that packet capture support is present, as per the above,
  1251.    first try capturing on that device with tcpdump.
  1252.  
  1253.    If you can capture on the interface with tcpdump, send mail to
  1254.    ethereal-users@ethereal.com giving full details of the problem,
  1255.    including
  1256.      * the operating system you're using, and the version of that
  1257.        operating system (for Linux, give both the version number of the
  1258.        kernel and the name and version number of the distribution you're
  1259.        using);
  1260.      * the type of network device you're using;
  1261.      * the error message you get from Ethereal.
  1262.  
  1263.    If you cannot capture on the interface with tcpdump, this is almost
  1264.    certainly a problem with one or more of:
  1265.      * the operating system you're using;
  1266.      * the device driver for the interface you're using;
  1267.      * the libpcap library;
  1268.  
  1269.    so you should report the problem to the company or organization that
  1270.    produces the OS (in the case of a Linux distribution, report the
  1271.    problem to whoever produces the distribution).
  1272.  
  1273.    You may also want to ask the ethereal-users@ethereal.com and the
  1274.    tcpdump-workers@tcpdump.org mailing lists to see if anybody happens to
  1275.    know about the problem and know a workaround or fix for the problem.
  1276.    In your mail, please give full details of the problem, as described
  1277.    above, and also indicate that the problem occurs with tcpdump not just
  1278.    with Ethereal.
  1279.  
  1280.    Q 5.17: I'm running Ethereal on Windows NT/2000/XP/Server; my machine
  1281.    has a PPP (dial-up POTS, ISDN, etc.) interface, and it shows up in the
  1282.    "Interface" item in the "Capture Options" dialog box. Why can no
  1283.    packets be sent on or received from that network while I'm trying to
  1284.    capture traffic on that interface?
  1285.  
  1286.    A: WinPcap doesn't support PPP WAN interfaces on Windows
  1287.    NT/2000/XP/Server; one symptom that may be seen is that attempts to
  1288.    capture in promiscuous mode on the interface cause the interface to be
  1289.    incapable of sending or receiving packets. You can disable promiscuous
  1290.    mode using the -p command-line flag or the item in the "Capture
  1291.    Preferences" dialog box, but this may mean that outgoing packets, or
  1292.    incoming packets, won't be seen in the capture.
  1293.  
  1294.    Q 5.18: I'm running Ethereal on Windows 95/98/Me, on a machine with
  1295.    more than one network adapter of the same type; Ethereal shows all of
  1296.    those adapters with the same name, but I can't use any of those
  1297.    adapters other than the first one.
  1298.  
  1299.    A: Unfortunately, Windows 95/98/Me gives the same name to multiple
  1300.    instances of the type of same network adapter. Therefore, WinPcap
  1301.    cannot distinguish between them, so a WinPcap-based application can
  1302.    capture only on the first such interface; Ethereal is a
  1303.    libpcap/WinPcap-based application.
  1304.  
  1305.    Q 5.19: I'm running Ethereal on Windows, and I'm not seeing any
  1306.    traffic being sent by the machine running Ethereal.
  1307.  
  1308.    A: If you are running some form of VPN client software, it might be
  1309.    causing this problem; people have seen this problem when they have
  1310.    Check Point's VPN software installed on their machine. If that's the
  1311.    cause of the problem, you will have to remove the VPN software in
  1312.    order to have Ethereal (or any other application using WinPcap) see
  1313.    outgoing packets; unfortunately, neither we nor the WinPcap developers
  1314.    know any way to make WinPcap and the VPN software work well together.
  1315.  
  1316.    Q 5.20: I'm trying to capture traffic but I'm not seeing any.
  1317.  
  1318.    A: Is the machine running Ethereal sending out any traffic on the
  1319.    network interface on which you're capturing, or receiving any traffic
  1320.    on that network, or is there any broadcast traffic on the network or
  1321.    multicast traffic to a multicast group to which the machine running
  1322.    Ethereal belongs?
  1323.  
  1324.    If not, this may just be a problem with promiscuous sniffing, either
  1325.    due to running on a switched network or a dual-speed hub, or due to
  1326.    problems with the interface not supporting promiscuous mode; see the
  1327.    response to this earlier question.
  1328.  
  1329.    Otherwise, on Windows, see the response to this question and, on a
  1330.    UNIX-flavored OS, see the response to this question.
  1331.  
  1332.    Q 5.21: I have an XXX network card on my machine; if I try to capture
  1333.    on it, my machine crashes or resets itself. 
  1334.  
  1335.    A: This is almost certainly a problem with one or more of:
  1336.      * the operating system you're using;
  1337.      * the device driver for the interface you're using;
  1338.      * the libpcap/WinPcap library and, if this is Windows, the WinPcap
  1339.        device driver;
  1340.  
  1341.    so:
  1342.      * if you are using Windows, see the WinPcap support page (or the
  1343.        local mirror of that page) - check the "Submitting bugs" section;
  1344.      * if you are using some Linux distribution, some version of BSD, or
  1345.        some other UNIX-flavored OS, you should report the problem to the
  1346.        company or organization that produces the OS (in the case of a
  1347.        Linux distribution, report the problem to whoever produces the
  1348.        distribution).
  1349.  
  1350.    Q 5.22: My machine crashes or resets itself when I select "Start" from
  1351.    the "Capture" menu or select "Preferences" from the "Edit" menu. 
  1352.  
  1353.    A: Both of those operations cause Ethereal to try to build a list of
  1354.    the interfaces that it can open; it does so by getting a list of
  1355.    interfaces and trying to open them. There is probably an OS, driver,
  1356.    or, for Windows, WinPcap bug that causes the system to crash when this
  1357.    happens; see the previous question.
  1358.  
  1359.    Q 5.23: Does Ethereal work on Windows ME? 
  1360.  
  1361.    A: Yes, but if you want to capture packets, you will need to install
  1362.    the latest version of WinPcap, as 2.02 and earlier versions of WinPcap
  1363.    didn't support Windows ME. You should also install the latest version
  1364.    of Ethereal as well.
  1365.  
  1366.    Q 5.24: Does Ethereal work on Windows XP? 
  1367.  
  1368.    A: Yes, but if you want to capture packets, you will need to install
  1369.    the latest version of WinPcap, as 2.2 and earlier versions of WinPcap
  1370.    didn't support Windows XP.
  1371.  
  1372.    Q 5.25: Why doesn't Ethereal correctly identify RTP packets? It shows
  1373.    them only as UDP.
  1374.  
  1375.    A: Ethereal can identify a UDP datagram as containing a packet of a
  1376.    particular protocol running atop UDP only if
  1377.     1. The protocol in question has a particular standard port number,
  1378.        and the UDP source or destination port number is that port
  1379.     2. Packets of that protocol can be identified by looking for a
  1380.        "signature" of some type in the packet - i.e., some data that, if
  1381.        Ethereal finds it in some particular part of a packet, means that
  1382.        the packet is almost certainly a packet of that type.
  1383.     3. Some other traffic earlier in the capture indicated that, for
  1384.        example, UDP traffic between two particular addresses and ports
  1385.        will be RTP traffic.
  1386.  
  1387.    RTP doesn't have a standard port number, so 1) doesn't work; it
  1388.    doesn't, as far as I know, have any "signature", so 2) doesn't work.
  1389.  
  1390.    That leaves 3). If there's RTSP traffic that sets up an RTP session,
  1391.    then, at least in some cases, the RTSP dissector will set things up so
  1392.    that subsequent RTP traffic will be identified. Currently, that's the
  1393.    only place we do that; there may be other places.
  1394.  
  1395.    However, there will always be places where Ethereal is simply
  1396.    incapable of deducing that a given UDP flow is RTP; a mechanism would
  1397.    be needed to allow the user to specify that a given conversation
  1398.    should be treated as RTP. As of Ethereal 0.8.16, such a mechanism
  1399.    exists; if you select a UDP or TCP packet, the right mouse button menu
  1400.    will have a "Decode As..." menu item, which will pop up a dialog box
  1401.    letting you specify that the source port, the destination port, or
  1402.    both the source and destination ports of the packet should be
  1403.    dissected as some particular protocol.
  1404.  
  1405.    Q 5.26: Why doesn't Ethereal show Yahoo Messenger packets in captures
  1406.    that contain Yahoo Messenger traffic?
  1407.  
  1408.    A: Ethereal only recognizes as Yahoo Messenger traffic packets to or
  1409.    from TCP port 3050 that begin with "YPNS", "YHOO", or "YMSG". TCP
  1410.    segments that start with the middle of a Yahoo Messenger packet that
  1411.    takes more than one TCP segment will not be recognized as Yahoo
  1412.    Messenger packets (even if the TCP segment also contains the beginning
  1413.    of another Yahoo Messenger packet).
  1414.  
  1415.    Q 5.27: Why do I get the error 
  1416.  
  1417.      Gdk-ERROR **: Palettized display (256-colour) mode not supported on
  1418.      Windows.
  1419.      aborting....
  1420.  
  1421.    when I try to run Ethereal on Windows?
  1422.  
  1423.    A: Ethereal is built using the GTK+ toolkit, which supports most
  1424.    UNIX-flavored OSes, and also supports Windows; that toolkit doesn't
  1425.    support 256-color mode on Windows - it requires HiColor (16-bit
  1426.    colors) or more. If your display supports more than 256 colors, switch
  1427.    to a display mode with more colors; if it doesn't support more than
  1428.    256 colors, you will be unable to run Ethereal.
  1429.  
  1430.    Q 5.28: When I capture on Windows in promiscuous mode, I can see
  1431.    packets other than those sent to or from my machine; however, those
  1432.    packets show up with a "Short Frame" indication, unlike packets to or
  1433.    from my machine. What should I do to arrange that I see those packets
  1434.    in their entirety? 
  1435.  
  1436.    A: In at least some cases, this appears to be the result of PGPnet
  1437.    running on the network interface on which you're capturing; turn it
  1438.    off on that interface.
  1439.  
  1440.    Q 5.29: How can I capture raw 802.11 packets, including non-data
  1441.    (management, beacon) packets? 
  1442.  
  1443.    A: That would require that your 802.11 interface run in the mode
  1444.    called "monitor mode" or "RFMON mode". Not all operating systems
  1445.    support that and, even on operating systems that do support it, not
  1446.    all drivers, and thus not all cards, support it.
  1447.  
  1448.    Cisco Aironet cards:
  1449.  
  1450.    The only platforms that allow Ethereal to capture raw 802.11 packets
  1451.    on Cisco Aironet cards are:
  1452.      * Linux, with a 2.4.6 or later kernel;
  1453.      * FreeBSD 4.6 or later, as the driver in FreeBSD 4.5 has bugs that
  1454.        cause packets not to be captured correctly, and the driver in
  1455.        releases prior to 4.5 didn't support capturing raw packets.
  1456.  
  1457.    On FreeBSD, the ancontrol utility must be used; do not enable the full
  1458.    Aironet header via BPF, as Ethereal doesn't currently support that.
  1459.  
  1460.    On Linux with the driver in the 2.4.6 through 2.4.19 kernel, you will
  1461.    need to do
  1462.  
  1463. echo "Mode: rfmon" >/proc/driver/aironet/ethN/Config
  1464.  
  1465.    if your Aironet card is ethN. To capture traffic from any BSS, do
  1466.  
  1467. echo "Mode: y" >/proc/driver/aironet/ethN/Config
  1468.  
  1469.    and to return to the normal mode, do
  1470.  
  1471. echo "Mode: ess" >/proc/driver/aironet/ethN/Config
  1472.  
  1473.    On Linux with the driver in the 2.4.20 kernel, or with the CVS drivers
  1474.    from the airo-linux SourceForge site, you will have to capture on the
  1475.    wifiN interface if your Aironet card is ethN, after running the
  1476.    commands listed above.
  1477.  
  1478.    In all of those cases, Ethereal would have to be linked with libpcap
  1479.    0.7.1 or later; this means that most Ethereal binary packages won't
  1480.    work unless they're statically linked with libpcap 0.7.1 or later, or
  1481.    they're dynamically linked with libpcap and your system has a libpcap
  1482.    0.7.1 or later shared library installed (note that libpcap source
  1483.    package from tcpdump.org does not build shared libraries). Some binary
  1484.    packaging mechanisms might make it difficult to install Ethereal
  1485.    binary packages built to depend on older libpcap binary packages if
  1486.    you have a newer libpcap binary package installed; the installer
  1487.    programs for those packaging mechanisms might support disabling
  1488.    dependency checking so that they will install Ethereal even though a
  1489.    newer version of libpcap is installed.
  1490.  
  1491.    Cards using the Prism II chip set (see this page of Linux 802.11
  1492.    information for details on wireless cards, including information on
  1493.    the chips they use):
  1494.  
  1495.    You can capture raw 802.11 packets with Prism II cards on Linux
  1496.    systems with the 0.1.14-pre6 or later version of the linux-wlan-ng
  1497.    drivers (see the linux-wlan page, and the linux-wlan-ng tarball
  1498.    directory).
  1499.  
  1500.    Those require either Solomon Peachy's patch to libpcap 0.7.1 (see his
  1501.    libpcap-0.7.1-prism.diff file, or his RPMs of that version of
  1502.    libpcap), or the current CVS version of libpcap, which includes his
  1503.    patch (download it from the "Current Tar files" section of the
  1504.    tcpdump.org Web site). If you apply his patches to libpcap 0.7.1 and
  1505.    rebuild and install libpcap, or if you build and install the current
  1506.    CVS version of libpcap, you would have to rebuild Ethereal from
  1507.    source, linking it with that new version of libpcap; an Ethereal
  1508.    binary package would not work. Ethereal binary packages might work if
  1509.    you install the libpcap-0.7.1-1prism.i386.rpm RPM, as it might install
  1510.    a libpcap shared library in place of the one on your system.
  1511.  
  1512.    You may have to run a command to put the interface into monitor mode,
  1513.    or to change other interface settings, and you might have to capture
  1514.    on a wlanN interface rather than a ethN interface, in order to capture
  1515.    raw 802.11 packets. The interface settings are available in your
  1516.    wlan-ng.conf file. See the wlan-ng FAQ for additional information.
  1517.  
  1518.    On other platforms, capturing raw 802.11 packets on Prism II cards is
  1519.    not currently supported.
  1520.  
  1521.    Orinoco Silver and Gold cards:
  1522.  
  1523.    On Linux systems, there are patches on the Orinoco Monitor Mode Patch
  1524.    Page that should allow you to do capture raw 802.11 packets. You will
  1525.    have to determine which version of the driver you have, and select the
  1526.    appropriate patch.
  1527.  
  1528.    Note that the page indicates that not all versions of the Orinoco
  1529.    firmware support this patch. It says, for some versions of the patch,
  1530.    "This patch should allow monitor mode with v8.10 firmware (untested w/
  1531.    8.42);" if you have version 8.10 or later firmware on your Orinoco
  1532.    cards, you might have to use those patches, with the corresponding
  1533.    versions of the Orinoco driver, in order to run in monitor mode.
  1534.  
  1535.    That patch is written for the drivers included with the pcmcia-cs
  1536.    drivers, but works equally well for the Orinoco drivers provided with
  1537.    Linux kernels up to 2.4.20. To apply a patch to your kernel drivers,
  1538.    simply copy the orinoco-09b-patch.diff file to the
  1539.    /usr/src/linux/drivers/net directory and patch according to the
  1540.    directions on the Orinoco Monitor Mode Patch Page. You can double-
  1541.    check the version of the Orinoco drivers that shipped with your kernel
  1542.    by examining the first few lines of the orinoco.c file.
  1543.  
  1544.    Te Orinoco patches require either Solomon Peachy's patch to libpcap
  1545.    0.7.1 (see his libpcap-0.7.1-prism.diff file, or his RPMs of that
  1546.    version of libpcap), or the current CVS version of libpcap, which
  1547.    includes his patch (download it from the "Current Tar files" section
  1548.    of the tcpdump.org Web site). If you apply his patches to libpcap
  1549.    0.7.1 and rebuild and install libpcap, or if you build and install the
  1550.    current CVS version of libpcap, you would have to rebuild Ethereal
  1551.    from source, linking it with that new version of libpcap; an Ethereal
  1552.    binary package would not work. Ethereal binary packages might work if
  1553.    you install the libpcap-0.7.1-1prism.i386.rpm RPM, as it might install
  1554.    a libpcap shared library in place of the one on your system.
  1555.  
  1556.    On other platforms, capturing raw 802.11 packets on Orinoco cards is
  1557.    not currently supported.
  1558.  
  1559.    Other 802.11 interfaces:
  1560.  
  1561.    With other 802.11 interfaces, no platform allows Ethereal to capture
  1562.    raw 802.11 packets, as far as we know. If you know of other 802.11
  1563.    interfaces that are supported (note that there are many "Prism II
  1564.    cards", so your card might be a Prism II card), please let us know,
  1565.    and include URLs for sites containing any necessary patches to add
  1566.    this support.
  1567.  
  1568.    On platforms that don't allow Ethereal to capture raw 802.11 packets,
  1569.    the 802.11 network will appear like an Ethernet to Ethereal.
  1570.  
  1571.    Q 5.30: How can I capture packets with CRC errors? 
  1572.  
  1573.    A: Ethereal can capture only the packets that the packet capture
  1574.    library - libpcap on UNIX-flavored OSes, and the WinPcap port to
  1575.    Windows of libpcap on Windows - can capture, and libpcap/WinPcap can
  1576.    capture only the packets that the OS's raw packet capture mechanism
  1577.    (or the WinPcap driver, and the underlying OS networking code and
  1578.    network interface drivers, on Windows) will allow it to capture.
  1579.  
  1580.    Unless the OS can be configured to supply packets with errors such as
  1581.    invalid CRCs to the raw packet capture mechanism, Ethereal - and other
  1582.    programs that capture raw packets, such as tcpdump - cannot capture
  1583.    those packets. You will have to determine whether your OS can be so
  1584.    configured, configure it if possible, and make whatever changes to
  1585.    libpcap and the packet capture program you're using are necessary to
  1586.    support capturing those packets.
  1587.  
  1588.    Q 5.31: How can I capture entire frames, including the FCS? 
  1589.  
  1590.    A: Ethereal can't capture any data that the packet capture library -
  1591.    libpcap on UNIX-flavored OSes, and the WinPcap port to Windows of
  1592.    libpcap on Windows - can capture, and libpcap/WinPcap can capture only
  1593.    the data that the OS's raw packet capture mechanism (or the WinPcap
  1594.    driver, and the underlying OS networking code and network interface
  1595.    drivers, on Windows) will allow it to capture.
  1596.  
  1597.    For any particular link-layer network type, unless the OS supplies the
  1598.    FCS of a frame as part of the frame, or can be configured to supply
  1599.    the FCS of a frame as part of the frame, Ethereal - and other programs
  1600.    that capture raw packets, such as tcpdump - cannot capture the FCS of
  1601.    a frame. You will have to determine whether your OS can be so
  1602.    configured, configure it if possible, and make whatever changes to
  1603.    libpcap and the packet capture program you're using are necessary to
  1604.    support capturing the FCS of a frame. Most if not all OSes probably do
  1605.    not support capturing the FCS of a frame on Ethernet, and probably do
  1606.    not support it on most other link-layer types.
  1607.  
  1608.    Q 5.32: Ethereal hangs after I stop a capture. 
  1609.  
  1610.    A: The most likely reason for this is that Ethereal is trying to look
  1611.    up an IP address in the capture to convert it to a name (so that, for
  1612.    example, it can display the name in the source address or destination
  1613.    address columns), and that lookup process is taking a very long time.
  1614.  
  1615.    Ethereal calls a routine in the OS of the machine on which it's
  1616.    running to convert of IP addresses to the corresponding names. That
  1617.    routine probably does one or more of:
  1618.      * a search of a system file listing IP addresses and names;
  1619.      * a lookup using DNS;
  1620.      * on UNIX systems, a lookup using NIS;
  1621.      * on Windows systems, a NetBIOS-over-TCP query.
  1622.  
  1623.    If a DNS server that's used in an address lookup is not responding,
  1624.    the lookup will fail, but will only fail after a timeout while the
  1625.    system routine waits for a reply.
  1626.  
  1627.    In addition, on Windows systems, if the DNS lookup of the address
  1628.    fails, either because the server isn't responding or because there are
  1629.    no records in the DNS that could be used to map the address to a name,
  1630.    a NetBIOS-over-TCP query will be made. That query involves sending a
  1631.    message to the NetBIOS-over-TCP name service on that machine, asking
  1632.    for the name and other information about the machine. If the machine
  1633.    isn't running software that responds to those queries - for example,
  1634.    many non-Windows machines wouldn't be running that software - the
  1635.    lookup will only fail after a timeout. Those timeouts can cause the
  1636.    lookup to take a long time.
  1637.  
  1638.    If you disable network address-to-name translation - for example, by
  1639.    turning off the "Enable network name resolution" option in the "Name
  1640.    resolution" options in the dialog box you get by selecting
  1641.    "Preferences" from the "Edit" menu - the lookups of the address won't
  1642.    be done, which may speed up the process of reading the capture file
  1643.    after the capture is stopped. You can make that setting the default by
  1644.    using the "Save" button in that dialog box; note that this will save
  1645.    all your current preference settings.
  1646.  
  1647.    If Ethereal hangs when reading a capture even with network name
  1648.    resolution turned off, there might, for example, be a bug in one of
  1649.    Ethereal's dissectors for a protocol causing it to loop infinitely.
  1650.    The bug should be reported to the Ethereal developers' mailing list at
  1651.    ethereal-dev@ethereal.com.
  1652.  
  1653.    On UNIX-flavored OSes, please try to force Ethereal to dump core, by
  1654.    sending it a SIGABRT signal (usually signal 6) with the kill command,
  1655.    and then get a stack trace if you have a debugger installed. A stack
  1656.    trace can be obtained by using your debugger (gdb in this example),
  1657.    the Ethereal binary, and the resulting core file. Here's an example of
  1658.    how to use the gdb command backtrace to do so.
  1659.         $ gdb ethereal core
  1660.         (gdb) backtrace
  1661.         ..... prints the stack trace
  1662.         (gdb) quit
  1663.         $
  1664.  
  1665.    The core dump file may be named "ethereal.core" rather than "core" on
  1666.    some platforms (e.g., BSD systems)
  1667.  
  1668.    Also, if at all possible, please send a copy of the capture file that
  1669.    caused the problem; when capturing packets, Ethereal normally writes
  1670.    captured packets to a temporary file, which will probably be in /tmp
  1671.    or /var/tmp on UNIX-flavored OSes and \TEMP on Windows, so the capture
  1672.    file will probably be there. It will have a name beginning with ether,
  1673.    with some mixture of letters and numbers after that. Please don't send
  1674.    a trace file greater than 1 MB when compressed. If the trace file
  1675.    contains sensitive information (e.g., passwords), then please do not
  1676.    send it.
  1677.  
  1678.    Q 5.33: How can I search for, or filter, packets that have a
  1679.    particular string anywhere in them? 
  1680.  
  1681.    A: Currently, you can't.
  1682.  
  1683.    That's a feature that would be hard to implement in capture filters
  1684.    without changes to the capture filter code, which, on many platforms,
  1685.    is in the OS kernel and, on other platforms, is in the libpcap
  1686.    library.
  1687.  
  1688.    It would be easier to implement in display filters, but it hasn't been
  1689.    implemented yet. It would be best implemented as a display filter
  1690.    "string match" operator, which would let you check not only the entire
  1691.    packet for a string, but check portions of the packet for a string. It
  1692.    should probably not use a naive string matching mechanism, as there
  1693.    are mechanisms much faster than the naive one.
  1694.  
  1695.  
  1696.    Support can be found on the ethereal-users[AT]ethereal.com mailing
  1697.    list. 
  1698.    For corrections/additions/suggestions for this page, please send email
  1699.    to: ethereal-web[AT]ethereal.com
  1700.    Last modified: Sun, May 25 2003.
  1701.