{"id":799,"date":"2008-04-30T06:49:34","date_gmt":"2008-04-30T06:49:34","guid":{"rendered":"https:\/\/www.darknet.org.uk\/?p=799"},"modified":"2015-09-09T19:39:29","modified_gmt":"2015-09-09T11:39:29","slug":"cdpsnarf-cdp-packet-sniffer","status":"publish","type":"post","link":"https:\/\/www.darknet.org.uk\/2008\/04\/cdpsnarf-cdp-packet-sniffer\/","title":{"rendered":"CDPSnarf – CDP Packet Sniffer"},"content":{"rendered":"

[ad]<\/p>\n

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.<\/p>\n

The application is written in C using the popular PCAP library.<\/p>\n

Sample Output<\/strong><\/p>\n

Cisco AIR-AP1231G-E-K9 Access Point:<\/p>\n

\r\n$ sudo .\/cdpsnarf eth2\r\nWaiting for a CDP packet...\r\n\r\n[#0] Sniffed CDP advertisement with a size of 367 bytes.\r\n-------------------------------------------------------\r\nCDP Version: 2\r\nTTL: 180 ms\r\nChecksum: 0x7282\r\n\r\nDevice ID: cisco-ap.mydomain.net\r\n\r\nSoftware version: Cisco IOS Software, C1200 Software (C1200-K9W7-M),\r\nVersion 12.3(8)JEA, RELEASE SOFTWARE (fc2)\r\nTechnical Support: http:\/\/www.cisco.com\/techsupport\r\nCopyright (c) 1986-2006 by Cisco Systems, Inc.\r\nCompiled Wed 23-Aug-06 16:42 by kellythw\r\n\r\nPlatform: cisco AIR-AP1231G-E-K9\r\n\r\nAddresses:  1\r\n   Address #: 1\r\n   Protocol type: [1] NLPID format\r\n   Protocol: [0xCC] IP\r\n   IP Address: 157.228.87.1\r\n\r\n\r\nPort ID: Dot11Radio0\r\n\r\nCapabilities:\r\n   [0x02]       Transparent bridge\r\n<\/pre>\n

<\/code><\/p>\n

You can download CDPSnarf here:<\/p>\n

CDPSnarf 0.1.6<\/a><\/p>\n

<\/p>\n

Or read more here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"

[ad] 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: $ sudo .\/cdpsnarf eth2 […]<\/p>\n","protected":false},"author":25,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[9,5],"tags":[1047,1928,1704,8858],"featured_image_src":null,"featured_image_src_square":null,"author_info":{"display_name":"Darknet","author_link":"https:\/\/www.darknet.org.uk\/author\/darknet\/"},"_links":{"self":[{"href":"https:\/\/www.darknet.org.uk\/wp-json\/wp\/v2\/posts\/799"}],"collection":[{"href":"https:\/\/www.darknet.org.uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.darknet.org.uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.darknet.org.uk\/wp-json\/wp\/v2\/users\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/www.darknet.org.uk\/wp-json\/wp\/v2\/comments?post=799"}],"version-history":[{"count":0,"href":"https:\/\/www.darknet.org.uk\/wp-json\/wp\/v2\/posts\/799\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.darknet.org.uk\/wp-json\/wp\/v2\/media?parent=799"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.darknet.org.uk\/wp-json\/wp\/v2\/categories?post=799"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.darknet.org.uk\/wp-json\/wp\/v2\/tags?post=799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}