Commit graph

293 commits

Author SHA1 Message Date
Simone Mainardi
3e10192912 Makes the maximum number of aggregated flows configurable and optional
Fixes #2123
2018-11-09 19:50:56 +01:00
Alfredo Cardigliano
573bade0e0 extracted files limit is in bytes now, added bytes limit to preferences, PacketDumper code cleanup 2018-11-09 10:24:10 +01:00
Alfredo Cardigliano
610cb69b9c builtin packet dump code cleanup (moving to continuous recording) 2018-10-25 09:56:52 +02:00
emanuele-f
b9d5f7c4f5 Fix dropped traffic in nEdge VLAN trunk mode due to captive portal settings 2018-10-23 15:12:32 +02:00
emanuele-f
bfc36de225 Add IP based captive portal preference 2018-10-19 13:07:18 +02:00
Alfredo Cardigliano
e9149d8806 footer badge when running traffic recording, logs page, --storage-dir option renamed to --pcap-dir 2018-10-12 18:09:35 +02:00
emanuele-f
3bd6a1a97c Add preference to enable Device Protocols Policies in nEdge 2018-10-11 18:15:43 +02:00
Alfredo Cardigliano
6d3ff8cf44 removed 'traffic recording' page (moving configuration to the interface page), moved storage configuration to prefs, listing only ntopng interfaces in recording_utils.getInterfaces 2018-10-11 12:14:40 +02:00
emanuele-f
aa1ead94c4 Add Customized Categories editor
Also unify the blacklist category handler to use the nDPI API
2018-10-10 18:41:47 +02:00
emanuele-f
457dcb3457 Implement Device Protocols Alerts 2018-10-02 22:35:00 +02:00
emanuele-f
80c7c1993d Remove flow "user scripts" code.
User scripts support was removed some time ago
2018-10-01 09:57:15 +02:00
emanuele-f
4370df81e3 Remove unused HTTPBL 2018-09-27 16:14:46 +02:00
emanuele-f
a594e648c4 Generalize high resolution timeseries
In InfluxDB, 5 minutes timeseries are now written with a minimum of 1 minute resolution
2018-09-03 14:43:52 +02:00
Alfredo Cardigliano
5d986787b1 default data directory migration from /var/tmp/ntopng to /var/lib/ntopng 2018-08-29 17:46:56 +02:00
Simone Mainardi
b8edabeb6f Improves handling of redis interface ids and maximum number of interfaces
Fixes #1952
2018-08-29 15:47:57 +02:00
emanuele-f
8a7ead5924 Harden HTTP session checks and remove user cookie 2018-08-21 18:16:54 +02:00
Simone Mainardi
cd6c7c4338 Adds SQL queries log performed from Lua 2018-08-13 19:27:00 +02:00
Luca Deri
5c635ef87f Added preference (Logging sub-menu) to create a trace log (ntopng.log) instead of using syslog 2018-08-11 13:42:13 +02:00
emanuele-f
163ef3af94 Allow to bind gui to a secondary address 2018-08-09 10:59:30 +02:00
Alfredo Cardigliano
3acc4e973d configuration backup (tar download) 2018-07-31 17:26:08 +02:00
Simone Mainardi
fc63f765ec Exposes lua setters for http/https bind addresses 2018-07-24 11:32:22 +02:00
Simone Mainardi
25588290eb Implements crypto miners alerts toggle
Implements #1826
2018-07-20 13:15:06 +02:00
Simone Mainardi
93838435fb Implements option to ignore VLAN identifiers
Implements #1870
2018-07-19 19:17:06 +02:00
cardigliano
bc1182ddaf disableServiceLicense to disable online check when switching to demo mode 2018-07-17 00:50:15 +02:00
Simone Mainardi
8f1228c04f Captive portal HTTP server fixes 2018-06-19 17:29:36 +02:00
Simone Mainardi
c2220e2d05 Compilation fix 2018-06-06 10:56:39 +02:00
Simone Mainardi
8cca1f6703 Implements informative captive portal (no login) 2018-06-06 10:33:36 +02:00
cardigliano
903aae0220 flag for service mode 2018-05-24 18:49:52 +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
Simone Mainardi
d222b0aa29 Prevents unnecessary nEDGE prefs from being set 2018-04-13 19:34:23 +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
d4bbeb10a2 Generalize alerts external report 2018-03-30 20:36:05 +02:00
Simone Mainardi
51bb092f8a Hides sensitive options from the GUI startup line 2018-03-29 15:37:05 +02: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
emanuele-f
ae434e327e nedge changes 2018-03-20 20:30:52 +01:00
Luca Deri
9f0458561a Replaced nDB with nIndex experimental support 2018-02-13 20:57:19 +01:00
Simone Mainardi
3ef543fecd Implements per-AS nw latency stats rrds 2018-02-05 18:32:13 +01:00
emanuele-f
9f556d18b5 Add global preference to forge DNS 2018-01-10 11:58:12 +01:00
Luca Deri
2655d422e4 The default SNMP community used in discovery is now read from preferences and "public" is used only as fallback 2018-01-07 16:29:13 +01:00
Emanuele Faranda
36c77163e7 nedge block of active flows 2018-01-02 18:24:54 +01:00
emanuele-f
4305731106 Add routing mode flag 2017-12-18 12:50:17 +01:00
Simone Mainardi
04627745ae nEdge packaging 2017-12-17 23:14:47 +01:00
Simone Mainardi
f25c6b6724 Makes informative dropped flows alerts configurable 2017-12-14 19:11:18 +01:00
Simone Mainardi
754377d372 Implements remote-to-remote flows alerts 2017-12-12 13:16:46 +01:00
emanuele-f
0d433df91b Fix default policy user logic
To determine the policy to apply, the following rules are checked in this order:

1) A pool specific policy on the protocol exists? Use it
2) A default pool policy on the protocol exists? Use it
3) A pool specific policy on the category exists? Use it
4) A defaul pool policy on the category exists? Use it
5) Use the global policy
2017-12-07 13:46:47 +01:00
Luca
b350ecc7d9 Minor rework in periodic scripts
Reworked aggregated DB dump
2017-11-12 12:10:20 +01:00
Simone Mainardi
4bbe36c957 Removes unused DNS-based categorization 2017-10-31 13:53:17 +01:00
Simone Mainardi
2292a1e339 Hanldes invalid DNS query alerts 2017-10-13 17:59:20 +02:00