Linux Server Admin Tools and GNU Benchmark Tools Directory, OpenSource Tools

Tethereal Utility

Tethereal is part of the Ethereal (wireshark) distribution.Just like tcpdump, ethereal is based on the libpcap interface. There are two main versions of ethereal. There is the text version called “tethereal” and the GUI based version called “Wireshark”. The text based version is very similar in syntax to the tcpdump command syntax. Once again, this is because they use the same underlying libpcap engine.

Tethereal Examples


Tethereal-1

Tethereal-2

Using Filter Expressions


It may be easy to identify specific traffic streams on small or idle networks. It will be much harder to accomplish this on large WAN or saturated networks.The ability to use filter expressions is extremely important in these cases to cut out unwanted “noise” packets from the traffic in question. Fortunately, both the libpcap based utilities and the snoop utility all use the same filter syntax.

There are many ways to filter traffic in all utilities, the most common filters are by port, protocol, and host. The following example tracks only SMTP traffic and host 192.168.1.101:

The tethereal utility provides the ability to print the entire Ethernet frame in detail. The following example displays the Ethernet portion of a single packet:

tethereal-3

In the following example,the tethereal command captures just broadcast traffic and picks up an SMB enabled device broadcasting over Ethernet:

# tethereal –nVi eth0 broadcast

tethereal-broadcast

The tethereal displays the entire header format of the ARP request and reply.

tethereal-arp

Capturing ICMP exchange between two host using tethereal

tethereal-ping

The default output of tethereal is less detailed than the tcpdump output.The differences are listed below:

Packet numbering – the first column of output shows the packet number relative to the order of the capture

The default output of tethereal is less detailed than the tcpdump output. The differences are listed below:

Useful Links :


Tethereal man page :

Tethereal rpm download :