Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: filteren lukt niet  (gelezen 5238 keer)

filteren lukt niet
« Gepost op: 2020/02/23, 16:56:25 »
ik heb wat testjes uitgevoerd met een website.

Ket lukt niet via de invulling van /etc/hosts.

Ik ben aan het testen geslagen met een site, deze komt regelmatig als spam in mijn postbus.
Het betreft www.chatapp.nl.

In Firefox en Chromium komt deze er wel door

Hieronder de verschillen in het pingen van deze website

1)
XXX@XXX-desktop:~$ ping www.chatapp.nl
PING www.chatapp.nl (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.037 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.048 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.029 ms
64 bytes from localhost (127.0.0.1): icmp_seq=4 ttl=64 time=0.035 ms
64 bytes from localhost (127.0.0.1): icmp_seq=5 ttl=64 time=0.033 ms
64 bytes from localhost (127.0.0.1): icmp_seq=6 ttl=64 time=0.051 ms
64 bytes from localhost (127.0.0.1): icmp_seq=7 ttl=64 time=0.041 ms
^[64 bytes from localhost (127.0.0.1): icmp_seq=8 ttl=64 time=0.044 ms
64 bytes from localhost (127.0.0.1): icmp_seq=9 ttl=64 time=0.048 ms
64 bytes from localhost (127.0.0.1): icmp_seq=10 ttl=64 time=0.063 ms
^C

2)
xxx@xxx-dxxtop:~$ ping chatapp.nl
PING chatapp.nl (85.17.187.241) 56(84) bytes of data.
64 bytes from 85.17.187.241 (85.17.187.241): icmp_seq=1 ttl=58 time=2.42 ms
64 bytes from 85.17.187.241 (85.17.187.241): icmp_seq=2 ttl=58 time=2.52 ms
64 bytes from 85.17.187.241 (85.17.187.241): icmp_seq=3 ttl=58 time=2.44 ms
64 bytes from 85.17.187.241 (85.17.187.241): icmp_seq=4 ttl=58 time=2.91 ms
64 bytes from 85.17.187.241 (85.17.187.241): icmp_seq=5 ttl=58 time=2.45 ms
64 bytes from 85.17.187.241 (85.17.187.241): icmp_seq=6 ttl=58 time=2.45 ms
64 bytes from 85.17.187.241 (85.17.187.241): icmp_seq=7 ttl=58 time=2.33 ms
64 bytes from 85.17.187.241 (85.17.187.241): icmp_seq=8 ttl=58 time=2.49 ms
64 bytes from 85.17.187.241 (85.17.187.241): icmp_seq=9 ttl=58 time=2.33 ms
^C

Waarom komt deze door de etc/hosts?
Waarom zie ik bij www.chatapp.nl het IP adres 127.0.0.1 en bij chatapp.nl het IP adres 85.17.187.241.

Ik kwam hierachter door op een link in een mail te klikken.

Dus erg sterk in het filteren is dit nog niet.

Wie heeft een tip?

groet SPW
« Laatst bewerkt op: 2020/02/23, 18:23:52 door Spidey-Westland »
Spidey-Westland
Release:   22.04 Codename:   jammy

nahjo

  • Gast
Re: filteren lukt
« Reactie #1 Gepost op: 2020/02/23, 17:50:23 »
Probeer het eens met alleen chatapp.nl in /etc/hosts in plaats van www.chatapp.nl

Verder nooit op linkjes in email klikken  :police:

Re: filteren lukt niet
« Reactie #2 Gepost op: 2020/02/23, 18:36:29 »
Heb het aangepast, nu lukt het wel.

Ga het verder uitbreiden.
127.0.0.1   localhost
127.0.1.1   xxx-desktop

#Hosts file by www.effecthacking.com to block porn websites#

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

# hieronder localhost#
127.0.0.1  chatapp.nl

# hieronder xxx-desktop
127.0.1.1  chatapp.nl

Dit is de start, ga het nu uitbreiden.

Eventuele verdere tips zijn welkom.

Nog een vraagje: Is dit ook toe te passen op Thunderbird, zodat dat soort mailtjes er direct uit geplaatst worden.
« Laatst bewerkt op: 2020/02/23, 19:57:59 door Spidey-Westland »
Spidey-Westland
Release:   22.04 Codename:   jammy