From owner-freebsd-net@freebsd.org Thu Dec 10 19:04:50 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 694D19D5A60 for ; Thu, 10 Dec 2015 19:04:50 +0000 (UTC) (envelope-from h.rezaee@ideatech.io) Received: from mail.ideatech.io (mail.ideatech.io [104.131.120.36]) by mx1.freebsd.org (Postfix) with ESMTP id 4BB52126D for ; Thu, 10 Dec 2015 19:04:49 +0000 (UTC) (envelope-from h.rezaee@ideatech.io) Received: from hadi-pc.my.domain (unknown [5.106.69.153]) by mail.ideatech.io (Postfix) with ESMTPSA id 202F71125B2 for ; Thu, 10 Dec 2015 13:55:27 -0500 (EST) To: freebsd-net@freebsd.org From: Hadi Rezaee Subject: problem with tcpdump/netmap X-Enigmail-Draft-Status: N1110 Message-ID: <5669D94A.6010505@ideatech.io> Date: Thu, 10 Dec 2015 23:28:02 +0330 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2015 19:04:50 -0000 Hey there, I rebuild my box (FreeBSD 10.2R amd64) with netmap support. Just to check if everything going well, I connected my laptop to another machine in same ip range. The problem is when I issue "tcpdump -i netmap:re0" command to capture packets, I see different results but all of them will fail eventually .. for example: 1) the capturing will start successfully , I'll see some output on screen and after seconds capturing will stop and the interface will lose the IP address! 2) the capturing will start successfully , nothing will printed on screen ... but the interface keep the IP address along with NETMAP flag and at the end the stat will be: 0 packets captured 1904 packets received by filter 0 packets dropped by kernel please note than when i use tcpdump normally (without netmap), the capturing process just run successfully ... Thanks, Hadi