Iptables: deteksi via log

From OnnoWiki
Revision as of 08:51, 3 August 2020 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Deteksi serangan dengan cara mencatat (LOG) paket yang masuk.

iptables -A INPUT -j LOG
iptables -A INPUT -j LOG --log-level 4

Catatan tersebut bisa di baca di

cat /var/log/kern.log

Atau

watch -n 3 tail /var/log/kern.log