Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: iptables - drop ESTABLISHED connection |
|---|---|
| Date: | Fri, 2 Sep 2005 20:51:33 -0400 |
I would recommend using something like tcpkill. It is part of the dsniff package. - Chris roderick tapang <retapang@gmail.com> 08/31/2005 11:06 PM To firewalls@securityfocus.com cc Subject iptables - drop ESTABLISHED connection hi, forgive me if this is OT for this list. :) i've been struggling for this since yesterday: how do i disconnect an ESTABLISHED connection (say an ssh session) using iptables? here's from ip_conntrack: tcp 6 431998 ESTABLISHED src=172.23.8.38 dst=172.23.229.200 sport=41824 dport=22 packets=10 bytes=856 src=172.23.229.200 dst=172.23.8.38 sport=22 dport=41824 packets=7 bytes=700 [ASSURED] use=1 i can do this: netstat -patun | grep 172.23.8.38 and then kill the PID. but i need a *graceful* way of doing it. its in the PREROUTING is it possible to send a FIN packet to that connection? or an RST maybe (which has the shortest timeout). tia. erik -- roderick e. tapang, nclp retapang at gmail dot com (o_.' http://counter.li.org/ //\ ---------------------- V_/_ Linux User # 253842
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Cisco 3845 Integrated Services Router -- Browsing problem, Jiju Susmer |
|---|---|
| Next by Date: | Re: Cisco 3845 Integrated Services Router -- Browsing problem, Jiju Susmer |
| Previous by Thread: | iptables - drop ESTABLISHED connection, roderick tapang |
| Next by Thread: | Re: iptables - drop ESTABLISHED connection, Brendan Murray |
| Indexes: | [Date] [Thread] [Top] [All Lists] |