Commit graph

3564 commits

Author SHA1 Message Date
Luca Deri
d466c8e298 Disabled lua support in mongoose
Updated RRD dump functions
2018-04-25 22:39:11 +02:00
Luca Deri
a850860b2c Added native clang++ support on OSX
The ntopng database is now created automativally by the timeseries exporter
2018-04-25 18:27:06 +02:00
emanuele-f
6bc2f12d38 Fix nedge crash on factory reset and subsequent crash on reloadPrefs
0x00000000004489b2 in Redis::get (this=0x831370,
    key=0x574594 "ntopng.user.admin.password",
    rsp=0x834c00 "\030\323\037\365\377\177", rsp_len=131052, cache_it=false)
    at src/Redis.cpp:259
0x000000000044a9fc in Redis::setDefaults (this=0x831370) at src/Redis.cpp:719
0x000000000044ac0d in Redis::flushDb (this=0x831370) at src/Redis.cpp:757
0x00000000004752e5 in ntop_flush_redis (vm=0x40000378) at src/Lua.cpp:1948

==18227== Invalid free() / delete / delete[] / realloc()
==18227==    at 0x4C2E10B: free (vg_replace_malloc.c:530)
==18227==    by 0x153431: Prefs::refreshLanWanInterfaces() (Prefs.cpp:1543)
==18227==    by 0x15035A: Prefs::reloadPrefsFromRedis() (Prefs.cpp:557)
==18227==    by 0x137DA7: Redis::checkDumpable(char const*) (Redis.cpp:206)
2018-04-19 17:04:21 +02:00
Luca Deri
0b024d7dab Added cURL version in about
cURL include is now placed in ntop_includes.h
Minor cosmetic Win changes
2018-04-16 19:12:17 +02:00
Simone Mainardi
3283d521b2 Fixes memory leaks in ThreadPool
==25013== 56 bytes in 4 blocks are definitely lost in loss record 164 of 320
==25013==    at 0x4C29BE3: malloc (vg_replace_malloc.c:299)
==25013==    by 0x4CAC5D: ThreadPool::ThreadPool(unsigned char) (ThreadPool.cpp:49)
==25013==    by 0x4A7AF5: ThreadedActivity::ThreadedActivity(char const*, unsigned int, bool, unsigned char) (ThreadedActivity.cpp:52)
==25013==    by 0x4CAAA8: PeriodicActivities::startPeriodicActivitiesLoop() (PeriodicActivities.cpp:108)
==25013==    by 0x4B5D30: Ntop::start() (Ntop.cpp:439)
==25013==    by 0x44407E: main (main.cpp:405)
2018-04-16 16:50:52 +02:00
Simone Mainardi
c96d5af143 Fixes mem leaks due to non-virtual destructors 2018-04-16 16:03:58 +02:00
Simone Mainardi
d222b0aa29 Prevents unnecessary nEDGE prefs from being set 2018-04-13 19:34:23 +02:00
Simone Mainardi
078a0df62d Adds thread names on OS X 2018-04-13 18:35:09 +02:00
Simone Mainardi
820f1e9668 Prevents unnecessary prefs dump upon alert counter updates 2018-04-13 18:32:50 +02:00
Simone Mainardi
72dacb7459 Prevents unnecessary prefs dump upon alerts check 2018-04-13 18:25:40 +02:00
Luca Deri
6d47e659f1 Reworked alerts
Added informative event when ntopng starts/stops
Fixed packet capture bug on ODX (and other BSD flavous)
Renamed #ifdef linux to #ifdef __linux__ to ease portabiity across architectures
2018-04-13 18:10:19 +02:00
Luca Deri
00004494bf Reworked alarms
Added informative message at ntopng startup/shutdown
2018-04-13 17:19:58 +02:00
emanuele-f
23d7a2676a Rework alerts export to provide more endpoint control 2018-04-12 18:10:45 +02:00
Luca Deri
52b7d7d0bd Fixed SNMp reentrancy problems that lead to crashes on OSX 2018-04-10 21:44:54 +02:00
Simone Mainardi
7b64b7fbfe Input/output SNMP interfaces disaggregation with ignored interfaces 2018-04-10 20:26:26 +02:00
emanuele-f
bfaf36ba63 Group email notifications to prevent mail flooding 2018-04-10 11:33:40 +02:00
Luca Deri
7806e3caee Fixed invalid termination with pcap interfaces with multiple -i devices
Disabled debug trace
2018-04-04 21:16:22 +02:00
emanuele-f
4492e18926 Generalize engage/release alerts API 2018-04-04 17:25:50 +02:00
Simone Mainardi
730b881b1a Fixes issues with long interface names
Fixes #1717
2018-04-04 16:01:30 +02:00
emanuele-f
15a3a46808 Remove redirection url from C as it's only used by lua and it has concurrency issues 2018-04-04 12:45:35 +02:00
emanuele-f
f19249bf70 Fix Prefs::reloadPrefsFromRedis concurrency issues
Fixes #1725
2018-04-03 22:50:18 +02:00
emanuele-f
0f5d76ca74 Implement alerts via email
Closes #272
2018-04-03 20:49:43 +02:00
Luca
d1dcff81c4 Improved passive MDNS discovery
Fixed MDNS decode loop
2018-04-02 11:31:28 +02:00
emanuele-f
d4bbeb10a2 Generalize alerts external report 2018-03-30 20:36:05 +02:00
Simone Mainardi
3d6af7a740 Implements TCP KeepAlive Stats
Implements #1711
2018-03-30 18:17:20 +02:00
emanuele-f
89cb18d29c Release all the engaged alerts when alerts are disabled 2018-03-30 15:57:46 +02:00
emanuele-f
8f27bf8f47 Implement SNMP alerts on port status change 2018-03-29 23:00:43 +02:00
Simone Mainardi
51bb092f8a Hides sensitive options from the GUI startup line 2018-03-29 15:37:05 +02:00
Luca Deri
ef2638d00a Fixed file descriptor leak 2018-03-28 08:17:33 +02:00
Luca Deri
0751147ff8 Added HTTP transfer stats 2018-03-27 22:49:50 +02:00
emanuele-f
3a1728414d Redirect to login when session expires 2018-03-27 15:16:30 +02:00
Simone Mainardi
4124b4a059 Fixes a concurrency issue with num flows 2018-03-26 19:50:43 +02:00
Luca Deri
b8a870b631 Experimental TS code 2018-03-24 11:37:04 +01:00
Luca Deri
cfcc88554d Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2018-03-23 15:46:19 +01:00
Luca Deri
49d9096967 Improved discovery
Enlarged Redis bugger
2018-03-23 15:46:00 +01:00
emanuele-f
02cec8a2be Remove host macs and show source macs instead 2018-03-23 14:42:21 +01:00
Luca Deri
caf83f1ad0 ARP fixes 2018-03-22 23:31:24 +01:00
Luca Deri
f0c936c368 Updated (C) to 2018 2018-03-22 21:59:42 +01:00
Luca Deri
2ae3b42d77 Implemented toggle for ARP/IP reassignments alerts 2018-03-22 10:52:46 +01:00
Luca
6bb4687e86 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2018-03-21 23:25:10 +01:00
Luca
eee3ba9e5c Implemented IP/MAC change alerts #1092 2018-03-21 23:24:14 +01:00
emanuele-f
ae434e327e nedge changes 2018-03-20 20:30:52 +01:00
Luca
71474c713f Initial fix for #1092 2018-03-19 19:40:37 +01:00
emanuele-f
38f9f6ca67 Fix swapped host name in DHCP flows 2018-03-18 23:33:47 +01:00
Luca Deri
378936fe9b Fixed bug in Lua parameter handling 2018-03-17 11:00:44 +01:00
Luca Deri
228db784fc nImdex query integration (experimental) 2018-03-16 22:31:13 +01:00
Luca Deri
9f0131ca83 Fixed compilation issues 2018-03-16 18:49:46 +01:00
emanuele-f
4767789b1a Implement country charts for inner, egress and ingress traffic 2018-03-15 18:35:51 +01:00
emanuele-f
ff69205b3d Add support for nedge oem product name 2018-03-08 19:49:04 +01:00
emanuele-f
60f3753e12 Fix network discovery on nedge 2018-03-08 17:28:02 +01:00