mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 06:10:30 -04:00
CDPSnarf is 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. Features: Time intervals between CDP advertisements Source MAC address CDP Version TTL Checksum Device ID Software version Platform Addresses Port ID Capabilities Duplex Save packets in PCAP dump file format Read packets from PCAP dump files Debugging information (using the "-d" flag) Tested with IPv4 and IPv6 WWW: https://github.com/Zapotek/cdpsnarf PR: 206841 Submitted by: Rihaz Jerrin <rihaz.jerrin@gmail.com>
14 lines
609 B
C
14 lines
609 B
C
--- cdpsnarf.c.orig 2016-02-05 16:29:16 UTC
|
|
+++ cdpsnarf.c
|
|
@@ -194,11 +194,6 @@ int main( int argc, char *argv[] ) {
|
|
int i = 0;
|
|
|
|
printf( "CDPSnarf %s [%s] initiated.\n", VERSION, SVN_REV );
|
|
- printf( " Author: Anastasios \"Zapotek\" Laskos\n" );
|
|
- printf( " <tasos.laskos@gmail.com>\n" );
|
|
- printf( " <zapotek@segfault.gr>\n" );
|
|
- printf( " Website: http://www.segfault.gr\n" );
|
|
- printf( " http://github.com/Zapotek/cdpsnarf\n\n" );
|
|
|
|
// get command line arguments
|
|
while( ( c = getopt( argc, argv, "i:dhw:r:" ) ) != -1 ) {
|