Giter VIP home page Giter VIP logo

anthcp / fastnetmon Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fastvpseestiou/fastnetmon

0.0 2.0 0.0 28.77 MB

This is old freezed version! Please use https://github.com/pavel-odintsov/fastnetmon for actual code

License: GNU General Public License v2.0

CMake 2.12% Makefile 0.12% Shell 0.84% C++ 69.75% Protocol Buffer 0.67% C 16.44% Go 0.65% Perl 8.08% Groff 0.13% Lua 0.74% Python 0.47%

fastnetmon's Introduction

FastNetMon

FastNetMon - A high performance DoS/DDoS load analyzer built on top of multiple packet capture engines (NetFlow, IPFIX, sFLOW, SnabbSwitch, netmap, PF_RING, PCAP).

What can we do? We can detect hosts in our own network with a large amount of packets per second/bytes per second or flow per second incoming or outgoing from certain hosts. And we can call an external script which can notify you, switch off a server or blackhole the client.

License: GPLv2

Author: Pavel Odintsov pavel.odintsov at gmail.com Follow my Twitter

Project

Supported packet capture engines

  • NetFlow v5, v9
  • IPFIX
  • sFLOW v4 (dev branch only), v5
  • Port mirror/SPAN capture with PF_RING (with ZC/DNA mode support need license), SnabbSwitch, NETMAP and PCAP

You could look comparison table for all available packet capture engines.

Features

  • Complete BGP Flow Spec support, RFC 5575
  • Can process incoming and outgoing traffic
  • Can trigger block script if certain IP loads network with a large amount of packets/bytes/flows per second
  • Thresholds could be configured in per subnet basis with hostgroups feature
  • Could announce blocked IPs to BGP router with ExaBGP
  • GoBGP integration for unicast IPv4 announces
  • Full integration with Graphite and InfluxDB
  • Redis integration
  • MongoDB integration
  • Deep packet inspection for attack traffic
  • netmap support (open source; wire speed processing; only Intel hardware NICs or any hypervisor VM type)
  • SnabbSwitch support (open source, very flexible, LUA driven, very-very-very fast)
  • Could filter out NetFLOW v5 flows or sFLOW packets with script implemented in LUA (useful for port exclude)
  • Supports L2TP decapsulation, VLAN untagging and MPLS processing in mirror mode
  • Can work on server/soft-router
  • Can detect DoS/DDoS in 1-2 seconds
  • Tested up to 10GE with 12 Mpps on Intel i7 3820 with Intel NIC 82599
  • Complete plugin support
  • Could capture attack fingerprint in pcap format
  • Have complete support for most popular attack types

Running Fastnetmon

Supported platforms

  • Linux (Debian 6/7/8, CentOS 6/7, Ubuntu 12+)
  • FreeBSD 9, 10, 11
  • Mac OS X Yosemite

Supported architectures

  • x86 64 bit (recommended)
  • x86 32 bit

Router integration instructions:

Distributions Supported

Build Status Gitter Stories in Progress What is "flow" in FastNetMon terms? It's one or multiple udp, tcp, icmp connections with unique src IP, dst IP, src port, dst port and protocol.

Screenshoots

Main program screen image:

Main screen image

Example for cpu load on Intel i7 2600 with Intel X540/82599 NIC on 400 kpps load: Cpu consumption

Example deployment scheme: Network diagramm

Example of notification email about detected attack.

To enable sFLOW simply specify IP of server with installed FastNetMon and specify port 6343. To enable netflow simply specify IP of server with installed FastNetMon and specify port 2055.

Why did we write this? Because we can't find any software for solving this problem in the open source world!

How I can help project?

  • We are looking for maintainer for Debian and Fedora/EPEL packages
  • Test it!
  • Share your experience
  • Share your use cases
  • Share your improvements
  • Test it with different equipment
  • Create feature requests

fastnetmon's People

Contributors

pavel-odintsov avatar vps2fast avatar robertoberto avatar zenvdeluca avatar amdmi3 avatar lukego avatar rolexcolocat avatar cojacfar avatar kaniini avatar bolt1777 avatar dotie avatar pedroraja avatar markhprice avatar

Watchers

James Cloos avatar VK5QS - Anthony avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.