From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 4517 invoked from network); 20 Oct 1998 16:06:52 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 20 Oct 1998 16:06:52 -0000 Received: from enterprise.america.com (root@enterprise.america.com [205.245.33.3]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id LAA16157 for ; Tue, 20 Oct 1998 11:58:26 -0400 Received: from localhost by enterprise.america.com via sendmail with smtp id for ; Tue, 20 Oct 1998 11:58:23 -0400 (EDT) (Smail-3.2.0.94 1997-Apr-22 #2 built 1997-May-2) Date: Tue, 20 Oct 1998 11:58:19 -0400 (EDT) From: Aaron X-Sender: spdracer@enterprise To: axp-list@redhat.com Subject: Network monitoring tools and such In-Reply-To: <004f01bdfc3f$b7641290$8c0f77ce@serverb.dcginc.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I need to look at ethernet data and get some statistics for various parts of our network, so I pull out my trusty AXP box (redhat 5.1 install with updates) , and think, heck I'll compile a few tools, that seem to work well for Linux/386 WELL........ I'm having a heck of a time getting some common tools to compile or to work right. I've been able to get sniffit working (after upgrading my glibc) and it's great, but the following tools have the following errors Any ideas?? Or does anyone know of some great network monitoring tools that I "should" be using? Netwatch : gotten from sunsite, netwatch0.7e, compiles cleanly, but core dumps upon running. Doesn't look good at all in the .5 seconds that it does run. Trafshow : Fails to compile, complains bitterly addrtoname.c:330: warning: cast to pointer from integer of different size addrtoname.c:332: warning: cast to pointer from integer of different size addrtoname.c: In function `tcpport_string': addrtoname.c:354: warning: cast to pointer from integer of different size addrtoname.c:356: warning: cast to pointer from integer of different size addrtoname.c: In function `udpport_string': addrtoname.c:373: warning: cast to pointer from integer of different size addrtoname.c:375: warning: cast to pointer from integer of different size addrtoname.c: In function `init_servarray': addrtoname.c:405: warning: cast to pointer from integer of different size addrtoname.c:409: warning: cast to pointer from integer of different size addrtoname.c:413: warning: cast to pointer from integer of different size addrtoname.c: In function `init_eprotoarray': addrtoname.c:433: warning: cast to pointer from integer of different size addrtoname.c: In function `init_etherarray': addrtoname.c:453: warning: cast to pointer from integer of different size make[1]: *** [addrtoname.o] Error 1 make[1]: Leaving directory `/usr/src/redhat/SOURCES/trafshow-2.0/lib' make: *** [all] Error 2 [root@hot trafshow-2.0]# Netstat : Fails to compile, gives the following complaints usr/include/endian.h:29: warning: `__LITTLE_ENDIAN' redefined /usr/include/asm/byteorder.h:10: warning: this is the location of the previous definition In file included from stat.h:35, from itstime.c:6: /usr/include/netinet/in.h:204: conflicting types for `ntohl' /usr/include/asm/byteorder.h:17: previous declaration of `ntohl' /usr/include/netinet/in.h:206: conflicting types for `htonl' /usr/include/asm/byteorder.h:19: previous declaration of `htonl' make: *** [itstime.o] Error 1 \--------------------------------------------------------------------------/ \ Aaron Gee AKA Spdracer / \"Maseratis are more than cars, they are a passion that is understood / \by some, but enjoyed by a very few" / \URL-----> http://maserati.worldwide.net / \e-mail--> spdracer@america.com Fax-->1 (904) 253 1006 / \--------------------------------------------------------------/ \ | / \_|_/ (---) 0