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
Pavel Odintsov
c7996393cf
Disable AF_PACKET by default in configuration file. Completely merged GoBGP integration code.
2015-10-05 12:00:47 +02:00
Pavel Odintsov
713c2959f7
Add protoc buuilder got gobgp
2015-10-04 12:53:06 +02:00
Pavel Odintsov
e61fd9386f
Fix error in cmake build system. We have use -O3 since this commit. Add code for gRPC and libgobgp build.
2015-10-03 21:17:58 +02:00
Pavel Odintsov
f5bd1486e5
Add gobgp action module stub
2015-10-03 21:15:56 +02:00
Pavel Odintsov
3c4a52302e
Enable AF_PACKET only for recent kernels
2015-10-03 18:09:37 +02:00
Pavel Odintsov
54343d043e
Fix in gobgp installer
2015-10-02 15:59:02 +02:00
Pavel Odintsov
12a100594b
Add option for enabling gobgp
2015-10-02 15:38:26 +02:00
Pavel Odintsov
4dab7fa684
Add gobgp installer to install script
2015-10-02 15:26:45 +02:00
Pavel Odintsov
d1df720b91
Add golang installion in install script
2015-10-02 14:55:49 +02:00
Pavel Odintsov
ec940627ad
Add gRPC and protocol buffers to installer
2015-10-02 14:33:43 +02:00
Pavel Odintsov
36ad643a94
Fix compatibility issue with fastnetmon_install.pl
2015-10-01 23:08:20 +03:00
Pavel Odintsov
3596a4797e
Add ability to configure mongo host, port and database name
2015-10-01 11:39:16 +02:00
Pavel Odintsov
464e082824
Add mongodb installer
2015-10-01 11:14:44 +02:00
Pavel Odintsov
d160bf57ab
Merge branch 'master' of https://github.com/FastVPSEestiOu/fastnetmon
2015-09-30 16:55:09 +02:00
Pavel Odintsov
326d285329
Add draft MongoDB support. Documentation: https://github.com/FastVPSEestiOu/fastnetmon/blob/master/docs/MONGODB.md Related #328
2015-09-30 16:54:57 +02:00
Pavel Odintsov
acce07774d
Add git version to fastnetmon version. Closes #258
2015-09-30 14:00:09 +03:00
Pavel Odintsov
b6173309e9
Add version information for console. Closes #417
2015-09-30 12:41:59 +03:00
Pavel Odintsov
57574ae744
PLEASE UPDATE. Before this commit we DO NOT BLOCK by mbps attacks at all
2015-09-29 21:53:54 +02:00
Pavel Odintsov
cbf1334af1
Fix error level
2015-09-29 21:01:56 +02:00
Pavel Odintsov
e52e312adf
Add option for dumping Other packets
2015-09-29 17:00:02 +02:00
Pavel Odintsov
80e0d2de90
Rewrote command line parser from getopt.h to Boost::program_options because getopt is not cross platform between linux and freebsd
2015-09-29 16:40:57 +03:00
Pavel Odintsov
a73e5d314f
Add option for fastnetmon_client for run multiple instances: cli_stats_file_path=/tmp/fastnetmon_second_instance.dat ./fastnetmon_client
2015-09-28 18:36:02 +03:00
Pavel Odintsov
96eb472cd1
Add option for configure cli_stats_file_path instead hardcoded /tmp/fastnetmon.dat
2015-09-28 18:26:00 +03:00
Pavel Odintsov
4d8d5bfc20
Fix travis compilation
2015-09-28 12:49:30 +03:00
Pavel Odintsov
29479d82f6
Add debug fix for Travis-ci
2015-09-28 12:45:45 +03:00
Pavel Odintsov
1f3e64c9f6
Fix for Travis-ci manifest
2015-09-28 12:42:23 +03:00
Pavel Odintsov
0d1b0577ca
For tracking toolkit usage we ask for email address from install script.
2015-09-28 11:58:47 +03:00
Pavel Odintsov
33408104ec
Add some data to tracking report. Closes 419
2015-09-26 00:24:50 +03:00
Pavel Odintsov
081e27f8c4
With this commit you could specify path to configuration file with cli option: --configuration_file=/etc/fastnetmon.conf
2015-09-24 02:37:02 +03:00
Pavel Odintsov
528ab55f78
Add option for configuring custom pid_path. Add check about ability to write to log explicitly Closes #142 .
2015-09-24 02:23:38 +03:00
Pavel Odintsov
9f605381f7
Move to getoptlong from custom command line parser
2015-09-23 00:25:09 +03:00
Pavel Odintsov
f3b8a4efa2
Add os type to install tracker. Closes #418
2015-09-21 13:11:35 +03:00
Pavel Odintsov
22d48b4bd2
Do not enable interfaces for netmap on FreeBSD automatically
2015-09-21 12:47:06 +03:00
Pavel Odintsov
27be1c956b
Add gmake for building luajit for FreeBSD
2015-09-21 12:36:52 +03:00
Pavel Odintsov
f4575db8fa
Add nDPI to deps
2015-09-21 12:28:13 +03:00
Pavel Odintsov
6289c613b5
Fix english translation
2015-09-21 11:31:11 +03:00
Pavel Odintsov
7d0c854ab8
Do not change ld.so for FreeBSD
2015-09-20 23:20:40 +03:00
Pavel Odintsov
fcb516262b
Add FreeBSD release detection code
2015-09-20 23:15:30 +03:00
Pavel Odintsov
80045bf327
Fux deps install for nDPI on FreeBSD
2015-09-20 22:55:30 +03:00
Pavel Odintsov
e094c8f0e1
Fix SHA1 calculation in installer script for FreeBSD. Get rid of system calls
2015-09-20 22:43:51 +03:00
Pavel Odintsov
1ecea3c720
Enable FreeBSD installer
2015-09-20 22:33:11 +03:00
Pavel Odintsov
d9416c9cdc
Add dependency list for FreeBSD
2015-09-20 22:31:48 +03:00
Pavel Odintsov
cdaa20bdf9
Add pkg update and pkg install wget for installer for FreeBSD
2015-09-20 12:57:54 +03:00
Pavel Odintsov
4d62f03463
Disable hiredis for MacOS X stable build
2015-09-20 11:56:57 +03:00
Pavel Odintsov
702773d1a9
Add sutomatic installer script for Mac OS X Yosemite
2015-09-20 11:38:41 +03:00
Pavel Odintsov
b535ecdc01
Add stud support for FreeBSD and MacOS X to installer
2015-09-20 10:47:48 +03:00
Pavel Odintsov
13b1e39f57
Another fix for proxmos
2015-09-18 23:13:19 +03:00
Pavel Odintsov
43a4359151
Merge branch 'master' of github.com:FastVPSEestiOu/fastnetmon
2015-09-18 22:27:27 +03:00
Pavel Odintsov
1c134e75b1
Fix Proxmox compatibility. Interpret it as raw Debian. Related #410
2015-09-18 22:27:19 +03:00
Stefan Behte
5d04094c45
configuration: typo/grammar fixes
2015-09-18 14:44:34 +02:00
Stefan Behte
57bb52e122
small typo/grammar fixes
2015-09-18 14:07:51 +02:00
Pavel Odintsov
0eb2286ec2
Disable AF_PACKET temporarly
2015-09-12 00:32:43 +03:00
Pavel Odintsov
a4d5a89648
Fix compatibility with non Linux environment
2015-09-11 20:46:26 +02:00
Pavel Odintsov
c2f1545086
Implement per protocol thresholds. Closes #407
2015-09-11 18:13:24 +02:00
Pavel Odintsov
0e1a6f70c7
Acttack detection code refactoring
2015-09-11 17:41:07 +02:00
Pavel Odintsov
b23b024e1d
Remove useless variables
2015-09-11 17:20:45 +02:00
Pavel Odintsov
64e1e345db
Add configurarion params for per-packet thresholds
2015-09-11 17:08:09 +02:00
Roberto Berto
371be4b87d
notify script using python
2015-09-10 19:47:05 -03:00
Henry Spanka
c2a95c711b
remove whitespaces from fastnetmon conf
2015-09-10 15:40:54 +02:00
Pavel Odintsov
e95e5c9f87
Implement support for cropped packets from Juniper. Closes #402
2015-09-10 15:30:37 +02:00
Pavel Odintsov
3ba6c90c13
Add support for simple packet debug
2015-09-10 14:52:26 +02:00
Pavel Odintsov
7ad192d9b6
Fix exec flag for fastnetmon client. Closes #398
2015-09-05 22:59:23 +03:00
Pavel Odintsov
334f93e1e9
Fix desciptor leak Closes #397
2015-09-05 22:10:13 +03:00
Pavel Odintsov
d32f894e3c
We are resurrected hardware locking plugin from PF_RING. We have added action plugin interfase;
2015-09-03 13:09:16 +02:00
Pavel Odintsov
09664a617e
Revert debug code for Travis-CI
2015-09-01 15:38:37 +02:00
Pavel Odintsov
b8a6e5f61d
Add workaround for old Boost version
2015-09-01 15:24:18 +02:00
Pavel Odintsov
217c297e12
Fix for addiaional debug for Tarvis-CI
2015-09-01 15:12:49 +02:00
Pavel Odintsov
dafa5a5384
We will build AF_PACKET by default on Linux platforms
2015-09-01 14:37:50 +02:00
Pavel Odintsov
846bb19ccb
Add AF_PACKET support. So we could capture traffic on any linux with 3.6+ kernel without any custom kernel modules. Closes #169 . Speed result: 2mpps on i7 3820
2015-09-01 10:41:55 +02:00
Pavel Odintsov
6151284948
Completely working SnabbSwitch integration. 12 mpps with 4 NIC's
2015-08-31 14:15:16 +02:00
Pavel Odintsov
21ccb93440
Add SnabbSwitch support
2015-08-31 12:25:57 +02:00
Pavel Odintsov
1ca6262a04
Add warning message about offload
2015-08-30 20:56:14 +02:00
Pavel Odintsov
b43f789400
Replace total counter by pps for unparsed packets; Closes #390
2015-08-30 20:51:57 +02:00
Pavel Odintsov
0cb0180fde
Fix raw pcap reader code
2015-08-30 20:34:49 +02:00
Pavel Odintsov
df91a4fae2
Remove broken pcap code
2015-08-30 19:44:46 +02:00
Pavel Odintsov
4fc1669190
Add stats about raw parser
2015-08-30 19:34:13 +02:00
Pavel Odintsov
4eeb3b888b
Remove deprecated option
2015-08-27 15:52:57 +03:00
Pavel Odintsov
6b122fd83d
Config values unification
2015-08-27 15:42:34 +03:00
Pavel Odintsov
3efa660f35
Fix typo
2015-08-27 14:06:08 +03:00
Pavel Odintsov
c6a8af7910
Fix +1 error in fastnetmon_client
2015-08-26 18:24:10 +03:00
Pavel Odintsov
80d89e6034
We will use zram instead
2015-08-26 05:04:15 +03:00
Pavel Odintsov
7c6751f0d4
We could builc Boost in multiple threads
2015-08-26 04:39:42 +03:00
Pavel Odintsov
b186527355
Add remark about VZ Quota
2015-08-26 04:20:21 +03:00
Pavel Odintsov
801fd7fa2c
Move installer script to scripts instead of src
2015-08-25 20:01:00 +03:00
Pavel Odintsov
71b0ad6729
Add new address of toolchain storage
2015-08-25 17:16:10 +03:00
Pavel Odintsov
362ea9242a
Another fix in CI system
2015-08-25 15:58:34 +03:00
Pavel Odintsov
f55a378109
Fix builder code
2015-08-25 15:54:13 +03:00
Pavel Odintsov
4490c5376b
Add ssh key generation
2015-08-25 15:45:09 +03:00
Pavel Odintsov
e05974dc5b
Add libicu to centos packages deps; Do not install anything manually with rpm
2015-08-25 06:24:53 +03:00
Pavel Odintsov
ce5937e923
Disable automatic rpm deps/provides processing
2015-08-25 05:43:31 +03:00
Pavel Odintsov
ab42253a09
Fix installer for CentOS 6 and Debian 7
2015-08-24 23:54:38 +03:00
Pavel Odintsov
a547dc5720
Replace apt-get by dpkg
2015-08-24 23:43:11 +03:00
Pavel Odintsov
4a9f725004
Beta version of binary install code
2015-08-24 23:33:46 +03:00
Pavel Odintsov
e4cfb0bc7c
Remove useless Perl code for CI run
2015-08-24 23:17:32 +03:00
Pavel Odintsov
4deb7a2cff
Add docs about NAT configuration for OpenVZ
2015-08-24 23:17:11 +03:00
Pavel Odintsov
e67ddedf08
Add nice perl script for rename packages
2015-08-24 23:04:47 +03:00
Pavel Odintsov
52c9d6dcfa
Fix bug with call of rpm builder
2015-08-24 19:00:29 +03:00
Pavel Odintsov
b3c4d23ca9
Disable static builds of Boost
2015-08-24 18:34:25 +03:00
Pavel Odintsov
636a6f2a7b
Production ready build system
2015-08-24 17:34:15 +03:00
Pavel Odintsov
394b18635f
So our build system should work together soon
2015-08-24 16:36:45 +03:00