Lists icon indicating copy to clipboard operation
Lists copied to clipboard

Question for whatsapp blocking

Open travelg opened this issue 5 years ago • 11 comments

Hello, Thanks for nice whatspp list. I have added whatsapp.txt file in my pihole but it do not block the messages and whatsapp call.

Please tell me what I am doing wrong? I have added https://github.com/blocklistproject/Lists/blob/master/whatsapp.txt in the adlist in pihole. It is blocking the images download from any whatsapp messages but I can still send messages and receive it.

I want to just block completely whatsapp in my network. thanks for you help.

travelg avatar Apr 23 '21 18:04 travelg

Maybe try to use this link instead?

https://blocklistproject.github.io/Lists/whatsapp.txt

And don't forget to launch "Pi-hole -g" command to update the database and add the domains to block.

CYB3RL4MBD4 avatar Apr 23 '21 20:04 CYB3RL4MBD4

@CYB3RL4MBD4 Thanks this helped. So now Whatsapp website is blocked in browser and whatsapp media is not able to download But Still I am able to send and receive messages. I want to also block whatsapp messages send and receive. Do you have any solution ? thanks.

travelg avatar Apr 24 '21 02:04 travelg

@CYB3RL4MBD4 Thanks this helped. So now Whatsapp website is blocked in browser and whatsapp media is not able to download

You're welcome.

But still I am able to send and receive messages.

I want to also block whatsapp messages send and receive.

Do you have any solution ? thanks.

That's weird but it could be that some URL's specific to message sending/receiving are not on the list. Is this only happening with the phone app?

CYB3RL4MBD4 avatar Apr 24 '21 06:04 CYB3RL4MBD4

@CYB3RL4MBD4 Thanks this helped. So now Whatsapp website is blocked in browser and whatsapp media is not able to download

You're welcome.

But still I am able to send and receive messages. I want to also block whatsapp messages send and receive. Do you have any solution ? thanks.

That's weird but it could be that some URL's specific to message sending/receiving are not on the list. Is this only happening with the phone app?

Yes. It happens with phone whatsapp app. Do you know which url is missing to block whatsapp messages and call thanks.

travelg avatar Apr 24 '21 15:04 travelg

Have you tried rebooting your phone? Maybe the domain is cached in your phone from when it wasn't blocked yet

@CYB3RL4MBD4 Thanks this helped. So now Whatsapp website is blocked in browser and whatsapp media is not able to download

You're welcome.

But still I am able to send and receive messages. I want to also block whatsapp messages send and receive. Do you have any solution ? thanks.

That's weird but it could be that some URL's specific to message sending/receiving are not on the list. Is this only happening with the phone app?

Yes. It happens with phone whatsapp app. Do you know which url is missing to block whatsapp messages and call thanks.

Have you tried rebooting your phone? Maybe the domain is cached in your phone from when it wasn't blocked yet

Trainax avatar Apr 25 '21 17:04 Trainax

Good point! Thanks!

CYB3RL4MBD4 avatar Apr 25 '21 17:04 CYB3RL4MBD4

Also maybe flush Pi-hole dns cache, this can also be the cause of some domains continuing to work.

CYB3RL4MBD4 avatar Apr 25 '21 17:04 CYB3RL4MBD4

Also maybe flush Pi-hole dns cache, this can also be the cause of some domains continuing to work.

Yes. I tried restarting my phone cleaning dns cache. And also trying after 12 hours same issue. Messages are still able to send. Do you have some solution? Thanks.

travelg avatar Apr 25 '21 19:04 travelg

Did you try to display live log of your pi-hole, and initiate a WhatsApp message? You should see the incriminated domain appear in the log. Sorry personally I don't use WhatsApp, I cannot try.

CYB3RL4MBD4 avatar Apr 25 '21 21:04 CYB3RL4MBD4

Did you try to display live log of your pi-hole, and initiate a WhatsApp message? You should see the incriminated domain appear in the log. Sorry personally I don't use WhatsApp, I cannot try.

I tried rebooting my phone and looking at the domains. The domains which get called are:

  • privatestats.whatsapp.net (blocked by StevenBlack's hosts list)
  • g.whatsapp.net (which is on the WhatsApp list)
  • static.whatsapp.net
  • mmg.whatsapp.net (which is on the WhatsApp list)

I would try blocking static.whatsapp.net, rebooting the phone to flush the dns cache and see if this works. Unfortunately I can't try myself because WhatsApp is needed in my network

Trainax avatar Apr 26 '21 02:04 Trainax

Did you try to display live log of your pi-hole, and initiate a WhatsApp message? You should see the incriminated domain appear in the log. Sorry personally I don't use WhatsApp, I cannot try.

I tried rebooting my phone and looking at the domains. The domains which get called are:

  • privatestats.whatsapp.net (blocked by StevenBlack's hosts list)
  • g.whatsapp.net (which is on the WhatsApp list)
  • static.whatsapp.net
  • mmg.whatsapp.net (which is on the WhatsApp list)

I would try blocking static.whatsapp.net, rebooting the phone to flush the dns cache and see if this works. Unfortunately I can't try myself because WhatsApp is needed in my network

Thanks for information. I have already restarted phone and cleared dns. I have already blocked with regex all whatsapp.net domains. Still messages can be sent and received.

travelg avatar Apr 26 '21 06:04 travelg