Commit Graph

1239 Commits

Author SHA1 Message Date
Pavel Odintsov 9fb663557e old cmake does not like command: CHECK_C_SOURCE_COMPILES 2020-05-31 13:56:43 +01:00
Pavel Odintsov 54642940b1 Fixed AF_PACKET support check for old distros. Closes #816 2020-05-31 13:50:25 +01:00
Pavel Odintsov 3d4fe275b1 Reduced number of CPU cores for CircleCI 2020-05-27 00:01:50 +01:00
Pavel Odintsov 2b0be61a64 Improved failure experience in CI environment 2020-05-26 21:25:57 +01:00
Pavel Odintsov dc69c35deb Removed ldconfig changes, added conf option flag, added FNM run on CI after build 2020-05-26 20:46:44 +01:00
Pavel Odintsov e631b3babf Fixed variable name for PF_RING mode 2020-05-25 23:08:47 +01:00
Pavel Odintsov 5b474700fb Added logic to disable Netmap plugin on very old platforms. Closes #810 2020-05-25 22:54:00 +01:00
Pavel Odintsov f13a958d60 Replaced unreliable kernel version based check by compilation check. Closes #809 2020-05-25 22:28:29 +01:00
Pavel Odintsov 05d6a24276 Added dependency on dnf-plugins-core for CentOS 8 2020-05-25 21:17:41 +01:00
Pavel Odintsov dbe71601b2 Added PowerTools report for CentOS 8 builds. Closes #801 2020-05-25 21:12:45 +01:00
Pavel Odintsov 5d498ad28b Removed annoying alerts for users without ANSI color library 2020-05-25 20:31:15 +01:00
Pavel Odintsov cdeaae1a8e Added logic to cache compiled dependencies and skipt their build if we've got them 2020-05-25 20:26:11 +01:00
Pavel Odintsov 7ecd00656a Switched to DEBIAN_FRONTEND=noninteractive to address interactive questions from tzdata in Docker environment 2020-05-25 19:45:50 +01:00
Pavel Odintsov 30a85236df Split dependency install process into two steps: packages and compilation 2020-05-25 13:59:04 +01:00
Pavel Odintsov 4eee2ba885 Increased build time for CircleCI 2020-05-25 13:18:42 +01:00
Pavel Odintsov d53208f4ec Added new way to distinguish CI builds 2020-05-25 12:52:39 +01:00
Pavel Odintsov 265b7c69ae Added documentation for API client 2020-05-24 15:38:52 +01:00
Pavel Odintsov d398b57c4f GoBGP unused code cleanup, added support for per subnet builds 2020-05-24 15:11:01 +01:00
Pavel Odintsov 602f56b920 Suppressed compilation warnings. Closes #806 2020-05-24 13:35:20 +01:00
Pavel Odintsov dd248303d3 Unified log4cpp headers and suppressed deprecation errors. Closes #805 2020-05-24 13:12:21 +01:00
Pavel Odintsov 6679e2e11e Added more verbose messages about protobuf compiler 2020-05-24 12:55:14 +01:00
Pavel Odintsov 8f24ca9ff7 Added separate flag to build api explicitly 2020-05-24 12:35:10 +01:00
Pavel Odintsov 28ba87717a Fixed issue with hunging API server. Closes: #804 2020-05-24 02:23:33 +01:00
Pavel Odintsov 8ee5bc40a0 Added GoBGP integration based on new GoBGP API. Related: #389 2020-05-24 01:36:50 +01:00
Pavel Odintsov 0a87084cb5 Upgrade gRPC to current version 2020-05-24 00:31:17 +01:00
Pavel Odintsov 80f968d2a9 Upgrade protobuf to current stable version 2020-05-24 00:11:18 +01:00
Pavel Odintsov 03117a7b68 Switched to using binary build of GoBGP 2.16 2020-05-23 23:51:55 +01:00
Pavel Odintsov 80210fcb8f Deprecated old GoBGP integration because it was deprecated in mainstream https://github.com/osrg/gobgp/issues/1855 2020-05-23 23:51:29 +01:00
Pavel Odintsov 15c3ae4177 Made GoBGP support configurable 2020-05-23 23:21:34 +01:00
Pavel Odintsov 87b102d8b0 Unified get_interface_number_by_device_name() and improved error control 2020-05-23 20:29:17 +01:00
Pavel Odintsov 8cf87fc7b0 Added option to control fanout mode in AF_PACKET. Closes #803 2020-05-23 20:21:50 +01:00
Pavel Odintsov be8afbd1b7 Reformatted source code with clang-format 2020-05-23 19:55:10 +01:00
Pavel Odintsov e10abca803 Added support for artificial sampling rate in AF_PACKET mode. Closes #790 2020-05-23 19:31:06 +01:00
Pavel Odintsov cf9b88ebf3 Do not create new_fastnetmon_installation in currentfolder during install 2020-05-23 19:19:33 +01:00
Pavel Odintsov dfdc2844a1 Switched to new json-c 2020-05-23 18:07:46 +01:00
Pavel Odintsov 93d84ac3f9 Bumped version to 1.1.5 in preparation to cut release 2020-05-23 18:02:16 +01:00
Pavel Odintsov a0fcf9f39e Switched master to latets json-c 2020-05-23 17:52:52 +01:00
Pavel Odintsov 27ce2a4cd9 Added option to install modern JSON-C for installer and added help 2020-05-23 17:52:39 +01:00
Pavel Odintsov b976c8f12a Updated GoBGP proto file to current stable version v2.16.0 2020-05-23 17:35:39 +01:00
Pavel Odintsov 0ed31107d1 Disabled PF_RING build by default in cmake file 2020-05-23 17:32:23 +01:00
Pavel Odintsov 51cd23a41a Made luajit optional feature 2020-05-23 17:25:55 +01:00
Pavel Odintsov 780aff3601
Added which for nDPI build process dependency. Fixes #797 2020-04-13 16:15:00 +01:00
Pavel Odintsov c2441d714a Fixed support for old compilers 2020-01-27 21:08:03 +00:00
Pavel Odintsov 7a0756e67b Do not use repo's version when we need version from master 2020-01-27 21:03:54 +00:00
Pavel Odintsov 8eced79901 I've added support for multiple interfaces in AF_PACKET mode. It's new default port mirror capture engine 2020-01-27 21:02:05 +00:00
Pavel Odintsov 42e85db9d9 Extracted AF_PACKET logic into function 2020-01-27 20:56:45 +00:00
Pavel Odintsov 64b74b979b Added detailed info messages about AF_PACKET workers and fixed build for FreeBSD 2020-01-27 20:50:02 +00:00
Pavel Odintsov a86d0d05b8 Switched to booleans for return codes to make logic clear 2020-01-27 20:45:01 +00:00
Pavel Odintsov 8599af0390 Disabled fixed CPU allocation for AF_PACKET. It wastes resources on modern servers 2020-01-27 20:42:54 +00:00
Pavel Odintsov 65cc8367db Added explicit control on fanout logic 2020-01-27 20:38:39 +00:00
Pavel Odintsov a20c980d96 Added fix for json-c to build it on Debian Buster 2020-01-19 13:26:02 +00:00
Pavel Odintsov 78a7b039d8 Improved Debian Buster detection. Will use FastNetMon from official repositories instead of manual compilation. Closes #789 2020-01-19 13:09:07 +00:00
Pavel Odintsov 2e587dd678
Fixed bytes per second to mbits conversion to correct formula. It should improve calculation accurancy
Thanks to Denis Troshanovich for noticing it!
2019-11-16 13:30:45 +00:00
Yasser Bazzi 50d9706b0f Remove useless booleans. (#780)
These booleans are not used anywhere on the code.
2019-11-08 02:06:04 +00:00
Pavel Odintsov dc07dd3672 Added json-c fix to allow old code on new systems 2019-10-20 20:28:36 +01:00
Pavel Odintsov f7517de755 Added EPEL 8 install for CentOS 8 2019-10-20 20:19:36 +01:00
Pavel Odintsov ffafe3afcb Enabled verbose output from git clone to debug installation failures 2019-07-16 19:08:59 +01:00
Pavel Odintsov 511b24f35f Exported distro specific information to ENV 2019-07-16 19:01:44 +01:00
Pavel Odintsov 5517f3c6ff Added missing dependency for CentOS 7 platform 2019-07-14 21:22:07 +01:00
Pavel Odintsov 43f63398f9 Switched tee to append mode to keep install history for all packages 2019-07-14 21:10:32 +01:00
Pavel Odintsov 2ffe1303f6 Added explicit log to installer log file during FastNetMon build 2019-07-14 21:03:48 +01:00
Pavel Odintsov 60d1ed9594 Added suggested steps in case of installation failure 2019-07-14 20:56:40 +01:00
Pavel Odintsov 241aefcbda Removed fencing code 2019-07-14 20:43:49 +01:00
Pavel Odintsov d887900754 Introduced installer failure tracking 2019-07-14 20:42:34 +01:00
Pavel Odintsov 89f572b0ab Added inplace bugfix for CentOS 6 2019-07-14 20:02:00 +01:00
Pavel Odintsov 9717912725 Added missing dependency required for old compilers 2019-07-14 19:57:22 +01:00
Pavel Odintsov 8530d19a84 Improved install failure reporing 2019-07-14 19:26:13 +01:00
Pavel Odintsov cde911d8df Replaced die by fast_die to use for install failure reporting 2019-07-14 19:20:24 +01:00
Pavel Odintsov 14ec1fd4ae Added packages required for build process 2019-07-14 19:15:25 +01:00
Pavel Odintsov 24065de7f8 Removed compiler build tools from install script 2019-07-14 12:12:26 +01:00
Pavel Odintsov 88bc9fd68f Fixed install process for systemd enabled distros 2019-07-14 12:06:16 +01:00
Pavel Odintsov 14667413c7 Removed obsoleted option from installer code 2019-07-14 11:51:20 +01:00
Pavel Odintsov d401df3eee Improved code to guess system-enabled distro 2019-07-14 11:46:39 +01:00
Pavel Odintsov 07479b7e87 Made Term::ANSIColor module optional 2019-07-14 11:25:59 +01:00
Pavel Odintsov b7bed171ae Added accept clause for unknown action types 2019-07-11 21:20:51 +01:00
Pavel Odintsov 93ead8d3bc
Commented out default hostgroup 2019-07-11 20:58:09 +01:00
Pavel Odintsov 07a832244e Disabled LUA install in default intsaller too due to low demand 2019-07-11 20:50:35 +01:00
Pavel Odintsov 2c87e24d93 Disabled PF_RING for all distros except Ubuntu 12.04 and CentOS 6 2019-07-11 20:39:34 +01:00
Pavel Odintsov a9e4851c18 Switched to install from repo for Debian 10 2019-07-11 20:16:36 +01:00
Pavel Odintsov d465fdc998 Added simple command to fix configuration 2019-07-11 20:12:36 +01:00
Pavel Odintsov 90b30824d7 Added some useful commands for installer 2019-07-11 20:07:19 +01:00
Pavel Odintsov 30ced722c4 Added systemd reload command to apply changes 2019-07-11 20:04:01 +01:00
Pavel Odintsov 4790c728eb
Disabled sFlow and Netflow plugins by default 2019-07-11 20:03:04 +01:00
Pavel Odintsov a20b2ec7ae Added small help file for Ubuntu distros and improved tool security 2019-07-11 20:01:45 +01:00
Pavel Odintsov efdbf24c0e Switched installer script to using FastNetMon from official repositories for Ubuntu 18.04 and 19.04 2019-07-11 19:55:45 +01:00
Pavel Odintsov 8b5be4990a Added missing dependency file for Netmap. 2019-06-19 19:53:13 +01:00
Pavel Odintsov 4cf49b7bf0 Updated Netmap API headers from version 11 to 14. Closes #764 2019-06-19 10:41:53 +01:00
Pavel Odintsov 6b93996059
Enabled errors for Mikrotik addon 2019-04-29 20:29:05 +01:00
Jasper Lievisse Adriaanse 998b21daa6 only install systemd service files from cmake install on Linux (#760) 2019-04-01 10:15:36 +01:00
Pavel Odintsov df85edc2dd
Bumped version of FastNetMon for next release 2019-03-31 13:21:46 +01:00
Pavel Odintsov 01ae34143d
Switched installer to version 1.1.4 2019-03-31 12:52:09 +01:00
Pavel Odintsov 38bf681f18
Fixed build process for json-c on systems with fresh gcc (#752) 2019-02-13 22:20:23 +00:00
Pavel Odintsov 59f990dc56
Added more updates for Mikrotik 2019-02-13 19:52:28 +00:00
Pavel Odintsov 0123a22d48
Added details about configuration for Mikrotik 2019-02-13 19:51:05 +00:00
Pavel Odintsov 978289dd29
Fixed insecure permissions for /tmp/fastnetmon.dat (#749) 2018-12-19 23:06:51 +00:00
Christian David 571ea4847a Juniper Implementation (#747) 2018-12-06 17:33:42 +00:00
Dmitriy Limonov f527101e62 Added decoding of the outer vlan tag in sflow packets. (#736)
* Added decoding of the outer vlan tag in sFlow packets for QnQ
2018-09-28 16:59:49 +01:00
Pavel Odintsov 64ef4bd012
Added privacy policy 2018-09-17 00:14:22 +01:00
Alexander Astashov bccc10d50d issues/682 v4 (#727)
Added support for host addresses in whitelist.  Closes #682
2018-08-02 23:55:01 +01:00
Pavel Odintsov a330d92b8c
Added executable bit and details for advanced 2018-07-24 23:24:10 +01:00
Pavel Odintsov 2f497ad7e6
Added PHP interpreter install 2018-07-24 23:02:44 +01:00
Pavel Odintsov c9b7ba8987
Moved guide about route collector to site 2018-07-21 13:24:55 +01:00
Hidde van der Heide 68827f3931 Skipp non-protable CPU affinity code on non-GNU libc platforms 2018-07-15 07:32:33 +00:00
Pavel Odintsov 25221a2334
Merge pull request #723 from jasperla/cmake
turn several hardcoded "options" into a real options
2018-07-18 09:58:45 +01:00
Jasper Lievisse Adriaanse 17318e452a turn several hardcoded "options" into a real options
This makes setting the following variables easier:
ENABLE_NETMAP_SUPPORT
ENABLE_DPI_SUPPORT
ENABLE_LUA_SUPPORT (was overridable but not a real option)
2018-07-14 18:13:07 +02:00
Jasper Lievisse Adriaanse 1ba1298e8e Define DLT_LINUX_SLL in case it's not already defined 2018-07-12 08:24:31 +02:00
Jasper Lievisse Adriaanse d02c20b3e8 add support for OpenBSD 2018-07-11 16:41:24 +02:00
Pavel Odintsov 6bc480b523
Fixed colon 2018-03-04 20:49:22 +00:00
Pavel Odintsov c965a84afa
Fixed console colors 2018-03-04 20:48:57 +00:00
Pavel Odintsov d326867792
Added UTM tags for install script 2018-03-04 20:41:52 +00:00
Pavel Odintsov 2e4ac87c59
Merge pull request #711 from trodery/trodery-documentation-changes
Cleaning up of various documentation
2018-03-01 21:26:29 +00:00
Terry Rodery 3cef12ae4a rephrase 2018-03-01 13:32:55 -06:00
Terry Rodery 97c953e8ee clean-up/rephrase 2018-03-01 13:32:36 -06:00
Terry Rodery 4259d82158 change header format 2018-03-01 13:31:35 -06:00
Terry Rodery f57e02356b rephrase a few things 2018-03-01 13:30:04 -06:00
Terry Rodery 10f04f1700 clean-up and reformat 2018-03-01 13:29:33 -06:00
Terry Rodery 19116c3feb clean-up and migrate to README.md 2018-03-01 13:28:58 -06:00
Terry Rodery ed34eb236c
Update README.md grammar and formatting
Some suggested grammatical and formatting changes
2018-02-28 09:40:27 -06:00
Pavel Odintsov 8e1fb0b076 Do not call exit from thread. Fixes #706 2018-02-13 21:26:04 +00:00
Benjamin Drung 1fdf32aec6 Link against atomic if __atomic_add_fetch_8 is missing
src/fastnetmon.cpp uses __atomic_add_fetch(). Some architectures (like
mips, mipsel, m68k, powerpc, sh4) do not provide these built-in
functions and need to link against atomic to provide this function.

closes #703
Bug-Debian: https://bugs.debian.org/869805
2018-02-05 23:21:12 +01:00
Pavel Odintsov b6e6843d2e Introduced cmake option to enable memory model aware atomics 2018-02-04 13:19:44 +00:00
Pavel Odintsov d5711bb3da Added support for Memory Model Aware Atomic Operations 2018-02-04 13:10:57 +00:00
Benjamin Drung bdf4bdc395 Support nDPI 2.1
The parameters to ndpi_init_detection_module() were changed in nDPI 1.8,
but only nDPI 2.1 gained support for NDPI_MAJOR header variables.
Therefore the preprocessor check works for new versions of nDPI, but not
for nDPI between 1.8 and 2.0. This is the best we can get. Fixes more or
less #597.

Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
2018-01-31 12:49:00 +01:00
Benjamin Drung 10afb25751 Support nDPI 2.2
nDPI 2.0 renamed detected_protocol.protocol to
detected_protocol.app_protocol (to avoid confusion).

fixes #699
Bug-Debian: https://bugs.debian.org/887623
2018-01-30 10:46:39 +01:00
Pavel Odintsov c74470e92d Fixes #690. Added ifconfig to dependencies for CentOS 7 2017-12-19 12:30:44 +00:00
Pavel Odintsov 61ba9e429b
Moved Docker file to src 2017-12-03 22:05:52 +00:00
Pavel Odintsov 1fdde91cbb Fixed bunch of paths to old versions of FNM 2017-12-03 21:22:11 +00:00
Benjamin Drung a4d2d8170a Support setting ENABLE_LUA_SUPPORT
To allow users to disable Lua support, do not overwrite the
ENABLE_LUA_SUPPORT variable. Instead just set the default if it is not
set yet.
2017-08-24 16:39:15 +02:00
Pavel Odintsov 1ccfc2fbab Added pretty colors and reworked text to make it clear why we ask email addresses 2017-07-29 18:45:36 +01:00
Pavel Odintsov 136b9c7c0f Reworked parser code to avoid Netmap dependencies 2017-07-27 23:09:58 +00:00
Pavel Odintsov b480f3590f Introduced an option to disable Netmap plugin 2017-07-27 23:19:33 +01:00
Pavel Odintsov 1b9c49500e Fixes #602 Do not attempt to push blank dataset into Graphite 2017-07-27 22:26:56 +01:00
Pavel Odintsov 95157e88bd GoBGP project re-licensed this file in BSD terms for us instead of Apache 2 licenses. Issue reference: https://github.com/osrg/gobgp/issues/1384 2017-07-26 09:46:40 +01:00
Pavel Odintsov 7c615e9ae1 Removed code which uses x86_only features to fix https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869621 2017-07-25 19:53:15 +01:00
Pavel Odintsov 176f4d2d1e Removed unused code 2017-07-24 12:54:24 +01:00
Pavel Odintsov da8a4ca97f Removed all GeoIP files from repo. We never used them in production code. They was added for testing purpoposes 2017-07-21 19:00:01 +01:00
Pavel Odintsov 7f787c0be0 Also set modern version in cmake build system 2017-06-24 21:43:43 +01:00
Pavel Odintsov c62243ede1 Introduced option --use-modern-pf-ring to install latest PF_RING (6.6.0 at this moment) 2017-06-24 21:15:17 +01:00
Pavel Odintsov 1f7896d2e5 #646: Since this commit we will use our own mirror for all dependencies located on GitHub 2017-06-17 23:03:21 +01:00
Benjamin Drung 4fb2096c3a Install sysvinit script on Debian/Ubuntu
On Debian/Ubuntu systems, install the sysvinit script (in addition to
the systemd service file).
2017-05-30 11:11:39 +02:00
Benjamin Drung fb13a55c5d Add documentation key to systemd service file
Documentation for systemd service files can be automatically viewed
using systemctl help servicename if this field is present. Thus add the
relevant man page, the local and online documentation to the
documentation key.
2017-05-29 16:54:27 +02:00
Benjamin Drung f397d61593 Install fastnetmon.service with cmake
The path to the fastnetmon daemon might differ, thus use configure_file
to set the path dynamically.
2017-05-29 16:50:23 +02:00
Benjamin Drung 28fbaa5d1a Use variables for installation paths
The installation paths differ for Linux and BSD. Thus use variables for
defining installation paths to avoid duplicating install commands.
2017-05-29 16:45:36 +02:00
Pavel Odintsov 1cb80c26b0 Fixed critical bug in IPv6 direction detection code 2017-05-20 19:05:18 +01:00
Benjamin Drung 70da8c54c6 Fix typo criticial -> critical
Fix typo and use full sentences.
2017-05-08 17:14:33 +02:00
Benjamin Drung 6b09a7b190 Fix typo programm -> program 2017-05-08 16:21:52 +02:00
Pavel Odintsov d08f617aee #651: reduced logging level for threshold related messages 2017-04-17 21:49:17 +03:00
Pavel Odintsov e4452170c0 Add notice about FNM Advanced 2017-04-15 22:02:21 +04:00
dmayan 84067a4e10 Added logging to router syslog
Added logging in router's log for banning and unbanning. Useful for reporting and alert management.
2017-04-13 14:41:47 -03:00
Henry Spanka eb3d6ebd66 Restart Fastnetmon when it fails
Sometimes FastNetMon crashes due to Segfaults and to prevent an outage of the DDoS Sensor we should immediately restart it.
2017-04-02 22:10:55 +02:00
Eric Chou fdd37b3140 a10.py modification for PEP476, updated REDME.md 2017-03-18 17:39:23 +00:00
Theodore Baschak ed8b3caae4 add RFC7999 BGP Blackhole community (65535:666) to routes added 2016-12-27 03:17:24 -06:00
Джуринский Александр 1b5c0b9cc8 add txt extension for attacks details files 2016-11-27 00:06:09 +03:00
Pavel Odintsov a1659df66a Merge pull request #595 from evgkrsk/unify-logging
Try to unify syslog logging with local file logging
2016-11-18 23:25:35 +00:00
Alexandr Dzhurinskij 6bed9dcea2 Add custom path to log file 2016-11-09 18:45:56 +03:00
Pavel Odintsov ec092ae702 Fix about absent support of domains names 2016-11-07 01:12:23 +00:00
Evgenii Terechkov f3ba619553 Try to unify syslog logging with local file logging 2016-11-04 23:45:02 +07:00
damiankam 2a5e5df2eb fix in 'parse_hostgroups' - return on split error and trim spaces 2016-09-25 17:54:40 +03:00
damiankam 79b55d0390 add trim while processing lines from config file 2016-09-25 14:00:22 +03:00
damiankam 68498d1302 fix redis log 2016-09-24 21:21:45 +03:00
Pavel Odintsov 70bbdf9483 Add addres to new site 2016-09-10 07:23:58 +03:00
Pavel Odintsov 6e07a08bec Remove space at the end of "ban_for_tcp_pps" line 2016-09-09 09:06:31 +03:00
Shrivatsan Rajagopalan 8071a7e7b5 Minor typo fix. 2016-09-06 14:53:17 -07:00
Pavel Odintsov 12b31c67ae Disable annoying message "Received ipfix options flowset id, which is not supported" 2016-08-26 21:40:09 +03:00
Eric Chou b6b4807532 updated ddos_dst_zone.py 2016-08-22 17:09:24 -07:00
Eric Chou 5b378e1755 Merge branch 'master' of https://github.com/ericchou1/fastnetmon
latest pull for updated base and zone config
2016-08-22 16:51:58 -07:00
Pavel Odintsov 04640eb011 Since this commit we could install kernel headers for current centos kernel 2016-08-20 19:55:30 +03:00
Pavel Odintsov 009b8b7caa Add notification about install log 2016-08-20 15:01:06 +03:00
Pavel Odintsov cd168e9c06 Remove log4cpp from Epel from dependency list for CentOS 7 2016-08-20 14:52:42 +03:00
Rich Groves 67a1fc61cc added README for configs 2016-08-19 16:36:41 -07:00
Rich Groves 77833fa287 added tps_zone_config and tps_base_config v1 2016-08-19 13:32:35 -07:00
Rich Groves e82bfdbe46 added tps_zone_config and tps_base_config v1 2016-08-19 13:27:27 -07:00
Pavel Odintsov 9e6625dec8 Add ability to mitigate mixed attacks. Code originally prepared by https://github.com/dalibort I've just pushed it 2016-08-19 22:43:16 +03:00
Pavel Odintsov 4dab31e3b7 Move flow_spec publish code into separate function. This code orininally written by https://github.com/dalibort I've just extracted it from PR :) 2016-08-19 22:36:40 +03:00
Pavel Odintsov 032f25847f Fix mistake found my CI 2016-08-19 22:26:41 +03:00
Pavel Odintsov c4fc2d6954 Rework flow zerofication code 2016-08-19 22:18:56 +03:00
Pavel Odintsov cd0121acba Merge pull request #547 from dalibort/ndpi
Fix ndpi processing code
2016-08-19 22:03:41 +03:00
root 178f9b94a3 produce_dpi_dump_for_pcap_dump() - log possible problem when reading pcap file 2016-08-19 10:46:39 +02:00
root 66ab5c072b - changes in produce_dpi_dump_for_pcap_dump()
- added logging of stats from DPI
2016-08-18 16:11:40 +02:00
root 34eacf3e42 - changes in produce_dpi_dump_for_pcap_dump()
- solved problem with only first packet beign analyzed by DPI
  - optimised memory allocations
  - prevent possible memory leaks when memsetting flow variable
2016-08-18 15:45:08 +02:00
Pavel Odintsov 33d5b9dd63 Merge pull request #543 from ericchou1/master
Cumulative update Aug. 15, 2016 for mitigation script v0.3, base and zone configs, etc.
2016-08-15 18:42:16 +03:00
Eric Chou 70c388abdc adding new .gitignore and json_configs files 2016-08-13 12:06:55 -07:00
Eric Chou e47200aebb adding fastnetmon_a10_v0.3.py 2016-08-13 11:49:38 -07:00
Pavel Odintsov 963cec7bc9 Remove bad code for Travis from installer 2016-08-13 12:57:01 +03:00
Eric Chou e1eef5e94f version 0.3 changes 2016-08-12 20:15:27 -07:00
Eric Chou 7ba4629012 Merge branch 'master' of https://github.com/pavel-odintsov/fastnetmon 2016-08-12 14:51:11 -07:00
Pavel Odintsov 4aeb451f13 Add explicit path to clang for Travis build 2016-08-12 00:30:16 +03:00
Pavel Odintsov c06118088f Fix build script: fix ndpi compatibility issue 2016-08-11 22:51:37 +03:00
Ronan Daly b94dd5e62d Added a script for Slack notifications called notify_with_slack.sh 2016-08-09 18:56:35 +01:00
Rich Groves 26d8a731bb updated A10 configs and added JSON configs 2016-07-28 15:28:39 -04:00
Rich Groves 4cd66ad4ab added tps_zone_config_v1.txt 2016-07-27 22:42:27 -04:00
Rich Groves f42ca16794 modify tps_base_config_v1.txt 2016-07-27 22:34:27 -04:00
Rich Groves a6ce3d1cd9 adding tps_base_config_v1.txt 2016-07-27 22:22:44 -04:00
Eric Chou 7ff8787202 change README.md 2016-07-27 16:49:50 -07:00
Eric Chou 5b8575f6ef change A10 TPS to A10 Thunder TPS, added sample test outputs 2016-07-27 16:47:38 -07:00
Pavel Odintsov cb459556ac Merge pull request #537 from ericchou1/master
Add A10 Plugin
2016-07-27 10:16:05 +03:00
Eric Chou 13e112f239 added test folder, fastnetmon_a10_v0.2.py 2016-07-26 19:41:50 -07:00
Eric Chou 899952dc41 v0.3 fastnetmon_a10_v0.2 break URI path and json config body into separate files under json_config folder 2016-07-18 14:45:49 -07:00
Eric Chou 86a697dda4 added config folder 2016-07-18 13:54:19 -07:00
Eric Chou 641e8ed9a1 Update README.md 2016-07-12 14:00:32 -07:00
Eric Chou 1e60d676a3 Added example to README.md 2016-07-12 13:57:37 -07:00
Eric Chou 683c4762db Merge branch 'master' of https://github.com/ericchou1/fastnetmon
Conflicts:
	src/a10_plugin/a10.pyc

	new file:   src/a10_plugin/README.md
	deleted:    src/a10_plugin/a10.pyc
2016-07-12 13:43:18 -07:00
Eric Chou a5337989b2 Add json_config and modified fastnetmon_a10_v02.py file 2016-07-12 13:41:31 -07:00
Pavel Odintsov 0e75af0af3 Remove tracking code because nobody will happy with it 2016-07-08 10:11:38 +03:00
Eric Chou bfab7e1d4d Create README.md 2016-07-07 19:34:42 -07:00
Eric Chou 1033a06731 Delete a10.pyc 2016-07-07 19:19:48 -07:00
Eric Chou 5d16513da0 Added a10_plugin for A10 Networks TPS onramp 2016-07-07 18:49:13 -07:00
Maximiliano Dobladez 8ae5b726d3 fix line 12 install.pl, remove 1. 2016-07-05 11:55:15 -03:00
Maximiliano Dobladez 7b9e15f652 add comments 2016-07-04 18:32:09 -03:00
Maximiliano Dobladez 6e3d460bb0 fix minor comment 2016-07-04 18:27:03 -03:00
Maximiliano Dobladez a4ea97c7a5 add mikrotik api support 2016-07-04 18:11:58 -03:00
Pavel Odintsov a3dfed429d Use 1.1.3 version instead of buggy 1.1.2 as stable 2016-07-04 19:40:55 +03:00
Pavel Odintsov 94f4947e87 Update copyright 2016-06-21 22:22:26 -07:00
Pavel Odintsov ba23089a40 Change stats params 2016-06-15 15:08:30 +03:00
Andrei Ziltsov be9eef190b Change serialize_path to serialize_path_dynamic 2016-03-30 08:29:02 +03:00
Andrei Ziltsov 2c94451d88 Added compatibility with the new GoBGP API 2016-03-29 16:45:09 +03:00
Pavel Odintsov 2b84f7d671 Reduce logging 2016-03-23 21:58:22 +03:00
Pavel Odintsov 71f70d40e2 Reduce enormous logging. But still log host group 2016-03-21 22:05:17 +03:00
Pavel Odintsov 8e5fd16a32 Add short log message setting about host group usage 2016-03-20 22:35:54 +03:00
Pavel Odintsov 8818374446 Fix memset issue. Could broke not initilized fields of data_in_ipfix_format strcucture. Related #499 2016-03-01 10:39:25 +03:00
root 6a166f533f To withdraw add next-hop 2016-02-15 14:31:11 +00:00
Pavel Odintsov 70b6b4df3d Make installer code more verbose for simpler debug 2016-01-08 18:21:59 +03:00
Pavel Odintsov 9d98187221 Fix ndpi version 2016-01-04 18:26:54 +03:00
pumamd 02486e9a28 * fixed restart when fastnetmon is already stopped 2016-01-03 10:06:18 +02:00
Pavel Odintsov d6d0ec84cb Fix ugly bug. We accidently changed broken branch 2015-12-26 22:57:01 +03:00
Pavel Odintsov b93d6ed249 Move from instable speed counters to average speed counters. Fix so much issues with tcp/udp/syn/icmp traffic counters and protocol detection 2015-12-26 22:28:29 +03:00
Pavel Odintsov 2604d977db Completely working API 2015-10-16 12:56:31 +02:00
Pavel Odintsov 3eeaa18d90 Working get_banlist options 2015-10-16 12:28:57 +02:00
Pavel Odintsov 5ab81b8c47 Working unban code 2015-10-16 12:16:46 +02:00
Pavel Odintsov 78b89257b8 Remove test server code 2015-10-16 11:57:49 +02:00
Pavel Odintsov 9cf20f99a2 Close API code by ifdef 2015-10-16 11:47:57 +02:00
Pavel Odintsov 6433e5bc4c Add verbosity only for Travis Builder 2015-10-16 11:45:09 +02:00
Pavel Odintsov b9f3557a6c Fixed #438. Closes #437 2015-10-16 11:34:48 +02:00
Pavel Odintsov a2ab84e771 Merged test API server. Refactor cmake file. Get rid absolute library paths. 2015-10-16 00:24:03 +02:00
Pavel Odintsov 7146cb6d95 Rename API source code 2015-10-15 22:39:16 +02:00
Pavel Odintsov 46edf9c0e8 Rename example class names 2015-10-15 22:36:41 +02:00
Pavel Odintsov a469b361fa Rename api client 2015-10-15 22:30:11 +02:00
Pavel Odintsov 1f46e83507 Add unban action 2015-10-15 22:27:51 +02:00
Pavel Odintsov 76ae0622e9 Working API prototype with ban list and manual ban 2015-10-15 21:17:16 +02:00
Pavel Odintsov 43ef0ce110 Add verbosity for cmake; Add options for api_client app. 2015-10-15 20:50:21 +02:00
Pavel Odintsov b37b6bb1c4 Less verbode API server and client. Add timeout for client. 2015-10-15 19:09:51 +02:00
Pavel Odintsov d9d2a3b918 Add API client 2015-10-13 18:47:10 +02:00
Pavel Odintsov bcdf5278fd Add API implementation examples in gRPC 2015-10-13 18:45:27 +02:00
Pavel Odintsov 6a06e5597a Change repository to new pleace where we testing new functions 2015-10-08 17:02:59 +02:00
Pavel Odintsov bc13f83310 Significant rewrite of cmake manifest: move to fixed RPATH for libraries 2015-10-08 16:58:39 +02:00
Pavel Odintsov febd206969 According on bug https://github.com/golang/go/issues/12873 I have moved from dynamic linking on compilation time to runtime linking with dynamic library 2015-10-08 16:54:32 +02:00
Pavel Odintsov 99507e5b84 Fix debug build in C++11 case 2015-10-06 18:59:54 +02:00
Pavel Odintsov a102099d6f Fix gobgp compilation 2015-10-05 17:40:16 +03:00
Pavel Odintsov 7026a7e7f7 Add docs about GoBGP support 2015-10-05 12:59:57 +02:00
Pavel Odintsov 204b41aedc Completely workiing GoBGP integration. But compilation do not enabled by default 2015-10-05 12:48:48 +02:00