Browse Source

discord only ipv4

master
bol-van 2 days ago
parent
commit
73f21b0524
  1. 3
      init.d/windivert.filter.examples/windivert.discord_media+stun.txt
  2. 4
      init.d/windivert.filter.examples/windivert.discord_media.txt

3
init.d/windivert.filter.examples/windivert.discord_media+stun.txt

@ -1,6 +1,7 @@
!impostor and !loopback and
(outbound and
((udp.DstPort>=50000 and udp.DstPort<=50099 and
((ip and
udp.DstPort>=50000 and udp.DstPort<=50099 and
udp.PayloadLength=74 and
udp.Payload32[0]=0x00010046 and
udp.Payload32[2]=0 and

4
init.d/windivert.filter.examples/windivert.discord_media.txt

@ -19,7 +19,5 @@
udp.Payload32[15]=0 and
udp.Payload32[16]=0 and
udp.Payload32[17]=0 and
( ((ip.DstAddr < 127.0.0.1 or ip.DstAddr > 127.255.255.255) and (ip.DstAddr < 10.0.0.0 or ip.DstAddr > 10.255.255.255) and (ip.DstAddr < 192.168.0.0 or ip.DstAddr > 192.168.255.255) and (ip.DstAddr < 172.16.0.0 or ip.DstAddr > 172.31.255.255) and (ip.DstAddr < 169.254.0.0 or ip.DstAddr > 169.254.255.255)) or
((ipv6.DstAddr > ::1) and (ipv6.DstAddr < 2001::0 or ipv6.DstAddr >= 2001:1::0) and (ipv6.DstAddr < fc00::0 or ipv6.DstAddr >= fe00::0) and (ipv6.DstAddr < fe80::0 or ipv6.DstAddr >= fec0::0) and (ipv6.DstAddr < ff00::0 or ipv6.DstAddr >= ffff::0))
)
(ip.DstAddr < 127.0.0.1 or ip.DstAddr > 127.255.255.255) and (ip.DstAddr < 10.0.0.0 or ip.DstAddr > 10.255.255.255) and (ip.DstAddr < 192.168.0.0 or ip.DstAddr > 192.168.255.255) and (ip.DstAddr < 172.16.0.0 or ip.DstAddr > 172.31.255.255) and (ip.DstAddr < 169.254.0.0 or ip.DstAddr > 169.254.255.255)
)

Loading…
Cancel
Save