Comments (2)
I still have the exact same backtrace with 64a9e8e :/
(except for the different line offsets in nlbwmon source, obviously)
(gdb) bt
#0 0x00007f1d1e7b68a0 in raise () from /usr/lib/libc.so.6
#1 0x00007f1d1e7b7f09 in abort () from /usr/lib/libc.so.6
#2 0x00007f1d1e7f9517 in __libc_message () from /usr/lib/libc.so.6
#3 0x00007f1d1e8896bf in __fortify_fail_abort () from /usr/lib/libc.so.6
#4 0x00007f1d1e889682 in __stack_chk_fail_local () from /usr/lib/libc.so.6
#5 0x000055be18251b37 in ipaddr_parse (msg=<optimized out>, arg=0x7ffd30045840) at /home/zorun/tmp/nlbwmon/neigh.c:197
#6 0x00007f1d1f1745f9 in nl_recvmsgs_report () from /usr/lib/libnl-3.so.200
#7 0x00007f1d1f174a29 in nl_recvmsgs () from /usr/lib/libnl-3.so.200
#8 0x000055be182518af in ipaddr_to_ifindex (family=family@entry=2, addr=addr@entry=0x7ffd30045874) at /home/zorun/tmp/nlbwmon/neigh.c:220
#9 0x000055be18251e77 in update_macaddr (family=2, addr=addr@entry=0x7ffd30045920) at /home/zorun/tmp/nlbwmon/neigh.c:309
#10 0x000055be182525c8 in parse_event (reply=<optimized out>, len=<optimized out>, allow_insert=false, update_mac=update_mac@entry=true)
at /home/zorun/tmp/nlbwmon/nfnetlink.c:211
#11 0x000055be182526a3 in handle_dump (msg=<optimized out>, arg=0x7ffd30045abc) at /home/zorun/tmp/nlbwmon/nfnetlink.c:250
#12 0x00007f1d1f1745f9 in nl_recvmsgs_report () from /usr/lib/libnl-3.so.200
#13 0x00007f1d1f174a29 in nl_recvmsgs () from /usr/lib/libnl-3.so.200
#14 0x000055be182528f7 in nfnetlink_dump (allow_insert=<optimized out>) at /home/zorun/tmp/nlbwmon/nfnetlink.c:388
#15 0x000055be18252c75 in handle_refresh (tm=<optimized out>) at /home/zorun/tmp/nlbwmon/nlbwmon.c:154
#16 0x00007f1d1ed54c30 in uloop_run_timeout () from /usr/lib/libubox.so
#17 0x000055be182530d2 in uloop_run () at /usr/include/libubox/uloop.h:111
#18 server_main (argc=<optimized out>, argv=<optimized out>) at /home/zorun/tmp/nlbwmon/nlbwmon.c:364
#19 0x000055be182532a8 in main (argc=7, argv=0x7ffd30045d68) at /home/zorun/tmp/nlbwmon/nlbwmon.c:377
from nlbwmon.
Same here. The issue is that nlmsg_parse() expects to get an array of [max+1]. The call in neigh_parse() is ok but the other two in ipaddr_parse() and link_parse() are given an array of [max] instead of [max+1]. Changing that fixed the crashes for me.
from nlbwmon.
Related Issues (20)
- installed nlbwmon and in openwrt router few hosts are missing, i verified with nlbw -c show command HOT 1
- [docs] Add a note about setting nf_conntrack_acct
- feature: include the hostnames in export HOT 1
- [feature]Add similar to littlesnitch to show the region where the router initiated the link on the map HOT 1
- Empty result on Ubuntu 20.04 Beta HOT 2
- Exporting data to a different host on the internet HOT 2
- kernels update HOT 1
- Impossible to view details per MAC address when machine has had large number of IPs HOT 1
- Netlink receive failure: Out of memory HOT 6
- Support for realtime speed/data-transfer-rate per client HOT 2
- SSDP should not be counted
- Nftables support HOT 3
- Non OpenWRT (amd64-linux) compile possible ? HOT 2
- Wrong values with OpenWRT 22.03.0-rc0 HOT 4
- I have two question about this project. HOT 1
- Daily accounting period? HOT 2
- Hostname lookup from dnsmasq dhcp-hostsfile HOT 2
- [Feature Request] Hourly account interval? HOT 1
- [Feature Request] exclude VPN or exclude by ip/mac
- Large network traffic detected on HOPOPT/0 to port 0 HOT 5
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 nlbwmon.