I have adblock all working it blocks domains in the blacklists but reporting does not seem to work.
I have enabled reporting and downloaded the tcpdump package, it does not work from CLI either.
Status / Version
enabled / 4.0.7
Blocked Domains
43,027
Active Sources
adaway, adguard, disconnect, yoyo
DNS Backend
dnsmasq, /tmp/dnsmasq.d
Run Utils
/bin/uclient-fetch, /usr/bin/awk
Run Interfaces
trigger: -, report: any
Run Directories
base: /tmp, backup: /tmp, report: /tmp, jail: /tmp
Run Flags
backup: 1, reset: 0, flush: 0, force: 0, search: 1, report: 1, mail: 0, jail: 0
Last Run
reload, 0m 15s, 510/390/376, 22.12.2020 21:06:30
I believe it was an typo in the dhcp or firewall config, I think it was logging a unused/ incorect instance or interface or something ? editing these files made logging work i also added the local queries option and it could be that ?.
I do have another question tho: How do I make adblock it active on two virtual bridged interfaces Adults_Lan, Kids_Lan for example I tried to set up multiple dnsmasq in the dhcp and it did not work, do you have a sample config by chance ?
I have it working on the first interface now and logging corectly now but it is not active on Kids_Lan
If i could only have it active on the Kids_Lan I would be ok with that but im unsure how to select this.
This begs the question of how to (configure and) run multiple instances of dnsmasq each bound the respective interface. Is this implemented in Openwrt (yet)?
I now have adblock working on both bridges on seperate lan segments but i now cant figure out how to make it do a dns report on both interfaces it just operates on the first one listed in the dhcp config.
I see the experimental option adb_dnsinstance '1' which will switch addblock to the second dhcp instance in a dhcp file but i alreeady have adblock working just not the reporting function on the second or all interfaces.
It seems to work with the cut down version of dnsmasq without issue.
however im having issues with UPNP operating in 19.07 but that seems to be a common problem.
Hi, i want con configure the email address section to send report on a specific email address. Now he not send anything and probably something is set wrong, I've seen on documentation without success so i ask a little help if is possible. First tcpdump-mini is required to run this option i've already installed tcpdump for another service. Also the msmtp is already installed.
I'don't know if tcpdump mini may substitute the "mini" version even will be auspicable. Then the setting to compile in the proper section. Actually have done:
I've been having issues checking the DNS reporting tab since 4.0.7-3, I've tried deleting the generated DNS files but it didn't work. Am I missing something? I'm on 4.0.7-4 now and it has worked before.
No, it's a XHTML bug with this ancient theme. I've fixed this issue a few seconds ago in master and 19.07 branch. Please update/install the updated LuCI package in a few hours/days.
In the meantime use another theme, e.g. bootstrap should work just fine.
That was the problem . I hadn't configured msmtp. In fact I looked for this type of configuration on AdBlock but it wasn't there and I didn't understand where to put the email account data. Now I have done this by editing the / etc / msmtprc file as follows:
account default
host smtp.gmail.com
port 587
auth on
* user account@gmail.com
* password password
auto_from off
* from account@gmail.com
tls on
tls_starttls on
tls_certcheck off
logfile
syslog LOG_MAIL
Obviously I have entered the correct data of the email account where I have asterisked.
Please doublecheck your config with the adblock readme example, e.g. your configured account "default" in msmtp doesn't match with the configured email profile "adb-notify" in adblock.
I've try to start the script both putty and ttyd package appositely installed (nice!) but happen this...seem nothing.
BusyBox v1.30.1 () built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt 19.07.5, r11257-5090152ae3
-----------------------------------------------------
root@routerone:/# /etc/adblock/adblock.mail
root@routerone:/#
The adblock logview:
Tue Dec 29 10:37:14 2020 user.info adblock-[4635]: mail sent to 'my.gmail.address@gmail.com' with rc '78'
Tue Dec 29 10:43:52 2020 user.info adblock-[5050]: mail sent to 'my.gmail.address@gmail.com' with rc '78'
The email address in the log-view is correct because i had sent twice with the script but no mail incomes yet.
Actual configuration is below:
[...]
defaults
auth on
tls on
tls_certcheck off
timeout 5
syslog LOG_MAIL
[...]
account adb_notify
host smtp.gmail.com
port 587
from my.gmail.address@gmail.com
user my.gmail.address
password my.mail.password
Return code 78 means "config error" ...
Just to be sure you haven't included "[...]" in your msmtp config!? If so, please remove these placeholders and try it again.
I put [...] because it was included in the notes. If it is useless I would recommend removing it.
Mail received. Now seem to work.
Can I advise if possible to make these settings possible directly from AdBlock without having to intervene from the terminal? I intend to keep the dependency on msmtp but to be able to configure from Ad-Block. If msmtp is not installed the menu remains white / not editable.