Coder Social home page Coder Social logo

Comments (9)

PolynomialDivision avatar PolynomialDivision commented on June 2, 2024

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.

jonozzz avatar jonozzz commented on June 2, 2024

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.

PolynomialDivision avatar PolynomialDivision commented on June 2, 2024

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.

gongsearch avatar gongsearch commented on June 2, 2024

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.

Ian-Clowes avatar Ian-Clowes commented on June 2, 2024

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.

PolynomialDivision avatar PolynomialDivision commented on June 2, 2024

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.

Ian-Clowes avatar Ian-Clowes commented on June 2, 2024

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.

PolynomialDivision avatar PolynomialDivision commented on June 2, 2024

Is this issue still existing in latest dawn master?

from dawn.

gongsearch avatar gongsearch commented on June 2, 2024

For me the problem is gone, thanks. :)

from dawn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.