Commit Graph

1239 Commits

Author SHA1 Message Date
Pavel Odintsov 8d7a784fcf Remove very useful GNUInstallDirs because Debian Squeeze do not support it :( 2015-06-04 23:54:29 +03:00
Pavel Odintsov b3bab46da8 Perfectly working cmake install; Now we could build deb packages 2015-06-04 18:13:43 +03:00
Pavel Odintsov c29a972c2f Add man pages install with cmake 2015-06-04 16:13:22 +03:00
Pavel Odintsov d23e92f74d Rename man pages accoring to man pages requirements for Debian 2015-06-04 15:56:48 +03:00
Pavel Odintsov 72306ffc89 Move default path to notify_about_attack.sh to platform specific variables 2015-06-04 14:10:42 +03:00
Pavel Odintsov 061661b5d7 We will configure project platform specific variables with cmake now 2015-06-04 14:08:25 +03:00
Pavel Odintsov dcf16db9a5 Fix version for master 2015-06-04 13:15:42 +03:00
Pavel Odintsov f01fba9d4c Add man pages for fastnetmon and fastnetmon_client 2015-06-04 11:41:35 +03:00
Pavel Odintsov f0b051709a Add force-reload because lintian want it 2015-06-04 11:28:01 +03:00
Pavel Odintsov 1ebf49bc38 Add stub files for networks list and whitelist and install they with CMAKE 2015-06-04 11:15:32 +03:00
Pavel Odintsov 365d0f6c55 Fix test in installer about debian version 2015-06-03 17:25:30 +03:00
Pavel Odintsov 780768bc53 Add ability to install init script for Debian 6/7 OS 2015-06-03 17:22:36 +03:00
Pavel Odintsov e2e8011f7e Add init.d script for debian 6 and debian 7 2015-06-03 16:54:59 +03:00
Pavel Odintsov a7422cfa9f Get back patch-src_CMakeLists.txt for FreeBSD port 2015-06-03 08:17:44 -04:00
Pavel Odintsov 948478978b Do not exit in case of popen error. 2015-06-03 14:06:13 +03:00
Pavel Odintsov a188c89b69 Prettify install script output 2015-06-03 13:54:10 +03:00
Pavel Odintsov 94bf3cda3c Add automatic install of init script for CentOS 6 distros 2015-06-03 13:37:43 +03:00
Pavel Odintsov ba8b471eb3 Merge pull request #245 from benagricola/fix_init
Update CentOS 6 init script to use --daemonize
2015-06-03 13:27:21 +03:00
Pavel Odintsov 57d62bf4ea Remove src/FreeBSD_port/files/patch-src_CMakeLists.txt from pull request because patch already applied to CMakeList.txt 2015-06-03 12:48:16 +03:00
Pavel Odintsov 43e0ef73e2 Merge pull request #243 from AMDmi3/freebsd-port
Update FreeBSD port
2015-06-03 12:39:35 +03:00
Pavel Odintsov 32c94190f7 Add check for build type. If nothing specified we assume 'Release' 2015-06-03 12:27:17 +03:00
Ben Agricola f03d7d417b Remove trailing space :)
Signed-off-by: Ben Agricola <bagricola@squiz.co.uk>
2015-06-03 10:24:59 +01:00
Ben Agricola 5638cf6969 Update CentOS 6 init script to use --daemonize option
Signed-off-by: Ben Agricola <bagricola@squiz.co.uk>
2015-06-03 10:23:28 +01:00
Pavel Odintsov 1899b2ca69 Merge pull request #242 from AMDmi3/cmake-improvements
CMake improvements
2015-06-03 12:20:10 +03:00
Pavel Odintsov 7fb0b54383 Add subversion to PF_RING dependencies for suppressing error messages about absent svnversion 2015-06-03 11:51:13 +03:00
Pavel Odintsov 37ed2c7ef1 Disable verbose messages from git 2015-06-03 11:42:20 +03:00
Pavel Odintsov e6c744a1da Fix curly bracket 2015-06-03 11:29:52 +03:00
Pavel Odintsov 70e2392df5 Install log4cpp from koji/EPEL testing. Less verbose wget. Disable error reporting for rmmod 2015-06-03 11:25:05 +03:00
Pavel Odintsov 3351325a17 Folks from EPEL 7 have added log4cpp package for CentOS 7 and we do not need custom build from sources now 2015-06-03 10:38:06 +03:00
Pavel Odintsov 449a48436e We use stable branch for auto installer now 2015-06-03 10:06:54 +03:00
Dmitry Marakasov 8aed006cda Update FreeBSD port
* Fix style
* Fix github handling
* Add LICENSE
* Fix boost dependency
* Add rc.d script
* Install config file, handle with @sample
* Install documentation
* Fix hardcoded PREFIX/LOCALBASE references and other paths
* Write files into /var/run/fastnetmon and /var/log/fastnetmon
  subdirectories, as /var/run and /var/log cannot be made writable
  by dedicated user

This does not yet support dedicated user yet, as it would require
modification of /usr/ports/{UIDs,GIDs}. This will be added when the
port is committed to FreeBSD ports tree.
2015-06-03 00:23:35 +03:00
Dmitry Marakasov 07c06930f0 Fix threading library handling 2015-06-02 23:27:49 +03:00
Dmitry Marakasov fbc54a93d6 Install config file 2015-06-02 23:26:04 +03:00
Dmitry Marakasov 6480af14fd Don't force optimization flags on non-release configurations 2015-06-02 23:25:30 +03:00
Pavel Odintsov a462cd302a Add remarkt about platform 2015-06-02 00:31:31 +03:00
Pavel Odintsov 6ae7fd731d Add option to diable auto monitoring of local IP addresses 2015-06-02 00:30:34 +03:00
Pavel Odintsov b2f3114343 More similar to C++ test case 2015-06-01 06:44:54 -04:00
Pavel Odintsov 2a394eb4aa Fix python perf tester 2015-06-01 06:31:36 -04:00
Pavel Odintsov 4c98ff5ca9 Fix broken format string. It kills clang :( 2015-05-31 14:20:56 -04:00
Pavel Odintsov 86bb7bd5d3 add boost unordered map 2015-05-31 14:05:05 -04:00
Pavel Odintsov 34680bcacd Enhance time calculation. Add preallocated unordered map from C++11 2015-05-31 13:46:38 -04:00
Pavel Odintsov 501aa45bee Enahance performance test for multy threaded mode 2015-05-31 07:28:53 -04:00
Pavel Odintsov d72def1769 Add test with pypy 2015-05-31 07:15:15 -04:00
Pavel Odintsov af6af59174 Add performance test 2015-05-31 13:26:19 +03:00
Pavel Odintsov 7cf686aae5 Add script for Python's dict speed avaluation 2015-05-31 13:16:36 +03:00
Pavel Odintsov 2753509b25 Fix Package 'libboost-all-dev' install failed with code 25600 for VyOS 2015-05-31 12:48:38 +03:00
Pavel Odintsov bee031c057 Add FreeBSD stub init script from Denis Denisov 2015-05-30 15:37:07 -04:00
Pavel Odintsov 8a5b6c03dc Merge branch 'master' of https://github.com/FastVPSEestiOu/fastnetmon 2015-05-30 14:45:48 -04:00
Pavel Odintsov 72f5156868 Add cPack configuration to cmake manifest; Could be useful for sombody 2015-05-30 14:45:28 -04:00
Pavel Odintsov 657d811968 Switch to 16 byte sampler fiel for netflow v5 2015-05-30 00:53:10 +03:00
Pavel Odintsov a43dfac47e Add documentation about netflow v5 sampling implementation 2015-05-29 18:46:12 +03:00
Pavel Odintsov e6e2ea6235 Fix pcap reader toolkit 2015-05-29 16:28:10 +03:00
Pavel Odintsov 51e1a9b119 Partially fix pcap reader script 2015-05-29 14:45:02 +02:00
Pavel Odintsov 058fa45562 Fix CMakeLists: add pcap reader builder 2015-05-29 15:08:12 +03:00
Pavel Odintsov dea2256ad5 Get rid of external bash script for building pcap. But still not worlking on Mac OS X 2015-05-29 15:07:06 +03:00
Pavel Odintsov 95e8dd4695 Remove ../build_plugin_tester.sh from the repo 2015-05-29 14:42:35 +03:00
Pavel Odintsov 20d30f5158 Drop build_plugin_runner code because it's very custom and non cross platform. Move to cmake custom target: cmake .. -DBUILD_PLUGIN_RUNNER=ON 2015-05-29 14:42:01 +03:00
Pavel Odintsov 7f88814f35 Fix pcap reader for MacOS 2015-05-29 14:15:35 +03:00
Pavel Odintsov 609c3f1cc0 Add CPU affinity support for FreeBSD. Closes: #236 2015-05-29 13:27:20 +03:00
Pavel Odintsov 0e92df0f46 Add PF_RING module support for VyOS 2015-05-29 12:13:40 +03:00
Pavel Odintsov 37333f4729 Add support for average traffic for network. Closes: #227 2015-05-21 15:25:42 -04:00
Pavel Odintsov ac6b1d4421 Add traffic speed details in report for whole subnet. Related: #227 2015-05-21 15:01:20 -04:00
Pavel Odintsov d03cfaa79c Add subnet of IP address in attack report: Closes #228 2015-05-21 14:33:50 -04:00
Pavel Odintsov 217cadc92b Rename type from subnet to subnet_t. 2015-05-21 12:34:17 -04:00
Pavel Odintsov 00b0e37982 Add ability to track bps/pps speed for each subnet; Add subnet length in cidr for get_direction(); Disable configuration dump on the client's screen; Related: #227 2015-05-21 11:56:43 -04:00
Pavel Odintsov 6cae04b626 Add isolated test for Patricia LPM 2015-05-20 17:52:42 +02:00
Pavel Odintsov 01bb1294ad Add tests for iptables 2015-05-20 16:26:34 +02:00
Pavel Odintsov 7432eceac9 Add firewall rules 2015-05-20 15:19:37 +02:00
Pavel Odintsov ef677000bb Rewrite code; Unification, divide functions to separate modules; 2015-05-20 14:36:59 +02:00
Pavel Odintsov b520b2301e Add packet length option 2015-05-20 09:15:41 +02:00
Pavel Odintsov 9f4eadd1c6 Add iptables backend for Flow Spec Queue 2015-05-19 23:07:43 +02:00
Pavel Odintsov fe5ad61ff0 Significant rewrite Firewall class to OOP 2015-05-19 19:21:00 +02:00
Pavel Odintsov 8c1af6e869 Merge branch 'master' of https://github.com/FastVPSEestiOu/fastnetmon 2015-05-19 00:19:19 +02:00
Pavel Odintsov a1060d6e1e Switch off counter to deadline 2015-05-19 00:18:31 +02:00
Pavel Odintsov 81609a38ac Add feature for announce whole subnet with BGP instead single IP. Closes: #222 2015-05-18 07:07:55 -04:00
Pavel Odintsov 217471528a Add function fo lookup subnet for ip in string format 2015-05-18 07:06:11 -04:00
Pavel Odintsov 0ae9618e27 Add function for conversion prefix_t to string format 2015-05-18 06:38:19 -04:00
Pavel Odintsov 8ccd677df4 Code unification for exabgp_ban_manage; We could announce non /32 subnet now 2015-05-18 12:55:03 +03:00
Pavel Odintsov 080b9b2541 Add working handle for filters flush for netmap-ipfw 2015-05-18 01:01:30 +02:00
Pavel Odintsov a50217515b Add working ExaBGP config files 2015-05-18 01:32:16 +03:00
Pavel Odintsov 50e1f1ec7c Working code for integration with userpace netmap-ipfw with flow spec 2015-05-17 19:19:49 +02:00
Pavel Odintsov 733bdeaceb Add filter for = sign 2015-05-17 17:32:01 +02:00
Pavel Odintsov 41f6b86337 Add draft code for netmap-ipfw management 2015-05-17 18:16:12 +03:00
Pavel Odintsov c9f7f5ddb9 Add script for netmap-ipfw speed measurenment 2015-05-17 14:33:15 +03:00
Pavel Odintsov aa1d08b897 Working code for Firewall Queue! Whoa! We could block traffic directly from ExaBGP hook 2015-05-15 21:53:38 +02:00
Pavel Odintsov b0cae2a958 Fix code for run worker 2015-05-15 21:16:42 +02:00
Pavel Odintsov aae744a9c0 Add exec flag 2015-05-15 21:10:51 +02:00
Pavel Odintsov 36867da629 Move script to scripts folder 2015-05-15 19:13:21 +03:00
Pavel Odintsov 0d2440160d Add stub for firewall queue implementation 2015-05-15 17:35:02 +03:00
Pavel Odintsov a80f0b44f2 Complete code reformat with clang-format 2015-05-15 13:55:52 +03:00
Pavel Odintsov 3cac8ce8ed Add script for code reformatiing 2015-05-15 13:50:50 +03:00
Pavel Odintsov edcdee446b Add fix to clang format file 2015-05-15 13:30:58 +03:00
Pavel Odintsov a9b66331d4 Add example clang format file 2015-05-15 12:43:21 +03:00
Pavel Odintsov fba3a1bfe3 We will shutdown tool if soemthing wrong with signals 2015-05-14 18:42:49 +03:00
Pavel Odintsov e80cb9d4d1 Fix underscores in Header Guards 2015-05-14 18:21:26 +03:00
Pavel Odintsov c40f5f2887 Add signal() function resul handler. Related: #214 2015-05-14 18:13:41 +03:00
Pavel Odintsov e415c83039 Fix Header Guard naming: https://www.securecoding.cert.org/confluence/display/seccode/PRE06-C.+Enclose+header+files+in+an+inclusion+guard 2015-05-14 18:04:51 +03:00
Pavel Odintsov 12806bb28f Fix MacOS compatibility because we haven't ability to assign CPUS here 2015-05-14 18:04:12 +03:00
Pavel Odintsov ceb26735f9 Add script for PCI passthourgh configuration 2015-05-14 13:16:35 +03:00
Pavel Odintsov 4f268c1e12 Rename 2015-05-14 03:45:19 +03:00
Pavel Odintsov f9f79b0fce Add script for IRQ distribution over all available cores; Provide 1Mpps speed up for netmap 2015-05-14 03:42:22 +03:00
Pavel Odintsov 167484efaa Disable timestamping for packets. We achieve 12 mpps with netmap 2015-05-13 22:52:00 +02:00
Pavel Odintsov 3ada2e3d94 Add test patch for libcucu as flow tracking hash 2015-05-13 10:52:22 +03:00
Pavel Odintsov 0dfe6a01b5 Add compatibility code for machines with very old Boost (<= 1.50) 2015-05-12 18:42:04 +03:00
Pavel Odintsov c790e395b9 Switch netmap plugin to thread_group 2015-05-12 18:15:24 +03:00
Pavel Odintsov d6b1d8bca6 Implement strict CPU affinity for netmap worker threads Closes: #145, #140 2015-05-12 18:07:06 +03:00
Pavel Odintsov 1211a513cd Add patch for wtoring data in ordered vector instead of vector
12 subnets, total size: 18176 IP

std::map lookup:
Incoming traffic        6740435 pps   3085 mbps      0 flows

sorted vector lookup:
new: Incoming traffic   7129775 pps   3263 mbps      0 flows

Speedup: 400 kpps.

CPU: E5-2407 2.20GHz 4 cores
2015-05-12 16:19:08 +03:00
Pavel Odintsov a966603c2b Remove mistake in cmake 2015-05-12 15:07:26 +03:00
Pavel Odintsov 572c10b4a2 Fix cmake file; Add custom flags fro, user 2015-05-12 14:35:20 +03:00
Pavel Odintsov c7daba5902 Switch to Boost threadgroup instead separate threads 2015-05-12 12:07:45 +03:00
Pavel Odintsov 079014a759 Merge branch 'master' of https://github.com/FastVPSEestiOu/fastnetmon 2015-05-11 22:56:32 +03:00
Pavel Odintsov 2df34c33f3 Fix ExaBGP integration code 2015-05-11 22:56:18 +03:00
Pavel Odintsov 9f8f8700d6 Add ability to close client with q key Closes: #203 2015-05-11 20:10:52 +03:00
Pavel Odintsov 9cdcba4b58 Introduce ability to detect local IP's and aliases on Linux 2015-05-11 19:00:35 +03:00
Pavel Odintsov 6d42693f8b Add code for detecting local IP's on Linux machine with ip tools 2015-05-11 18:50:01 +03:00
Pavel Odintsov dc2ea7faff Fix Graphite code 2015-05-11 15:28:14 +03:00
Pavel Odintsov 2aaa82385e Add Graphite integration 2015-05-10 21:42:49 +03:00
Pavel Odintsov 5e5864d9e0 Add function to store data to Graphite 2015-05-10 18:02:54 +03:00
Pavel Odintsov bfa3951487 Add example code for storing data to graphite 2015-05-10 16:19:24 +03:00
Pavel Odintsov e8afbcd75a Move PF_RING to GitHub 2015-05-08 17:05:31 +03:00
Pavel Odintsov ad8cc7635d Add number of flows in both directions 2015-05-08 11:42:20 +03:00
Pavel Odintsov d7867736bb Fix code for fragmentation analyzer 2015-05-08 10:54:39 +03:00
Pavel Odintsov 63c2e0df93 Fix plugin runner 2015-05-08 10:40:42 +03:00
Pavel Odintsov 1a376aae69 Rename fragmentation attack from udp_fragmentation to ip_fragmentation 2015-05-08 10:36:51 +03:00
Pavel Odintsov e1606b9f58 Fix path to netmap for plugin runner 2015-05-08 10:28:39 +03:00
Pavel Odintsov d0360452f3 Add code example for cpu binding 2015-05-07 19:49:17 +03:00
Pavel Odintsov a9b0893e1d Attack detection algorithm introduced! We could detect: syn_flood, icmp_flood, udp_flood, ip_fragmentation_flood Close: #56 2015-05-07 16:51:10 +03:00
Pavel Odintsov 3635fd7e81 Add ability to identify attacks with fragmented IP traffic. Closes: # 191 2015-05-07 16:09:43 +03:00
Pavel Odintsov b365857c3d Add support for process fragmented packets with netmap plugin 2015-05-07 15:56:10 +03:00
Pavel Odintsov 22db346f18 Patch parser: add ability to detect fragmented tarffic 2015-05-07 15:51:54 +03:00
Pavel Odintsov 01969596d9 Add ability to run netmap plugin in plugin runner environment 2015-05-07 14:46:17 +03:00
Pavel Odintsov db31a02d50 Move type definitions to separate file: Closes: #196 2015-05-07 13:41:00 +03:00
Pavel Odintsov 9cd12a0325 Add separate counter for syn packets; Closes: #87 2015-05-07 12:51:48 +03:00
Pavel Odintsov e16c298d42 Replace fixed offset values by defines 2015-05-07 12:48:43 +03:00
Pavel Odintsov 2ed9d2063a Add sanity checks for average packet size calculation 2015-05-07 12:14:19 +03:00
Pavel Odintsov aa71a56e34 Add average packet size for attack. Closes #26 2015-05-07 11:22:37 +03:00
Pavel Odintsov 6585f9eddb Add command for redis library install 2015-05-07 10:13:05 +03:00
Pavel Odintsov 467f5249a8 Fix typo 2015-05-07 00:09:37 +03:00
Pavel Odintsov 2b3d935eee Add support for collection from multiple netflow instances 2015-05-06 23:56:11 +03:00
Pavel Odintsov 02933b56a1 Fix compatibility with new work machine on Jessie 2015-05-06 23:55:26 +03:00
Pavel Odintsov 44416eaa23 Pass client ip address to all related netflow processors 2015-05-06 15:08:49 +03:00
Pavel Odintsov 71ab2df7f1 Add avility to receive Netflow data over IPv6. First step in IPv6 support! 2015-05-06 14:46:00 +03:00
Pavel Odintsov 66c62b988f Merge branch 'master' of https://github.com/FastVPSEestiOu/fastnetmon 2015-05-06 12:33:00 +03:00
Pavel Odintsov 07e0fe2d7a Enable ability to get client's IP address for Netflow collector for IPv4 and IPv6 2015-05-06 12:31:17 +03:00
Pavel Odintsov 4b9b1b2f62 Provide ability for specify netflow sampling rate manually 2015-05-06 01:27:25 +03:00
Pavel Odintsov fb2f9ae4c8 We use self forking FastNetMon for systemd unit 2015-05-03 00:02:14 +03:00
Pavel Odintsov 81154f5f11 Closes 184 2015-05-02 23:53:45 +03:00
Pavel Odintsov 6b4ded487c Add stub code for daemonization 2015-05-02 22:18:56 +03:00
Pavel Odintsov f069e81bd4 Reduce verbosity of ExaBGP plugin 2015-05-02 19:00:33 +03:00
Pavel Odintsov eb5893c275 Fix version detection code for VyOS 2015-05-02 18:51:46 +03:00
Pavel Odintsov c62475376f Add compatibility with VyOS 2015-05-02 18:39:12 +03:00
Pavel Odintsov 7354d5aeb7 Add apt-get result check 2015-05-02 13:26:36 +03:00
Pavel Odintsov aa0ab01928 We install one package per apt-get call because installing multiple packages in one time could fail of one package is broken 2015-05-02 13:19:50 +03:00
Pavel Odintsov b7682ee18a Add verbosity for socket bind(). Related: #180 and #165 2015-04-30 19:05:21 +03:00
Pavel Odintsov dd2856957a Since this commit we could configure path to networks list and whitelist; Closes: 164 2015-04-27 19:21:13 +03:00
Pavel Odintsov caa6d3dcbf Move networks list and whitelist to separate variables 2015-04-27 19:11:08 +03:00
Pavel Odintsov 67a45a7606 Close: #172. Fix bahaviour for unban 2015-04-27 19:01:13 +03:00
Pavel Odintsov 3fdd6c8472 Add SIGPIPE handler, prevent tool hangup in case of brokent notify script; Closes: #178 2015-04-27 17:52:16 +03:00
Pavel Odintsov d1a5197138 Full rewrite of example config file 2015-04-27 15:51:13 +03:00
Pavel Odintsov 4d67d6ae42 Add flows doc in code 2015-04-27 15:49:03 +03:00
Pavel Odintsov 9705d742e9 Ignore blank lines too 2015-04-27 15:48:11 +03:00
Pavel Odintsov 4ffd2531fe Merge branch 'master' of https://github.com/FastVPSEestiOu/fastnetmon 2015-04-27 14:50:19 +03:00
Pavel Odintsov 4edcf725c8 Add netmap prefix only if it not set 2015-04-27 14:50:06 +03:00
Pavel Odintsov fe90537a5e Fix typos 2015-04-27 10:54:51 +03:00
Pavel Odintsov e1f641ae4f Merge branch 'master' of https://github.com/FastVPSEestiOu/fastnetmon 2015-04-27 10:50:05 +03:00
Pavel Odintsov 7b78bbd3a6 Fix ugly race condition case 2015-04-27 10:49:46 +03:00
Pavel Odintsov 60e3907e30 Add sanity check for netflow v5 2015-04-27 10:19:05 +03:00
Pavel Odintsov 701dd728b4 Add remark about data check 2015-04-27 10:07:48 +03:00
Pavel Odintsov eef6ad0617 Add systemd unit install 2015-04-26 22:29:43 +03:00
Pavel Odintsov f240f8b9b2 Add boost configuration when build rpm for centos6 2015-04-26 22:09:17 +03:00
Pavel Odintsov 8fc71c2e33 Switch custom Boost configuration from cmake manifest to installer 2015-04-26 22:07:33 +03:00
Pavel Odintsov 806035a88b Add hooks for ban IPs in ExaBGP, ready for tests :) 2015-04-26 15:46:39 +03:00
Pavel Odintsov 1a4f77b271 Add function for ban/unban /32 prefixes with ExaBGP 2015-04-26 15:35:01 +03:00
Pavel Odintsov 3df8bc3ada Add working C code for ExaBGP interconnection 2015-04-26 13:54:34 +03:00
Pavel Odintsov e3c78196b2 Add configuration params for ExaBGP 2015-04-26 12:47:37 +03:00
Pavel Odintsov 9fd8e4f0bc Add support for Dragonfly in cmake build script 2015-04-24 13:54:48 +03:00
Pavel Odintsov 93a384efbc Fix compatibility with Dragonfly BSD 2015-04-24 13:47:28 +03:00
Pavel Odintsov ef9e4df840 Fix FreeBSD 9 compatibility, add include for sys/endian.h which required on old FreeBSD versions 2015-04-23 10:44:46 +03:00
Pavel Odintsov 84aab5d3ae Replace PF_RING 6.0.2 by 6.0.3 everywhere 2015-04-13 12:57:28 +03:00
Pavel Odintsov 682dacfb55 We switched to PF_RING 6.0.3 2015-04-13 12:54:44 +03:00
Pavel Odintsov c6c8c8f43b I introduced Redis support for store information about attacks.
redis-cli

keys *
1) "10.10.10.200_flow_dump"
2) "10.10.10.200_information"
3) "10.10.10.200_packets_dump"

get 10.10.10.200_information

get 10.10.10.200_flow_dump

get 10.10.10.200_packets_dump
2015-04-13 12:30:20 +03:00
Pavel Odintsov 8d5173252d Add nanosecod precesion for sFLOW 2015-03-28 21:57:57 +03:00
Pavel Odintsov f69702d91b Close #168 2015-03-28 21:55:02 +03:00
Pavel Odintsov 92e2a9e68a Add dependency to plugin runner 2015-03-28 20:57:00 +03:00
Pavel Odintsov 282f6268b5 Add support for Fedora 21 in install script 2015-03-25 16:48:17 +03:00
Pavel Odintsov f43d266ed7 Add spec file for Fedora 21 2015-03-25 15:27:23 +03:00
Pavel Odintsov d73f9fb366 Remove init.d script for CentOS 7 spec 2015-03-25 15:08:40 +03:00
Pavel Odintsov d5c2262ec9 Fix paths to specs 2015-03-25 15:08:24 +03:00
Pavel Odintsov 76d917d191 Fix builder 2015-03-25 15:03:28 +03:00
Pavel Odintsov 2ad3f6f278 Enable autostart for FastNetMon 2015-03-24 23:57:03 +03:00
Pavel Odintsov 21af4895a3 Remove blank fi 2015-03-24 23:54:23 +03:00
Pavel Odintsov 8f64df71f6 Enable autostart in spec filt for CentOS 7 2015-03-24 23:51:23 +03:00
Pavel Odintsov d6885198ab Fix in systemd unit 2015-03-24 23:39:47 +03:00
Pavel Odintsov 9224b3dd46 Fix in CentOS 7 spec file 2015-03-24 23:30:40 +03:00
Pavel Odintsov 74fbcf32a8 Remove CentOS 7 from equirements 2015-03-24 23:26:32 +03:00
Pavel Odintsov f022a20886 Split spec files for CentOS6 and CentOS7 2015-03-24 23:25:05 +03:00
Pavel Odintsov a2db2fca7e Add systemd service :( 2015-03-24 23:16:44 +03:00
Pavel Odintsov 419fec19d7 We will add CentOS release to RPM name 2015-03-24 22:44:26 +03:00
Pavel Odintsov ecf88dec52 Forunately, folks from EPEL will release log4cpp in EPEL soon 2015-03-24 22:36:41 +03:00
Pavel Odintsov d2a4608c3e Merge branch 'master' of https://github.com/FastVPSEestiOu/fastnetmon 2015-03-24 19:42:24 +03:00
Pavel Odintsov b5b98d6ccc Add manual and spec file for log4cpp. On CentOS 6 we should build it manually. Nice idea to add it to EPEL 2015-03-24 19:42:11 +03:00
Pavel Odintsov 991935eabd Remove support of CentOS 7 from main page because it's not so simple 2015-03-24 17:31:09 +03:00
Pavel Odintsov 42f77ed5de Add workaround for pf_ring bug from ntop toolset 2015-03-24 15:38:30 +03:00
Pavel Odintsov 5a51825caa Disable workaround for PF_RING from NTOP; Nightbuild version works nice 2015-03-24 15:27:45 +03:00
Pavel Odintsov c57c7f06ce Look another patch for ZC version of PR_RING 2015-03-24 15:25:43 +03:00
Pavel Odintsov ae47825daf Fixes in spec for RPM 2015-03-24 15:08:43 +03:00
Pavel Odintsov 9bdbbf5868 Another fix in cmake about pf_ring 2015-03-24 14:31:11 +03:00
Pavel Odintsov 3c58f19e4a Merge branch 'master' of https://github.com/FastVPSEestiOu/fastnetmon 2015-03-24 14:08:06 +03:00
Pavel Odintsov 2e2c419d3e Fix type in cmake file 2015-03-24 14:07:13 +03:00
Pavel Odintsov 85e191611d Merge branch 'master' of https://github.com/FastVPSEestiOu/fastnetmon 2015-03-24 14:04:53 +03:00
Pavel Odintsov 49f9029e0b Add dependency to PF_RONG 2015-03-24 14:04:49 +03:00
Pavel Odintsov 3cdc287f3f Add support for compulation with PF_RING from netop 2015-03-24 14:04:18 +03:00
Pavel Odintsov af2a657db8 Add work around for broken 6.0.3 from ntop packages 2015-03-24 13:27:40 +03:00
Pavel Odintsov 33e603a718 Fox build system for rpm 2015-03-24 11:22:05 +03:00
Pavel Odintsov 3c63b63f16 Enable init file operations in spec file for CentOS 6 2015-03-24 10:48:51 +03:00
Pavel Odintsov 8c0fe645ed Add init script for CentOS 6 family distros 2015-03-24 10:42:53 +03:00
Pavel Odintsov aceeeba718 Disable mirror plugin by default 2015-03-24 10:30:36 +03:00
Pavel Odintsov 5d4691c87e Developed spec files for building RPM packages 2015-03-24 00:27:56 +03:00
Pavel Odintsov d7c2ce25d5 Add port for FreeBSd 2015-03-23 19:53:55 +03:00
Pavel Odintsov f44f0cc4e9 Add install target for Cmake 2015-03-23 19:39:44 +03:00
Pavel Odintsov 16b9ac2c8d Fix compatility with Mac OS X 2015-03-23 17:36:05 +03:00
Pavel Odintsov f87e167b2d Fix compatility with FreeBSD 2015-03-23 17:27:01 +03:00
Pavel Odintsov c93b1bad66 Fix netflow v5 port parser 2015-03-23 12:11:29 +03:00
Pavel Odintsov b002ab2f06 Fix netflow v9 parser code; We will parse port numbers correctly 2015-03-23 11:55:16 +03:00
Pavel Odintsov 0cf62c6316 Complete working ipfix parser 2015-03-23 11:35:18 +03:00
Pavel Odintsov 243992babf Enable plugin tester link with ipfix_db 2015-03-23 11:33:35 +03:00
Pavel Odintsov 52149f5f44 Fix issue with packet length for reduced data length for netflow v9/ipfix 2015-03-23 00:32:28 +03:00
Pavel Odintsov a0254331eb We should check and fix all warnigns from compiler 2015-03-23 00:30:51 +03:00
Pavel Odintsov a106f02f7c Switch to 64 bit counters for netflow because ipfix/netflow v9 uses 64 bit counters 2015-03-23 00:30:35 +03:00
Pavel Odintsov 7506704c0c Add ipfix db support for plugin runner 2015-03-23 00:22:56 +03:00
Pavel Odintsov 89edd8486f Add little/bid endian converters for 64 bit integers 2015-03-22 23:07:58 +03:00
Pavel Odintsov 97e873bd77 Enable linking with new ipfix_database 2015-03-22 19:00:16 +03:00
Pavel Odintsov 2a92fb623f Merge branch 'master' of https://github.com/FastVPSEestiOu/fastnetmon 2015-03-22 16:51:23 +03:00
Pavel Odintsov c858bd01a9 Add autogenerated version of IPFIX_RFC 2015-03-22 16:50:59 +03:00
Pavel Odintsov 2981a8d1d3 Production ready converter from RFC's CSV file to CPP header 2015-03-22 16:50:35 +03:00
Pavel Odintsov 540d075d1a Fix for compatilibty with MAC OS X 2015-03-22 15:13:04 +03:00
Pavel Odintsov e6c888b06e Replace /bin/bash by /usr/bin/env bash 2015-03-22 14:05:58 +03:00
Pavel Odintsov cff0c052a6 Move data files to src folder; Move images to doc folder; 2015-03-22 13:45:52 +03:00
Pavel Odintsov d8c2e4888b Move all code to src folder 2015-03-22 13:36:58 +03:00