Closed Andy2244 closed 4 years ago
@namjaejeon Just got this working with cifsd, so maybe you can take a quick look on the interface code and how to prevent the extra binds?
I hope #4 could help
thanks, need to verify if still reachable via wan
@Andy2244 sockets still listen on 0.0.0.0/:: due the design, but since sockets are bind now they can't send packets via "wrong" interfaces. further improvement would be move to recvmsg() with IP_PKTINFO/IPV6_PKTINFO and check received ifindex
@themiron yes i understand, cifsd is doing it the same way. Its fine for now i think, thanks again.