Pavel Odintsov
ae2a7e2bdc
Do not show top talkers for specific direction if it disabled
2015-07-05 14:52:24 +03:00
Pavel Odintsov
d2e0b9b1a0
Add ability to create host groups. Add structures for subnet to host group mapping.
2015-07-04 18:38:18 -04:00
Pavel Odintsov
9abd9b1d7f
Add function for splitting string by comma
2015-07-04 18:36:18 -04:00
Pavel Odintsov
532a5fb697
Add function for conversion string subent to binary subnet_t
2015-07-04 17:12:10 -04:00
Pavel Odintsov
1b305aa7a5
Move ban settings to class
2015-07-04 15:29:32 -04:00
Pavel Odintsov
7af6f14667
Merge pull request #313 from RolexColocat/patch-2
...
Update fastnetmon.cpp
2015-07-04 21:15:15 +03:00
Pavel Odintsov
ce7001e50b
Merge pull request #314 from RolexColocat/patch-3
...
Update HAPPY_CUSTOMERS.md
2015-07-04 21:12:55 +03:00
Alexander Axenov
353f54c49c
Update HAPPY_CUSTOMERS.md
2015-07-04 20:08:10 +03:00
RolexColocat
c9a29a8bb1
Update fastnetmon.cpp
...
PPS and MBPS separate by tab. More visual affinity.
2015-07-04 19:53:17 +03:00
Pavel Odintsov
97472e01f4
Add pkgconfig to dependency list because cmake relies on it
2015-07-04 13:18:37 +03:00
Pavel Odintsov
1127ef403c
Add custom manifest for cmake. We could find Redis automatically. Related #312
2015-07-04 13:01:42 +03:00
Pavel Odintsov
00e68d601e
Merge branch 'master' of https://github.com/FastVPSEestiOu/fastnetmon
2015-07-03 12:18:28 -04:00
Pavel Odintsov
c540f44013
Add support for LUA processors for sFLOW
2015-07-03 12:18:15 -04:00
Pavel Odintsov
ea16cfb360
Fix in docs about LUA
2015-07-03 18:31:32 +03:00
Pavel Odintsov
ace71c64b0
Code unification for LuaJIT
2015-07-03 18:14:43 +03:00
Pavel Odintsov
7e3e894367
Add params for init_lua fucntion
2015-07-03 18:06:00 +03:00
Pavel Odintsov
9f8080a5f6
LUA code unification
2015-07-03 18:01:18 +03:00
Pavel Odintsov
71e5c5ffd8
Add code for sFLOW hooks with LUA
2015-07-03 10:14:08 -04:00
Pavel Odintsov
2b251f0cbc
sFLOW structures clean up; remove unused code, move definitions out
2015-07-03 12:43:55 +03:00
Pavel Odintsov
9effafdd23
Fix readme
2015-07-03 12:15:20 +03:00
Pavel Odintsov
f7740f6b8c
Add ability to listen multiple netflow ports
2015-07-01 17:09:51 +03:00
Pavel Odintsov
bcc956cd01
Fix sFLOW example configuration
2015-07-01 17:01:47 +03:00
Pavel Odintsov
01c0a1e742
Add ability to listen multiple sFLOW ports. But host we use same for all
2015-07-01 17:00:48 +03:00
Pavel Odintsov
76eb90d538
Separate collection logic with plugin initilization for sFLOW and NetFLOW
2015-07-01 16:45:48 +03:00
Pavel Odintsov
80541c8e3f
Fix typo
2015-07-01 07:02:33 -04:00
Pavel Odintsov
ffdcdb09cc
Add boost::container::flat_map performance evaluation.
...
std::map: 0.8 mega ops per second
tbb::concurrent_unordered_map: 0.7 mega ops per second
boost::unordered_map: 0.9 mega ops per second
std::container::flat_map with preallocated elements: 1.0 mega ops per second
std::unordered_map C++11: 1.9 mega ops per second
std::unordered_map C++11 preallocated buckets: 2.8 mega ops per second
std::vector preallocated: 14.1 mega ops per second
2015-07-01 07:00:01 -04:00
Pavel Odintsov
324710cd41
We will pass thread id to packet consumer for netmap
2015-06-30 10:15:26 -04:00
Pavel Odintsov
49ae168f8d
Add fix for bug in num cpu handler
2015-06-30 09:27:17 -04:00
Pavel Odintsov
815fca1ac7
Move cpu number gathering from function to main handler
2015-06-30 08:53:56 -04:00
Pavel Odintsov
88d2c33115
Add option for switching interface to promisc on Linux. Related 261
2015-06-30 05:46:49 -04:00
Pavel Odintsov
a52e51de87
Add reg.ru
2015-06-29 18:34:23 +03:00
Pavel Odintsov
a1da258552
Add customers page
2015-06-29 18:23:56 +03:00
Pavel Odintsov
a78082d3a7
Add patricia init
2015-06-28 16:35:19 -04:00
Pavel Odintsov
155211ccff
Add subnet lookup code to plugin runner
2015-06-28 16:29:40 -04:00
Pavel Odintsov
cbe749b40a
Change interface name to fake in plugin runner
2015-06-28 15:37:54 -04:00
Pavel Odintsov
911a3ece19
Add ttl output
2015-06-28 15:32:47 -04:00
Pavel Odintsov
1702e56be7
Add TTL field to simple packet. We could show it on atatck dumps too
2015-06-28 13:25:34 -04:00
Pavel Odintsov
ff83a86eda
Introduce unban_enabled flag, completely disable unban thread if it not used. Fix bug with infinite calls of unban function when ban_Time = 0;
2015-06-28 18:17:06 +03:00
Pavel Odintsov
2f7ad41167
Fix ugly bug with unban and attack_detailssnafu
2015-06-28 17:55:17 +03:00
Pavel Odintsov
f36ace08a6
Add path to networks list for FreeBSD
2015-06-25 19:24:31 +03:00
Pavel Odintsov
ed430b5ee3
Update FreeBSD_INSTALL.md
2015-06-25 17:30:59 +03:00
Pavel Odintsov
d957434e2a
10MPPS on vanilla Linux 3.16. AF_PACKET + RX_RING + FANOUT
2015-06-25 07:36:41 -04:00
Pavel Odintsov
a4c04890d9
Add RX_RING enabled AF_PACKET application. 4MPPS achieved!
2015-06-25 06:59:48 -04:00
Pavel Odintsov
c2a46d30bb
Add CPU affinitiy to AF_PACKET example
2015-06-25 05:06:48 -04:00
Pavel Odintsov
e2ad924be6
Add FANOUT support to AF_PACKET packet capture engine
2015-06-25 04:44:24 -04:00
Pavel Odintsov
6f37b1200b
Merge branch 'master' of https://github.com/FastVPSEestiOu/fastnetmon
2015-06-24 11:50:10 -04:00
Pavel Odintsov
62d29ab59a
Add stub code for zero copy AF_PACKET
2015-06-24 11:48:32 -04:00
Pavel Odintsov
5f73d15d67
Add sFLOW v4 to features
2015-06-24 17:49:04 +03:00
Pavel Odintsov
f1f187ce74
Add support for sFLOW v4. Closes #305
2015-06-24 17:48:13 +03:00
Pavel Odintsov
c2c7533466
Backport length check function from sflowtool. Now we could get more human aware error messagegs in log
2015-06-24 15:16:12 +03:00