Netgear / wsdd2

WSD/LLMNR Discovery/Name Service Daemon
GNU General Public License v3.0
158 stars 34 forks source link

Interface -i ... switch does not work correctly. #15

Open CpServiceSpb opened 4 years ago

CpServiceSpb commented 4 years ago

There is Ubuntu18.04 x64 and 1.8.3.1 wsdd2 version. There are lan0 and wa0 interfaces. While wsdd2 -i lan0 starts I see:

connected_if: lo: if=127.0.0.1 sc=192.168.0.80 nm=255.0.0.0
connected_if: wan0: if=55.66.77.88 sc=192.168.0.80 nm=255.255.255.248
connected_if: lan0: if=192.168.0.254 sc=192.168.0.80 nm=255.255.255.0
connected_if: lo: if=127.0.0.1 sc=192.168.0.80 nm=255.0.0.0
connected_if: wan0: if=55.66.77.88 sc=192.168.0.80 nm=255.255.255.248
connected_if: lan0: if=192.168.0.254 sc=192.168.0.80 nm=255.255.255.0
connected_if: lo: if=127.0.0.1 sc=192.168.0.80 nm=255.0.0.0
connected_if: wan0: if=55.66.77.88 sc=192.168.0.80 nm=255.255.255.248
connected_if: lan0: if=192.168.0.254 sc=192.168.0.80 nm=255.255.255.0
connected_if: lo: if=127.0.0.1 sc=192.168.0.80 nm=255.0.0.0
connected_if: wan0: if=55.66.77.88 sc=192.168.0.80 nm=255.255.255.248
connected_if: lan0: if=192.168.0.254 sc=192.168.0.80 nm=255.255.255.0

Also there is Iptables with rule allowing outgoing multicas traffic from lan0 interface and no rule to allow it from wan0. And when wsdd2 starts error is appeared: wsdd2[22074]: error: wsdd-mcast-v4: wsd_send_soap_msg: send: Operation not permitted

Is it correct behaviour or incorrect that is issue ?