On Sat, Aug 09, 2003 at 12:28:33PM +0800, Federico Sevilla III wrote:
> Google rocks. I remember having read something about this but forgot the
> name of the program entirely. So I searched for "terminate network
> connection iptables linux" and voila:
> 
>     http://www.lowth.com/cutter/

Thanks. It was the first one I tried before sending the original post.
It didn't find the _established_ connection I want to abort. Maybe
because it only works on routers. I even tried the following, to no
avail:

1) iptables -A INPUT -p tcp -s <ip addr> -j REJECT --reject-with
tcp-reset 
  iptables -A OUTPUT -p tcp -d <ip addr> -j REJECT --reject-with
tcp-reset
2) route add -net <ip addr> netmask 255.255.255.255 reject
3) route add <ip addr> gw 127.0.0.1

Any other way?

-- 
$_=q:; # SHERWIN #
70;72;69;6e;74;20;
27;4a;75;73;74;20;
61;6e;6f;74;68;65;
72;20;50;65;72;6c;
20;6e;6f;76;69;63;
65;27;:;;s=~?(..);
?=pack q$C$,hex$1;
;;;=egg;;;;eval;;;
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to