- 27 Oct, 2007 5 commits
-
-
(Cheating at "old" CGI and NCURSES GUI for now, as I hope it will be solved soon.) git-svn-id: file:///home/svn/mapi/trunk@1347 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
git-svn-id: file:///home/svn/mapi/trunk@1346 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
git-svn-id: file:///home/svn/mapi/trunk@1345 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
Changet graph generation order (more logical). git-svn-id: file:///home/svn/mapi/trunk@1344 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
Added flows stats. Some refactorization to simplify. git-svn-id: file:///home/svn/mapi/trunk@1343 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
- 26 Oct, 2007 1 commit
-
-
git-svn-id: file:///home/svn/mapi/trunk@1342 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
- 25 Oct, 2007 1 commit
-
-
Fixed int == void* unifications in pthread_create() calls -- illegal for 64bit. git-svn-id: file:///home/svn/mapi/trunk@1341 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
- 24 Oct, 2007 2 commits
-
-
Tested with new GUI (PHP); CGI GUI shows just first two hosts. Flow is assigned to opposite sensor when it appears there too (same flow). Unassigned flows are dropped, so filter has not to be exact, something void like "greater 0" should work. The differences against prev. impl. of multiple interface support (subject to keep or change?): prev.: Usage: hostA:if1:if2, hostB... "filter" now: Usage: "hostA:if1, hostA:if2" "hostB..." "filter" -more typing +DiMAPI syntax ?no need to parse and store device names prev.: mapi_stats("hostA:if1", &(stats1->statstable[i%countA])) mapi_stats("hostA:if2", &(stats1->statstable[++i%countA])) now: mapi_stats("host1:if1, host1:if2", &host[0].mapi_stats_dev). -order of devices not guaranteed so reordering* is done via pointers +less mapi function calls ?no need to store device names ?unique interface names required in case of reordering* *)for now, order never changes prev: for(i = 0; i < stats1.count;i++) { // host1 stats = stats1.statstable[i]; stats.hostname... for(i = 0; i < stats2.count;i++) { // host2 ... now: for(h = 0; h < hosts; h++) { for(d = 0; d < host[h].devices; d++) { stats = host[h].mapi_stats_dev[d]; host[h].name... parse_hosts() -- not a function (more simple as device names are not parsed and stored, just counted) get_mapi_stats() -- not a function (more simple because of prev. mentioned diffs) GUI (CSV, PHP, JS) -- several updates git-svn-id: file:///home/svn/mapi/trunk@1340 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
git-svn-id: file:///home/svn/mapi/trunk@1339 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
- 17 Oct, 2007 1 commit
-
-
git-svn-id: file:///home/svn/mapi/trunk@1338 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
- 15 Oct, 2007 4 commits
-
-
git-svn-id: file:///home/svn/mapi/trunk@1337 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
git-svn-id: file:///home/svn/mapi/trunk@1336 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
git-svn-id: file:///home/svn/mapi/trunk@1335 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
Modifications to enable multiple devices per host. git-svn-id: file:///home/svn/mapi/trunk@1334 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
- 10 Oct, 2007 1 commit
-
-
Jon Kåre Hellan authored
applications/appmon/appmon.c: Add -d flag to daemonize it. git-svn-id: file:///home/svn/mapi/trunk@1328 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
- 04 Oct, 2007 2 commits
-
-
function delete_flow() is called inside mapid_process_pkt(). Thus, race condition with process packet thread is avoided git-svn-id: file:///home/svn/mapi/trunk@1319 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
Jon Kåre Hellan authored
git-svn-id: file:///home/svn/mapi/trunk@1318 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
- 02 Oct, 2007 1 commit
-
-
using authentication is correctly applied (instructions in the file). Applicable only on packet traces (NOT live traffic). git-svn-id: file:///home/svn/mapi/trunk@1317 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
- 24 Sep, 2007 2 commits
-
-
git-svn-id: file:///home/svn/mapi/trunk@1316 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
git-svn-id: file:///home/svn/mapi/trunk@1315 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
- 22 Sep, 2007 1 commit
-
-
git-svn-id: file:///home/svn/mapi/trunk@1314 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
- 21 Sep, 2007 1 commit
-
-
dag.sh.in git-svn-id: file:///home/svn/mapi/trunk@1313 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
- 17 Sep, 2007 1 commit
-
-
extended to return the string error message. Fixed serious bug in dagdsm_build_bpffilter appearing for non-trivial combinations of BPF_FILTER. Fixed DAG DSM hardware available filter count from 8 to 7. git-svn-id: file:///home/svn/mapi/trunk@1312 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
- 16 Sep, 2007 1 commit
-
-
(Incompatible with software BPF_FILTER possibly following in the flow.) git-svn-id: file:///home/svn/mapi/trunk@1311 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
- 14 Sep, 2007 2 commits
-
-
git-svn-id: file:///home/svn/mapi/trunk@1310 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
git-svn-id: file:///home/svn/mapi/trunk@1309 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
- 06 Sep, 2007 1 commit
-
-
git-svn-id: file:///home/svn/mapi/trunk@1308 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
- 05 Sep, 2007 1 commit
-
-
git-svn-id: file:///home/svn/mapi/trunk@1307 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
- 03 Sep, 2007 2 commits
-
-
git-svn-id: file:///home/svn/mapi/trunk@1306 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
BURST now returns not only size in bytes, but a number of packets and bursts in each category as well. git-svn-id: file:///home/svn/mapi/trunk@1305 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
- 30 Aug, 2007 1 commit
-
-
git-svn-id: file:///home/svn/mapi/trunk@1304 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
- 29 Aug, 2007 2 commits
-
-
git-svn-id: file:///home/svn/mapi/trunk@1303 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
Added the error check in log.c. git-svn-id: file:///home/svn/mapi/trunk@1302 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
- 28 Aug, 2007 1 commit
-
-
git-svn-id: file:///home/svn/mapi/trunk@1301 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
- 25 Aug, 2007 2 commits
-
-
git-svn-id: file:///home/svn/mapi/trunk@1300 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
in mapi.conf in the logfile field. For example, logfile=/usr/local/etc/mapi/mapi_logfile Then, debug messages are printed to file /usr/local/etc/mapi/mapi_logfile.debug and general information messages to file /usr/local/etc/mapi/mapi_logfile.info In mapi.conf syslog_level changed to log_level, as it concerns both logging to file and syslog. git-svn-id: file:///home/svn/mapi/trunk@1299 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
- 24 Aug, 2007 4 commits
-
-
git-svn-id: file:///home/svn/mapi/trunk@1298 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
git-svn-id: file:///home/svn/mapi/trunk@1297 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
git-svn-id: file:///home/svn/mapi/trunk@1296 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-
git-svn-id: file:///home/svn/mapi/trunk@1295 8d5bb341-7cf1-0310-8cf6-ba355fef3186
-