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: | Thu, 08 Sep 2005 01:45:24 -0700 |
Ettercap may be of use for conditions that iptables is unable to address.. CLI version would script up nicely. Just thinking aloud.. Jayson On Wed, 2005-09-07 at 09:21 +0300, Lupu Alex wrote:
roderick tapang wrote: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. erikIf you use debian, do apt-get install cutter, or else go to http://www.lowth.com/cutter/software/. This is the description of the package: Cutter will send packets to both ends of a tcp/ip connection to close the connection. It is designed to be used on a Linux router to disconnect unwanted connections.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Aply Kernel Extensions, Faria |
|---|---|
| Next by Date: | Re: Problem with Contivit y and Certificates from Verisign, Cesar Farro Flores |
| Previous by Thread: | Re: iptables - drop ESTABLISHED connection, Lupu Alex |
| Next by Thread: | Re: iptables - drop ESTABLISHED connection, Serg Belokamen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |