AdGuard for MacOS 2.5

Chinaski

Quality Assurance
Staff member
Administrator
Moderator
The biggest thing about AdGuard v2.5 for Mac is better compatibility with Big Sur. Thanks to the adoption of System Extensions, AdGuard will work better on the newest macOS iteration — read below to find out the details.
Other than that, we made a lot of changes and enhancements to CoreLibs, which will result in an overall better filtering quality.

[Enhancement] System Extensions support in Big Sur [#692]

First of all, what are System Extensions? It all started in 2019 when Apple decided to minimize the amount of code that's executed in kernel. The old framework — Kernel Extensions — was declared as deprecated. As an alternative, Apple offered System Extensions, and specifically Network Extensions as a framework for apps that filter traffic.

In macOS 11 (Big Sur), the old Kernel Extensions will not be supported (partly or at all), so we are adding support for the new framework. If you're already on Big Sur preview, make sure your AdGuard works in Network Extensions mode: open *AdGuard's menu -> Select Preferences... -> Network -> Select Mode...*. "Kernel Extension" mode should be grayed out, and the "Network Extension" mode should be selected.

system_extension.png

Unfortunately, as a replacement for Kernel Extensions, Network Extensions aren't around for long yet (they first appeared in this role in macOS 10.15). They are still being actively developed by Apple, so there is a significant amount of various issues associated with them. If you're facing any, please check out our problem-solving guide.

Other changes

[Fixed] AdGuard icon hidden from menu bar [#265]
[Fixed] The protection is automatically deactivated when the system goes into sleep mode [#722]
[Fixed] AdGuard doesn't filter Brave Browser on Big Sur [#746]
[Fixed] Enable/disable protection in main menu is available when the app starts
[Fixed] Parameters stripped by Stealth Mode are not visible in filtering log
[Fixed] Incorrect behavior of EV-certs filtering feature
[Fixed] Switching between logging modes is not working with kext
[Fixed] Trackers counter doesn't work
[Other] Upstream Proxy added for AdGuard [#731]
[Other] Added "How to enable Network extension" screen
[Other] New app icons for Big Sur
[Other] Localizations updated

Upgraded CoreLibs to v1.7.119

[Enhancement] Add $ping content type [#1258]
[Enhancement] Trusted-types CSP does not break the content script [#1320]
[Enhancement] Indicate libraries versions [#1150]
[Fixed] AGFDVSocket doesn't return the original peer address in case of outbound proxy set [#1330]
[Fixed] AdGuard doesn't filter domains when HTTPS filtering is disabled [#1343]
[Fixed] Exclusion with $elemhide,jsinject,extension disable HTML filtering rules [#1337]
[Fixed] Filtering log doesn't show information about cookies [#3406]
[Fixed] Problematic userscripts [#1273]
[Fixed] Regexp rule doesn't match URL [#1311]
[Fixed] Foreign requests get into filtering log with enabled DNS module [#3411]
[Fixed] Path combining helper adds an extra slash [#1338]
[Fixed] The filter ID of the triggered rule for a blocked request is not defined correctly[#1312]
[Fixed] Issue with hkclubs.samsung.com [#1340]
[Other] Encoding errors [#79]
[Other] Partial HTML processing issues [#1308]
[Other] local.adguard.org certificate is not re-issued when it expire [#1348]

This version on GitHub.
Download from a direct link.
 

Ivan Burnaev

New Member
Hey folks!
Thank you for your application! I bought it about 2-3 years ago and the app definitely worth it.

However, the latest update didn't work for me well. Once I launch the application there is no internet connection at all. I mean, it prevents each application to connect with remote servers.

I've got logs, and it seems there are some errors:

Code:
Optional(Error Domain=NSCocoaErrorDomain Code=260 "The file “devConfig.json” couldn’t be opened because there is no such file." UserInfo={NSURL=file:///Library/Application(null)upport/com.adguard.mac.adguard/devConfig.json
I believe, the Library/Application(null)upport/com.adguard is not what you're looking for.

I've attached these logs below. Please tell me if it works, or you need any additional information to debug.
Thanks!
 

Attachments

ic2

New Member
I thought it was just me! Same issue here, AG currently disabled to allow for browsing and internet access, i have opened a support ticket
 

Chinaski

Quality Assurance
Staff member
Administrator
Moderator
Hello there!

Thanks for the report, and sorry for the temporary difficulties.

We will now check the logs and I will give you the necessary recommendations.

Please clarify whether you have used a third-party VPN or antivirus?
 

ic2

New Member
I am running NordVPN IKE but still no internet when its disconnected, i also uninstalled it and still no internet access, then re-installed it, no change in status. Only Malwarebytes running as well.
 

Chinaski

Quality Assurance
Staff member
Administrator
Moderator
You should try to reset the AdGuard settings, any luck?
 

CyberGene

New Member
I have the same problem, no Internet connection after the update. Had to disable it. Is the reset the recommended way? And how to reset it?
 

ic2

New Member
if the icon is in your top tool bar, click on that, then the cog icon, advanced & reset settings; that worked for me
 

CyberGene

New Member
Well, I haven't backed them up. Those were created by selecting elements on a website with the assistant and blocking them one by one. Not a big deal. I can imagine if I had done that to 10 websites, I would be mad though :)
 

Konfuzzious

New Member
Always nice to know that someone from Quality Assurance suggests to make a note of the settings and a backup of the created rules... ;)

Say, how can I make a backup of the whitelist?
 

creid

New Member
it looks like resetting settings worked for me. Thanks for the above hints about saving whitelist, etc. Turned out to be unnecessary, tho. Even though I agreed to the reset and then restarted AdGuard (and Safari) I still had both my whitelist and custom rules. Curiouser and curiouser.

The good news is that a sample set of three websites works, and I haven't suffered any failures in either Safari or Mail (yes, that was borked yesterday, too).
 

Chinaski

Quality Assurance
Staff member
Administrator
Moderator
@creid

Hello again!

If the issue repeats, I would ask you to collect the debug log and send it to me at PM.

  1. Menu -> Gear -> Advanced -> Logging level -> Debug;
  2. Reproduce the issue (and remember the exact time when it happened);
  3. Menu -> Advanced -> Export Logs and System Info...
 
Top