LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-17-2019, 06:27 AM   #1
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 967

Rep: Reputation: 47
Lightbulb ublock origin + tcpdump


I'd like to use tcpdump to log DNS queries and see what ad domains are most used in my case (to make the ad block lists shorter for mikrotik).

but, if the ublock origin is turned on, tcpdump can't log ad domains, right?

is there some other way to get dns 'statistics'?

thanks.


edit:
I read some more about ublock, and perhaps disabling "Disable pre-fetching" option would allow ad domains queries, while not displaying the ads?

Last edited by qrange; 04-17-2019 at 06:37 AM.
 
Old 04-18-2019, 12:47 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 11,470
Blog Entries: 8

Rep: Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992
Quote:
Originally Posted by qrange View Post
but, if the ublock origin is turned on, tcpdump can't log ad domains, right?
isn't ublock origina mozilla addon, and tcpdump a system wide application?
are you saying you think that ad domains don't even get touched when ublock origin blocks them? you could be right there.

Quote:
is there some other way to get dns 'statistics'?
answering this question would require more information about your system & dns provider.
 
Old 04-18-2019, 07:37 AM   #3
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 967

Original Poster
Rep: Reputation: 47
well ublock origin works in chrome too.
yes, it seems that it blocks dns queries for ad/malware.

I've disabled "Disable pre-fetching" and now queries get through, but ads don't show up, problem solved.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
uMatrix / uBlock Origin usage? l0f4r0 General 7 03-22-2019 11:59 AM
[SOLVED] What "requests" is uBlock Origin blocking? Gregg Bell Linux - Newbie 12 02-14-2016 04:21 PM
LXer: uBlock ad blocker added to Mozilla’s extensions site LXer Syndicated Linux News 0 02-15-2015 04:50 PM
I've found tcpdump tagged as 'Installed' in PPM, why I can't find a tcpdump command ? illidan.modeler Puppy 1 09-07-2013 07:50 AM
SGI to offer Linux-based IA-64 Origin computer jeremy Linux - General 0 03-17-2001 01:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration