Please sign in to comment.
Fixing loops for mDNS packets when mDNS plugin is misconfigured
If two mDNS plug-in enabled OLSR routers are attached to the same HNA network, then mDNS packets will loop back and forth between the two, also flooding the whole OLSR network. For the moment the temporary solution to this problem was to enable the plug-in on one router at a time on the same HNA. A real implemented here is the following: usually mDNS packets have a TTL != 1, so: capture only mDNS packets with TTL != 1 when decapsulating mDNS packets, set TTL = 1 where TTL is the IP Time-to-live field or the IPv6 HopLimit field * Modified code to forward mdns packet from HNA into OLSRd network changing TTL/Hlim to 1 * Now the mDns plugin discard all packet from HNA that have TTL/Hlim equals to 1
- Loading branch information...