Comments (9)
Did u install full wpad? Could u look if your neighbor reports are correct set with
ubus call dawn get_network
?
Edit: @jonozzz could u give me that information, too?
from dawn.
Yes I'm using wpad-mesh-openssl 2020-05-20-dd2daf08-2
, and the output looks ok, I see all my APs and clients in there.
from dawn.
Yes I'm using
wpad-mesh-openssl 2020-05-20-dd2daf08-2
, and the output looks ok, I see all my APs and clients in there.
Especially this field in the AP "neighbor_report": "27fb4ea6ef0900007e9d070603019f00",
is important. Did u already try the PR?
from dawn.
For me the above error seems solved with fix/nullpointer. Now I sometimes get something like:
Mon Jun 15 12:36:25 2020 daemon.notice hostapd: wlan1: BEACON-REQ-TX-STATUS 10:98:c3:04:74:ff 173 ack=1
Mon Jun 15 12:36:25 2020 daemon.notice hostapd: wlan1: BEACON-RESP-RX 10:98:c3:04:74:ff 0 04
Mon Jun 15 12:36:25 2020 daemon.notice hostapd: wlan1: BEACON-REQ-TX-STATUS 48:88:ca:e1:c8:7e 171 ack=1
Mon Jun 15 12:36:25 2020 daemon.notice hostapd: wlan1: BEACON-RESP-RX 48:88:ca:e1:c8:7e 171 04 0000000000000000000000008000000000000000000000000000
Mon Jun 15 12:36:25 2020 daemon.err dawn[1430]: Received NULL MAC! Client is strange!
Mon Jun 15 12:36:25 2020 daemon.notice hostapd: wlan1: BEACON-REQ-TX-STATUS 94:65:2d:2f:df:1b 172 ack=1
Mon Jun 15 12:36:30 2020 kern.info kernel: [ 3795.226593] do_page_fault(): sending SIGSEGV to dawn for invalid read access from 77dc9000
Mon Jun 15 12:36:30 2020 kern.info kernel: [ 3795.235018] epc = 77e56a8c in libc.so[77de4000+97000]
Mon Jun 15 12:36:30 2020 kern.info kernel: [ 3795.240184] ra = 00405049 in dawn[400000+c000]
from dawn.
I was seeing what may be that 2nd style of SEGV yesterday. Via gdb I found a line that was using memcpy() to try and copy a maximum length neighbor report. Looked a bit suspicious so I changed it to strncpy() and my crashes went away. Not sure how to check if the original intent of the copy is working though. It's included in a PR I'm hoping tp submit in next day or twp.
from dawn.
I was seeing what may be that 2nd style of SEGV yesterday. Via gdb I found a line that was using memcpy() to try and copy a maximum length neighbor report. Looked a bit suspicious so I changed it to strncpy() and my crashes went away. Not sure how to check if the original intent of the copy is working though. It's included in a PR I'm hoping tp submit in next day or twp.
Ah thanks! I will have a look at this. Nice hint.
from dawn.
Just double checked that as I'm writing the commit comment. It was copying the client signature in dump_client() that I chnaged to strncpy().
from dawn.
Is this issue still existing in latest dawn master?
from dawn.
For me the problem is gone, thanks. :)
from dawn.
Related Issues (20)
- How to configure DAWN to kick "legacy" devices? HOT 2
- Make "server_ip" into a list of IPs to contact
- [broadcast mode] UDP packets exceed MTU HOT 1
- [multicast mode] Allow binding to a specific IP instead of wildcard HOT 3
- [broadcast mode] Symmetric encryption is broken HOT 2
- eval_<type>_req and MacOS behaviour (and other OS), improvement and bugfixes HOT 1
- Is there any way to make DAWN prefer 5GHz network. HOT 1
- [Question] Why do the OpenWRT guides mention wnm_sleep_mode?
- [Bug?] rrm_mode other than "t" causes network delay spikes on multiple devices HOT 2
- [Bug?] bandwidth_threshold in config is supposedly megabits but compared to kilobits from hostapd
- Solved: DAWN fail on multiple SSID with different subnet IP HOT 1
- infrequent SIGSEGV on OpenWrt 22.03.5, r20134-5f15225c1e, mipsel_24kc HOT 2
- DAWN kicks clients with good bitrates HOT 1
- [Info] Updates to luci-app-dawn in progress HOT 15
- DAWN stopped working after upgrading Openwrt to 23.05 HOT 1
- "wnm_disassoc_imminent" is dropped in OpenWrt 23.05.0 HOT 1
- What server_ip to use?
- DAWN does not see other APs until umdns is restarted HOT 4
- BEACON REQUEST failed HOT 1
- DAWN is not respecting (disabled) 80211r setting for wifi networks
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 dawn.