[SLUG] Iptables/Virii

From: mark@bish.net
Date: Fri Aug 22 2003 - 13:47:40 EDT


Some rules to help block some bogus email

Grab the originating IP address from the header

iptables -A INPUT -s ip.addr -j LOG --log-prefix 'DROPPED PKTS FROM
ip.adr'

 iptables -A INPUT -s ip.addr -j DROP

put in the real ip address in ip.addr
check out dmesg or syslog to see how many times it gets blocked

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:10:29 EDT