From owner-freebsd-net@freebsd.org Mon Dec 21 23:06:32 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 BA072A4F654 for ; Mon, 21 Dec 2015 23:06:32 +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 96ED319F5 for ; Mon, 21 Dec 2015 23:06:32 +0000 (UTC) (envelope-from h.rezaee@ideatech.io) Received: from hadi-pc.my.domain (unknown [83.123.15.86]) by mail.ideatech.io (Postfix) with ESMTPSA id 177001125B2 for ; Mon, 21 Dec 2015 18:01:15 -0500 (EST) Subject: Re: problem with tcpdump/netmap To: freebsd-net@freebsd.org References: <5669D94A.6010505@ideatech.io> From: Hadi Rezaee Message-ID: <567884B6.80004@ideatech.io> Date: Tue, 22 Dec 2015 02:31:10 +0330 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <5669D94A.6010505@ideatech.io> Content-Type: text/plain; charset=windows-1252 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: Mon, 21 Dec 2015 23:06:32 -0000 Well, it seems the netmap integration with libpcap is only available for FreeBSD-11-CURRENT ? is that correct ? Thanks, On 12/10/2015 23:28, Hadi Rezaee wrote: > 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 > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > -- Hadi Rezaee +98 912 1403571 IdeaTech.io