Giter Club home page Giter Club logo

Comments (9)

gigaj0ule avatar gigaj0ule commented on June 2, 2024 1

Time ah yes, the one thing I can't buy more of x_x

Well good news is... it looks like this unmerged PR fixes the overrun problem I just noticed!

arduino-libraries/ArduinoMDNS@396aef1

\028 is no longer reported at the end of _http

from mdns_generic.

gigaj0ule avatar gigaj0ule commented on June 2, 2024 1

Not sure entirely, I still have more acid tests to run before I'm satisfied that these bugs are fixed :-)

from mdns_generic.

gigaj0ule avatar gigaj0ule commented on June 2, 2024

I'm able to see arduino with avahi-browse, but not mdns-scan

Apparently mdns-scan queries _services._dns-sd._udp.local which is described further a bit here:

https://sfc6326dbff511243.jimcontent.com/download/version/1479727622/module/10798285897/name/DNS-SD%20review.pdf

This may lead to some clues, maybe the packet is malformed in such a way to be unacceptable to the _services._dns-sd._udp.local method?

from mdns_generic.

gigaj0ule avatar gigaj0ule commented on June 2, 2024

More clues: in avahi-browse i'm seeing what looks like buffer overrun in the name 0_o

E    Ifce        Prot     Name            Type                      Domain
+    wlp3s0   IPv4    my_arduino   _http\028._tcp       local

from mdns_generic.

khoih-prog avatar khoih-prog commented on June 2, 2024

Hi @gigaj0ule

I'm able to see arduino with avahi-browse, but not mdns-scan

Can you check to be sure mdns-scan is fully compatible and OK to use? Also check using other better boards (STM32F4/F7, etc), or the original ArduinoMDNS library, if possible, to isolate the issue (STM32 F1 board, Ethernet, this library's bug, etc.)

Anyway, I'll archive this library soon as I won't have time to spend on this library anymore.

Your investigation, updated info, PR are appreciated to help other users.

Best Regards,

from mdns_generic.

gigaj0ule avatar gigaj0ule commented on June 2, 2024

I need to do more looking into mdns-scan to know where the bug is exactly.

I'll keep digging!

As this is the only recently-maintained ethernet-compatible mDNS library for Arduino, I am not sure why you would want to archive it?

from mdns_generic.

gigaj0ule avatar gigaj0ule commented on June 2, 2024

I just tested the original ArduinoMDNS library and the buffer overrun problem that results in

E    Ifce        Prot     Name            Type                      Domain
+    wlp3s0   IPv4    my_arduino   _http\028._tcp       local

\028 still there...

However, the service browser now only returns _http like it is supposed to.

Discovering services of type '_http' via Bonjour...
Found: 'EPSON XP-810 Series' at 10.0.0.225:80
Found: 'Brother HL-L2360D series' at 10.0.0.110:80
Finished discovering services of type _http

So I can say at the very least in MDNS_Generic the service browser is a little too overzealous.

from mdns_generic.

khoih-prog avatar khoih-prog commented on June 2, 2024

As this is the only recently-maintained ethernet-compatible mDNS library for Arduino, I am not sure why you would want to archive it?

I'm sorry I really don't have time to spend on this library and mDNS topic for quite a long time. It's hard and time-consuming to start over every time to reread all the necessary info / specs.

Hopefully someone (you ???) will take over and maintain this library. Before that time, I'm still trying my best and really appreciate any contribution (bug fix, PR, etc.)

It's good you're making some progress.

from mdns_generic.

khoih-prog avatar khoih-prog commented on June 2, 2024

If tested OK and problem fixed, could you make the PR? Thanks

from mdns_generic.

Related Issues (9)

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.