From owner-freebsd-ipfw@FreeBSD.ORG Mon May 16 08:42:22 2011 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E459D1065679 for ; Mon, 16 May 2011 08:42:22 +0000 (UTC) (envelope-from quamarniyaz.zhcet@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 683C58FC1C for ; Mon, 16 May 2011 08:42:22 +0000 (UTC) Received: by wyf23 with SMTP id 23so4302757wyf.13 for ; Mon, 16 May 2011 01:42:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=kq3vueto4x/BHT1hcYomukcjSFrJdvhhPH3wIB0E3ys=; b=ZMbPHGUohwDTqin4BJFC9IgOdWE5vnGKS5+EWrRTPHzHlzNmn0mTj+aQCAFN94aF5n rWjIjh+tfVzcb1/x+vxyacuvOyzjDRbKu3orTk6+ZEAvAPA1nQT70YEgKK0BM/Gg/8jG DM+HitdVBmmyrx6kVFRNz5s/iujmoDiN+Up/s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=TmKUh9MAaHXVgllU/LOfCuo8Cy/Kd3ItnYpGfMU+efJdPkv+i1TuelHk1DLO7ifMHD niVF6W29lrQA6rrC0cWcGCqbAI+QEAZCoRDa6mCmtVGAmVfyHM0VHpvEDlAAQLuYST7b iynv0qlwxVH5Xc7pAoPxPRr9Ab3YOPoOdJfNE= MIME-Version: 1.0 Received: by 10.216.62.203 with SMTP id y53mr2104951wec.66.1305535339944; Mon, 16 May 2011 01:42:19 -0700 (PDT) Received: by 10.216.175.206 with HTTP; Mon, 16 May 2011 01:42:19 -0700 (PDT) Date: Mon, 16 May 2011 14:12:19 +0530 Message-ID: From: quamar niyaz To: freebsd-ipfw@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Problem in build of dummynet in ubuntu X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2011 08:42:23 -0000 Hi all, I tried to build the dummynet source in ubuntu in 2.6.31-14-generic using the command "*make KERNELPATH=/lib/modules/2.6.31-14-generic/build USRDIR=/usr"*. But got errors in build. I am pasting the output of the command. make KERNELPATH=/lib/modules/2.6.31-14-generic/build USRDIR=/usr echo target is all target is all (cd ipfw && make all ) make[1]: Entering directory `/home/quamar/Desktop/ipfw3/ipfw' Makefile:9: Building userland ipfw for Linux echo "Done build for Linux VER " Done build for Linux VER make[1]: Leaving directory `/home/quamar/Desktop/ipfw3/ipfw' (cd dummynet2 && make all ) make[1]: Entering directory `/home/quamar/Desktop/ipfw3/dummynet2' Makefile:30: including dummynet/Makefile Makefile:63: "---- Building dummynet kernel module for Version 2.6" Makefile:257: "---- Building Version 2.6 2.6 in /lib/modules/2.6.31-14-generic/build" make -C /lib/modules/2.6.31-14-generic/build V=1 M=`pwd` modules make[2]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic' test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \ echo; \ echo " ERROR: Kernel configuration is invalid."; \ echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \ echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo; \ /bin/false) mkdir -p /home/quamar/Desktop/ipfw3/dummynet2/.tmp_versions ; rm -f /home/quamar/Desktop/ipfw3/dummynet2/.tmp_versions/* make -f scripts/Makefile.build obj=/home/quamar/Desktop/ipfw3/dummynet2 /home/quamar/Desktop/ipfw3/dummynet2/Makefile:30: including dummynet/Makefile /home/quamar/Desktop/ipfw3/dummynet2/Makefile:63: "---- Building dummynet kernel module for Version 2.6" /home/quamar/Desktop/ipfw3/dummynet2/Makefile:257: "---- Building Version 2.6 2.6 in /lib/modules/2.6.31-14-generic/build" (cat /dev/null; echo kernel//home/quamar/Desktop/ipfw3/dummynet2/ipfw_mod.ko;) > /home/quamar/Desktop/ipfw3/dummynet2/modules.order make -f /usr/src/linux-headers-2.6.31-14-generic/scripts/Makefile.modpost /home/quamar/Desktop/ipfw3/dummynet2/Makefile:30: including dummynet/Makefile /home/quamar/Desktop/ipfw3/dummynet2/Makefile:63: "---- Building dummynet kernel module for Version 2.6" /home/quamar/Desktop/ipfw3/dummynet2/Makefile:257: "---- Building Version 2.6 2.6 in /lib/modules/2.6.31-14-generic/build" scripts/mod/modpost -m -a -i /usr/src/linux-headers-2.6.31-14-generic/Module.symvers -I /home/quamar/Desktop/ipfw3/dummynet2/Module.symvers -o /home/quamar/Desktop/ipfw3/dummynet2/Module.symvers -S -K /usr/src/linux-headers-2.6.31-14-generic/Module.markers -M /home/quamar/Desktop/ipfw3/dummynet2/Module.markers -w -s make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic' make[1]: Leaving directory `/home/quamar/Desktop/ipfw3/dummynet2' # -- windows only [ -f ipfw/ipfw.exe ] && cp ipfw/ipfw.exe binary/ipfw.exe make: [all] Error 1 (ignored) [ -f dummynet2/objchk_wxp_x86/i386/ipfw.sys ] && \ cp dummynet2/objchk_wxp_x86/i386/ipfw.sys binary/ipfw.sys make: [all] Error 1 (ignored) Please let me know what is the cause for error. i also installed ncurses-dev in my system. Thanks -- With regards, Quamar Niyaz Research Associate, Indian Institute of Technology, Delhi New Delhi-16 http://www.cse.iitd.ernet.in/~niyaz From owner-freebsd-ipfw@FreeBSD.ORG Mon May 16 11:07:07 2011 Return-Path: Delivered-To: freebsd-ipfw@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E2AF1065670 for ; Mon, 16 May 2011 11:07:07 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EFD738FC0A for ; Mon, 16 May 2011 11:07:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p4GB76vP071244 for ; Mon, 16 May 2011 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p4GB76lp071242 for freebsd-ipfw@FreeBSD.org; Mon, 16 May 2011 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 16 May 2011 11:07:06 GMT Message-Id: <201105161107.p4GB76lp071242@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-ipfw@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-ipfw@FreeBSD.org X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2011 11:07:07 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/156770 ipfw [ipfw] [dummynet] [patch]: performance improvement and o bin/156653 ipfw ipfw(8) reports missing file as parameter problem o kern/156410 ipfw [patch][ipfw] tablearg option for ipfw setfib o kern/155927 ipfw [ipfw] ipfw stops to check packets for compliance with o bin/153252 ipfw [ipfw][patch] ipfw lockdown system in subsequent call o kern/153161 ipfw IPFIREWALL does not allow specify rules with ICMP code o kern/152113 ipfw [ipfw] page fault on 8.1-RELEASE caused by certain amo o kern/150798 ipfw [ipfw] ipfw2 fwd rule matches packets but does not do o kern/148827 ipfw [ipfw] divert broken with in-kernel ipfw o kern/148689 ipfw [ipfw] antispoof wrongly triggers on link local IPv6 a o kern/148430 ipfw [ipfw] IPFW schedule delete broken. o kern/148157 ipfw [ipfw] IPFW in kernel nat BUG found in FreeBSD 8.1-PRE o kern/148091 ipfw [ipfw] ipfw ipv6 handling broken. o kern/147720 ipfw [ipfw] ipfw dynamic rules and fwd o kern/145305 ipfw [ipfw] ipfw problems, panics, data corruption, ipv6 so o kern/144269 ipfw [ipfw] problem with ipfw tables o kern/144187 ipfw [ipfw] deadlock using multiple ipfw nat and multiple l o kern/143973 ipfw [ipfw] [panic] ipfw forward option causes kernel reboo o kern/143621 ipfw [ipfw] [dummynet] [patch] dummynet and vnet use result o kern/143474 ipfw [ipfw] ipfw table contains the same address f kern/142951 ipfw [dummynet] using pipes&queues gives OUCH! pipe should o kern/139581 ipfw [ipfw] "ipfw pipe" not limiting bandwidth o kern/139226 ipfw [ipfw] install_state: entry already present, done o kern/137346 ipfw [ipfw] ipfw nat redirect_proto is broken o kern/137232 ipfw [ipfw] parser troubles o kern/136695 ipfw [ipfw] [patch] fwd reached after skipto in dynamic rul o kern/135476 ipfw [ipfw] IPFW table breaks after adding a large number o o bin/134975 ipfw [patch] ipfw(8) can't work with set in rule file. o kern/131817 ipfw [ipfw] blocks layer2 packets that should not be blocke o kern/131601 ipfw [ipfw] [panic] 7-STABLE panic in nat_finalise (tcp=0) o kern/131558 ipfw [ipfw] Inconsistent "via" ipfw behavior o bin/130132 ipfw [patch] ipfw(8): no way to get mask from ipfw pipe sho o kern/129103 ipfw [ipfw] IPFW check state does not work =( o kern/129093 ipfw [ipfw] ipfw nat must not drop packets o kern/129036 ipfw [ipfw] 'ipfw fwd' does not change outgoing interface n o kern/128260 ipfw [ipfw] [patch] ipfw_divert damages IPv6 packets o kern/127230 ipfw [ipfw] [patch] Feature request to add UID and/or GID l o kern/127209 ipfw [ipfw] IPFW table become corrupted after many changes o bin/125370 ipfw [ipfw] [patch] increase a line buffer limit o conf/123119 ipfw [patch] rc script for ipfw does not handle IPv6 o kern/122963 ipfw [ipfw] tcpdump does not show packets redirected by 'ip o kern/122109 ipfw [ipfw] ipfw nat traceroute problem s kern/121807 ipfw [request] TCP and UDP port_table in ipfw o kern/121382 ipfw [dummynet] 6.3-RELEASE-p1 page fault in dummynet (corr o kern/121122 ipfw [ipfw] [patch] add support to ToS IP PRECEDENCE fields o kern/118993 ipfw [ipfw] page fault - probably it's a locking problem o bin/117214 ipfw ipfw(8) fwd with IPv6 treats input as IPv4 o kern/116009 ipfw [ipfw] [patch] Ignore errors when loading ruleset from o docs/113803 ipfw [patch] ipfw(8) - don't get bitten by the fwd rule o kern/112561 ipfw [ipfw] ipfw fwd does not work with some TCP packets o kern/105330 ipfw [ipfw] [patch] ipfw (dummynet) does not allow to set q o bin/104921 ipfw [patch] ipfw(8) sometimes treats ipv6 input as ipv4 (a o kern/104682 ipfw [ipfw] [patch] Some minor language consistency fixes a o kern/103454 ipfw [ipfw] [patch] [request] add a facility to modify DF b o kern/103328 ipfw [ipfw] [request] sugestions about ipfw table o kern/102471 ipfw [ipfw] [patch] add tos and dscp support o kern/98831 ipfw [ipfw] ipfw has UDP hickups o kern/97951 ipfw [ipfw] [patch] ipfw does not tie interface details to o kern/95084 ipfw [ipfw] [regression] [patch] IPFW2 ignores "recv/xmit/v o kern/93300 ipfw [ipfw] ipfw pipe lost packets o kern/91847 ipfw [ipfw] ipfw with vlanX as the device o kern/88659 ipfw [modules] ipfw and ip6fw do not work properly as modul o kern/87032 ipfw [ipfw] [patch] ipfw ioctl interface implementation o kern/86957 ipfw [ipfw] [patch] ipfw mac logging o bin/83046 ipfw [ipfw] ipfw2 error: "setup" is allowed for icmp, but s o kern/82724 ipfw [ipfw] [patch] [request] Add setnexthop and defaultrou o bin/78785 ipfw [patch] ipfw(8) verbosity locks machine if /etc/rc.fir o kern/74104 ipfw [ipfw] ipfw2/1 conflict not detected or reported, manp o kern/73910 ipfw [ipfw] serious bug on forwarding of packets after NAT o kern/72987 ipfw [ipfw] ipfw/dummynet pipe/queue 'queue [BYTES]KBytes ( o kern/71366 ipfw [ipfw] "ipfw fwd" sometimes rewrites destination mac a o kern/69963 ipfw [ipfw] install_state warning about already existing en o kern/60719 ipfw [ipfw] Headerless fragments generate cryptic error mes o kern/55984 ipfw [ipfw] [patch] time based firewalling support for ipfw o kern/51274 ipfw [ipfw] [patch] ipfw2 create dynamic rules with parent o kern/48172 ipfw [ipfw] [patch] ipfw does not log size and flags o kern/46159 ipfw [ipfw] [patch] [request] ipfw dynamic rules lifetime f a kern/26534 ipfw [ipfw] Add an option to ipfw to log gid/uid of who cau 78 problems total. From owner-freebsd-ipfw@FreeBSD.ORG Sat May 21 22:51:50 2011 Return-Path: Delivered-To: freebsd-ipfw@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4791D1065670; Sat, 21 May 2011 22:51:50 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1FFFA8FC0A; Sat, 21 May 2011 22:51:50 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p4LMpnoL072734; Sat, 21 May 2011 22:51:50 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p4LMpnTh072730; Sat, 21 May 2011 22:51:49 GMT (envelope-from linimon) Date: Sat, 21 May 2011 22:51:49 GMT Message-Id: <201105212251.p4LMpnTh072730@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-ipfw@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/157239: [ipfw] [dummynet] ipfw + dummynet corrupts ipv6 packets X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 May 2011 22:51:50 -0000 Old Synopsis: ipfw + dummynet corrupts ipv6 packets New Synopsis: [ipfw] [dummynet] ipfw + dummynet corrupts ipv6 packets Responsible-Changed-From-To: freebsd-bugs->freebsd-ipfw Responsible-Changed-By: linimon Responsible-Changed-When: Sat May 21 22:51:30 UTC 2011 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=157239