OPNsense 23.1.1_2 Unbound Reporting | White- & Blacklisting not working?!

Started by dumbo, February 21, 2023, 03:09:35 PM

Previous topic - Next topic
Hi,

would be nice if you could check, if the whitelisting feature is broken?

For me if I whitelist some domain within unbound reporting tool nothing happens and the domain is not whitelisted within Services > Unbound DNS > Blocklist > Whitelist Domains

In an earlier version it was working without any issues.


Ok. Thx for your feedback.

Did you do it direct from the unbound reporting website or within unbound section?

See screenshot. If I click whitelist there nothing does happen.

Hi!
works fine from overview page for me
does the spinner appear after the button click?
Can you see in the browser console that the request is leaving (network tab)?
what is the result of sending the request (need to wait a bit, because the action causes a new dnbls download)

Quote from: Fright on February 21, 2023, 07:55:57 PM
does the spinner appear after the button click?
Can you see in the browser console that the request is leaving (network tab)?

Hi.
- spinner does not appear
- looks like nothing does happen when clicking the button (tried it with several browsers).


Hi,

no one else does have those issues from your side?

I tried to reinstall OPNsense but the issue is still there.
No chance to whitelist/blacklist with unbound reporting tool site.

Hi
would be interesting to know the browser dev console messages (if any) when opening the /ui/unbound/overview page and click the Details tab.
and is the errors in unbound log is still there?

Hi. Errors gone after reinstall the day.

But the issue is still there. Tried what you say.

If I do inspect I get the following details:
- https://IPADDRESS:10443/api/unbound/settings/updateBlocklist (Request method POST, Status Code 200,
- Preview and Respone I get there are : {"status":"failed"}

Again no spinner, direct change of the icon (but nothing happens within white- and blacklists at all).

EDIT: The only errors I get within unbound log at the moment are:
Error unbound [01234567:0] error: remote control failed ssl crypto error:00000000:lib(0):func(0):reason(0)

EDIT2:
FYI: Within the first release of 23.1 the white- and blacklisting worked without any issues. Problem occured with updated unbound reporting version.

interesting..
and can you look at Request Payload? whether it contains domain and type values? (trying to figure out if the issue is on client side or backend side)

Request Payload (example what it's showing for try to whitelist metrics.icloud.com):
{"domain":"metrics.icloud.com.","type":"whitelists"}


got it, thanks
i thought that the issue was on the client side (because of 'no spinner icon'). not sure now.
will try to reproduce

Quote from: Fright on February 25, 2023, 03:32:40 PM
will try to reproduce
Thx. Something must have changed from orig. 23.1 OPNsense Image as it has worked in earlier version.

sorry, more info needed: after that the domain does not appear in the Whitelist Domains list at ui/unbound/dnsbl/index? are there any errors in the backend or general log after that?
QuoteSomething must have changed from orig. 23.1
this part is intensively developed as far as i can see. therefore changes are many and often

Quote from: Fright on February 25, 2023, 03:40:07 PM
sorry, more info needed: after that the domain does not appear in the Whitelist Domains list at ui/unbound/dnsbl/index? are there any errors in the backend or general log after that?
No error within general log (checked all categories)
No error within backend log (only showing notice of configd.py with show log / fetch query details / show log)