iot-reflector

command module
v0.0.0-...-4095b77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2025 License: MIT Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

iot-reflector

About this project

iot-reflector allows mDNS/Bonjour devices such as printers, Chromecasts or Spotify Connect speakers, discoverable and usable by other devices located on different networks.

How it works

Iot-reflector works by intercepting all mDNS traffic on one interface and re-sends them on one or more other network interfaces.

The mDNS packets are modified before reflection:

  • Questions that contain IPv6 link local addresses in them are removed.
  • IPv6 link local answers are removed.
  • NSEC answers are removed.

Debugging & Profiling

If developing on MacOS, first install Wireshark to setup your user with the ability to use libpcap.

A pprof server will listen on port 6060 if the you use the -debug flag.

More information on pprof is available here

Attribution

This project is a derivative of the bonjour-reflector project.

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址