diff options
author | Kurt Jaeger <pi@FreeBSD.org> | 2016-02-05 22:01:36 +0000 |
---|---|---|
committer | Kurt Jaeger <pi@FreeBSD.org> | 2016-02-05 22:01:36 +0000 |
commit | 17e7e7198af8596af1f64b78f01a4245e9793be7 (patch) | |
tree | c36137b0d647561b89184e1785bfc9f00f71469d /net-mgmt/cdpsnarf/files | |
parent | www/axis2: 1.6.4 -> 1.7.0 (diff) |
New port: net-mgmt/cdpsnarf
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>
Notes
Notes:
svn path=/head/; revision=408272
Diffstat (limited to 'net-mgmt/cdpsnarf/files')
-rw-r--r-- | net-mgmt/cdpsnarf/files/patch-cdpsnarf.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net-mgmt/cdpsnarf/files/patch-cdpsnarf.c b/net-mgmt/cdpsnarf/files/patch-cdpsnarf.c new file mode 100644 index 000000000000..7c0f2d8e0566 --- /dev/null +++ b/net-mgmt/cdpsnarf/files/patch-cdpsnarf.c @@ -0,0 +1,14 @@ +--- 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 ) { |