multicast-dns | Experimental mDNS Rust wrapper around Avahi C libraries

 by   fxbox Rust Version: Current License: MPL-2.0

kandi X-RAY | multicast-dns Summary

kandi X-RAY | multicast-dns Summary

multicast-dns is a Rust library. multicast-dns has no bugs, it has no vulnerabilities, it has a Weak Copyleft License and it has low support. You can download it from GitHub.

multicust_dns - is essentially a Rust wrapper around Avahi that internally uses AvahiDaemon to manage host name and browse services on the local network. Requires avahi-common, avahi-client and dbus-1 libs to compile sucessfully. For non-linux platforms that don't have required avahi libs, fake implementation is used. See Multicast DNS Utils command line app as an example.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              multicast-dns has a low active ecosystem.
              It has 11 star(s) with 5 fork(s). There are 5 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 1 open issues and 5 have been closed. On average issues are closed in 14 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of multicast-dns is current.

            kandi-Quality Quality

              multicast-dns has no bugs reported.

            kandi-Security Security

              multicast-dns has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              multicast-dns is licensed under the MPL-2.0 License. This license is Weak Copyleft.
              Weak Copyleft licenses have some restrictions, but you can use them in commercial projects.

            kandi-Reuse Reuse

              multicast-dns releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of multicast-dns
            Get all kandi verified functions for this library.

            multicast-dns Key Features

            No Key Features are available at this moment for multicast-dns.

            multicast-dns Examples and Code Snippets

            No Code Snippets are available at this moment for multicast-dns.

            Community Discussions

            QUESTION

            NPM Audit Issue with dns-packet
            Asked 2021-May-27 at 10:48

            Can some please explain how to fix the following (npm audit):

            ...

            ANSWER

            Answered 2021-May-25 at 19:12

            You should check your package-lock.json if dns-packet was indeed updated to 5.2.2 or a higher version to fix the Memory Exposure vulnerability.

            You can add the least required version to resolutions in package.json and run npx npm-force-resolutions before npm install:

            Source https://stackoverflow.com/questions/67680511

            QUESTION

            Npm audit fix --force react script downgrade automatically
            Asked 2021-May-26 at 12:48

            i have a huge problem with my project in react. I'm trying to update the libraries on my project but seems something wrong happens.

            This is the package.json

            ...

            ANSWER

            Answered 2021-May-26 at 12:48

            A few developers are now slowly getting this hopefully temporary problem when they update their projects.

            For example: https://github.com/facebook/create-react-app/issues/11012

            Recommendation is to leave this on the todo list, and wait a few days while the package developers fix this (at least for the packages that already have been notified)

            Then run audit fix again

            In the meantime, one error in particular the 'high' severity one...

            Source https://stackoverflow.com/questions/67693423

            QUESTION

            Network Service Discovery (mDNS) on react-native/Expo
            Asked 2018-Jan-20 at 03:03

            I have an IOT device ruining a mDNS responder, is there a way to find the device through a react-native/Expo app?

            • I have found a react-native library (react-native-zeroconf). However, it requires react-native-link which expo does not support.

            • I have also found a pure Java Script library (multicast-dns). However, I'm not sure whether it is possible to port that to react-native/Expo.

            Should I detach and use native modules? I'm keeping that as a last resort for now.

            ...

            ANSWER

            Answered 2018-Jan-20 at 03:03

            The first one you can do with expo but you will need to detach.

            The second will not work at all because it assumes the node API which does not exist in ReactNative.

            Source https://stackoverflow.com/questions/48352050

            QUESTION

            Making .local resolve to IP address AND port (mdns)
            Asked 2017-Oct-15 at 08:57

            I'm using the multicast-dns node module to attempt making this work.

            Looking up custom.local in the browser gives me the console message I setup, but I'm unable to see my actual server running (which is doing so at localhost:12345, where 12345 is a dynamic number). I want to be able to see my local server when visiting custom.local. Is this possible?

            Here's some code:

            ...

            ANSWER

            Answered 2017-Oct-15 at 08:57

            Quoting cfreak:

            You can't put port numbers in DNS. DNS is only for looking up an IP by name. For your browser to see it by the name alone you need a proxy program in front of your service or you need to run the service itself on port 80. Port numbers really shouldn't be dynamic. You should specify it in the setup of your service.

            That answers my question and offers next steps. Thanks!

            UPDATE: Figured out what I was trying to do. Here's some code!

            FOUND A SOLUTION, WOOP WOOP!

            I'm using this module, but tweaked the source a bit (only because I have dynamic ports, because I feel like it).

            Source https://stackoverflow.com/questions/46652609

            QUESTION

            Resolving minwinpc.local on SoftAP
            Asked 2017-Aug-11 at 12:20

            When I connect to the Windows IoT board normally, accessing "minwinpc.local:8080" to get to the IoT device portal works fine in the same network. However, when the same is done through the built-in SoftAP (using WiFiDirectAdvertisementPublisher), the hostname cannot be resolved. The device portal is still reachable if accessed directly through the IP (by default 192.168.137.1 on SoftAP).

            This behaviour can also be observed using custom services – i.e. hostname resolution only works through external networks, but not if the IoT board itself is hosting a SoftAP.

            Is there any configuration that I need to apply or any settings I need to configure using PowerShell in order to enable name resolution on the SoftAP interface?

            Update

            Further testing:

            Initial AJ_SoftAPSsid

            • Windows client: minwinpc:8080 works fine, minwinpc.local:8080 does not work
            • macOS client and Windows in VMware: minwinpc:8080 does not work, minwinpc.local:8080 works fine

            iPhone hotspot with DragonBoard as client

            • Windows client: minwinpc:8080 works fine, minwinpc.local:8080 works fine
            • macOS client and Windows in VMware: minwinpc:8080 does not work, minwinpc.local:8080 works fine

            Custom SoftAP hosted by DragonBoard

            • Windows client: minwinpc:8080 works fine, minwinpc.local:8080 works fine
            • macOS client and Windows in VMware: minwinpc:8080 does not work, minwinpc.local:8080 does not work, only direct access through IP works (192.168.137.1:8080).

            Related questions:

            ...

            ANSWER

            Answered 2017-Aug-10 at 17:05

            The windows client is automatically attempt to enrich the minwinpc:8080 to become minwinpc.local:8080. When it is a virtual client, it is dependant upon the host OSX name resolution, which doesn't do that automatic hostname enrichment upon lookup.

            I see the following from: https://msdn.microsoft.com/en-us/library/windows/desktop/dd815243(v=vs.85).aspx

            ... In addition, SoftAP does not provide the DNS resolution. In the case where an external DNS server is not made available using Internet Connection Sharing (see the discussion of ICS below), fully qualified domain name (FQDN) resolution between any two computers or devices connected with the SoftAP, including the computer hosting the SoftAP, would only work if both entities mark the network type of the SoftAP network as PRIVATE (HOME or WORK in the network category pop-up). Since the machine hosting the SoftAP always marks the SoftAP network type as PRIVATE, only the computers or devices connected to SoftAP need to mark the SoftAP network type as PRIVATE in order for FQDN resolution to work...

            Which sounds like what you are experiencing is the intended behavior of SoftAP. If you would like to see this in action, flush the dns cache on the client and then wireshark the request, on windows, you should see at least two DNS requests when attempting connections to minwinpc:8080.

            Source https://stackoverflow.com/questions/45616546

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install multicast-dns

            You can download it from GitHub.
            Rust is installed and managed by the rustup tool. Rust has a 6-week rapid release process and supports a great number of platforms, so there are many builds of Rust available at any time. Please refer rust-lang.org for more information.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/fxbox/multicast-dns.git

          • CLI

            gh repo clone fxbox/multicast-dns

          • sshUrl

            git@github.com:fxbox/multicast-dns.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link