fastnetmon-ng/README.md

115 lines
5.5 KiB
Markdown
Raw Normal View History

2014-06-08 20:49:25 +02:00
FastNetMon
2013-11-14 09:23:10 +01:00
===========
2015-10-06 17:37:27 +02:00
FastNetMon - A high performance DoS/DDoS load analyzer built on top of multiple packet capture engines (NetFlow, IPFIX, sFLOW, SnabbSwitch, netmap, PF_RING, PCAP).
2015-03-10 23:38:10 +01:00
2015-10-06 17:37:27 +02:00
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.
2015-06-15 11:59:12 +02:00
2015-10-06 17:37:27 +02:00
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.
2015-06-18 09:01:33 +02:00
2015-10-06 17:37:27 +02:00
Why did we write this? Because we can't find any software for solving this problem in the open source world!
2015-08-27 16:07:30 +02:00
2015-10-07 05:33:15 +02:00
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.
License: GPLv2
2013-10-18 12:09:53 +02:00
[![Build Status](https://travis-ci.org/pavel-odintsov/fastnetmon.svg?branch=master)](https://travis-ci.org/pavel-odintsov/fastnetmon) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/FastVPSEestiOu/fastnetmon?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
2015-10-07 05:33:15 +02:00
2014-11-22 14:24:50 +01:00
2015-10-06 17:37:27 +02:00
Project
-------
- [Mailing list](https://groups.google.com/forum/#!forum/fastnetmon)
- [Roadmap](docs/ROADMAP.md)
- [Release Notes](docs/RELEASENOTES.md)
- Chat: #fastnetmon at irc.freenode.net [web client](https://webchat.freenode.net/)
- [Please fill survey, we need your voice!](https://docs.google.com/forms/d/1YoXQImMeEjBH-JPz3KYtcDwknHs8xrI538ObwSy9uZo/viewform)
- Detailed reference in Russian: [link](https://github.com/FastVPSEestiOu/fastnetmon/blob/master/docs/FastNetMon_Reference_Russian.pdf)
2015-05-02 18:36:34 +02:00
2015-10-06 17:37:27 +02:00
Supported packet capture engines
--------------------------------
2015-03-23 11:39:08 +01:00
- NetFlow v5, v9
- IPFIX
2015-06-24 16:49:04 +02:00
- ![sFLOW](http://sflow.org/images/sflowlogo.gif) v4 (dev branch only), v5
- Port mirror/SPAN capture with PF_RING (with ZC/DNA mode support [need license](http://www.ntop.org/products/pf_ring/)), SnabbSwitch, NETMAP and PCAP
2015-03-23 11:37:29 +01:00
2015-04-28 21:39:08 +02:00
You could look [comparison table](https://github.com/FastVPSEestiOu/fastnetmon/blob/master/docs/CAPTURE_BACKENDS.md) for all available packet capture engines.
2015-10-06 17:37:27 +02:00
Features
--------
- Complete [BGP Flow Spec support](docs/BGP_FLOW_SPEC.md), RFC 5575
2014-11-22 14:17:26 +01:00
- Can process incoming and outgoing traffic
2015-05-07 16:06:47 +02:00
- 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
2015-04-26 15:00:47 +02:00
- Could [announce blocked IPs](docs/EXABGP_INTEGRATION.md) to BGP router with [ExaBGP](https://github.com/Exa-Networks/exabgp)
2015-10-05 13:02:05 +02:00
- GoBGP [integration](docs/GOBGP.md) for unicast IPv4 announces
2015-08-04 15:15:44 +02:00
- Full integration with [Graphite](docs/GRAPHITE_INTEGRATION.md) and [InfluxDB](docs/INFLUXDB_INTEGRATION.md)
2015-10-16 12:56:31 +02:00
- API
2015-10-01 11:23:14 +02:00
- Redis integration
- MongoDB integration
- Deep packet inspection for attack traffic
2015-03-15 19:07:19 +01:00
- 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
2014-11-22 14:17:26 +01:00
- Can work on server/soft-router
- Can detect DoS/DDoS in 1-2 seconds
2015-05-13 23:06:47 +02:00
- [Tested](https://github.com/FastVPSEestiOu/fastnetmon/blob/master/docs/PERFORMANCE_TESTS.md) up to 10GE with 12 Mpps on Intel i7 3820 with Intel NIC 82599
2015-01-26 13:11:51 +01:00
- Complete plugin support
2015-07-16 22:47:55 +02:00
- Could capture attack fingerprint in pcap format
2015-05-08 18:00:48 +02:00
- Have [complete support](docs/DETECTED_ATTACK_TYPES.md) for most popular attack types
2014-11-22 14:17:26 +01:00
2015-10-06 17:37:27 +02:00
Running Fastnetmon
------------------
### Supported platforms
2015-04-26 21:30:38 +02:00
- Linux (Debian 6/7/8, CentOS 6/7, Ubuntu 12+)
2015-02-10 14:36:09 +01:00
- FreeBSD 9, 10, 11
- Mac OS X Yosemite
2015-10-06 17:37:27 +02:00
### Supported architectures
- x86 64 bit (recommended)
- x86 32 bit
2015-01-09 23:53:31 +01:00
2015-10-06 17:37:27 +02:00
### Router integration instructions
- [Juniper MX Routers](docs/JUNOS_INTEGRATION.md)
2015-10-06 17:37:27 +02:00
### Distributions supported
- We are part of [CloudRouter](https://cloudrouter.org/cloudrouter/2015/07/09/fastnetmon.html) distribution
- We are part of [official FreeBSD ports](https://freshports.org/net-mgmt/fastnetmon/), [manual install](docs/FreeBSD_INSTALL.md)
- [Amazon AMI image](docs/AMAZON.md)
- [VyOS based iso image with bundled FastNetMon](docs/VYOS_BINARY_ISO_IMAGE.md)
- [Docker image](docs/DOCKER_INSTALL.md)
- [Binary rpm packages for CentOS 6/7 and Fedora 21](docs/INSTALL_RPM_PACKAGES.md)
- [Automatic install script for Debian/Ubuntu/CentOS/Fedora/Gentoo](docs/INSTALL.md)
- [Automatic install script for Mac OS X](docs/MAC_OS_INSTALL.md)
- [Manual install on Slackware](docs/SLACKWARE_INSTALL.md)
- [Manual install for VyOS](docs/VyOS_INSTALL.md)
Screenshoots
------------
Main program screen image:
![Main screen image](docs/images/fastnetmon_screen.png)
Example for cpu load on Intel i7 2600 with Intel X540/82599 NIC on 400 kpps load:
![Cpu consumption](docs/images/fastnetmon_stats.png)
2014-11-22 14:17:26 +01:00
Example deployment scheme:
![Network diagramm](docs/images/network_map.png)
2014-11-14 21:43:00 +01:00
2015-05-07 16:00:29 +02:00
Example of [notification email](docs/ATTACK_REPORT_EXAMPLE.md) about detected attack.
2014-12-02 14:42:40 +01:00
2015-03-25 16:05:15 +01:00
2015-03-17 10:14:49 +01:00
How I can help project?
2015-10-06 17:37:27 +02:00
-----------------------
- We are looking for maintainer for Debian and Fedora/EPEL packages
2015-03-17 10:14:49 +01:00
- Test it!
- Share your experience
- Share your use cases
2015-03-17 10:14:49 +01:00
- Share your improvements
2015-03-22 12:09:29 +01:00
- Test it with different equipment
2015-03-17 10:14:49 +01:00
- Create feature requests
2015-10-06 17:37:27 +02:00
Author: [Pavel Odintsov](http://ru.linkedin.com/in/podintsov/) pavel.odintsov at gmail.com [Follow my Twitter](https://twitter.com/odintsov_pavel)