safing / portmaster

🏔 Love Freedom - ❌ Block Mass Surveillance
https://safing.io
GNU General Public License v3.0
9.4k stars 305 forks source link

"Detected Compatibility Issue" with no VPN nor Antivirus opened. #515

Closed PhantomHydraPH closed 2 years ago

PhantomHydraPH commented 2 years ago

What happened?

Error "Detected Compatibility Issue" appearing seemingly randomly. "Portmaster detected that something is interfering with its operation. This could be a VPN, an Anti-Virus or another network protection software. Please check if you are running an incompatible VPN client or software. Otherwise, please report the issue via GitHub or send a mail to support@safing.io so we can help you out."

The network also gets unstable sometimes when the error occurs. Using the restart button on the "Global Settings" seems to temporarily resolve the issue, just for about 2 minutes though.

What did you expect to happen?

No error or network instability.

How did you reproduce it?

The program is installed and the system is restarted, then the error is presented after a certain period of use, about 1 to 3 minutes, without any pattern observed.

Additional information

Tested on an updated Windows 10 Pro 64 bits.

Applications installed on the system (most likely to be affecting portmaster operation): > [C] COMODO Firewall > [C] [D] PeerBlock > [C] OONI Probe > [C] [D] Process Hacker 2 > [C] [D] GlassWire > FileZilla Server > GeForce Experience > [C] Riot Vanguard > [C] Taiga(.moe) > [C] Logitech G Hub > [C] Power Toys > GPU Tweak II (ROG) > Discord > [C] Firefox

[C] - Also tested after the respective program is closed (after started with the system) [D] - Tested also with automatic start disabled, but still with the respective program installed.

Debug-Info: https://support.safing.io/privatebin/?34ad66b0a9f53744#9KTKu6UN7q12epgQZMEynTM7h5rGKsJWmcXuYhYcWfFy

dhaavi commented 2 years ago

Hey @PhantomHydraPH, thanks for reporting this.

Can you clarify what you mean by "after the respective program is closed"? Can you confirm that the background processes were correctly stopped?

I would expect interference from COMODO Firewall, PeerBlock and GlassWire.

The Portmaster does its self-check multiple times before reporting anything. This is why it takes a couple minutes until the Portmaster says anything.

PhantomHydraPH commented 2 years ago

Hello, sorry for the confusion, English is not my main language. About the "after the respective program is closed" [C], I mean that I tested Portmaster with, for example, COMODO Firewall opened and (later on) closed (background processes were stopped). On both [C] and [D], the programs were still installed though.

Unfortunately, I can not uninstall most of the programs on my computer because I am not the only one using them, however, I created a new VM with VirtualBox (Windows 10 Pro 64x updated, using Bridge Adapter). The problem seems to still be present. image image

Debug info (from VM Portmaster):

Version 0.7.18 ``` Portmaster version 0.7.18 commit tags/v0.7.18-0-gbb78f8549444d3044084b28c8683dd1d9166ec2f built with go1.15.8 (gc) windows/amd64 using options main.go by user@docker on 25.01.2022 Licensed under the AGPLv3 license. The source code is available here: https://github.com/safing/portmaster ```
Platform: Microsoft Windows 10 Pro 10.0.19044 Build 19044 ``` System: Microsoft Windows 10 Pro windows (Standalone Workstation) 10.0.19044 Build 19044 Kernel: 10.0.19044 Build 19044 x86_64 ```
Status: Trusted ``` ActiveSecurityLevel: Trusted SelectedSecurityLevel: Off ThreatMitigationLevel: Trusted CaptivePortal: OnlineStatus: Online ```
Resolvers: 3/8 ``` Cloudflare dot://1.1.1.2:853#config Failing: false 2804:14c:1:0:181:213:132:2 dns://2804:14c:1:0:181:213:132:2:53#system Failing: true 2804:14c:1:0:181:213:132:3 dns://2804:14c:1:0:181:213:132:3:53#system Failing: true 2804:14c:87b9:a950:0:ff:fe00:4 dns://2804:14c:87b9:a950:0:ff:fe00:4:53#system Failing: true 2804:14c:1:0:181:213:132:2 dns://2804:14c:1:0:181:213:132:2:53#system Failing: true 2804:14c:1:0:181:213:132:3 dns://2804:14c:1:0:181:213:132:3:53#system Failing: true 181.213.132.2 dns://181.213.132.2:53#system Failing: false 181.213.132.3 dns://181.213.132.3:53#system Failing: false ```
Compat Module Error ``` Message: self-check #3: dns integration check failed: did not receive test response after 3s Timestamp: 2022-02-03 08:11:07.1741092 -0800 PST m=+517.116303501 ModuleName: compat TaskName: selfcheck TaskType: Severity: error PanicValue: %!s() StackTrace: goroutine 491 [running]: runtime/debug.Stack(0xc000a0a9f0, 0xc0007c07e0, 0x53) /usr/local/go/src/runtime/debug/stack.go:24 +0xa5 github.com/safing/portbase/modules.(*Module).NewErrorMessage(0xc0001b0640, 0x1519ddf, 0x9, 0x1622d80, 0xc000a0a9f0, 0x5b) /home/user/git/safing/portbase/modules/error.go:48 +0x58 github.com/safing/portmaster/compat.(*systemIssue).notify(0x1acaac0, 0x1622d80, 0xc000a0a9f0) /home/user/git/safing/portmaster/compat/notify.go:89 +0x1ac github.com/safing/portmaster/compat.selfcheckTaskFunc(0x1635820, 0xc000a4d5c0, 0xc000174630, 0x0, 0x0) /home/user/git/safing/portmaster/compat/module.go:85 +0x16b github.com/safing/portbase/modules.(*Task).executeWithLocking(0xc000174630) /home/user/git/safing/portbase/modules/tasks.go:369 +0x94 created by github.com/safing/portbase/modules.(*Task).runWithLocking /home/user/git/safing/portbase/modules/tasks.go:318 +0x285 ```
Unexpected Logs ``` 220203 08:02:34.554 olver-mdns:094 > WARN 055 intel(mdns): failed to create udp6 listen multicast socket: listen udp6 [ff02::fb]:5353: setsockopt: not supported by windows 220203 08:02:43.304 pat/module:083 > ERRO 063 compat: self-check #3: dns integration check failed: did not receive test response after 3s 220203 08:03:46.335 pat/module:083 > ERRO 072 compat: self-check #3: dns integration check failed: did not receive test response after 3s 220203 08:04:49.384 pat/module:083 > ERRO 107 compat: self-check #3: dns integration check failed: did not receive test response after 3s 220203 08:05:52.427 pat/module:083 > ERRO 120 compat: self-check #3: dns integration check failed: did not receive test response after 3s 220203 08:06:55.471 pat/module:083 > ERRO 151 compat: self-check #3: dns integration check failed: did not receive test response after 3s 220203 08:07:58.520 pat/module:083 > ERRO 197 compat: self-check #3: dns integration check failed: did not receive test response after 3s 220203 08:09:01.549 pat/module:083 > ERRO 206 compat: self-check #3: dns integration check failed: did not receive test response after 3s 220203 08:10:04.570 pat/module:083 > ERRO 221 compat: self-check #3: dns integration check failed: did not receive test response after 3s 220203 08:11:07.174 CURRENT TIME ```
Goroutine Stack ``` goroutine profile: total 62 12 @ 0xc1de1a 0xc2de2f 0xfdb585 0xfdbbf7 0xc4fba1 # 0xfdb584 github.com/safing/portbase/api.(*DatabaseAPI).processSub+0x224 /home/user/git/safing/portbase/api/database.go:415 # 0xfdbbf6 github.com/safing/portbase/api.(*DatabaseAPI).handleQsub+0x136 /home/user/git/safing/portbase/api/database.go:478 3 @ 0xc1de1a 0xc2de2f 0x12fd66a 0xc4fba1 # 0x12fd669 github.com/xtaci/kcp-go/v5.(*TimedSched).sched+0x2c9 /home/user/go/pkg/mod/github.com/xtaci/kcp-go/v5@v5.6.1/timedsched.go:67 2 @ 0xc1de1a 0xc13e65 0xc49365 0xc8c30c 0xc8d645 0xc8e81f 0xd81dd6 0xd90e35 0xe1bb2a 0xe1bcb6 0xfb5d07 0xfb828b 0xfb935b 0xfb9b16 0xfd8fca 0xf9c7e7 0xf9befe 0xf9e5e5 0xc4fba1 # 0xc49364 internal/poll.runtime_pollWait+0x64 /usr/local/go/src/runtime/netpoll.go:222 # 0xc8c30b internal/poll.(*pollDesc).wait+0x4b /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 # 0xc8d644 internal/poll.execIO+0x104 /usr/local/go/src/internal/poll/fd_windows.go:175 # 0xc8e81e internal/poll.(*FD).Read+0x2fe /usr/local/go/src/internal/poll/fd_windows.go:441 # 0xd81dd5 net.(*netFD).Read+0x55 /usr/local/go/src/net/fd_posix.go:55 # 0xd90e34 net.(*conn).Read+0x94 /usr/local/go/src/net/net.go:182 # 0xe1bb29 bufio.(*Reader).fill+0x109 /usr/local/go/src/bufio/bufio.go:101 # 0xe1bcb5 bufio.(*Reader).Peek+0x55 /usr/local/go/src/bufio/bufio.go:139 # 0xfb5d06 github.com/gorilla/websocket.(*Conn).read+0x46 /home/user/go/pkg/mod/github.com/gorilla/websocket@v1.4.2/conn.go:370 # 0xfb828a github.com/gorilla/websocket.(*Conn).advanceFrame+0x6a /home/user/go/pkg/mod/github.com/gorilla/websocket@v1.4.2/conn.go:798 # 0xfb935a github.com/gorilla/websocket.(*Conn).NextReader+0x9a /home/user/go/pkg/mod/github.com/gorilla/websocket@v1.4.2/conn.go:980 # 0xfb9b15 github.com/gorilla/websocket.(*Conn).ReadMessage+0x35 /home/user/go/pkg/mod/github.com/gorilla/websocket@v1.4.2/conn.go:1064 # 0xfd8fc9 github.com/safing/portbase/api.(*DatabaseAPI).handler+0x49 /home/user/git/safing/portbase/api/database.go:150 # 0xf9c7e6 github.com/safing/portbase/modules.(*Module).runWorker+0xa6 /home/user/git/safing/portbase/modules/worker.go:119 # 0xf9befd github.com/safing/portbase/modules.(*Module).RunWorker+0x9d /home/user/git/safing/portbase/modules/worker.go:47 # 0xf9e5e4 github.com/safing/portbase/modules.(*Module).StartWorker.func1+0x64 /home/user/git/safing/portbase/modules/worker.go:27 2 @ 0xc1de1a 0xc2de2f 0xf8e998 0xf9c7e7 0xf9c231 0xc4fba1 # 0xf8e997 github.com/safing/portbase/database.(*Interface).DelayedCacheWriter+0x1d7 /home/user/git/safing/portbase/database/interface_cache.go:34 # 0xf9c7e6 github.com/safing/portbase/modules.(*Module).runWorker+0xa6 /home/user/git/safing/portbase/modules/worker.go:119 # 0xf9c230 github.com/safing/portbase/modules.(*Module).runServiceWorker+0x130 /home/user/git/safing/portbase/modules/worker.go:78 2 @ 0xc1de1a 0xc2de2f 0xfa6385 0xf9c7e7 0xf9c231 0xc4fba1 # 0xfa6384 github.com/safing/portbase/rng.(*Feeder).run+0x2e4 /home/user/git/safing/portbase/rng/entropy.go:119 # 0xf9c7e6 github.com/safing/portbase/modules.(*Module).runWorker+0xa6 /home/user/git/safing/portbase/modules/worker.go:119 # 0xf9c230 github.com/safing/portbase/modules.(*Module).runServiceWorker+0x130 /home/user/git/safing/portbase/modules/worker.go:78 2 @ 0xc1de1a 0xc2de2f 0xfd9aa5 0xf9c7e7 0xf9befe 0xf9e5e5 0xc4fba1 # 0xfd9aa4 github.com/safing/portbase/api.(*DatabaseAPI).writer+0x124 /home/user/git/safing/portbase/api/database.go:217 # 0xf9c7e6 github.com/safing/portbase/modules.(*Module).runWorker+0xa6 /home/user/git/safing/portbase/modules/worker.go:119 # 0xf9befd github.com/safing/portbase/modules.(*Module).RunWorker+0x9d /home/user/git/safing/portbase/modules/worker.go:47 # 0xf9e5e4 github.com/safing/portbase/modules.(*Module).StartWorker.func1+0x64 /home/user/git/safing/portbase/modules/worker.go:27 2 @ 0xc1de1a 0xc2de2f 0xfdb585 0xfdb192 0xc4fba1 # 0xfdb584 github.com/safing/portbase/api.(*DatabaseAPI).processSub+0x224 /home/user/git/safing/portbase/api/database.go:415 # 0xfdb191 github.com/safing/portbase/api.(*DatabaseAPI).handleSub+0xd1 /home/user/git/safing/portbase/api/database.go:387 1 @ 0xbe4875 0xc4c349 0xf4595a 0x1365fcf 0x1364bf1 0xc4fba1 # 0xc4c348 syscall.Syscall+0xe8 /usr/local/go/src/runtime/syscall_windows.go:188 # 0xf45959 golang.org/x/sys/windows.(*Proc).Call+0x139 /home/user/go/pkg/mod/golang.org/x/sys@v0.0.0-20220114195835-da31bd327af9/windows/dll_windows.go:170 # 0x1365fce github.com/safing/portmaster/firewall/interception/windowskext.RecvVerdictRequest+0x16e /home/user/git/safing/portmaster/firewall/interception/windowskext/kext.go:167 # 0x1364bf0 github.com/safing/portmaster/firewall/interception/windowskext.Handler+0xb0 /home/user/git/safing/portmaster/firewall/interception/windowskext/handler.go:59 1 @ 0xbe4875 0xc4c492 0xc68b65 0xc665ef 0xc8e751 0xc963fe 0xc963d1 0xe1de2b 0xff56ec 0xc4fba1 # 0xc4c491 syscall.Syscall6+0xf1 /usr/local/go/src/runtime/syscall_windows.go:201 # 0xc68b64 syscall.ReadFile+0x104 /usr/local/go/src/syscall/zsyscall_windows.go:313 # 0xc665ee syscall.Read+0x6e /usr/local/go/src/syscall/syscall_windows.go:369 # 0xc8e750 internal/poll.(*FD).Read+0x230 /usr/local/go/src/internal/poll/fd_windows.go:427 # 0xc963fd os.(*File).read+0x7d /usr/local/go/src/os/file_posix.go:31 # 0xc963d0 os.(*File).Read+0x50 /usr/local/go/src/os/file.go:116 # 0xe1de2a bufio.(*Scanner).Scan+0xaa /usr/local/go/src/bufio/scan.go:214 # 0xff56eb github.com/safing/portbase/run.inputSignals+0x8b /home/user/git/safing/portbase/run/main.go:116 1 @ 0xbe4875 0xc4c492 0xc6f9a5 0xd9f519 0xd9fdd2 0xc4fba1 # 0xc4c491 syscall.Syscall6+0xf1 /usr/local/go/src/runtime/syscall_windows.go:201 # 0xc6f9a4 syscall.GetAddrInfoW+0xe4 /usr/local/go/src/syscall/zsyscall_windows.go:1718 # 0xd9f518 net.(*Resolver).lookupIP.func1+0x258 /usr/local/go/src/net/lookup_windows.go:109 # 0xd9fdd1 net.(*Resolver).lookupIP.func2+0x31 /usr/local/go/src/net/lookup_windows.go:146 1 @ 0xbed053 0xc4b429 0xff4e69 0xc4fba1 # 0xc4b428 os/signal.signal_recv+0xa8 /usr/local/go/src/runtime/sigqueue.go:147 # 0xff4e68 os/signal.loop+0x28 /usr/local/go/src/os/signal/signal_unix.go:23 1 @ 0xc1de1a 0xbe6ada 0xbe670b 0x11ff4cc 0xf9c7e7 0xf9c231 0xc4fba1 # 0x11ff4cb github.com/safing/portmaster/resolver.listenToMDNS+0x54b /home/user/git/safing/portmaster/resolver/resolver-mdns.go:130 # 0xf9c7e6 github.com/safing/portbase/modules.(*Module).runWorker+0xa6 /home/user/git/safing/portbase/modules/worker.go:119 # 0xf9c230 github.com/safing/portbase/modules.(*Module).runServiceWorker+0x130 /home/user/git/safing/portbase/modules/worker.go:78 1 @ 0xc1de1a 0xc13e65 0xc49365 0xc8c30c 0xc8d645 0xc8e81f 0xd81dd6 0xd90e35 0x1201793 0x120def1 0xf9c7e7 0xf9c231 0xc4fba1 # 0xc49364 internal/poll.runtime_pollWait+0x64 /usr/local/go/src/runtime/netpoll.go:222 # 0xc8c30b internal/poll.(*pollDesc).wait+0x4b /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 # 0xc8d644 internal/poll.execIO+0x104 /usr/local/go/src/internal/poll/fd_windows.go:175 # 0xc8e81e internal/poll.(*FD).Read+0x2fe /usr/local/go/src/internal/poll/fd_windows.go:441 # 0xd81dd5 net.(*netFD).Read+0x55 /usr/local/go/src/net/fd_posix.go:55 # 0xd90e34 net.(*conn).Read+0x94 /usr/local/go/src/net/net.go:182 # 0x1201792 github.com/safing/portmaster/resolver.listenForDNSPackets+0x92 /home/user/git/safing/portmaster/resolver/resolver-mdns.go:328 # 0x120def0 github.com/safing/portmaster/resolver.listenToMDNS.func1+0x50 /home/user/git/safing/portmaster/resolver/resolver-mdns.go:86 # 0xf9c7e6 github.com/safing/portbase/modules.(*Module).runWorker+0xa6 /home/user/git/safing/portbase/modules/worker.go:119 # 0xf9c230 github.com/safing/portbase/modules.(*Module).runServiceWorker+0x130 /home/user/git/safing/portbase/modules/worker.go:78 1 @ 0xc1de1a 0xc13e65 0xc49365 0xc8c30c 0xc8d645 0xc8e81f 0xd81dd6 0xd90e35 0x1201793 0x120dff1 0xf9c7e7 0xf9c231 0xc4fba1 # 0xc49364 internal/poll.runtime_pollWait+0x64 /usr/local/go/src/runtime/netpoll.go:222 # 0xc8c30b internal/poll.(*pollDesc).wait+0x4b /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 # 0xc8d644 internal/poll.execIO+0x104 /usr/local/go/src/internal/poll/fd_windows.go:175 # 0xc8e81e internal/poll.(*FD).Read+0x2fe /usr/local/go/src/internal/poll/fd_windows.go:441 # 0xd81dd5 net.(*netFD).Read+0x55 /usr/local/go/src/net/fd_posix.go:55 # 0xd90e34 net.(*conn).Read+0x94 /usr/local/go/src/net/net.go:182 # 0x1201792 github.com/safing/portmaster/resolver.listenForDNSPackets+0x92 /home/user/git/safing/portmaster/resolver/resolver-mdns.go:328 # 0x120dff0 github.com/safing/portmaster/resolver.listenToMDNS.func3+0x50 /home/user/git/safing/portmaster/resolver/resolver-mdns.go:108 # 0xf9c7e6 github.com/safing/portbase/modules.(*Module).runWorker+0xa6 /home/user/git/safing/portbase/modules/worker.go:119 # 0xf9c230 github.com/safing/portbase/modules.(*Module).runServiceWorker+0x130 /home/user/git/safing/portbase/modules/worker.go:78 1 @ 0xc1de1a 0xc13e65 0xc49365 0xc8c30c 0xc8d645 0xc8e81f 0xd81dd6 0xd90e35 0x1201793 0x120e071 0xf9c7e7 0xf9c231 0xc4fba1 # 0xc49364 internal/poll.runtime_pollWait+0x64 /usr/local/go/src/runtime/netpoll.go:222 # 0xc8c30b internal/poll.(*pollDesc).wait+0x4b /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 # 0xc8d644 internal/poll.execIO+0x104 /usr/local/go/src/internal/poll/fd_windows.go:175 # 0xc8e81e internal/poll.(*FD).Read+0x2fe /usr/local/go/src/internal/poll/fd_windows.go:441 # 0xd81dd5 net.(*netFD).Read+0x55 /usr/local/go/src/net/fd_posix.go:55 # 0xd90e34 net.(*conn).Read+0x94 /usr/local/go/src/net/net.go:182 # 0x1201792 github.com/safing/portmaster/resolver.listenForDNSPackets+0x92 /home/user/git/safing/portmaster/resolver/resolver-mdns.go:328 # 0x120e070 github.com/safing/portmaster/resolver.listenToMDNS.func4+0x50 /home/user/git/safing/portmaster/resolver/resolver-mdns.go:119 # 0xf9c7e6 github.com/safing/portbase/modules.(*Module).runWorker+0xa6 /home/user/git/safing/portbase/modules/worker.go:119 # 0xf9c230 github.com/safing/portbase/modules.(*Module).runServiceWorker+0x130 /home/user/git/safing/portbase/modules/worker.go:78 1 @ 0xc1de1a 0xc13e65 0xc49365 0xc8c30c 0xc8d645 0xc8e81f 0xd81dd6 0xd90e35 0xe8957f 0xc4fba1 # 0xc49364 internal/poll.runtime_pollWait+0x64 /usr/local/go/src/runtime/netpoll.go:222 # 0xc8c30b internal/poll.(*pollDesc).wait+0x4b /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 # 0xc8d644 internal/poll.execIO+0x104 /usr/local/go/src/internal/poll/fd_windows.go:175 # 0xc8e81e internal/poll.(*FD).Read+0x2fe /usr/local/go/src/internal/poll/fd_windows.go:441 # 0xd81dd5 net.(*netFD).Read+0x55 /usr/local/go/src/net/fd_posix.go:55 # 0xd90e34 net.(*conn).Read+0x94 /usr/local/go/src/net/net.go:182 # 0xe8957e net/http.(*connReader).backgroundRead+0x5e /usr/local/go/src/net/http/server.go:690 1 @ 0xc1de1a 0xc13e65 0xc49365 0xc8c30c 0xc8d645 0xc8f359 0xd81f05 0xd9b425 0xd99b85 0x1042dc5 0x102dc19 0x102afca 0x102c7af 0x102b81a 0x1381825 0xf9c7e7 0xf9c231 0xc4fba1 # 0xc49364 internal/poll.runtime_pollWait+0x64 /usr/local/go/src/runtime/netpoll.go:222 # 0xc8c30b internal/poll.(*pollDesc).wait+0x4b /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 # 0xc8d644 internal/poll.execIO+0x104 /usr/local/go/src/internal/poll/fd_windows.go:175 # 0xc8f358 internal/poll.(*FD).ReadFrom+0x118 /usr/local/go/src/internal/poll/fd_windows.go:581 # 0xd81f04 net.(*netFD).readFrom+0x64 /usr/local/go/src/net/fd_posix.go:61 # 0xd9b424 net.(*UDPConn).readFrom+0x64 /usr/local/go/src/net/udpsock_posix.go:47 # 0xd99b84 net.(*UDPConn).ReadFrom+0x64 /usr/local/go/src/net/udpsock.go:118 # 0x1042dc4 github.com/miekg/dns.ReadFromSessionUDP+0x64 /home/user/go/pkg/mod/github.com/miekg/dns@v1.1.45/udp_windows.go:19 # 0x102dc18 github.com/miekg/dns.(*Server).readUDP+0xd8 /home/user/go/pkg/mod/github.com/miekg/dns@v1.1.45/server.go:687 # 0x102afc9 github.com/miekg/dns.defaultReader.ReadUDP+0x49 /home/user/go/pkg/mod/github.com/miekg/dns@v1.1.45/server.go:174 # 0x102c7ae github.com/miekg/dns.(*Server).serveUDP+0x20e /home/user/go/pkg/mod/github.com/miekg/dns@v1.1.45/server.go:501 # 0x102b819 github.com/miekg/dns.(*Server).ListenAndServe+0x339 /home/user/go/pkg/mod/github.com/miekg/dns@v1.1.45/server.go:330 # 0x1381824 github.com/safing/portmaster/nameserver.startListener.func1+0x44 /home/user/git/safing/portmaster/nameserver/module.go:114 # 0xf9c7e6 github.com/safing/portbase/modules.(*Module).runWorker+0xa6 /home/user/git/safing/portbase/modules/worker.go:119 # 0xf9c230 github.com/safing/portbase/modules.(*Module).runServiceWorker+0x130 /home/user/git/safing/portbase/modules/worker.go:78 1 @ 0xc1de1a 0xc13e65 0xc49365 0xc8c30c 0xc8d645 0xc90c59 0xc90f0a 0xd83565 0xd98e59 0xd9796b 0xe93dae 0xe93ade 0xfe4d54 0xf9c7e7 0xf9befe 0xfe2596 0xc4fba1 # 0xc49364 internal/poll.runtime_pollWait+0x64 /usr/local/go/src/runtime/netpoll.go:222 # 0xc8c30b internal/poll.(*pollDesc).wait+0x4b /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 # 0xc8d644 internal/poll.execIO+0x104 /usr/local/go/src/internal/poll/fd_windows.go:175 # 0xc90c58 internal/poll.(*FD).acceptOne+0x98 /usr/local/go/src/internal/poll/fd_windows.go:810 # 0xc90f09 internal/poll.(*FD).Accept+0x169 /usr/local/go/src/internal/poll/fd_windows.go:844 # 0xd83564 net.(*netFD).accept+0x84 /usr/local/go/src/net/fd_windows.go:139 # 0xd98e58 net.(*TCPListener).accept+0x38 /usr/local/go/src/net/tcpsock_posix.go:139 # 0xd9796a net.(*TCPListener).Accept+0x6a /usr/local/go/src/net/tcpsock.go:261 # 0xe93dad net/http.(*Server).Serve+0x26d /usr/local/go/src/net/http/server.go:2937 # 0xe93add net/http.(*Server).ListenAndServe+0xbd /usr/local/go/src/net/http/server.go:2866 # 0xfe4d53 github.com/safing/portbase/api.Serve.func1+0x33 /home/user/git/safing/portbase/api/router.go:63 # 0xf9c7e6 github.com/safing/portbase/modules.(*Module).runWorker+0xa6 /home/user/git/safing/portbase/modules/worker.go:119 # 0xf9befd github.com/safing/portbase/modules.(*Module).RunWorker+0x9d /home/user/git/safing/portbase/modules/worker.go:47 # 0xfe2595 github.com/safing/portbase/api.Serve+0x1d5 /home/user/git/safing/portbase/api/router.go:62 1 @ 0xc1de1a 0xc2de2f 0x117e035 0xf9c7e7 0xf9c231 0xc4fba1 # 0x117e034 github.com/safing/portbase/notifications.cleaner+0x114 /home/user/git/safing/portbase/notifications/cleaner.go:13 # 0xf9c7e6 github.com/safing/portbase/modules.(*Module).runWorker+0xa6 /home/user/git/safing/portbase/modules/worker.go:119 # 0xf9c230 github.com/safing/portbase/modules.(*Module).runServiceWorker+0x130 /home/user/git/safing/portbase/modules/worker.go:78 1 @ 0xc1de1a 0xc2de2f 0x11a2f18 0xf9c7e7 0xf9c231 0xc4fba1 # 0x11a2f17 github.com/safing/portmaster/intel/geoip.(*updateWorker).run+0x117 /home/user/git/safing/portmaster/intel/geoip/database.go:173 # 0xf9c7e6 github.com/safing/portbase/modules.(*Module).runWorker+0xa6 /home/user/git/safing/portbase/modules/worker.go:119 # 0xf9c230 github.com/safing/portbase/modules.(*Module).runServiceWorker+0x130 /home/user/git/safing/portbase/modules/worker.go:78 1 @ 0xc1de1a 0xc2de2f 0x11a9805 0xf9c7e7 0xf9c231 0xc4fba1 # 0x11a9804 github.com/safing/portmaster/netenv.monitorNetworkChanges+0x164 /home/user/git/safing/portmaster/netenv/network-change.go:48 # 0xf9c7e6 github.com/safing/portbase/modules.(*Module).runWorker+0xa6 /home/user/git/safing/portbase/modules/worker.go:119 # 0xf9c230 github.com/safing/portbase/modules.(*Module).runServiceWorker+0x130 /home/user/git/safing/portbase/modules/worker.go:78 1 @ 0xc1de1a 0xc2de2f 0x11aad1e 0xf9c7e7 0xf9c231 0xc4fba1 # 0x11aad1d github.com/safing/portmaster/netenv.monitorOnlineStatus+0x13d /home/user/git/safing/portmaster/netenv/online-status.go:357 # 0xf9c7e6 github.com/safing/portbase/modules.(*Module).runWorker+0xa6 /home/user/git/safing/portbase/modules/worker.go:119 # 0xf9c230 github.com/safing/portbase/modules.(*Module).runServiceWorker+0x130 /home/user/git/safing/portbase/modules/worker.go:78 1 @ 0xc1de1a 0xc2de2f 0x11bcf3c 0xf9c7e7 0xf9befe 0xf9e5e5 0xc4fba1 # 0x11bcf3b github.com/safing/portmaster/status.autoPilot+0xdb /home/user/git/safing/portmaster/status/autopilot.go:16 # 0xf9c7e6 github.com/safing/portbase/modules.(*Module).runWorker+0xa6 /home/user/git/safing/portbase/modules/worker.go:119 # 0xf9befd github.com/safing/portbase/modules.(*Module).RunWorker+0x9d /home/user/git/safing/portbase/modules/worker.go:47 # 0xf9e5e4 github.com/safing/portbase/modules.(*Module).StartWorker.func1+0x64 /home/user/git/safing/portbase/modules/worker.go:27 1 @ 0xc1de1a 0xc2de2f 0x11ff9c5 0x120e0e5 0xf9c7e7 0xf9c231 0xc4fba1 # 0x11ff9c4 github.com/safing/portmaster/resolver.handleMDNSMessages+0x104 /home/user/git/safing/portmaster/resolver/resolver-mdns.go:137 # 0x120e0e4 github.com/safing/portmaster/resolver.listenToMDNS.func5+0x44 /home/user/git/safing/portmaster/resolver/resolver-mdns.go:126 # 0xf9c7e6 github.com/safing/portbase/modules.(*Module).runWorker+0xa6 /home/user/git/safing/portbase/modules/worker.go:119 # 0xf9c230 github.com/safing/portbase/modules.(*Module).runServiceWorker+0x130 /home/user/git/safing/portbase/modules/worker.go:78 1 @ 0xc1de1a 0xc2de2f 0x1262288 0xf9c7e7 0xf9c231 0xc4fba1 # 0x1262287 github.com/safing/portmaster/profile.cleanActiveProfiles+0x187 /home/user/git/safing/portmaster/profile/active.go:84 # 0xf9c7e6 github.com/safing/portbase/modules.(*Module).runWorker+0xa6 /home/user/git/safing/portbase/modules/worker.go:119 # 0xf9c230 github.com/safing/portbase/modules.(*Module).runServiceWorker+0x130 /home/user/git/safing/portbase/modules/worker.go:78 1 @ 0xc1de1a 0xc2de2f 0x126e9a8 0xf9c7e7 0xf9c231 0xc4fba1 # 0x126e9a7 github.com/safing/portmaster/profile.startProfileUpdateChecker.func1+0x227 /home/user/git/safing/portmaster/profile/database.go:59 # 0xf9c7e6 github.com/safing/portbase/modules.(*Module).runWorker+0xa6 /home/user/git/safing/portbase/modules/worker.go:119 # 0xf9c230 github.com/safing/portbase/modules.(*Module).runServiceWorker+0x130 /home/user/git/safing/portbase/modules/worker.go:78 1 @ 0xc1de1a 0xc2de2f 0x12770e8 0x1275365 0xf9ad54 0xc4fba1 # 0x12770e7 github.com/safing/portmaster/compat.selfcheck+0x1027 /home/user/git/safing/portmaster/compat/selfcheck.go:150 # 0x1275364 github.com/safing/portmaster/compat.selfcheckTaskFunc+0x44 /home/user/git/safing/portmaster/compat/module.go:70 # 0xf9ad53 github.com/safing/portbase/modules.(*Task).executeWithLocking+0x93 /home/user/git/safing/portbase/modules/tasks.go:369 1 @ 0xc1de1a 0xc2de2f 0x12fdba5 0xc4fba1 # 0x12fdba4 github.com/xtaci/kcp-go/v5.(*TimedSched).prepend+0x284 /home/user/go/pkg/mod/github.com/xtaci/kcp-go/v5@v5.6.1/timedsched.go:103 1 @ 0xc1de1a 0xc2de2f 0x1345295 0xf9c7e7 0xf9c231 0xc4fba1 # 0x1345294 github.com/safing/portmaster/network.connectionCleaner+0x114 /home/user/git/safing/portmaster/network/clean.go:24 # 0xf9c7e6 github.com/safing/portbase/modules.(*Module).runWorker+0xa6 /home/user/git/safing/portbase/modules/worker.go:119 # 0xf9c230 github.com/safing/portbase/modules.(*Module).runServiceWorker+0x130 /home/user/git/safing/portbase/modules/worker.go:78 1 @ 0xc1de1a 0xc2de2f 0x134a15a 0xf9c7e7 0xf9c231 0xc4fba1 # 0x134a159 github.com/safing/portmaster/network.openDNSRequestWriter+0x119 /home/user/git/safing/portmaster/network/dns.go:91 # 0xf9c7e6 github.com/safing/portbase/modules.(*Module).runWorker+0xa6 /home/user/git/safing/portbase/modules/worker.go:119 # 0xf9c230 github.com/safing/portbase/modules.(*Module).runServiceWorker+0x130 /home/user/git/safing/portbase/modules/worker.go:78 1 @ 0xc1de1a 0xc2de2f 0x1373b6c 0xf9c7e7 0xf9befe 0xf9e5e5 0xc4fba1 # 0x1373b6b github.com/safing/portmaster/firewall.packetHandler+0x10b /home/user/git/safing/portmaster/firewall/interception.go:522 # 0xf9c7e6 github.com/safing/portbase/modules.(*Module).runWorker+0xa6 /home/user/git/safing/portbase/modules/worker.go:119 # 0xf9befd github.com/safing/portbase/modules.(*Module).RunWorker+0x9d /home/user/git/safing/portbase/modules/worker.go:47 # 0xf9e5e4 github.com/safing/portbase/modules.(*Module).StartWorker.func1+0x64 /home/user/git/safing/portbase/modules/worker.go:27 1 @ 0xc1de1a 0xc2de2f 0x1373e69 0xf9c7e7 0xf9befe 0xf9e5e5 0xc4fba1 # 0x1373e68 github.com/safing/portmaster/firewall.statLogger+0x248 /home/user/git/safing/portmaster/firewall/interception.go:536 # 0xf9c7e6 github.com/safing/portbase/modules.(*Module).runWorker+0xa6 /home/user/git/safing/portbase/modules/worker.go:119 # 0xf9befd github.com/safing/portbase/modules.(*Module).RunWorker+0x9d /home/user/git/safing/portbase/modules/worker.go:47 # 0xf9e5e4 github.com/safing/portbase/modules.(*Module).StartWorker.func1+0x64 /home/user/git/safing/portbase/modules/worker.go:27 1 @ 0xc1de1a 0xc2de2f 0xd8edc5 0xd8e4ed 0xd8e497 0x1277cf1 0xf9c7e7 0xf9befe 0xf9e5e5 0xc4fba1 # 0xd8edc4 net.(*Resolver).lookupIPAddr+0x684 /usr/local/go/src/net/lookup.go:299 # 0xd8e4ec net.(*Resolver).LookupIPAddr+0x8c /usr/local/go/src/net/lookup.go:204 # 0xd8e496 net.LookupIP+0x36 /usr/local/go/src/net/lookup.go:190 # 0x1277cf0 github.com/safing/portmaster/compat.selfcheck.func2+0xb0 /home/user/git/safing/portmaster/compat/selfcheck.go:123 # 0xf9c7e6 github.com/safing/portbase/modules.(*Module).runWorker+0xa6 /home/user/git/safing/portbase/modules/worker.go:119 # 0xf9befd github.com/safing/portbase/modules.(*Module).RunWorker+0x9d /home/user/git/safing/portbase/modules/worker.go:47 # 0xf9e5e4 github.com/safing/portbase/modules.(*Module).StartWorker.func1+0x64 /home/user/git/safing/portbase/modules/worker.go:27 1 @ 0xc1de1a 0xc2de2f 0xd8ff59 0xd9e4d9 0xd9efc2 0xd7c7b5 0xc4fba1 # 0xd8ff58 net.(*Resolver).lookupIP+0x1b8 /usr/local/go/src/net/lookup_windows.go:151 # 0xd9e4d8 net.glob..func1+0x78 /usr/local/go/src/net/hook.go:23 # 0xd9efc1 net.(*Resolver).lookupIPAddr.func1+0xc1 /usr/local/go/src/net/lookup.go:293 # 0xd7c7b4 internal/singleflight.(*Group).doCall+0x34 /usr/local/go/src/internal/singleflight/singleflight.go:95 1 @ 0xc1de1a 0xc2de2f 0xf6c814 0xf6c3f8 0xc4fba1 # 0xf6c813 github.com/safing/portbase/log.writer+0x3b3 /home/user/git/safing/portbase/log/output.go:156 # 0xf6c3f7 github.com/safing/portbase/log.writerManager+0x97 /home/user/git/safing/portbase/log/output.go:113 1 @ 0xc1de1a 0xc2de2f 0xf956f8 0xc4fba1 # 0xf956f7 github.com/safing/portbase/modules.microTaskScheduler+0x1b7 /home/user/git/safing/portbase/modules/microtasks.go:184 1 @ 0xc1de1a 0xc2de2f 0xf9bc1e 0xc4fba1 # 0xf9bc1d github.com/safing/portbase/modules.taskScheduleHandler+0xfd /home/user/git/safing/portbase/modules/tasks.go:497 1 @ 0xc1de1a 0xc2de2f 0xf9e0db 0xc4fba1 # 0xf9e0da github.com/safing/portbase/modules.(*Task).runWithLocking.func1+0xda /home/user/git/safing/portbase/modules/tasks.go:320 1 @ 0xc1de1a 0xc2de2f 0xfa66bd 0xf9c7e7 0xf9c231 0xc4fba1 # 0xfa66bc github.com/safing/portbase/rng.fullFeeder+0x15c /home/user/git/safing/portbase/rng/fullfeed.go:25 # 0xf9c7e6 github.com/safing/portbase/modules.(*Module).runWorker+0xa6 /home/user/git/safing/portbase/modules/worker.go:119 # 0xf9c230 github.com/safing/portbase/modules.(*Module).runServiceWorker+0x130 /home/user/git/safing/portbase/modules/worker.go:78 1 @ 0xc1de1a 0xc2de2f 0xfa7145 0xf9c7e7 0xf9c231 0xc4fba1 # 0xfa7144 github.com/safing/portbase/rng.osFeeder+0x1e4 /home/user/git/safing/portbase/rng/osfeeder.go:27 # 0xf9c7e6 github.com/safing/portbase/modules.(*Module).runWorker+0xa6 /home/user/git/safing/portbase/modules/worker.go:119 # 0xf9c230 github.com/safing/portbase/modules.(*Module).runServiceWorker+0x130 /home/user/git/safing/portbase/modules/worker.go:78 1 @ 0xc1de1a 0xc2de2f 0xfa7a74 0xf9c7e7 0xf9c231 0xc4fba1 # 0xfa7a73 github.com/safing/portbase/rng.tickFeeder+0x253 /home/user/git/safing/portbase/rng/tickfeeder.go:60 # 0xf9c7e6 github.com/safing/portbase/modules.(*Module).runWorker+0xa6 /home/user/git/safing/portbase/modules/worker.go:119 # 0xf9c230 github.com/safing/portbase/modules.(*Module).runServiceWorker+0x130 /home/user/git/safing/portbase/modules/worker.go:78 1 @ 0xc1de1a 0xc2de2f 0xff53f8 0x1382350 0xc1da49 0xc4fba1 # 0xff53f7 github.com/safing/portbase/run.Run+0x237 /home/user/git/safing/portbase/run/main.go:66 # 0x138234f main.main+0xcf /home/user/git/safing/portmaster/cmds/portmaster-core/main.go:31 # 0xc1da48 runtime.main+0x208 /usr/local/go/src/runtime/proc.go:204 1 @ 0xc1de1a 0xc2e7f7 0xc2e7e2 0xc4abc9 0xc5e9eb 0xf9b7f5 0xc4fba1 # 0xc4abc8 sync.runtime_Semacquire+0x48 /usr/local/go/src/runtime/sema.go:56 # 0xc5e9ea sync.(*WaitGroup).Wait+0x6a /usr/local/go/src/sync/waitgroup.go:130 # 0xf9b7f4 github.com/safing/portbase/modules.taskQueueHandler+0x74 /home/user/git/safing/portbase/modules/tasks.go:457 1 @ 0xc48fa5 0xfcab2a 0xfca8c7 0xfc7398 0xfd3a36 0x125a253 0xfdee44 0xfde3f6 0xfe32ca 0xfe4dcc 0xf9c7e7 0xf9befe 0xfe26e5 0xe939ea 0xe8f98d 0xc4fba1 # 0xc48fa4 runtime/pprof.runtime_goroutineProfileWithLabels+0x64 /usr/local/go/src/runtime/mprof.go:716 # 0xfcab29 runtime/pprof.writeRuntimeProfile+0xe9 /usr/local/go/src/runtime/pprof/pprof.go:724 # 0xfca8c6 runtime/pprof.writeGoroutine+0xa6 /usr/local/go/src/runtime/pprof/pprof.go:684 # 0xfc7397 runtime/pprof.(*Profile).WriteTo+0x3f7 /usr/local/go/src/runtime/pprof/pprof.go:331 # 0xfd3a35 github.com/safing/portbase/utils/debug.(*Info).AddGoroutineStack+0x95 /home/user/git/safing/portbase/utils/debug/debug.go:132 # 0x125a252 github.com/safing/portmaster/core.debugInfo+0x112 /home/user/git/safing/portmaster/core/api.go:91 # 0xfdee43 github.com/safing/portbase/api.(*Endpoint).ServeHTTP+0xa23 /home/user/git/safing/portbase/api/endpoints.go:438 # 0xfde3f5 github.com/safing/portbase/api.(*endpointHandler).ServeHTTP+0xb5 /home/user/git/safing/portbase/api/endpoints.go:357 # 0xfe32c9 github.com/safing/portbase/api.(*mainHandler).handle+0xbc9 /home/user/git/safing/portbase/api/router.go:232 # 0xfe4dcb github.com/safing/portbase/api.(*mainHandler).ServeHTTP.func1+0x4b /home/user/git/safing/portbase/api/router.go:81 # 0xf9c7e6 github.com/safing/portbase/modules.(*Module).runWorker+0xa6 /home/user/git/safing/portbase/modules/worker.go:119 # 0xf9befd github.com/safing/portbase/modules.(*Module).RunWorker+0x9d /home/user/git/safing/portbase/modules/worker.go:47 # 0xfe26e4 github.com/safing/portbase/api.(*mainHandler).ServeHTTP+0xa4 /home/user/git/safing/portbase/api/router.go:80 # 0xe939e9 net/http.serverHandler.ServeHTTP+0xa9 /usr/local/go/src/net/http/server.go:2843 # 0xe8f98c net/http.(*conn).serve+0x8ac /usr/local/go/src/net/http/server.go:1925 ```

I will try to test on another computer and on another network as well and post the results.

PhantomHydraPH commented 2 years ago

Hi @dhaavi I'm so sorry, I haven't seen the pinned issue about VMs before, though I should say that I managed to make it work inside one of my VMs with NAT adapter, but anyways... I've found the problem; it was, in fact, an incompatibility issue with COMODO Firewall. Sadly, just the fact of the COMODO Firewall being installed was sufficient to break Portmaster, so even if we closed the application (which I did, and therefore discarded the possibility of software incompatibility), the error would still be present.

I've installed Portmaster on an old laptop (still Windows 10). To my surprise, it worked flawlessly, so I decided to install the same programs that I have on my desktop computer (which gave me the "Detected Compatibility Issue" warning) until I came across the same condition. On the first try, COMODO Firewall broke Portmaster, and upon COMODO software uninstall, Portmaster almost instantly went back to its "safe" state.

I am still trying to find some way to make both applications compatible with each other, but I haven't found a solution yet, nor know if it is even possible. I trust Portmaster due to its open-source nature, but COMODO Firewall has so much more advanced features, some of which aren't even related to internet solutions but complement them. I would love to, if possible, use both applications in the future or even switch to Portmaster completely.

dhaavi commented 2 years ago

No problem. While VMs aren't officially supported atm, we still want to know where the limits are.

Thanks for digging deeper and finding the problem. We will add this to the docs to help others.

I am still trying to find some way to make both applications compatible with each other, but I haven't found a solution yet, nor know if it is even possible.

It may be possible to either turn off the feature that is blocking the Portmaster or to exclude the Portmaster completely from COMODO Firewall.

I trust Portmaster due to its open-source nature, but COMODO Firewall has so much more advanced features, some of which aren't even related to internet solutions but complement them.

The Portmaster is meant to complementary to AntiVirus solutions, but I'm not sure of the benefit of running multiple firewalls. Is there any feature of the Comodo Firewall that you'd like to see in the Portmaster?

github-actions[bot] commented 2 years ago

Auto-closing this issue after waiting for input for a month. If anyone finds the time to provide the requested information, please re-open the issue and we will continue handling it.