Gandem / bonjour-reflector

A reflector that forwards mdns packets between VLANs - like avahi-reflector but with fine-grained control !
MIT License
177 stars 37 forks source link

Feature: use BPF filter to only get bonjour traffic #23

Closed remicalixte closed 4 years ago

remicalixte commented 6 years ago

Greatly improve CPU usage #20. Edit: actually this does not improve performance but still makes the code a lot cleaner. See #24 for performance improvements.

L3Nerd commented 5 years ago

@remicalixte I think you are wrong :-) Did a checkout of your PR, cause of high cpu-usage on my homeserver (constant network-traffic on that interface), your branch got the process from ~20% to <1%.

Gandem commented 5 years ago

Let's get this PR merged then ! @remicalixte mind rebasing this on top of latest master ? The CI is broken right now, and there is a couple of commits in master that should fix this

remicalixte commented 4 years ago

@L3Nerd Great ! Let's get this merged then

remicalixte commented 4 years ago

Alright the tests are fixed now

anatolebeuzon commented 4 years ago

Nice!! 🎉