linuxdeepin / developer-center

Deepin developer center, provide developer wiki and community forum.
452 stars 73 forks source link

add -d 239.255.255.250/32 -p udp -m udp --dport 3702 to firewall when share is enabled in dde-file-manager #2354

Open Mile-Lile opened 2 years ago

Mile-Lile commented 2 years ago

@justforlxz

when user enables share on folder these two rules are added to firewall:

-A INPUT -d 224.0.0.251/32 -p udp -m udp --dport 5353 -j ACCEPT LLMNR -A INPUT -d 239.255.255.250/32 -p udp -m udp --dport 1900 -j ACCEPT SSDP

and those rules are needed for MS Windows Discovery services... Can you add:

-A INPUT -d 239.255.255.250/32 -p udp -m udp --dport 3702 -j ACCEPT so that share will appear on embedded netowrk systems (openwrt, ddwrt, tomato, edgeOS)that uses wsdd2

justforlxz commented 2 years ago

Seems like a good suggestion.

Mile-Lile commented 2 years ago

There is another ticket regarding similar issue, and Blumia stated that devs will maybe include avahi in some future builds, so this will not be needed, maybe... IDK, maybe to check with him... For now, it is not working out of the box....(sharing)... I have 3 laptops with deepin and I coudn't get it work without tweaks...

On Sat, 7 May 2022, 08:16 爱折腾的小竹同学, @.***> wrote:

Seems like a good suggestion.

— Reply to this email directly, view it on GitHub https://github.com/linuxdeepin/developer-center/issues/2354#issuecomment-1120144225, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBJPMHOKKVT6VQZD3NC5VLVIYDDZANCNFSM5RBHAKQQ . You are receiving this because you authored the thread.Message ID: @.***>

BLumia commented 2 years ago

Blumia stated that devs will maybe include avahi in some future builds

https://github.com/linuxdeepin/developer-center/discussions/3131

I'm still not 100% sure if it will be added though, but I do think it's a good suggestion :)