Pavel Odintsov
b681e850df
add libpatricia from https://github.com/tobez/Net-Patricia/tree/master/libpatricia
2014-06-25 23:59:43 +04:00
Pavel Odintsov
bb53919daa
Remove THREADLESS mode, we use so much threads now and this is really impossible
2014-06-25 19:39:59 +04:00
Pavel Odintsov
fc405a070b
Remove LPM cache, introduce separate thread for calculating network speed, introduce every-second speed recalculation and moved back from boost::unordered_map to std::map due to segfaults
2014-06-25 19:32:32 +04:00
Pavel Odintsov
0580379de0
Add todo
2014-06-24 15:54:16 +04:00
Pavel Odintsov
0c3700659e
Add todo
2014-06-24 15:50:18 +04:00
Pavel Odintsov
058d7744dd
Ban log optimization
2014-06-24 15:41:27 +04:00
Pavel Odintsov
d00bc4b714
Migrated to ncruses. Fixes : #8
2014-06-24 14:52:38 +04:00
Pavel Odintsov
e3ef4013b8
Replace all printf/cout to bufered print. Start migration to ncurses
2014-06-24 14:42:43 +04:00
Pavel Odintsov
ce2214611c
Update static build
2014-06-24 14:16:34 +04:00
Pavel Odintsov
e1ffaee943
Full rewrite of logging subsystem
2014-06-24 14:16:22 +04:00
Pavel Odintsov
ed83a00f26
Introduce TODO in separate file. Enable linking with ncurses and log4cpp
2014-06-24 14:15:59 +04:00
Pavel Odintsov
9925c43eda
Add recomendations about NIC driver configuration
2014-06-23 19:39:51 +04:00
Pavel Odintsov
7521d1e41c
Add explicit notification about license
2014-06-23 16:55:20 +04:00
Pavel Odintsov
4402b19674
Update binary
2014-06-23 16:49:02 +04:00
Pavel Odintsov
98986e2a99
Move to boost::unordered_map from std::map. At now we faster two times
2014-06-23 16:48:25 +04:00
Pavel Odintsov
ed9ad2ad26
Introduce auto keyword for all heavy weighted iterators
2014-06-23 16:12:16 +04:00
Pavel Odintsov
402805d26a
Fixes #14 . Remove unsused variables, make code clear
2014-06-23 15:57:17 +04:00
Pavel Odintsov
8f7911e295
Add cppcheck to Makefile
2014-06-23 15:56:32 +04:00
Pavel Odintsov
db9aa5b859
Fix logging, we append log file instead rewriting now
2014-06-23 00:23:50 +04:00
Pavel Odintsov
8015cb6fcd
add documentation about running tool without root permissions on OpenVZ
2014-06-22 23:13:44 +04:00
Pavel Odintsov
55d1ebfcf3
refactor getrlimit/setrlimit code
2014-06-22 23:04:43 +04:00
Pavel Odintsov
6e2987c96f
Merge pull request #12 from kaniini/master
...
initialization: use getrlimit(2)/setrlimit(2) to enable core dumps
2014-06-22 22:55:06 +04:00
William Pitcock
d2588bd513
initialization: use getrlimit(2)/setrlimit(2) to enable core dumps instead of exec(2).
...
using exec(2) is potentially insecure, as it depends on an outside utility. the most robust way
to enable core dumps is to set the resource limits inside the program.
2014-06-22 07:25:12 -05:00
Pavel Odintsov
27fdcffb0a
Introduce ability to specify work interfaces in config file
2014-06-22 15:06:48 +04:00
Pavel Odintsov
81068e45fa
Add warnings about bad sorter
2014-06-22 14:59:11 +04:00
Pavel Odintsov
deac1faf0b
Introduce channel speed for other/internal traffic. Reafactored some code
2014-06-22 14:57:02 +04:00
Pavel Odintsov
eb9f019059
Fix bug and rebuild static version
2014-06-21 19:33:41 +04:00
Pavel Odintsov
8bc27f2e0c
Migrate to pfring's packet parser
2014-06-21 19:31:16 +04:00
Pavel Odintsov
ba49a03368
Refactored packet_parser code
2014-06-21 18:11:53 +04:00
Pavel Odintsov
067a3ee9bb
Add explicit non standard ethertypes handler
2014-06-20 21:40:30 +04:00
Pavel Odintsov
8d1fe20802
Update README.md
...
Fix wget flags for convenient upgrade binary.
2014-06-20 19:23:24 +04:00
Pavel Odintsov
88bb4c867d
Merge branch 'master' of https://github.com/FastVPSEestiOu/fastnetmon
2014-06-20 19:18:43 +04:00
Pavel Odintsov
e4a2c907a8
Introduce debug flag
2014-06-20 19:18:27 +04:00
Pavel Odintsov
818fea1196
Update README.md
...
Add info about debug flags
2014-06-20 19:18:01 +04:00
Pavel Odintsov
7549b264d0
Update README.md
...
Add info about program run without root permissions.
2014-06-20 19:10:28 +04:00
Pavel Odintsov
26a1182382
Update README.md
...
Fix bug in build docs
2014-06-18 22:17:57 +04:00
Pavel Odintsov
a13e53d2a8
Introduce external whitelist
2014-06-09 18:28:56 +04:00
Pavel Odintsov
ffdcc6ff69
Add logging to file
2014-06-09 16:47:11 +04:00
Pavel Odintsov
590ba95f86
Send mail to root now
2014-06-09 15:58:55 +04:00
Pavel Odintsov
84caf90c2a
Upgrade binary version for support config files and right parsers
2014-06-09 15:55:50 +04:00
Pavel Odintsov
594bd4608f
Rewrite openvz IP parser code
2014-06-09 15:53:31 +04:00
Pavel Odintsov
4a125e335e
Add prototype of custom LPM lookup tree
2014-06-09 15:26:37 +04:00
Pavel Odintsov
1633fce10a
Load config file on startup
2014-06-09 15:15:22 +04:00
Pavel Odintsov
6fa6a0781b
disable redis traffic counter by default
2014-06-09 14:33:07 +04:00
Pavel Odintsov
dd1857a473
Fix install guide
2014-06-09 14:15:30 +04:00
Pavel Odintsov
d8ce6aaaf6
Migrate to new PF_RING version
2014-06-09 14:03:34 +04:00
Pavel Odintsov
6f6991b174
rewrite subnet list reading code
2014-06-09 13:57:28 +04:00
Pavel Odintsov
1fda203979
We use static compile as default from now
2014-06-09 13:57:02 +04:00
Pavel Odintsov
b36f6cd695
Add remarks about performance
2014-06-09 13:33:43 +04:00
Pavel Odintsov
0e3f2a8cc3
Add configuration using config file
2014-06-09 13:08:19 +04:00