Comments (8)
@mzac please drop an email to cardigliano at ntop.org, I will provide you a binary to debug this. Thank you.
from ntopng.
Thread 8 "ntopng" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffdda2f640 (LWP 1402930)]
0x00005555556bfc53 in IpAddress::match (this=0x2b2e2f2e2e2e2e2e, tree=0x7fffdda2b7c0) at src/IpAddress.cpp:386
Thread 8 (Thread 0x7fffdda2f640 (LWP 1402930) "ntopng"):
#0 0x00005555556bfc53 in IpAddress::match (this=0x2b2e2f2e2e2e2e2e, tree=0x7fffdda2b7c0) at src/IpAddress.cpp:386
#1 0x00005555556443e3 in Flow::lua (this=0x7ffef92a4bc0, vm=0x7fffc006bca8, ptree=0x7fffdda2b7c0, details_level=details_high, skipNewTable=true) at src/Flow.cpp:2722
#2 0x000055555572e65b in NetworkInterface::getFlows (this=0x55555b8959c0, vm=0x7fffc006bca8, begin_slot=0x7fffdda2b26c, walk_all=true, allowed_hosts=0x7fffdda2b7c0, host=0x0, talking_with_host=0x0, client=0x0, server=0x0, flow_info=0x0, p=0x7fffc00ff210) at src/NetworkInterface.cpp:6130
#3 0x00005555556e265d in ntop_get_interface_flows_info (vm=0x7fffc006bca8) at src/LuaEngineInterface.cpp:2561
#4 0x000055555598d542 in luaD_precall ()
#5 0x000055555599c0dc in luaV_execute ()
#6 0x000055555598d844 in luaD_callnoyield ()
#7 0x000055555598c933 in luaD_rawrunprotected ()
#8 0x000055555598dba4 in luaD_pcall ()
#9 0x000055555598a3f0 in lua_pcallk ()
#10 0x000055555583e40b in LuaHandler::luaL_dofileM (this=0x7fffc034e790, execute=true) at pro/src/LuaHandler.cpp:31
#11 0x00005555556d2d5a in __ntop_lua_handlefile (L=0x7fffc006bca8, script_path=0x7fffdda2cac0 "/usr/share/ntopng/scripts/lua/get_flows_data.lua", ex=true) at src/LuaEngine.cpp:357
#12 0x00005555556d6049 in LuaEngine::handle_script_request (this=0x7fffc01b6fe0, conn=0x7fffc0000b70, request_info=0x7fffc0000b70, script_path=0x7fffdda2cac0 "/usr/share/ntopng/scripts/lua/get_flows_data.lua", attack_attempt=0x7fffdda2c7f8, user=0x7fffdda2c930 "zmcgib.srv", group=0x7fffdda2c960 "administrator", session_csrf=0x7fffdda2c990 "4b1355cf274bce76c7577766a2c0fb48", localuser=false) at src/LuaEngine.cpp:1388
#13 0x000055555568ea1c in handle_lua_request (conn=0x7fffc0000b70) at src/HTTPserver.cpp:1566
#14 0x0000555555686ec7 in handle_request (conn=0x7fffc0000b70) at src/../third-party/mongoose/mongoose.c:4447
#15 0x0000555555689380 in process_new_connection (conn=0x7fffc0000b70) at src/../third-party/mongoose/mongoose.c:5173
#16 0x0000555555689937 in worker_thread (thread_func_param=0x55555dc98400) at src/../third-party/mongoose/mongoose.c:5270
#17 0x00007ffff708cac3 in start_thread (arg=) at ./nptl/pthread_create.c:442
#18 0x00007ffff711e850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
from ntopng.
@mzac please provide your configuration file, thank you
from ntopng.
It seems this happens when calling ntop.getFlowsInfo on a view interface (@mzac you were clicking on flows in a view interface correct?),
which is calling src_ip->match(ptree) in Flow::lua where the segfault happens (src/IpAddress.cpp:386).
ntopng stable 6.0.240111
from ntopng.
Yes correct we are using views. I'll send you the config by email.
from ntopng.
This seems to be related to #8186
from ntopng.
The issue in the dev version should be fixed
from ntopng.
Verified as fixed
from ntopng.
Related Issues (20)
- SNMP Input Form Bug HOT 1
- Active Monitoring not working on Debian Bullseye distributed package
- Delete Unresponsive SNMP Devices Button Has no effect
- Add SNMP Capacity Alert message HOT 2
- Handle nil suricata event_stats HOT 1
- NtopNG Error (Too many Interfaces) HOT 2
- NtopNG exiting on OPNsense HOT 8
- Add SNMP Interface Toggle HOT 2
- Add the libpcap include files to the pfring RPM HOT 1
- Historical flow filter function
- Remediations not working with nDPI checks
- Help with install on OPNSense HOT 1
- Add SNMP Table Autorefresh
- External - ntop.org down HOT 2
- Add check for changing ports over time
- Loading configuration json of 250kB fails HOT 2
- Add additional preference for specify a learning period for a host
- Import SNMP Configuration Fails
- SNMP QoS GUI Broken HOT 1
- Unable to run ntop in container due to too many interfaces?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ntopng.