From owner-freebsd-isp@FreeBSD.ORG Sat Feb 21 06:42:43 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 860C416A4CE; Sat, 21 Feb 2004 06:42:43 -0800 (PST) Received: from mail.zvezda.number.ru (unknown [213.247.150.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1861C43D1F; Sat, 21 Feb 2004 06:42:43 -0800 (PST) (envelope-from blacksir@number.ru) Received: from host212-5-99-220.izmaylovo.ru ([212.5.99.220] helo=blacksir) by mail.zvezda.number.ru with smtp (Exim) id 1AuYKp-0009Ke-HK; Sat, 21 Feb 2004 17:42:27 +0300 From: "Vasenin Alexander aka BlackSir" To: "Gleb Smirnoff" , Date: Sat, 21 Feb 2004 17:42:21 +0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <20040218124958.GB40340@cell.sick.ru> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Importance: Normal X-Spam-Score: -100.0 (---------------------------------------------------) X-Spam-Report: Spam detection software, running on the system "inet.zvezda.number.ru", hasmessageblock similar future email. If you have any questions, see the administrator of that system for details. Content preview: On my test system kldload /modules/ng_netflow.ko returns: kldload: can't load ./ng_netflow.ko: Exec format error After ng_make_node_common undefined [...] Content analysis details: (-100.0 points, 5.0 required) pts rule name description -------------------------------------------------- -100 USER_IN_WHITELIST From: address is in the user's white-list cc: freebsd-net@freebsd.org Subject: RE: ng_netflow: testers are welcome X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2004 14:42:43 -0000 On my test system kldload /modules/ng_netflow.ko returns: kldload: can't load ./ng_netflow.ko: Exec format error After this there is a message in dmesg: link_elf: symbol ng_make_node_common undefined # uname -a FreeBSD inet.park7.number.ru 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Fri Feb 6 18:44:04 MSK 2004 root@inet.park7.number.ru:/usr/obj/usr/src/sys/GENERIC_number_ru_20040206 i386 Overrides from GENERIC kernel: options IPFIREWALL #firewall options IPFIREWALL_VERBOSE #enable logging to syslogd(8) options IPFIREWALL_FORWARD #enable transparent proxy support options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default options IPFW2 # by BlackSir - enables IPFW2 options IPDIVERT #divert sockets options RANDOM_IP_ID options DUMMYNET options BRIDGE compile&install log: [root@inet.park7.number.ru] cd /usr/ports/net/ng_netflow/ [root@inet.park7.number.ru] make install clean ===> Vulnerability check disabled ===> Extracting for ng_netflow-0.2.1 >> Checksum OK for ng_netflow-0.2.1.tar.gz. ===> Patching for ng_netflow-0.2.1 ===> Configuring for ng_netflow-0.2.1 ===> Building for ng_netflow-0.2.1 ===> ng_netflow Warning: Object directory not changed from original /usr/ports/net/ng_netflow/work/ng_netflow-0.2.1/ng_netflow @ -> /usr/src/sys machine -> /usr/src/sys/i386/include cc -O -pipe -g -I/usr/ports/net/ng_netflow/work/ng_netflow-0.2.1/ng_netflo w -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes - Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extension s -ansi -DKLD_MODULE -nostdinc -I- -I/usr/ports/net/ng_netflow/work/ng_netfl ow-0.2.1/ng_netflow -I. -I@ -I@/../include -I/usr/include -mpreferred-stack -boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -W missing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -c ng_netflow.c cc -O -pipe -g -I/usr/ports/net/ng_netflow/work/ng_netflow-0.2.1/ng_netflo w -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes - Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extension s -ansi -DKLD_MODULE -nostdinc -I- -I/usr/ports/net/ng_netflow/work/ng_netfl ow-0.2.1/ng_netflow -I. -I@ -I@/../include -I/usr/include -mpreferred-stack -boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -W missing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -c netflow.c ld -r -o ng_netflow.kld ng_netflow.o netflow.o gensetdefs ng_netflow.kld cc -O -pipe -g -I/usr/ports/net/ng_netflow/work/ng_netflow-0.2.1/ng_netflo w -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes - Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extension s -ansi -DKLD_MODULE -nostdinc -I- -I/usr/ports/net/ng_netflow/work/ng_netfl ow-0.2.1/ng_netflow -I. -I@ -I@/../include -I/usr/include -mpreferred-stack -boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -W missing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -c setdef0.c cc -O -pipe -g -I/usr/ports/net/ng_netflow/work/ng_netflow-0.2.1/ng_netflo w -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes - Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extension s -ansi -DKLD_MODULE -nostdinc -I- -I/usr/ports/net/ng_netflow/work/ng_netfl ow-0.2.1/ng_netflow -I. -I@ -I@/../include -I/usr/include -mpreferred-stack -boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -W missing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -c setdef1.c ld -Bshareable -o ng_netflow.ko setdef0.o ng_netflow.kld setdef1.o ===> flowctl Warning: Object directory not changed from original /usr/ports/net/ng_netflow/work/ng_netflow-0.2.1/flowctl cc -O -pipe -g -Wall -Wformat -c flowctl.c cc -O -pipe -g -Wall -Wformat -o flowctl flowctl.o -lnetgraph gzip -cn ng_netflow.4 > ng_netflow.4.gz gzip -cn flowctl.8 > flowctl.8.gz ===> Installing for ng_netflow-0.2.1 ===> Generating temporary packing list ===> Checking if net/ng_netflow already installed ===> ng_netflow install -o root -g wheel -m 555 ng_netflow.ko /modules ===> flowctl install -s -o root -g wheel -m 555 flowctl /usr/local/sbin install -o root -g wheel -m 444 ng_netflow.4.gz /usr/local/man/man4 install -o root -g wheel -m 444 flowctl.8.gz /usr/local/man/man8 **************************************************************************** *** * This port contains a prebuilt kernel module. Due to the ever changing * * nature of FreeBSD it may be necessary to rebuild the module after a kernel * * source update. To do this reinstall the port. * **************************************************************************** *** ===> Registering installation for ng_netflow-0.2.1 ===> Cleaning for ng_netflow-0.2.1 Any ideas? Vasenin Alexander aka BlackSir > -----Original Message----- > From: owner-freebsd-isp@freebsd.org > [mailto:owner-freebsd-isp@freebsd.org]On Behalf Of Gleb Smirnoff > Sent: Wednesday, February 18, 2004 3:50 PM > To: freebsd-isp@freebsd.org > Cc: freebsd-net@freebsd.org > Subject: Re: ng_netflow: testers are welcome