* SUMMARY: Kill TCP/IP Connections
@ 2003-01-13 13:09 Jonas.Furrer
2003-01-14 16:12 ` Mounting local harddisks in cluster ? Udo Grabowski
0 siblings, 1 reply; 2+ messages in thread
From: Jonas.Furrer @ 2003-01-13 13:09 UTC (permalink / raw)
Hi,
I received answers from:
Arrigo Triluzi arrigo( @ )albourne.com
Nikolai BldrxJ( @ )netscape.net
Thanks a lot Arrigo and Nikolai, but I couldn't compile libnet, libnids and
dsniff. I'm not experienced enough in this field.
Regards, .. Jonas
----------------------------------------------------------------------------
----
Original question:
--------------------------
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
----------------------------------------------------------------------------
----
Answer from arrigo@albourne.com:
First mail:
There is a chance... what you are looking at is BSD-style (OpenBSD to
be precise) naming conventions for the IP header structures. ip_hl
under SysV is called something different.
Go and have a look at /usr/include/netinet and friends (in particular
ip.h) and translate the fields into SysV names. Then it will all
work.
Second mail:
The directory is /usr/include/netinet and the file is ip.h. In it you
will find the following:
struct ip {
#if defined(_KERNEL) || defined(_NO_BITFIELDS) || (__STDC__ == 1)
u_char ip_vhl; /* version and header length */
#else
#if BYTE_ORDER == LITTLE_ENDIAN
u_char ip_hl:4, /* header length */
ip_v:4; /* version */
#endif
#if BYTE_ORDER == BIG_ENDIAN
u_char ip_v:4, /* version */
ip_hl:4; /* header length */
#endif
#endif
etc. These are the definitions that you should be using. For some
reason libnet is not finding them so you need to find out which
include files are being used by libnet.
You should be able to hack it to work, since Tru64 is not too bad
w.r.t. TCP/IP programming.
----------------------------------------------------------------------------
----
Answer from BldrxJ@netscape.net
You might need to use GNU make as well as GNU automake and GNU autoconfig
for this. Leave the system make in place if you do, and just tell the
compiler to use GNU make.
hope this helps,
^ permalink raw reply [flat|nested] 2+ messages in thread
* Mounting local harddisks in cluster ?
2003-01-13 13:09 SUMMARY: Kill TCP/IP Connections Jonas.Furrer
@ 2003-01-14 16:12 ` Udo Grabowski
0 siblings, 0 replies; 2+ messages in thread
From: Udo Grabowski @ 2003-01-14 16:12 UTC (permalink / raw)
Hello managers !
A surprising little problem left a couple of question marks spinning
over my head:
I have several harddisks in our 8 cluster ES40 with a advfs domain
Work_<n>#Work (<n> = 1-8) and want to mount them on a
global directory /Work, which is a cdsl to /cluster/members/{memb}/Work,
so that every machine has it's own space associated with this directory.
I can do it by hand 'mount Work_<n>#Work /cluster/members/member<n>/Work',
but placing 8 such mounts into /etc/fstab does nothing. Mounts with
local directories seem to be completely ignored by the CFS.
But this mechanism works when mounting NFS directories this way. And
how and where are the root<n>_domain disks mounted, which are also not
mentioned in /etc/fstab ? Where must I place the mounts to get them at
boot time ?
--
Dr. Udo Grabowski email: udo.grabowski@imk.fzk.de
Institut f. Meteorologie und Klimaforschung II, Forschungszentrum Karslruhe
Postfach 3640, D-76021 Karlsruhe, Germany Tel: (+49) 7247 82-6026
http://www.fzk.de/imk/imk2/ame/grabowski/ Fax: " -6141
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-01-14 16:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-13 13:09 SUMMARY: Kill TCP/IP Connections Jonas.Furrer
2003-01-14 16:12 ` Mounting local harddisks in cluster ? Udo Grabowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox