From owner-freebsd-net@FreeBSD.ORG Sat Oct 19 09:01:02 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 651324E7 for ; Sat, 19 Oct 2013 09:01:02 +0000 (UTC) (envelope-from s.khanchi@gmail.com) Received: from mail-la0-x234.google.com (mail-la0-x234.google.com [IPv6:2a00:1450:4010:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E79A52F34 for ; Sat, 19 Oct 2013 09:01:01 +0000 (UTC) Received: by mail-la0-f52.google.com with SMTP id ev20so1574650lab.11 for ; Sat, 19 Oct 2013 02:01:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=/G7iOXEUofFfsEOjI3ddVT/Fnsj0tz31/VwUC2nh+2s=; b=X2h6JGfYOmvtfopw5Cm5OuEWutB2beftKOZbHnOWTVP7th7SkX2FGxataO19XuRwFP wakbDPNnlAAMe6EKaTNxnM2fdt52xV7dmwBGgXv6Y79Etz9ps7+WYCpCIRclhR5PavPj kS0L0o7KAKojBJSyFNYRls8usxqEXOrRnP4Oiw9aBE/laIWTUqPlqIn8z6ptogiAPd5f OSO4Zxnf839ty/h/BtM8jsNd5ELMOtt3ivHwytf34ZGu5hAQRFil6QZjSxGXYveG/YAM ZcqI1xUeVX/lJTuCbcQx5gmEFyzio7NfvToCvOzUsjO4E/gWPg3p0/DdpLK/MC2JmA66 k0pA== X-Received: by 10.152.5.162 with SMTP id t2mr5454019lat.1.1382173259880; Sat, 19 Oct 2013 02:00:59 -0700 (PDT) MIME-Version: 1.0 Sender: s.khanchi@gmail.com Received: by 10.114.161.109 with HTTP; Sat, 19 Oct 2013 02:00:39 -0700 (PDT) From: h bagade Date: Sat, 19 Oct 2013 12:30:39 +0330 X-Google-Sender-Auth: EncgL3g7KHB8N4wHMSf_ldwF_K4 Message-ID: Subject: Netmap and in-kernel IPFW interactions! To: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Oct 2013 09:01:02 -0000 Hi Everybody, I have compiled my kernel with support of netmap without any changes on ipfw. Afterwards, I defined ipfw rules and surprisingly they worked!! Before my experiment on ipfw, I'd thought because packets are reached to userspace directly by means of netmap, so in-kernel ipfw won't be able to check them in between?! Could anyone clarify me how in-kernel tools are able to work even after netmap is used?