OPNsense Forum

English Forums => Web Proxy Filtering and Caching => Topic started by: EdwinKM on February 15, 2022, 09:33:23 PM

Title: Unblock does not log blocked requests?
Post by: EdwinKM on February 15, 2022, 09:33:23 PM
Hello all, new to the forum and migrating pfSense to OPNsense.
Today i am toying with blocking ads (by blocking DNS).

So, i am using Unbound blocklists. And this works fine. Return 0.0.0.0.

But in case of future debugging, i think, it would be useful to see the blocked requests. It is not logged in "Log File" even if i change "Log level verbosity" to "Level 5". Certainly for appliances (tablets) where not always known what is called this can be useful?
Title: Re: Unblock does not log blocked requests?
Post by: slackadelic on February 16, 2022, 08:23:20 AM
This just came up in the IRC channel.. I posted this link I found that appears to have been a PR for this exact thing, however, it doesn't appear that there was any movement on it after Sep, 2021:  https://github.com/opnsense/core/pull/4715
Title: Re: Unblock does not log blocked requests?
Post by: EdwinKM on March 02, 2022, 07:07:29 PM
also found this one: https://github.com/opnsense/core/pull/5152/files#

Not sure if it will also fix the logging.

The feature is currently not really usable. My phone is not working. I have to brute force first the list containing the domain. Found the list in the end, but not the exact domain. I do understand this is not pi-hole, but a log line is the first thing you want to trace issues.