Bug #4081
closed
MulticastEthernetTransport: promiscuous mode fallback is broken
Added by Davide Pesavento over 7 years ago.
Updated over 7 years ago.
Description
pcap_set_promisc
must be called before pcap_activate
, otherwise it has no effect.
MulticastEthernetTransport
has always done the inverse, which means that the fallback has never been functional.
- Description updated (diff)
Given that:
- The two other methods to join the multicast group are strictly better and they cover all of our supported platforms
- Nobody so far complained about promisc mode not working
- Changing the order of the calls is non-trivial, because we need the fd to try the other methods, and to get the fd we need to call
pcap_activate
first => chicken and egg situation
I think it's safe to assume that no one has ever used or relied on the fallback. Therefore, I propose that we simply remove it.
- Status changed from New to Code review
- % Done changed from 0 to 100
- Status changed from Code review to Closed
Also available in: Atom
PDF