Wadah Belajar Linux, Debian, Mikrotik, Networking, Routing, dan Ilmu Pendukungnya

< Browse > Home / Linux, Networking, network tool / Blog article: ipgrab – Tcpdump-like utility that prints detailed header information

| Mobile | RSS

ipgrab – Tcpdump-like utility that prints detailed header information

November 6th, 2008 | No Comments | Posted in Linux, Networking, network tool

Ipgrab is a network debugging utility not unlike tcpdump except that it prints out detailed header field information for data link, network and transport layers.

Install ipgrab in debian

#apt-get install ipgrab
Reading package lists… Done
Building dependency tree… Done
The following NEW packages will be installed
ipgrab
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 74.2kB of archives.
After unpacking 213kB of additional disk space will be used.
Get: 1 ftp://kambing.ui.edu stable/main ipgrab 0.9.9-1 [74.2kB]
Fetched 74.2kB in 1s (43.2kB/s)
Selecting previously deselected package ipgrab.
(Reading database … 39833 files and directories currently installed.)
Unpacking ipgrab (from …/ipgrab_0.9.9-1_i386.deb) …
Setting up ipgrab (0.9.9-1) …

If you want to run ipgrab run the following command
#ipgrab
Output looks like below

**************************************************************************
Ethernet (1225943550.294175)
————————————————————————–
Hardware source:        00:0e:a6:32:7e:48
Hardware destination:   00:1e:be:4f:93:08
Type / Length:          0×800 (IP)
Media length:           106
————————————————————————–
IP Header
————————————————————————–
Version:                4
Header length:          5 (20 bytes)
TOS:                    0×10
Total length:           92
Identification:         62836
Fragmentation offset:   0
Unused bit:             0
Don’t fragment bit:     1
More fragments bit:     0
Time to live:           64
Protocol:               6 (TCP)
Header checksum:        40374
Source address:         172.16.5.3
Destination address:    172.16.5.23
————————————————————————–
TCP Header
————————————————————————–
Source port:            22 (SSH)
Destination port:       4693 (unknown)
Sequence number:        3047833682
Acknowledgement number: 2708388300
Header length:          5 (20 bytes)
Unused:                 0
Flags:                  PA
Window size:            9648
Checksum:               42927
Urgent:                 0

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogosphere News
  • Live
  • MisterWong
  • MySpace
  • Ping.fm
  • Slashdot
  • StumbleUpon
  • Technorati
  • Print
  • email
Leave a Reply 2547 views, 1 so far today |

Related Posts

Leave a Reply



View My Stats