Kill TCP/IP Connections

From: Jonas.Furrer@BIT.admin.ch
Date: Wed Jan 08 2003 - 04:17:39 EST


Hi all,

I searching for a possibility to kill TCP/IP connection. So that
IP-connections can be kill form a defined client on a specified service port
without killing the server process.

I saw that dsniff (http://naughty.monkey.org/~dugsong/dsniff/) includes a
command named tcpkill. But I can't compile dsniff on a Tru64 V5.1 system.

The story:

- Installing libpcap form Tru64 OpenSource CD -> ok
- Installing gcc from Tru64 OpenSource CD -> ok
- Downloading libnet / libnids from http://www.packetfactory.net -> ok
- Compiling libnet without success: -> nok

gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c
libnet_link_pf.c
libnet_link_pf.c:36: ../include/low_libnet.h: No such file or directory
*** Exit 1
Stop.
*** Exit 1
Stop.

- Compiling libnids without success -> nok

gcc -c -g -O2 -D_BSD_SOURCE -Wall -DHAVE_ICMPHDR=0 -DHAVE_TCP_STATES=0
-DHAVE_BSD_UDPHDR=1 -I. -I/usr/local/include ip_fragment.c
ip_fragment.c: In function `ip_create':
ip_fragment.c:408: structure has no member named `ip_hl'
ip_fragment.c:397: warning: `ihlen' might be used uninitialized in this
function
ip_fragment.c: In function `ip_glue':
ip_fragment.c:522: structure has no member named `ip_hl'
ip_fragment.c: In function `ip_defrag':
ip_fragment.c:565: structure has no member named `ip_hl'
ip_fragment.c:538: warning: `ihl' might be used uninitialized in this
function
*** Exit 1
Stop.
*** Exit 1
Stop.

- No chance to compile dnsniff :-(

Is there anybody out there who knows what I can do now.

Maybe there is another tool for my purpose.

Any help is welcome.

Thanks .. Jonas



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:03 EDT