From owner-freebsd-net@freebsd.org Sun Oct 11 08:49:51 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 CF0BAA11C2B for ; Sun, 11 Oct 2015 08:49:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BBAF82D1 for ; Sun, 11 Oct 2015 08:49:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9B8npoj022646 for ; Sun, 11 Oct 2015 08:49:51 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 203630] [Hyper-V] [nat] [tcp] 10.2 NAT bug in TCP stack or hyperv netsvc driver Date: Sun, 11 Oct 2015 08:49:52 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Sun, 11 Oct 2015 08:49:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203630 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |freebsd-net@FreeBSD.org -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Sun Oct 11 12:44:05 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 AB99599AD6D for ; Sun, 11 Oct 2015 12:44:05 +0000 (UTC) (envelope-from abasterfield@gmail.com) Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 473AD1B94 for ; Sun, 11 Oct 2015 12:44:05 +0000 (UTC) (envelope-from abasterfield@gmail.com) Received: by wijq8 with SMTP id q8so22585979wij.0 for ; Sun, 11 Oct 2015 05:44:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:subject:to:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=KJzHdzX+wXqWl8Ey7AWkEr0RvPBtkht4mfO4K2BZ+sE=; b=CHNJO83zDIk897zC1deVRZii/7CeOx6M/1kmksHI4Uw73HgtqGnhB+1u7tyXl+qDpk zRoIULzRRfuPE9TN5f+nE+Un6Q8x8rKfmKHaLM3wI3k6jK6xu+5sqsOaKS9oRn1LyX/i C0iLQMq4IQgi0/5BcYKOtZyufu5nZR32QVA6Tv3jHM4ygWOdXPVpYtr7Ra/H65T+CMts Vpvcd6uvxI3PyIVZrRAme5vr5GifdDokDYPqIgoQBiqJ9BFKhss5QFOXsEundAGinKzR IKaGXzI5YlwUJO9jvLos/epsZcFhNqkEPrN/5mcsYaQU/2wO3lCGjlurDcgr5rEJvsNu GIcg== X-Received: by 10.180.211.10 with SMTP id my10mr9584927wic.84.1444567443852; Sun, 11 Oct 2015 05:44:03 -0700 (PDT) Received: from snot.lan (98.18.187.81.in-addr.arpa. [81.187.18.98]) by smtp.googlemail.com with ESMTPSA id bf8sm13642038wjc.22.2015.10.11.05.44.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Oct 2015 05:44:02 -0700 (PDT) From: Andrew Basterfield Subject: >4K writes to BPF To: freebsd-net@freebsd.org Message-ID: <561A5991.5010601@gmail.com> Date: Sun, 11 Oct 2015 13:44:01 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed 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: Sun, 11 Oct 2015 12:44:05 -0000 Hi I am playing with jumbo frames in vblade, which uses write(2) on BPF to put it's raw AoE packets onto ethernet. The problem I am having is with jumbo frames; when the write is greater than 4K it fails with I/O error. Is this tweakable or fundamental? I have tried ramping up net.raw.* from 8K to 32K; no joy thanks Andrew Basterfield From owner-freebsd-net@freebsd.org Sun Oct 11 21:00:15 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 5FC1FA11FE1 for ; Sun, 11 Oct 2015 21:00:15 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3A1F11859 for ; Sun, 11 Oct 2015 21:00:15 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9BL0FBJ053208 for ; Sun, 11 Oct 2015 21:00:15 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201510112100.t9BL0FBJ053208@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-net@FreeBSD.org Subject: Problem reports for freebsd-net@FreeBSD.org that need special attention X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 Date: Sun, 11 Oct 2015 21:00:15 +0000 Content-Type: text/plain; charset="UTF-8" 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: Sun, 11 Oct 2015 21:00:15 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 200221 | em0 watchdog timeout under load Open | 194515 | Fatal Trap 12 Kernel with vimage Open | 199136 | [if_tap] Added down_on_close sysctl variable to t 3 problems total for which you should take action. From owner-freebsd-net@freebsd.org Mon Oct 12 03:01:45 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 097E8A118E3 for ; Mon, 12 Oct 2015 03:01:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EAC30121E for ; Mon, 12 Oct 2015 03:01:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9C31ifH055760 for ; Mon, 12 Oct 2015 03:01:44 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 203630] [Hyper-V] [nat] [tcp] 10.2 NAT bug in TCP stack or hyperv netsvc driver Date: Mon, 12 Oct 2015 03:01:44 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: weh@microsoft.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 12 Oct 2015 03:01:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203630 Wei Hu changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |weh@microsoft.com --- Comment #4 from Wei Hu --- Somebody else also reported the similar issue on 10.2. Unfortunately I cannot find a way to reproduce it in house. Can you provide a detailed step for me to repro, such as the pf.conf file, and NAT config in detail? Also are you using Vlan? Thanks. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Mon Oct 12 11:00:25 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 1E767A11305 for ; Mon, 12 Oct 2015 11:00:25 +0000 (UTC) (envelope-from drb@karlov.mff.cuni.cz) Received: from mail.karlov.mff.cuni.cz (mail.karlov.mff.cuni.cz [195.113.27.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.karlov.mff.cuni.cz", Issuer "TERENA SSL CA 3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D34761C7B for ; Mon, 12 Oct 2015 11:00:24 +0000 (UTC) (envelope-from drb@karlov.mff.cuni.cz) Received: from nat-r.karlov.mff.cuni.cz ([195.113.27.73] helo=[10.32.82.28]) by mail.karlov.mff.cuni.cz with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85 (FreeBSD)) (envelope-from ) id 1ZlaWf-00072o-Ps for freebsd-net@freebsd.org; Mon, 12 Oct 2015 12:40:17 +0200 To: freebsd-net@freebsd.org From: =?UTF-8?Q?Tom=c3=a1=c5=a1_Drbohlav?= Subject: Lost packets in IPFilter 5 Message-ID: <561B8E10.2070701@karlov.mff.cuni.cz> Date: Mon, 12 Oct 2015 12:40:16 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed 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, 12 Oct 2015 11:00:25 -0000 Hello, we are preparing upgrade (new box with new install) for our gateway serving tens (small hundreds) of clients (mostly office desktops plus some special servers, e.g. Nagios monitoring of thousand items), dozen of networks, routed or NATed among them and NATed to outside world. All of that based on ipfilter. The setup is working for us for years on 8.2-RELEASE. We had prepared same setup on 10.2 p4 and when put in the wild we started to see missing packets possibly somewhere inside the new box (tcpdump see them on source machine, on inner interface of NAT but not on outside interface of NAT). After that we stepped back and prepare test setup (most of the config on 10.2 box is left as it was when seeing problems) and the problem is reproducible. We tried new build with LARGE_NAT setup and nothing changed. We have also tried to limit age of NAT mapping in config, it took a bit longer for the first occurrence. Our NAT setup is quite simple, few of: map intA XX.XX.XX.0/24 -> YY.YY.YY.YY/32 proxy port 21 ftp/tcp map intA XX.XX.XX.0/24 -> YY.YY.YY.YY/32 portmap tcp/udp auto map intA XX.XX.XX.0/24 -> YY.YY.YY.YY/32 We also tried to change network card, same behavior on 10G and 1G one. Test setup: inner machine sends ICMP ping (100/s, in groups by 10; 'ping -i 0.01 -c 10'), tested box NATs them out to ping responder and ICMP responses packets go through NAT again to inner machine. After a while, some of packets did make it out. It takes few minutes, tens of minutes to appear first and is slightly getting worse in time. We have narrowed it down to sys/contrib/netinet/ip_nat.c line 2687, where 'exhausted out' gets incremented (we have tested and ruled out other two places, where 'exhausted out' is used). We also see that when one packet is eaten, rest of them from same group do not make it either. Right now we cannot put new box into production, loss rate (we have not counted that exactly, but it is one packet in hundreds) is too big at least for Nagios. I see two choices for us: try to fix/find out what is wrong with ipfilter or switch to PF (some major config syntax challenges beeing ahead). So: any ideas about ipfilter? I will be happy to provide any information anyone finds important. All thoughts welcome! Bye Tomas Drbohlav From owner-freebsd-net@freebsd.org Mon Oct 12 14:00:26 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 51E21A110E0 for ; Mon, 12 Oct 2015 14:00:26 +0000 (UTC) (envelope-from juliank@tzi.de) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 37206A2B for ; Mon, 12 Oct 2015 14:00:26 +0000 (UTC) (envelope-from juliank@tzi.de) Received: by mailman.ysv.freebsd.org (Postfix) id 33CD8A110DE; Mon, 12 Oct 2015 14:00:26 +0000 (UTC) Delivered-To: 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 3366DA110DC for ; Mon, 12 Oct 2015 14:00:26 +0000 (UTC) (envelope-from juliank@tzi.de) Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailhost.informatik.uni-bremen.de", Issuer "Universitaet Bremen CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CA007A24; Mon, 12 Oct 2015 14:00:25 +0000 (UTC) (envelope-from juliank@tzi.de) X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [134.102.201.11]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id t9CE0Lhk000340; Mon, 12 Oct 2015 16:00:21 +0200 (CEST) Received: from [IPv6:2001:470:7408:0:d154:d393:d95d:aafa] (unknown [IPv6:2001:470:7408:0:d154:d393:d95d:aafa]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 3nZM8j09mDz4ng9; Mon, 12 Oct 2015 16:00:21 +0200 (CEST) Subject: Re: Page fault after destroying/reconfiguring GRE interface To: "Andrey V. Elsukov" , "net@freebsd.org" References: <56106056.7040006@tzi.de> <56118C9A.7080303@FreeBSD.org> <5612B688.9000803@tzi.de> <5612C014.7090506@FreeBSD.org> From: Julian Kornberger Message-ID: <561BBCF3.6010609@tzi.de> Date: Mon, 12 Oct 2015 16:00:19 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <5612C014.7090506@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed 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, 12 Oct 2015 14:00:26 -0000 Hi Andrey, thanks for your hint. After compiling the kernel with revision 288529 it does not crash any more. Can this patch be merged into releng/10.2? Kind Regards, Julian Kornberger From owner-freebsd-net@freebsd.org Tue Oct 13 00:04:20 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 387F39D1322 for ; Tue, 13 Oct 2015 00:04:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 24AC8F25 for ; Tue, 13 Oct 2015 00:04:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9D04KwA054184 for ; Tue, 13 Oct 2015 00:04:20 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 203630] [Hyper-V] [nat] [tcp] 10.2 NAT bug in TCP stack or hyperv netsvc driver Date: Tue, 13 Oct 2015 00:04:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: onyx@netfusion.fr X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Tue, 13 Oct 2015 00:04:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203630 --- Comment #5 from onyx@netfusion.fr --- I encounter the same problem in a slightly different configuration: - Hyper-V 2012, hosting: -- FreeBSD 10.2 x64 with MPD acting as a PPTP server -- Windows 7 - Clients on the LAN (misc OS), inclding an old FreeBSD 6.1 - Clients connected to FreeBSD 10.2 VM by PPTP (MPD5) using misc OS as well Firewalls turned off. * TCP, UDP, ICMP work: - between all PPTP clients - between a PPTP client, FreeBSD and the Windows 7 virtual machine - between FreeBSD and local machines on the LAN * TCP doesn't work between a PPTP client and machines on the LAN. I tried to investigate by opening a TCP connection on port 80 from a PPTP client to the old FreeBSD 6.1 on the LAN. There is a part of the tcpdump I ran on that old FreeBSD 6.1: IP (tos 0x0, ttl 127, id 20111, offset 0, flags [DF], proto: TCP (6), length: 48) pc-ed.lan.domain.fr.56026 > srv-mandy.lan.domain.fr.http: S, cksum 0x84d6 (incorrect (-> 0x7c54), 2429810306:2429810306(0) win 8192 I have read that having an incorrect checksum was normal, so I guess the problem doesn't come from that. >From what I saw, the problem occurs as long as the FreeBSD 10.2 is used as a gateway (NAT or not). Let me know if I can do other tests to help you investigate the problem. Any help would be appreciated. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Tue Oct 13 15:00:05 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 C8A069D2C76 for ; Tue, 13 Oct 2015 15:00:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B608D628 for ; Tue, 13 Oct 2015 15:00:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9DF05nd068086 for ; Tue, 13 Oct 2015 15:00:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 203735] Transparent interception of ipv6 with squid and pf causes panic Date: Tue, 13 Oct 2015 15:00:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-pf@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Tue, 13 Oct 2015 15:00:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203735 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |freebsd-net@FreeBSD.org Assignee|freebsd-bugs@FreeBSD.org |freebsd-pf@FreeBSD.org -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Wed Oct 14 04:37:40 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 A1073A12435 for ; Wed, 14 Oct 2015 04:37:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8D75D7A for ; Wed, 14 Oct 2015 04:37:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9E4beGf045414 for ; Wed, 14 Oct 2015 04:37:40 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 203630] [Hyper-V] [nat] [tcp] 10.2 NAT bug in TCP stack or hyperv netsvc driver Date: Wed, 14 Oct 2015 04:37:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: weh@microsoft.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Wed, 14 Oct 2015 04:37:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203630 --- Comment #6 from Wei Hu --- Created attachment 162011 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=162011&action=edit Revert TSO and checksum offloading patch r285236 in Netvsc driver -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Wed Oct 14 04:38:56 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 7E826A124EC for ; Wed, 14 Oct 2015 04:38:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6B20A1D3 for ; Wed, 14 Oct 2015 04:38:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9E4cu3r047374 for ; Wed, 14 Oct 2015 04:38:56 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 203630] [Hyper-V] [nat] [tcp] 10.2 NAT bug in TCP stack or hyperv netsvc driver Date: Wed, 14 Oct 2015 04:38:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: weh@microsoft.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Wed, 14 Oct 2015 04:38:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203630 --- Comment #7 from Wei Hu --- If you have the test environment and can try something, can you apply the attached patch on the 10.2 server and see if the problem still occurs? The patch is a revert of r285236, which I suspect may be the culprit. But I don't have environment to reproduce. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Wed Oct 14 16:22:14 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 24AD9A13D46 for ; Wed, 14 Oct 2015 16:22:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8F51EA10 for ; Wed, 14 Oct 2015 16:22:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9EGMDm8008467 for ; Wed, 14 Oct 2015 16:22:13 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 193579] [axge] axge driver issue with tcp checksum offload with pf nat Date: Wed, 14 Oct 2015 16:22:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Wed, 14 Oct 2015 16:22:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193579 --- Comment #3 from commit-hook@freebsd.org --- A commit references this bug: Author: kp Date: Wed Oct 14 16:21:41 UTC 2015 New revision: 289316 URL: https://svnweb.freebsd.org/changeset/base/289316 Log: pf: Fix TSO issues In certain configurations (mostly but not exclusively as a VM on Xen) pf produced packets with an invalid TCP checksum. The problem was that pf could only handle packets with a full checksum. The FreeBSD IP stack produces TCP packets with a pseudo-header checksum (only addresses, length and protocol). Certain network interfaces expect to see the pseudo-header checksum, so they end up producing packets with invalid checksums. To fix this stop calculating the full checksum and teach pf to only update TCP checksums if TSO is disabled or the change affects the pseudo-header checksum. PR: 154428, 193579, 198868 Reviewed by: sbruno MFC after: 1 week Relnotes: yes Sponsored by: RootBSD Differential Revision: https://reviews.freebsd.org/D3779 Changes: head/sys/net/pfvar.h head/sys/netpfil/pf/pf.c head/sys/netpfil/pf/pf_ioctl.c head/sys/netpfil/pf/pf_norm.c -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Wed Oct 14 16:49:41 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 6B09CA136DA for ; Wed, 14 Oct 2015 16:49:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 57F341D06 for ; Wed, 14 Oct 2015 16:49:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9EGnfnx050868 for ; Wed, 14 Oct 2015 16:49:41 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 203630] [Hyper-V] [nat] [tcp] 10.2 NAT bug in TCP stack or hyperv netsvc driver Date: Wed, 14 Oct 2015 16:49:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: onyx@netfusion.fr X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Wed, 14 Oct 2015 16:49:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203630 --- Comment #8 from Eddy --- Everything seems to work with the patch. This is what I did: - Create a clean new VM with FreeBSD 10.2 on the Hyper-V server. - Activated IP forwarding: sysctl net.inet.ip.forarding=1 - On another computer (same LAN, running Windows 10): set the default gateway to the new FreeBSD test VM. Ping/tracert to the internet work. TCP doesn't work. - Patch netvsc with the r285236 file you provided, in the /usr/src/sys/dev/hyperv/netvsc/ folder (patch -i r285236) - Rebuild and install the kernel, then reboot. - TCP works from the LAN machines. Thanks Wei! Please note that I couldn't test it in a PPTP or NAT configuration. Now I wait for the patch to be included in the next FreeBSD update (since I usually don't build custom kernel). -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Wed Oct 14 19:27:42 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 A00A3A15A93 for ; Wed, 14 Oct 2015 19:27:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8CCEBEA1 for ; Wed, 14 Oct 2015 19:27:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9EJRgB2051123 for ; Wed, 14 Oct 2015 19:27:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 193579] [axge] axge driver issue with tcp checksum offload with pf nat Date: Wed, 14 Oct 2015 19:27:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: fireball@zerouptime.ch X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Wed, 14 Oct 2015 19:27:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193579 --- Comment #4 from fireball@zerouptime.ch --- Outstanding! That's probably it, since I also had this issue on ESXi Server hosts. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Thu Oct 15 09:04:06 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 AEACD9B6A21 for ; Thu, 15 Oct 2015 09:04:06 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8A17318CE for ; Thu, 15 Oct 2015 09:04:06 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-229-241.lns20.per1.internode.on.net [121.45.229.241]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id t9F941Js033315 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 15 Oct 2015 02:04:04 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: nice stuff from cloudflare (and, we need something like ethtool!) To: freebsd-net@freebsd.org References: From: Julian Elischer Message-ID: <561F6BFB.7080103@freebsd.org> Date: Thu, 15 Oct 2015 17:03:55 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed 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, 15 Oct 2015 09:04:06 -0000 On 10/10/15 10:59 PM, Luigi Rizzo wrote: > the nice folks at cloudflare implemented a nice feature > in netmap that puts some queues of the NIC in netmap mode > leaving others attached to the host stack > > https://blog.cloudflare.com/single-rx-queue-kernel-bypass-with-netmap/ > > and use ethtool (and native NIC filters) to steer traffic around. > [FWIW, the chelsio native netmap driver is similar except that > the netmap queue has a different MAC address] > > While their code was developed on linux, it should run > almost unmodified on FreeBSD (and we plan to import it soon), > except for the fact that we don't have ethtool hence no > device-independent mechanism to configure traffic steering. > > We really need to address the latter. I suspect the answer may be a device dependent sysctl > > cheers > luigi > > From owner-freebsd-net@freebsd.org Thu Oct 15 17:12:46 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 60A90A15B65 for ; Thu, 15 Oct 2015 17:12:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DD74886 for ; Thu, 15 Oct 2015 17:12:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9FHCkAK028227 for ; Thu, 15 Oct 2015 17:12:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 164763] [vnet] Memory leak in VNET Date: Thu, 15 Oct 2015 17:12:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 9.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 15 Oct 2015 17:12:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=164763 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Affects Only Me |Affects Many People --- Comment #6 from Hiren Panchasara --- Following appeared on freebsd-bugs@ so adding here: Hello FreeBSD folks, I'm Sudarshan, a Software Engineer from a Networking team at NetApp. While working on a bug, I observed a memory leak in keg_dtor() and looking at the call stack it looks like the FreeBSD bug 164763, i.e. memory leak during vnet_sysuninit() triggered from the UDP path. Reference: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=164763 I read that the fix has been in the perforce branch for a while now and not sure if it got merged into HEAD. If the fix is already available as a patch, can you point me to the location? If not, can you provide an estimate as when would it be available? Looking forward to hear. Thanks, Sudarshan -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Thu Oct 15 19:07:40 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 54BD6A15676 for ; Thu, 15 Oct 2015 19:07:40 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x233.google.com (mail-ig0-x233.google.com [IPv6:2607:f8b0:4001:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 240F67D0; Thu, 15 Oct 2015 19:07:40 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igbkq10 with SMTP id kq10so21266592igb.0; Thu, 15 Oct 2015 12:07:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=CuYDnaDY/5UT7ArQF0iUlciIaE33DFKLRbCRvf+U6Bc=; b=FKj5JIdrc/ftGr41/0TnouMWSp78wmh+H35/KmYIG/SeEfhH1AgMRl4v6FBUFazRgD 1mej2nlXpNtj9V6gbBLcVhjoabN5jWfuhA9D3wGfdD2qT0EOD1dZcdzFIrW8UbBb1EvC DIYNkd3YzJce1m91/RUYv8nrg5lT7ygkWMUYxMdnpNgQv8KIFka4z6nbeTRn/lQeqmbV xZz8lOqk0JOMt2m9sScPkemA/Y7k7473LEnlBaxU5Gq0W5zM69ImJ7ezEYzqvcTfDdnu qiRUWtKegfwkOmgGH1WXyFEJw7LWjMzZrqL3J576/Z9LYTcCxli1uUFQbP1DBrOQ7zFt anzg== MIME-Version: 1.0 X-Received: by 10.50.61.243 with SMTP id t19mr634144igr.22.1444936059535; Thu, 15 Oct 2015 12:07:39 -0700 (PDT) Received: by 10.36.46.66 with HTTP; Thu, 15 Oct 2015 12:07:39 -0700 (PDT) In-Reply-To: <561F6BFB.7080103@freebsd.org> References: <561F6BFB.7080103@freebsd.org> Date: Thu, 15 Oct 2015 12:07:39 -0700 Message-ID: Subject: Re: nice stuff from cloudflare (and, we need something like ethtool!) From: Adrian Chadd To: Julian Elischer Cc: FreeBSD Net Content-Type: text/plain; charset=UTF-8 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, 15 Oct 2015 19:07:40 -0000 Bug me in like a week or two. I may just say "frack it" and start writing an ethtool analogue for FreeBSD. It's actually very easy; it's just not "BSD-y". (Mostly because I'm fed up with the two-hundred-odd entry ioctl structs for each wireless driver type just to pull out statistics. Ugh.) -a From owner-freebsd-net@freebsd.org Thu Oct 15 20:12:00 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 18FA8A15AB6 for ; Thu, 15 Oct 2015 20:12:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 06855135E for ; Thu, 15 Oct 2015 20:12:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9FKBxiA058017 for ; Thu, 15 Oct 2015 20:11:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 193986] [lor][network] multicast related Date: Thu, 15 Oct 2015 20:12:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kwm@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 15 Oct 2015 20:12:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193986 Koop Mast changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=2036 | |81 -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Thu Oct 15 20:14:10 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 DB84EA15C05 for ; Thu, 15 Oct 2015 20:14:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C8E2C163F for ; Thu, 15 Oct 2015 20:14:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9FKEAYM059832 for ; Thu, 15 Oct 2015 20:14:10 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 193986] [lor][network] multicast related Date: Thu, 15 Oct 2015 20:14:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kwm@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 15 Oct 2015 20:14:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193986 Koop Mast changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-net@FreeBSD.org |freebsd-wireless@FreeBSD.or | |g -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Fri Oct 16 05:06:26 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 1421CA16D97 for ; Fri, 16 Oct 2015 05:06:26 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 831E71FD8; Fri, 16 Oct 2015 05:06:24 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id t9G56MVb062277; Fri, 16 Oct 2015 16:06:22 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Fri, 16 Oct 2015 16:06:22 +1100 (EST) From: Ian Smith To: Julian Elischer cc: freebsd-net@freebsd.org Subject: Re: nice stuff from cloudflare (and, we need something like ethtool!) In-Reply-To: <561F6BFB.7080103@freebsd.org> Message-ID: <20151016154512.T15983@sola.nimnet.asn.au> References: <561F6BFB.7080103@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: Fri, 16 Oct 2015 05:06:26 -0000 On Thu, 15 Oct 2015 17:03:55 +0800, Julian Elischer wrote: > On 10/10/15 10:59 PM, Luigi Rizzo wrote: > > the nice folks at cloudflare implemented a nice feature > > in netmap that puts some queues of the NIC in netmap mode > > leaving others attached to the host stack > > > > https://blog.cloudflare.com/single-rx-queue-kernel-bypass-with-netmap/ > > > > and use ethtool (and native NIC filters) to steer traffic around. > > [FWIW, the chelsio native netmap driver is similar except that > > the netmap queue has a different MAC address] > > > > While their code was developed on linux, it should run > > almost unmodified on FreeBSD (and we plan to import it soon), > > except for the fact that we don't have ethtool hence no > > device-independent mechanism to configure traffic steering. > > > > We really need to address the latter. > > I suspect the answer may be a device dependent sysctl Interesting; care to flesh out your ideas a bit on how that might work? I've done nothing more than skim ethtool(8) on linuxcommand.org, and wondered why its functionality wasn't incorporated into ifconfig, but then ifconfig (on FreeBSD anyway) is tending towards obesity already .. cheers, Ian From owner-freebsd-net@freebsd.org Fri Oct 16 05:25:46 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 7C8F4A1628B for ; Fri, 16 Oct 2015 05:25:46 +0000 (UTC) (envelope-from jim@netgate.com) Received: from mail-ob0-x22b.google.com (mail-ob0-x22b.google.com [IPv6:2607:f8b0:4003:c01::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 41A3FEA4 for ; Fri, 16 Oct 2015 05:25:46 +0000 (UTC) (envelope-from jim@netgate.com) Received: by obbda8 with SMTP id da8so82790527obb.1 for ; Thu, 15 Oct 2015 22:25:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netgate.com; s=google; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=AMj8wj/lPAjvWHq9tMKmrMrT9PFwF5AzP3xmkErWn98=; b=YsCXP1w5/6ihG28DMHt1vADlsWA7P9Oj9E02ygKrkx/GR+Qyj3X0qL7L3nDyTVvKHG 3oEQEE0KYBqj55gqVp7hrQS6ATo4nbhAkJMNY7/h4XpVtANpcCf6Qy/2sPo9qp+aNT8x 4ZhE2ZjdUs/xuUNCnxZiMuLkh8MzH9GrrE2jU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=AMj8wj/lPAjvWHq9tMKmrMrT9PFwF5AzP3xmkErWn98=; b=QSK8Lj8bA7nhtTWpx7Zh4pigL2M5h1r24Bn+9cXALmOMkpdAC/ATKZ4hqvbTwqXtb1 gs73Kvmq5GJdG4mW+BXdCjEU+wRX3naCC3wTCkbZfOkCLsEOPVh8CWI8k96gfj75yMKw /dVkqibzkK750QSLWwISJIkk4wD8dFiaaNr5HxP5sgAO55Vg2c8oPLplUucrwayAnerU wLY0Gn0qnuOZNnUhisFzd+vMDdjkRQgSku17RtKi9KRA14oa5MF25lEVnR1YIT6ccaFy zJvRT2f9+igL2y4s7DZBIlEs7r3vWI6ZlCVY1gf87JY5smW2jXttpLCP0ppd6PrY2WZn 6A3A== X-Gm-Message-State: ALoCoQni0llYWgV8AuY0qVw2Nv7v8gCGjaTu5cOdrkX6vjL5Q0MntsT9g+TvW31w8MuSHseBPI3T X-Received: by 10.182.19.234 with SMTP id i10mr507052obe.68.1444973144841; Thu, 15 Oct 2015 22:25:44 -0700 (PDT) Received: from [10.0.1.7] (cpe-72-182-54-177.austin.res.rr.com. [72.182.54.177]) by smtp.gmail.com with ESMTPSA id m10sm258122oex.12.2015.10.15.22.25.41 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 15 Oct 2015 22:25:42 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: nice stuff from cloudflare (and, we need something like ethtool!) From: Jim Thompson X-Mailer: iPhone Mail (13A452) In-Reply-To: <20151016154512.T15983@sola.nimnet.asn.au> Date: Fri, 16 Oct 2015 00:25:41 -0500 Cc: Julian Elischer , freebsd-net@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: References: <561F6BFB.7080103@freebsd.org> <20151016154512.T15983@sola.nimnet.asn.au> To: Ian Smith 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: Fri, 16 Oct 2015 05:25:46 -0000 > On Oct 16, 2015, at 12:06 AM, Ian Smith wrote: > >> On Thu, 15 Oct 2015 17:03:55 +0800, Julian Elischer wrote: >>> On 10/10/15 10:59 PM, Luigi Rizzo wrote: >>> the nice folks at cloudflare implemented a nice feature >>> in netmap that puts some queues of the NIC in netmap mode >>> leaving others attached to the host stack >>> >>> https://blog.cloudflare.com/single-rx-queue-kernel-bypass-with-netmap/ >>> >>> and use ethtool (and native NIC filters) to steer traffic around. >>> [FWIW, the chelsio native netmap driver is similar except that >>> the netmap queue has a different MAC address] >>> >>> While their code was developed on linux, it should run >>> almost unmodified on FreeBSD (and we plan to import it soon), >>> except for the fact that we don't have ethtool hence no >>> device-independent mechanism to configure traffic steering. >>> >>> We really need to address the latter. >> >> I suspect the answer may be a device dependent sysctl > > Interesting; care to flesh out your ideas a bit on how that might work? > > I've done nothing more than skim ethtool(8) on linuxcommand.org, and > wondered why its functionality wasn't incorporated into ifconfig, but > then ifconfig (on FreeBSD anyway) is tending towards obesity already Luigi already did netlink sockets for FreeBSD. https://github.com/luigirizzo/netlink-freebsd How difficult could it be to adapt ethtool to that? Jim From owner-freebsd-net@freebsd.org Fri Oct 16 08:03:16 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 2C694A165AC for ; Fri, 16 Oct 2015 08:03:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 190B217E2 for ; Fri, 16 Oct 2015 08:03:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9G83FlI082960 for ; Fri, 16 Oct 2015 08:03:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 203630] [Hyper-V] [nat] [tcp] 10.2 NAT bug in TCP stack or hyperv netsvc driver Date: Fri, 16 Oct 2015 08:03:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: weh@microsoft.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Fri, 16 Oct 2015 08:03:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203630 --- Comment #9 from Wei Hu --- (In reply to Eddy from comment #8) > This is what I did: > > - Create a clean new VM with FreeBSD 10.2 on the Hyper-V server. > - Activated IP forwarding: sysctl net.inet.ip.forarding=1 > - On another computer (same LAN, running Windows 10): set the default gateway to the new FreeBSD test VM. Ping/tracert to the internet work. TCP doesn't work. In above setting, how can pinging from Windows 10 machine to internet work? The machine in the internet doesn't have routing knowledge to send the packet back to Windows 10 client which is inside LAN. Are you using NAT on the FreeBSD 10.2 server? When I enabled the NAT, everything seems working in on 10.2 as a gateway. So overall, I think the r285236 is the cause of the problem. However, since I still cannot reproduce and r285236 is a big change, I cannot narrow down to smaller part for sure. We come up with a suspecting code path. Attached is another patch which you can test for us. Please apply this directly on clean 10.2 code (not on the patch I attached earlier.) This new patch just disabled the checksum offloading. See if this one can help solve the issue you are seeing. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Fri Oct 16 08:04:40 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 0D9E1A16687 for ; Fri, 16 Oct 2015 08:04:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EC0DE19E6 for ; Fri, 16 Oct 2015 08:04:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9G84d8r084161 for ; Fri, 16 Oct 2015 08:04:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 203630] [Hyper-V] [nat] [tcp] 10.2 NAT bug in TCP stack or hyperv netsvc driver Date: Fri, 16 Oct 2015 08:04:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: weh@microsoft.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Fri, 16 Oct 2015 08:04:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203630 --- Comment #10 from Wei Hu --- Created attachment 162111 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=162111&action=edit Only disable checksum offloading on 10.2 -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Fri Oct 16 13:21:15 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 EA0E9A16D13 for ; Fri, 16 Oct 2015 13:21:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D6B5B1568 for ; Fri, 16 Oct 2015 13:21:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9GDLFpc080108 for ; Fri, 16 Oct 2015 13:21:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 203630] [Hyper-V] [nat] [tcp] 10.2 NAT bug in TCP stack or hyperv netsvc driver Date: Fri, 16 Oct 2015 13:21:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: onyx@netfusion.fr X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Fri, 16 Oct 2015 13:21:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203630 --- Comment #11 from Eddy --- I have a separate NAT router between the VM and the Internet, but not on the FreeBSD 10.2 server: PC-LAN-WIN10 <------> FREEBSD 10.2 VM <------> NAT_ROUTER <------> INTERNET I added the NAT router as a default route on the FreeBSD test VM before doing the tests: # route add default 192.168.1.254 I just tried to build a new kernel with the last "disable_csum_20151016.patch" you provided but I am stuck with an error: /usr/src/sys/dev/hyperv/netvsc/hv_rndis_filter.c:828:11 error: unused variable `dev` [-Werror,-Wunused-variable] device_t dev = device->device; ^ -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Fri Oct 16 17:56:41 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 D4F3AA1725A; Fri, 16 Oct 2015 17:56:41 +0000 (UTC) (envelope-from david.somayajulu@qlogic.com) Received: from mx0a-0016ce01.pphosted.com (mx0a-0016ce01.pphosted.com [67.231.148.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AFACF1D4E; Fri, 16 Oct 2015 17:56:41 +0000 (UTC) (envelope-from david.somayajulu@qlogic.com) Received: from pps.filterd (m0045602.ppops.net [127.0.0.1]) by mx0a-0016ce01.pphosted.com (8.15.0.59/8.15.0.59) with SMTP id t9GHqgL7030968; Fri, 16 Oct 2015 10:56:35 -0700 Received: from avcashub1.qlogic.com (avcashub3.qlogic.com [198.70.193.117]) by mx0a-0016ce01.pphosted.com with ESMTP id 1xk5tm80pr-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 16 Oct 2015 10:56:35 -0700 Received: from AVMB1.qlogic.org ([fe80::b816:e739:5ab3:5221]) by avcashub3.qlogic.org ([::1]) with mapi id 14.03.0235.001; Fri, 16 Oct 2015 10:56:34 -0700 From: David Somayajulu To: "freebsd-net@freebsd.org" , "freebsd-drivers@freebsd.org" Subject: Question on mbufs Thread-Topic: Question on mbufs Thread-Index: AdEIO7AvSu506SP2S+eNjYbnXXYYKQ== Date: Fri, 16 Oct 2015 17:56:33 +0000 Message-ID: <49F5640B08EAA94DAF2F6B6145E6A08A0194383DC4@AVMB1.qlogic.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.1.4.10] MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=nai engine=5700 definitions=7956 signatures=670649 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1011 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1507310000 definitions=main-1510160316 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Fri, 16 Oct 2015 17:56:42 -0000 Hi All, When indicating a chain of mbufs to the network via ifp->if_input(), what a= re the repercussions of setting M_PKTHDR bit in all the mbufs in the chain,= instead of just the first mbuf ? Thanks David S. ________________________________ This message and any attached documents contain information from the sendin= g company or its parent company(s), subsidiaries, divisions or branch offic= es that may be confidential. If you are not the intended recipient, you may= not read, copy, distribute, or use this information. If you have received = this transmission in error, please notify the sender immediately by reply e= -mail and then delete this message. From owner-freebsd-net@freebsd.org Sat Oct 17 12:16:57 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 5130EA1721F for ; Sat, 17 Oct 2015 12:16:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3DAF3B71 for ; Sat, 17 Oct 2015 12:16:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9HCGvpe021767 for ; Sat, 17 Oct 2015 12:16:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 152235] [arp] Permanent local ARP entries are not properly updated after MAC address change Date: Sat, 17 Oct 2015 12:16:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 9.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: melifaro@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: melifaro@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Sat, 17 Oct 2015 12:16:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=152235 Alexander V. Chernikov changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-net@FreeBSD.org |melifaro@FreeBSD.org CC| |melifaro@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Sat Oct 17 12:47:41 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 01E2AA17C80 for ; Sat, 17 Oct 2015 12:47:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E2E311A0F for ; Sat, 17 Oct 2015 12:47:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9HCleL9063138 for ; Sat, 17 Oct 2015 12:47:40 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 166285] [arp] FreeBSD v8.1 REL p8 arp: unknown hardware address format (0x0fff) Date: Sat, 17 Oct 2015 12:47:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: melifaro@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Sat, 17 Oct 2015 12:47:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=166285 Alexander V. Chernikov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |melifaro@FreeBSD.org Status|In Progress |Open --- Comment #2 from Alexander V. Chernikov --- Most probably, that was triggered by some other device in network generating such "strange" arp packets. It should be possible to find those packets by doing something like "tcpdump -i XXX -lnevs100 arp" (where XXX is the interface name) and looking for ethertype value (and source mac address). While it is questionable if FreeBSD should yell on invalid arp packets instead of silently ignoring them, this is not a (FreeBSD) bug. I'd like to close this PR if there are no other questions/comments. -- You are receiving this mail because: You are the assignee for the bug.