julian-klode/dns66

[BUG] Reconnecting error when calling on SIgnal

letmutx opened this issue · 0 comments

Whenever I place a call or get a call on Signal, dns66 is automatically disabled with a message saying "Reconnecting error" and I have to manually restart it. I see this error message in logcat when this issue happens.

05-08 17:27:37.992  1024 27490 I DnsPacketProxy: handleDnsRequest: Discarding unknown packet type [IPv6 Header (40 bytes)]
05-08 17:27:37.992  1024 27490 I DnsPacketProxy:   Version: 6 (IPv6)
05-08 17:27:37.992  1024 27490 I DnsPacketProxy:   Traffic Class: 0x00
05-08 17:27:37.992  1024 27490 I DnsPacketProxy:   Flow Label: 0x00000
05-08 17:27:37.992  1024 27490 I DnsPacketProxy:   Payload length: 8 [bytes]
05-08 17:27:37.992  1024 27490 I DnsPacketProxy:   Next Header: 58 (ICMPv6)
05-08 17:27:37.992  1024 27490 I DnsPacketProxy:   Hop Limit: 255
05-08 17:27:37.992  1024 27490 I DnsPacketProxy:   Source address: /fe80::c57a:c59b:dc61:842b
05-08 17:27:37.992  1024 27490 I DnsPacketProxy:   Destination address: /ff02::2
05-08 17:27:37.992  1024 27490 I DnsPacketProxy:
05-08 17:27:37.992  1024 27490 I DnsPacketProxy: java.lang.ClassCastException: org.pcap4j.packet.IcmpV6CommonPacket cannot be cast to org.pcap4j.packet.UdpPacket
05-08 17:27:37.992  1024 27490 I DnsPacketProxy:        at org.jak_linux.dns66.vpn.DnsPacketProxy.handleDnsRequest(DnsPacketProxy.java:156)
05-08 17:27:37.992  1024 27490 I DnsPacketProxy:        at org.jak_linux.dns66.vpn.AdVpnThread.readPacketFromDevice(AdVpnThread.java:325)
05-08 17:27:37.992  1024 27490 I DnsPacketProxy:        at org.jak_linux.dns66.vpn.AdVpnThread.doOne(AdVpnThread.java:290)
05-08 17:27:37.992  1024 27490 I DnsPacketProxy:        at org.jak_linux.dns66.vpn.AdVpnThread.runVpn(AdVpnThread.java:226)
05-08 17:27:37.992  1024 27490 I DnsPacketProxy:        at org.jak_linux.dns66.vpn.AdVpnThread.run(AdVpnThread.java:163)
05-08 17:27:37.992  1024 27490 I DnsPacketProxy:        at java.lang.Thread.run(Thread.java:923)