cdpsnarf

Description

CDPSnarf if a network sniffer exclusively written to extract information from CDP packets. It provides all the information a “show cdp neighbors detail” command would return on a Cisco router and even more.

The application is written in C using the popular PCAP library.

Sample Output

Cisco AIR-AP1231G-E-K9 Access Point:

cyborg@cyborg:~$ sudo cdpsnarf eth0
Waiting for a CDP packet...
 
[#0] Sniffed CDP advertisement with a size of 367 bytes.
-------------------------------------------------------
CDP Version: 2
TTL: 180 ms
Checksum: 0x7282
 
Device ID: cisco-ap.mydomain.net
 
Software version: Cisco IOS Software, C1200 Software (C1200-K9W7-M),
Version 12.3(8)JEA, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Wed 23-Aug-06 16:42 by kellythw
 
Platform: cisco AIR-AP1231G-E-K9
 
Addresses: 1
 Address #: 1
 Protocol type: [1] NLPID format
 Protocol: [0xCC] IP
 IP Address: 157.228.87.1
 
 
Port ID: Dot11Radio0
 
Capabilities:
 [0x02] Transparent bridge
0 Comments

Leave a reply

CONTACT US

We're are building as a community and a team. Be a part of it.

Sending

©2017 Ztrela Knowledge Solutions Pvt. Ltd

Log in with your credentials

Forgot your details?