robelr@mythos.ucs.indiana.edu (Allen Robel) (03/26/91)
I've finished the IGRP decoder for the Sniffer. You'll need MicroSoft C 5.1 installed on your Sniffer to build it. I've included detailed step-by-step instructions for building this in a README file. The decoder is located at: mythos.ucs.indiana.edu (129.79.16.210) in pub/IGRP Use ACSII mode to GET igrp.c, igrp.h, and README Use BINARY mode to GET igrp.ens. igrp.ens is optional. Its a capture filter to capture IP type 9 packets (IGP). I've checked the numbers that this decoder displays for "sane-ness" and they agree with cisco's SHOW INTERFACE and SHOW ROUTE. How I came up with the numbers and how cisco comes up with the numbers are probably two different beasts entirely but at least they're the same... Due to a limit on the number of detail lines the Sniffer (ver. 3.0) can display, I had to squeeze the numbers for each route into two lines so that all the routes in a large network could be displayed. Since I had to scrunch up the numbers on the display, I looked to the experts at scrunching up numbers :-) so this decoder's output will look familiar to those that pound on cisco's routers. Below is a sample... enjoy! allen From the header section: SUMMARY Delta T Destination Source Summary M 1 Broadcast cisco_hper.. IGRP Routing Entries = 88 IGRP: ----- IGRP Protocol Header ----- IGRP: IGRP: Version and Opcode = 11 IGRP: ...1 .... = Version 1 IGRP: .... ...1 = Update IGRP: .... ..0. = IGRP: IGRP: Edition = 21 IGRP: AS Number = 87 IGRP: Local Subnets = 83 IGRP: Networks inside AS = 3 IGRP: Networks outside AS = 2 IGRP: Checksum = ac62 From the routing table section [whole lotta routes deleted]: IGRP: # 82 [129.79.41.0] DLY 2000 usec, BW 5000 Kbit, MTU 1500 bytes IGRP: rely 255/255, load 1/255, Hops 1, Metric 2200 IGRP: # 83 [129.79.32.0] DLY 2000 usec, BW 10000 Kbit, MTU 1500 bytes IGRP: rely 255/255, load 1/255, Hops 1, Metric 1200 IGRP: IGRP: System Routes (Major networks in this AS) IGRP: IGRP: # 1 [129.140.182.0] DLY 21000 usec, BW 1544 Kbit, MTU 1500 bytes IGRP: rely 255/255, load 1/255, Hops 1, Metric 8576 IGRP: # 2 [129.134.68.0] DLY 22000 usec, BW 280 Kbit, MTU 1500 bytes IGRP: rely 255/255, load 1/255, Hops 2, Metric 37914 IGRP: # 3 [129.139.102.0] DLY 22000 usec, BW 1544 Kbit, MTU 1500 bytes IGRP: rely 255/255, load 1/255, Hops 2, Metric 8676 IGRP: IGRP: Exterior Routes (Candidate Default Routes) IGRP: IGRP: # 1 [129.129.140.0] DLY 31000 usec, BW 1500 Kbit, MTU 576 bytes IGRP: rely 255/255, load 40/255, Hops 2, Metric 9766 IGRP: # 2 [129.131.103.0] DLY 21000 usec, BW 1500 Kbit, MTU 1500 bytes IGRP: rely 255/255, load 1/255, Hops 1, Metric 8766 IGRP: IGRP: [Normal end of "IGRP Protocol Header".] IGRP: