From owner-freebsd-net@FreeBSD.ORG Tue Jun 17 10:54:27 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9DC9396C for ; Tue, 17 Jun 2014 10:54:27 +0000 (UTC) Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 34A9A20D9 for ; Tue, 17 Jun 2014 10:54:27 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id n3so5564046wiv.14 for ; Tue, 17 Jun 2014 03:54:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=OSKmxNiQM/3STZGoWUJZTN9yvD+LC9XsZQU7lbJ5B/A=; b=sVkBF+VUiCUZiJj1NpRrooiXeLnGlE37qsWEIN6c32adhnUJ2driRIKdINtl3NHA8M LC7ZVSMas7SYBLcnhrbJ/2D+cVLWSQFQ1m4CTKcBjAebcD1W6QCjXj0CEjZ/uTbpxgv2 Lvjj5lYCzxvYsOL+EtgGeDLzGtzvoo30O10SmqZsRBv6bPVEvJ6jHlygs8gFqBrjMoTz 5PDKLWaYMasI3IEOpO5CcXolveOnZTKqxhRu0tmSKZZCC8fMhBOsgQ+RGgQ40eXL3/2s vyUJbpn8Ha8eGPDjJeRmMiPqIpG/GAJExKShll7YZ6AwUs7ECdDZeAhezOniWDYvAZzE Mlfw== MIME-Version: 1.0 X-Received: by 10.180.221.163 with SMTP id qf3mr35243445wic.56.1403002465421; Tue, 17 Jun 2014 03:54:25 -0700 (PDT) Sender: rizzo.unipi@gmail.com Received: by 10.194.246.130 with HTTP; Tue, 17 Jun 2014 03:54:25 -0700 (PDT) In-Reply-To: References: Date: Tue, 17 Jun 2014 12:54:25 +0200 X-Google-Sender-Auth: jCgieXNAL7z6hp0TFAVsmW-0OpA Message-ID: Subject: Re: netmap pktgen From: Luigi Rizzo To: Mahnaz Talebi Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2014 10:54:27 -0000 On Tue, Jun 17, 2014 at 12:27 PM, Mahnaz Talebi wrote: > Hi, > > I read in " > > http://typo3.change-project.eu/fileadmin/publications/Deliverables/CHANGE= _Deliverable_D6_3.pdf > ", > that: "Packets generated > by the Netmap PktGen were always dropped by the Linux Kernel after being > processed by the > PREROUTING chain of the mangle table of Iptables." > Is it true? > Is there a way to avoid this? I want to forward netmap generated packets > via a DUT device to receiver. > =E2=80=8BGeneral comment:=E2=80=8B =E2=80=8Bthis type of questions sounds very much like the "studies on the internet say.." line from Dilbert strips. You are taking a random sentence from a random document, the conclusions drawn by the author (assuming they are correct, i have no idea) may depend so much on testing conditions that it is pointless to reason how they apply to your case. Please run _your_ experiment in the configuration that you care about, then if you have any issues report them and your configuration. That is something we can discuss about. =E2=80=8Bcheers luigi=E2=80=8B