Ich habe iptables aktiviert und bekomme beim Abruf mit fetchmail bei meinem Gmail-Account folgende Meldung ins Journal
Code: Alles auswählen
Jun 16 06:35:40 aldebaran fetchmail[13339]: 59 Nachrichten (59 gesehene) für recent:meinusernamebeigmail@gmail.com bei pop.gmail.com (740266 Bytes).
Jun 16 06:35:41 aldebaran kernel: iptables denied: IN=wlo1 OUT= MAC=xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx SRC=74.125.206.108 DST=192.168.0.14 LEN=40 TOS=0x00 PREC=0x00 TTL=45 ID=11242 PROTO=TCP SPT=995 DPT=52942 WINDOW=0 RES=0x00 RST URGP=0
meine iptables- Rules sehen so aus:
Code: Alles auswählen
# grep -v "^#" /etc/iptables.firewall.rules |sed '/^$/d'
*filter
-A INPUT -p udp -m udp --dport 137 -j ACCEPT
-A INPUT -p udp -m udp --dport 138 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 139 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 445 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 995 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -d 127.0.0.0/8 -j REJECT
-A INPUT -p udp -m udp --dport 67 -j DROP
-A OUTPUT -o lo -j ACCEPT
-A INPUT -s 192.168.0.0/255.255.0.0 -j ACCEPT
-A INPUT -i ppp+ -j ACCEPT
-A OUTPUT -o ppp+ -j ACCEPT
-A INPUT -p tcp --dport 1723 -j ACCEPT
-A INPUT -p 47 -j ACCEPT
-A OUTPUT -p 47 -j ACCEPT
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A OUTPUT -j ACCEPT
-A INPUT -p tcp --dport 80 -j ACCEPT
-A INPUT -p tcp --dport 443 -j ACCEPT
-A INPUT -p tcp -m state --state NEW --dport 22 -j ACCEPT
-A INPUT -p icmp --icmp-type echo-request -j ACCEPT
-A INPUT -p tcp --dport 143 -j ACCEPT
-A INPUT -p tcp --dport 993 -j ACCEPT
-A INPUT -p tcp --dport 25 -j ACCEPT
-A INPUT -p tcp --dport 587 -j ACCEPT
-A INPUT -p tcp --dport 465 -j ACCEPT
-A INPUT -p tcp --dport 110 -j ACCEPT
-A INPUT -p tcp --dport 995 -j ACCEPT
-A INPUT -p tcp --dport 143 -j ACCEPT
-A INPUT -p tcp --dport 993 -j ACCEPT
-A INPUT -m limit --limit 5/min -j LOG --log-prefix "iptables denied: " --log-level 7
-A INPUT -j DROP
-A FORWARD -j DROP
-A INPUT -j ACCEPT -p all -s 192.168.0.0/24 -i enp8s0
-A OUTPUT -j ACCEPT -p all -d 192.168.0.0/24 -o enp8s0
-A INPUT -j ACCEPT -p all -s 192.168.0.0/24 -i wlo1
-A OUTPUT -j ACCEPT -p all -d 192.168.0.0/24 -o wlo1
-I INPUT -j ACCEPT -p udp -s 192.168.0.0/24 --dport 67:68 --sport 67:68 -i wlo1
COMMIT
Was will google beim Abruf mit fetchmail überhaupt von meinem Rechner, und sind meine Regeln korrekt?
lg scientific