1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML
><HEAD
><TITLE
>Lower Window</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
"><LINK
REL="HOME"
TITLE="IPTraf User's Manual"
HREF="manual.html"><LINK
REL="UP"
TITLE="The IP Traffic Monitor"
HREF="itrafmon.html"><LINK
REL="PREVIOUS"
TITLE="The IP Traffic Monitor"
HREF="itrafmon.html"><LINK
REL="NEXT"
TITLE="Additional Information"
HREF="x1077.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>IPTraf User's Manual</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="itrafmon.html"
><<< Previous</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>The IP Traffic Monitor</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x1077.html"
>Next >>></A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="LOWERWIN"
>Lower Window</A
></H1
><P
> The lower window displays information about the other types of traffic
on your network. The following protocols are detected internally:</P
><P
></P
><UL
COMPACT="COMPACT"
><LI
><P
>User Datagram Protocol (UDP)</P
></LI
><LI
><P
>Internet Control Message Protocol (ICMP)</P
></LI
><LI
><P
>Open Shortest-Path First (OSPF)</P
></LI
><LI
><P
>Interior Gateway Routing Protocol (IGRP)</P
></LI
><LI
><P
>Interior Gateway Protocol (IGP)</P
></LI
><LI
><P
>Internet Group Management Protocol (IGMP)</P
></LI
><LI
><P
>General Routing Encapsulation (GRE)</P
></LI
><LI
><P
>Layer 2 Tunneling Protocol (L2TP)</P
></LI
><LI
><P
>IPSec AH and ESP protocols (IPSec AH and IPSec ESP)</P
></LI
><LI
><P
>Address Resolution Protocol (ARP)</P
></LI
><LI
><P
>Reverse Address Resolution Protocol (RARP)</P
></LI
></UL
><P
> Other IP protocols are looked up from the <TT
CLASS="FILENAME"
>/etc/services</TT
>
file. If <TT
CLASS="FILENAME"
>/etc/services</TT
> doesn't contain information about
that protocol, the protocol number is indicated.</P
><P
> Non-IP packets are indicated as
<TT
CLASS="COMPUTEROUTPUT"
>Non-IP</TT
> in the lower window.</P
><DIV
CLASS="NOTE"
><P
></P
><TABLE
CLASS="NOTE"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="./stylesheet-images/note.gif"
HSPACE="5"
ALT="Note"></TD
><TH
ALIGN="LEFT"
VALIGN="CENTER"
><B
>Note</B
></TH
></TR
><TR
><TD
> </TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>The source and destination addresses for ARP and
RARP entries are MAC addresses.</P
><P
> Strictly speaking, ARP and RARP packets aren't IP packets, since
they are not encapsulated in an IP datagram. They're
just indicated because they are integral to proper IP operation on LANs.</P
></TD
></TR
></TABLE
></DIV
><P
> For all packets in the lower window, only the first IP fragment is
indicated (since that contains the header
of the IP-encapsulated protocol) but with no further information
from the encapsulated protocol.</P
><P
>UDP packets are also displayed
in
<TT
CLASS="COMPUTEROUTPUT"
><TT
CLASS="REPLACEABLE"
><I
>address</I
></TT
>:<TT
CLASS="REPLACEABLE"
><I
>port</I
></TT
></TT
> format while ICMP entries also contain the
ICMP message type. For easier location, each type of protocol
is color-coded (only on color terminals such as the Linux console).</P
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
>UDP</DT
><DD
><P
>Red on White</P
></DD
><DT
>ICMP</DT
><DD
><P
>Yellow on Blue</P
></DD
><DT
>OSPF</DT
><DD
><P
>Black on Cyan</P
></DD
><DT
>IGRP</DT
><DD
><P
>Bright white on Cyan</P
></DD
><DT
>IGP</DT
><DD
><P
>Red on Cyan</P
></DD
><DT
>IGMP</DT
><DD
><P
>Bright green on Blue</P
></DD
><DT
>GRE</DT
><DD
><P
>Blue on white</P
></DD
><DT
>ARP</DT
><DD
><P
>Bright white on Red</P
></DD
><DT
>RARP</DT
><DD
><P
>Bright white on Red</P
></DD
><DT
>Other IP</DT
><DD
><P
>Yellow on red</P
></DD
><DT
>Non-IP</DT
><DD
><P
>Yellow on Red</P
></DD
></DL
></DIV
><P
> The lower window can hold up to 512 entries. You can
scroll the lower window by using the W key to move the Active indicator
to it, and by using the Up and Down cursor keys. The lower
window automatically scrolls every time a new entry is added, and either
the first entry or last entry is visible. Upon reaching 512 entries, old
entries are thrown out as new entries are added.</P
><P
> Some entries may be too long to completely fit in a screen line. You can
use the Left and Right cursor keys to vertically scroll the lower window
when it is marked <TT
CLASS="COMPUTEROUTPUT"
>Active</TT
>. If your
terminal can be resized (e.g. xterm), you may do so before starting
IPTraf.</P
><P
> Entries for packets received on LAN interfaces also include the
source MAC address of the LAN host which delivered it. This behavior
is enabled by turning on the Source MAC addrs in traffic monitor toggle
in the <I
CLASS="EMPHASIS"
><A
HREF="config.html"
>Configure...</A
></I
> menu.</P
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN836"
>Entry Details</A
></H2
><P
> In general, the entries in the lower window indicate the protocol, the
IP datagram size (full frame size for non-IP, including ARP and
RARP), the source address, the destination
address, and the network interface the packet was detected on.
However, some protocols have a little more information.</P
><DIV
CLASS="SECT3"
><H3
CLASS="SECT3"
><A
NAME="AEN839"
>ICMP</A
></H3
><P
> ICMP entries are displayed in this format:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SYNOPSIS"
>ICMP <TT
CLASS="REPLACEABLE"
><I
>type</I
></TT
> [(<TT
CLASS="REPLACEABLE"
><I
>subtype</I
></TT
>)] (<TT
CLASS="REPLACEABLE"
><I
>size</I
></TT
> bytes) from <TT
CLASS="REPLACEABLE"
><I
>source</I
></TT
> to <TT
CLASS="REPLACEABLE"
><I
>destination</I
></TT
>
[(src HWaddr <TT
CLASS="REPLACEABLE"
><I
>srcMACaddress</I
></TT
>)] on <TT
CLASS="REPLACEABLE"
><I
>interface</I
></TT
></PRE
></TD
></TR
></TABLE
><P
> where type could be any of the following:</P
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="COMPUTEROUTPUT"
>echo req, echo rply</TT
></DT
><DD
><P
> ICMP echo request and reply. Usually used by the ping program and other network monitoring and diagnostic program. </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>dest unrch</TT
></DT
><DD
><P
> ICMP destination unreachable. Something failed to reach its target. The dest unreach type is supplemented with a further indicator of the problem. Destination unreachable messages for TCP traffic causes the corresponding TCP entry in the upper
window to be made available for reuse by new connections. </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>redirct</TT
></DT
><DD
><P
> ICMP redirect. Usually generated by a router to tell a host that a better gateway is available. </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>src qnch</TT
></DT
><DD
><P
> The ICMP source quench is used to stop a host from transmitting. It's a
flow control mechanism for IP. </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>time excd</TT
></DT
><DD
><P
> Indicates a packet's time-to-live value expired before it got
to its destination. Mostly happens if a destination is too far away.
Also used by the traceroute program.</P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>router adv</TT
></DT
><DD
><P
> ICMP router advertisement </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>router sol</TT
></DT
><DD
><P
> ICMP router solicitation </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>timestmp req</TT
></DT
><DD
><P
> ICMP timestamp request</P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>timestmp rep</TT
></DT
><DD
><P
> ICMP timestamp reply </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>info req</TT
></DT
><DD
><P
> ICMP information request </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>info rep</TT
></DT
><DD
><P
> ICMP information reply </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>addr mask req</TT
></DT
><DD
><P
> ICMP address mask request </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>addr mask rep</TT
></DT
><DD
><P
> ICMP address mask reply </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>param prob</TT
></DT
><DD
><P
> ICMP parameter problem </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>bad/unknown</TT
></DT
><DD
><P
> An unrecognized ICMP packet was received, or the packet is corrupted.</P
></DD
></DL
></DIV
><P
> The destination unreachable message also includes information on the
type of error encountered. Here are the destination unreachable codes:</P
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="COMPUTEROUTPUT"
>ntwk</TT
></DT
><DD
><P
> network unreachable </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>host</TT
></DT
><DD
><P
> host unreachable </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>proto</TT
></DT
><DD
><P
> protocol unreachable </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>port</TT
></DT
><DD
><P
> port unreachable </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>pkt fltrd</TT
></DT
><DD
><P
> packet filtered (normally by an access rule on a router or firewall) </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>DF set</TT
></DT
><DD
><P
> the packet has to be fragmented somewhere, but its don't fragment
(DF) bit is set.</P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>src rte fail</TT
></DT
><DD
><P
> source route failed </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>src isltd</TT
></DT
><DD
><P
> source isolated (obsolete) </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>net comm denied</TT
></DT
><DD
><P
> network communication denied </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>host comm denied</TT
></DT
><DD
><P
> host communication denied </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>net unrch for TOS</TT
></DT
><DD
><P
> network unreachable for specified IP type-of-service </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>host unrch for TOS</TT
></DT
><DD
><P
> host unreachable for specified IP type-of-service </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>prec violtn</TT
></DT
><DD
><P
> precedence violation </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>prec cutoff</TT
></DT
><DD
><P
> precedence cutoff </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>dest net unkn</TT
></DT
><DD
><P
> destination network unknown </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>dest host unkn</TT
></DT
><DD
><P
> destination network unknown</P
></DD
></DL
></DIV
><P
> For more information on ICMP, see RFC 792.</P
></DIV
><DIV
CLASS="SECT3"
><H3
CLASS="SECT3"
><A
NAME="AEN1010"
>OSPF</A
></H3
><P
>OSPF messages also include a little more information. The format of an
OSPF message in the window is:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SYNOPSIS"
>OSPF <TT
CLASS="REPLACEABLE"
><I
>type</I
></TT
> (a=<TT
CLASS="REPLACEABLE"
><I
>area</I
></TT
> r=<TT
CLASS="REPLACEABLE"
><I
>router</I
></TT
>) (<TT
CLASS="REPLACEABLE"
><I
>size</I
></TT
>bytes) from <TT
CLASS="REPLACEABLE"
><I
>source</I
></TT
> to <TT
CLASS="REPLACEABLE"
><I
>destination</I
></TT
>
[(src HWaddr <TT
CLASS="REPLACEABLE"
><I
>srcMACaddress</I
></TT
>)] on <TT
CLASS="REPLACEABLE"
><I
>interface</I
></TT
></PRE
></TD
></TR
></TABLE
><P
> The type can be one of the following:</P
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="COMPUTEROUTPUT"
>hlo</TT
></DT
><DD
><P
> OSPF hello. Hello messages establish OSPF communications and keep routers informed of each other's presence. </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>DB desc</TT
></DT
><DD
><P
> OSPF Database Description </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>LSR</TT
></DT
><DD
><P
> OSPF Link State Request </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>LSU</TT
></DT
><DD
><P
> OSPF Link State Update. Messages indicating the states of the OSPF network links </P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>LSA</TT
></DT
><DD
><P
> OSPF Link State Acknowledgment</P
></DD
></DL
></DIV
><P
> The entries in parentheses:</P
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="COMPUTEROUTPUT"
>a=<TT
CLASS="REPLACEABLE"
><I
>area</I
></TT
></TT
></DT
><DD
><P
> The area number of the OSPF message</P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>r=<TT
CLASS="REPLACEABLE"
><I
>router</I
></TT
></TT
></DT
><DD
><P
> The IP address of the router that generated the message. It
is not necessarily the same as the source address
of the encapsulating IP packet.</P
></DD
></DL
></DIV
><P
> Many times, the destination addresses for OSPF packets are class D
multicast addresses in standard dotted decimal notation or (if reverse
lookup is enabled), hosts under the <TT
CLASS="COMPUTEROUTPUT"
>MCAST.NET</TT
> domain. Such multicast
addresses are defined as follows:</P
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="COMPUTEROUTPUT"
>224.0.0.5 (OSPF-ALL.MCAST.NET)</TT
></DT
><DD
><P
>OSPF all routers</P
></DD
><DT
><TT
CLASS="COMPUTEROUTPUT"
>224.0.0.6 (OSPF-DSIG.MCAST.NET)</TT
></DT
><DD
><P
>OSPF all designated routers</P
></DD
></DL
></DIV
><P
> See RFC 1247 for details on the OSPF protocol.</P
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="itrafmon.html"
><<< Previous</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="manual.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x1077.html"
>Next >>></A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>The IP Traffic Monitor</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="itrafmon.html"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Additional Information</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>
|