xvzc / SpoofDPI

A simple and fast anti-censorship tool written in Go
Apache License 2.0
3.76k stars 256 forks source link

How to completely disable SpoofDPI on macos Sonoma (M1)? #213

Open aik30 opened 3 months ago

aik30 commented 3 months ago

Version

v0.10.11

Operating System

macos Sonoma (M1)

How are you running SpoofDPI?

image

Description

I installed spoofDPI via brew. Ran it in terminal spoofdpi -window-size 3 Twitter, Youtube and almost all blocked sites started working fine. After stopping SpoofDPI (ctrl + c), the original state of the network settings was not restored as Twitter and Youtube continue to work. I restarted the computer, checked the state of proxy settings (everything is turned off), turned proxy switches on/off in wi-fi network settings, uninstalled and reinstalled the wi-fi interface, but nothing helped, SpoofDPI works for Twitter and Youtube. What is the problem, why does SpoofDPI not turn off completely?

Ledorub commented 3 months ago

Are you sure there are no any other factors in play? SpoofDPI does not do anything besides setting itself up as a system-wide proxy server.

You said that you got it from Homebrew. Did you run it as service with brew services start spoofdpi? If so, brew will launch it after restart.

What is the output of brew services info -v spoofdpi? Are there any active spoofdpi processes?

aik30 commented 3 months ago

All VPNs and proxies are disabled. SpoofDPI has not been started as a service. The command brew services info -v spoofdpi shows that there are no active processes:

spoofdpi (homebrew.mxcl.spoofdpi) Running: ✘ Loaded: ✘ Schedulable: ✘ File: /opt/homebrew/opt/spoofdpi/homebrew.mxcl.spoofdpi.plist ✔ Command: /opt/homebrew/opt/spoofdpi/bin/spoofdpi Log: /opt/homebrew/var/log/spoofdpi/output.log Error log: /opt/homebrew/var/log/spoofdpi/error.log

Ledorub commented 3 months ago

Please, provide outputs of:

  1. ps aux | grep spoofdpi
  2. scutil --proxy
aik30 commented 3 months ago
  1. 13990 0,0 0,0 410733264 1536 s000 S+ 9:39 0:00.00 grep spoofdpi

  2. { HTTPEnable : 0 HTTPSEnable : 0 ProxyAutoConfigEnable : 0 SOCKSEnable : 0 }
aik30 commented 3 months ago

I've noticed that after clearing the Google Chrome browser's cache, Twitter and YouTube stop opening, but they work again after a while.

Ledorub commented 3 months ago

Judging from the outputs you provided, there are not any copies of SpoofDPI running, nor is there any system-wide proxy set up. I think, that what you are seeing was not caused by SpoofDPI.

Magomed-rasul commented 3 months ago

I have a similar problem, after disabling spoof dpi, the internet stopped working on my mac

Mauladen commented 3 months ago

I also have this problem on my Macbook

artefucktor commented 2 months ago

I have a similar problem, after disabling spoof dpi, the internet stopped working on my mac

Look at Settings -> Wi-Fi -> Details -> Proxies
When you're using spoof-dpi, options Web Proxy (HTTP) and Secure Web Proxy (HTTPS) turned on.
Normally, when you stop using spoofing, these options are turned off.
However, sometimes they stay turned on 🤷‍♀️ You can manually turn them off, and your internet should start working.
I hope this tip might be useful for you

rundosrun commented 2 months ago

Faced a similar problem