From owner-freebsd-net@freebsd.org Sun Aug 20 04:24:43 2017 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 6B660DDD5BF for ; Sun, 20 Aug 2017 04:24:43 +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 59E9E72772 for ; Sun, 20 Aug 2017 04:24:43 +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 v7K4Of8i088368 for ; Sun, 20 Aug 2017 04:24:43 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221497] Inconsistency in NETWORK group files rights for PPP Date: Sun, 20 Aug 2017 04:24:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.23 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, 20 Aug 2017 04:24:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221497 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eugen@freebsd.org --- Comment #4 from Eugene Grosbein --- (In reply to Don Lewis from comment #3) > One thing that is a bit strange is why /usr/sbin/ppp gives read access to= other. Same reason: this binary code does not contain sensitive information. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Aug 20 08:31:25 2017 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 BD201DE73B8 for ; Sun, 20 Aug 2017 08:31:25 +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 ABB1F7CE99 for ; Sun, 20 Aug 2017 08:31:25 +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 v7K8VPu1090157 for ; Sun, 20 Aug 2017 08:31:25 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221497] Inconsistency in NETWORK group files rights for PPP Date: Sun, 20 Aug 2017 08:31:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: vermaden@interia.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.23 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, 20 Aug 2017 08:31:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221497 --- Comment #5 from vermaden@interia.pl --- My intention about asking for these gruops inconsistency was that if all pp= p(8) files were in the same network gruop with 'rwx' rights for the gruop, then a person in the network group could configre network for the system. Kinda poor man's RBAC. I would also add all ifconfig/route/... binaries to the network group so th= at not only 'ppp' networking would be configured by 'network' group, but all networking. As for the /etc/rc.conf, they should remain as 0:0, but /etc/rc.conf.d/netw= ork file can exist for that 'network' role. Regards, vermaden --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Aug 20 13:06:25 2017 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 8ACA6DD167C for ; Sun, 20 Aug 2017 13:06:25 +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 79346642E2 for ; Sun, 20 Aug 2017 13:06:25 +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 v7KD6PvF014794 for ; Sun, 20 Aug 2017 13:06:25 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221497] Inconsistency in NETWORK group files rights for PPP Date: Sun, 20 Aug 2017 13:06:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.23 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, 20 Aug 2017 13:06:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221497 --- Comment #6 from Eugene Grosbein --- (In reply to vermaden from comment #5) File permission for binaries cannot override a need for superuser privilegi= es this code needs to be able to do its job in FreeBSD. And superuser ignores group permissions, so the change would be pretty useless from practical poi= nt of view. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Aug 20 20:37:15 2017 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 624F3DEC105 for ; Sun, 20 Aug 2017 20:37: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 50C867218A for ; Sun, 20 Aug 2017 20:37: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 v7KKbFDx069558 for ; Sun, 20 Aug 2017 20:37:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221676] arp: invalid json output from libxo when bridge is present Date: Sun, 20 Aug 2017 20:37:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org 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: quoted-printable 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.23 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, 20 Aug 2017 20:37:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221676 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 21 06:11:33 2017 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 88926DEB01C for ; Mon, 21 Aug 2017 06:11:33 +0000 (UTC) (envelope-from gpillai@vmware.com) Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0051.outbound.protection.outlook.com [104.47.41.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 193D81F66; Mon, 21 Aug 2017 06:11:32 +0000 (UTC) (envelope-from gpillai@vmware.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onevmw.onmicrosoft.com; s=selector1-vmware-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=6jrYGt1wfj4arJyllnRmt4TLIEyehdTi8RkE39tTIf8=; b=quWk4Vnw/LToA7bwLlyVhgAXJzoErf/+TcV9Pe59KbM+ljCzyAauGRVtKh2tpHIeEXxjG4lYB/qH8TyMgpoc2QB7RCMejFE2IAzaS+N3vwyXY9GOAR06TLIAIfLQ9fi7rHAGSM57oAG8yDThOteOSJjA/UCtmACLVPzI1PMKLwQ= Received: from BN6PR05MB3074.namprd05.prod.outlook.com (10.172.145.144) by BN6PR05MB2964.namprd05.prod.outlook.com (10.173.18.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1341.9; Mon, 21 Aug 2017 06:11:30 +0000 Received: from BN6PR05MB3074.namprd05.prod.outlook.com ([10.172.145.144]) by BN6PR05MB3074.namprd05.prod.outlook.com ([10.172.145.144]) with mapi id 15.01.1385.008; Mon, 21 Aug 2017 06:11:30 +0000 From: Gopakumar Pillai To: Mike Karels , Julian Elischer CC: "Bjoern A. Zeeb" , "freebsd-net@FreeBSD.org" Subject: Re: Only last IP frag sent if ARP entry absent Thread-Topic: Only last IP frag sent if ARP entry absent Thread-Index: AQHTF54oAIaB9utuUkWJnCYLGMHoeqKJE8iA//+rw4CAALa/gIAB7cYAgACE0wCAAfs0gA== Date: Mon, 21 Aug 2017 06:11:30 +0000 Message-ID: References: <43CC3432-DB42-4170-B3E7-E305561973F3@lists.zabbadoz.net> <9B1B1A12-CD9F-4A9F-B596-A2F6E5BAED1E@karels.net> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [67.169.166.146] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BN6PR05MB2964; 20:VyBCnkLjjRhZoIn+E+miBk0pCEcQvhKu0+rdHqiCJRB5X0iLOW/XfckX2mqhqw6SWe/uyG574MyLiRI71c345+VR2wdMqlFsVGTeq/3S/HcMP64CE2sqNihYaky9yPDERaiVN86IRwlL4eIvjy8ytfHqp64NdqeKv+ldcJEEDNk= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: e2a7ff32-016c-4d0f-c580-08d4e85b7733 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(2017052603157)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BN6PR05MB2964; x-ms-traffictypediagnostic: BN6PR05MB2964: x-exchange-antispam-report-test: UriScan:(10436049006162); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(6041248)(20161123555025)(20161123558100)(20161123562025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR05MB2964; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR05MB2964; x-forefront-prvs: 040655413E x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(377454003)(189002)(24454002)(199003)(25786009)(53936002)(6436002)(8676002)(77096006)(6512007)(6246003)(189998001)(81166006)(53546010)(93886005)(478600001)(8936002)(5660300001)(102836003)(3846002)(2950100002)(81156014)(6116002)(99286003)(6306002)(4326008)(54906002)(2906002)(36756003)(83716003)(229853002)(66066001)(305945005)(2900100001)(105586002)(6486002)(97736004)(3280700002)(101416001)(54356999)(50986999)(68736007)(86362001)(6506006)(14454004)(33656002)(575784001)(966005)(82746002)(106356001)(7736002)(3660700001)(76176999); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR05MB2964; H:BN6PR05MB3074.namprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: vmware.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=gpillai@vmware.com; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Aug 2017 06:11:30.4225 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR05MB2964 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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 Aug 2017 06:11:33 -0000 TG9va3MgbGlrZSBsYXRlciBGcmVlQlNEIGFscmVhZHkgaGFzIHNvbWUgYW1vdW50IG9mIHF1ZXVl aW5nIGZyb20gd2hhdCBPbGVnIGhhcyBwb2ludGVkIG91dDoNCg0KJCBzeXNjdGwgbmV0Lmxpbmsu ZXRoZXIuaW5ldC5tYXhob2xkDQpuZXQubGluay5ldGhlci5pbmV0Lm1heGhvbGQ6IDENCg0KQXMg TWlrZSBtZW50aW9uZWQsIG15IGZpeCBsb29rcyBpbnRvIGEgbG9naWNhbCBJUCBwYWNrZXQuIEFu ZCBpdCBrZWVwcyBvbmx5IG9uZSBsb2dpY2FsIElQIHBhY2tldCDigJMgaS5lIDY0SyBieXRlcyDi gJMgNDMgcGFja2V0cy4gSSBkaWQgdGVzdCBpdCBpbiBteSBjb2RlLCBkaWRu4oCZdCBzZWUgYW55 IGlzc3VlcyB5ZXQuDQoNCkxhdGVzdCBGcmVlQlNEIGNvZGUgd291bGQga2VlcCB0aGUgc3BlY2lm aWVkIG51bWJlciBvZiBwaHlzaWNhbCBJUCBwYWNrZXRzLCBwb3NzaWJsZSB0byBoYXZlIG1vcmUg dGhhbiBvbmUgbG9naWNhbCBJUCBwYWNrZXQsIGJ1dCBjb3VsZCBwb3NzaWJseSBicmVhayBhIGxv Z2ljYWwgSVAgcGFja2V0IHRvby4NCg0KSSBkbyBub3cgdW5kZXJzdGFuZCBpdHMgbm90IGEgYmln IGRlYWwsIGVzcGVjaWFsbHkgc2luY2UgdGhlcmXigJlzIGEgd2F5IHRvIGNvbmZpZ3VyZSB0aGF0 IGluIGxhdGVzdCBGcmVlQlNEIGNvZGUuIEkgc2hhbGwgZml4IG15IGNvZGUgb25lIG9mIHRoZSBh Ym92ZSAyIHdheXMuDQoNClRoYW5rIFlvdSBhbGwgZm9yIHlvdXIgc3VwcG9ydCBhbmQgaGVscC4N Cg0KLS1Hb3B1DQoNCg0KT24gOC8xOS8xNywgOTo1NiBBTSwgIk1pa2UgS2FyZWxzIiA8bWlrZUBr YXJlbHMubmV0PiB3cm90ZToNCg0KICAgIA0KICAgIA0KICAgIE9uIDE5IEF1ZyAyMDE3LCBhdCA0 OjAwLCBKdWxpYW4gRWxpc2NoZXIgd3JvdGU6DQogICAgDQogICAgPiBPbiAxOC84LzE3IDExOjMz IGFtLCBNaWtlIEthcmVscyB3cm90ZToNCiAgICA+PiBBbm90aGVyICQuMDIgKGlubGluZSk6DQog ICAgPj4NCiAgICA+PiBPbiAxNyBBdWcgMjAxNywgYXQgMTg6MzksIEdvcGFrdW1hciBQaWxsYWkg d3JvdGU6DQogICAgPj4NCiAgICA+Pj4gVGhhbmsgWW91IEJqb2Vybi4gQ291bGQgeW91IHBsZWFz ZSBwb2ludCBtZSB0byB0aGUgUkZDPw0KICAgID4+DQogICAgPj4gSSBkb27igJl0IGtub3cgaWYg dGhlcmUgaXMgYW55dGhpbmcgbW9yZSByZWNlbnQgdGhhbiBSRkMxMTIyIG9uIHRoaXMuIA0KICAg ID4+ICBJSVJDLCBpdCByZXF1aXJlcyBxdWV1aW5nIGF0IGxlYXN0IG9uZSBwYWNrZXQuICBRdWVp bmcgb25lIHBhY2tldCBpcyANCiAgICA+PiB3aGF0IEJTRCBoYXMgZG9uZSBlc3NlbnRpYWxseSBz aW5jZSBBUlAgd2FzIGltcGxlbWVudGVkLg0KICAgID4NCiAgICA+IFRoaXMgYXNrcyB0aGUgcXVl c3Rpb246ICBPbmUgcGh5c2ljYWwgcGFja2V0IG9yIG9uZSBsb2dpY2FsIHBhY2tldD8NCiAgICA+ IEdvcGFrdW1hcidzIGNoYW5nZSBlZmZlY3RpdmVseSBjaGFuZ2VzIHRoZSBxdWV1aW5nIGZyb20g b25lIHBoeXNpY2FsIA0KICAgID4gcGFja2V0IHRvIHRoZSBsb2dpY2FsIG9uZS4NCiAgICA+IFRo ZSBuZXh0IHF1ZXN0aW9uIGJlY29tZXMgImhvdyBtdWNoIGV4dHJhIHdvcmsgZG8gd2UgZG8gdG8g YWNoaWV2ZSANCiAgICA+IHRoaXMgYW5kIGRvZXMgaXQgYWZmZWN0IGFueXRoaW5nIGVsc2UiPw0K ICAgIA0KICAgIFRoYXQgaXNu4oCZdCB0aGUgd2hvbGUgcXVlc3Rpb24uICBJdOKAmXMgb25lIHBo eXNpY2FsIHBhY2tldCwgb25lIA0KICAgIGxvZ2ljYWwgcGFja2V0LCBvciBtdWx0aXBsZSBmcmFt ZXM/DQogICAgSXQgbWFrZXMgbW9yZSBzZW5zZSB0byBtZSB0byBzdXBwb3J0IG11bHRpcGxlIGZy YW1lcyByYXRoZXIgdGhhbiBqdXN0IA0KICAgIG9uZSBsb2dpY2FsIHBhY2tldC4gIEhvd2V2ZXIs DQogICAgSSBkb27igJl0IHNlZSBhIGdvb2QgcmVhc29uIHRvIGNoYW5nZSBmcm9tIHRoZSBjdXJy ZW50IGNvZGUuDQogICAgDQogICAgPj4+IElmIHRoaXMgaXMgbm90IGEgTVVTVCBiZWhhdmlvciBp biBSRkMsIHdvdWxkIG15IGZpeCBiZSBnb29kPyBJIGFncmVlIA0KICAgID4+PiB0aGF0IHRoaXMg d291bGQgYWZmZWN0IG9ubHkgSUNNUC9VRFAgdHJhZmZpYy4NCiAgICA+Pg0KICAgID4+IFBlb3Bs ZSBoYXZlIGJlZW4gYXNraW5nIGZvciBxdWV1aW5nIG9mIG11bHRpcGxlIHBhY2tldHMgZm9yIHll YXJzLiAgDQogICAgPj4gVGhhdCBpcyBhIG1vcmUgZ2VuZXJhbCBjaGFuZ2UuICBDb25zaWRlciBh bm90aGVyIGR1bWIgYXBwbGljYXRpb24gDQogICAgPj4gdGhhdCBzdGFydHMgb3V0IGJ5IHNlbmRp bmcgbXVsdGlwbGUgVURQIHBhY2tldHMgYmFjay10by1iYWNrLiAgDQogICAgPj4gSG93ZXZlciwg d2VsbC1kZXNpZ25lZCBhcHBsaWNhdGlvbiBwcm90b2NvbHMgZG9u4oCZdCBleHBlcmllbmNlIA0K ICAgID4+IHByb2JsZW1zIGxpa2UgdGhpcy4gIEnigJlsbCBxdWlja2x5IG5vdGUgdGhhdCBwaW5n IGlzbuKAmXQgYW4gDQogICAgPj4gYXBwbGljYXRpb24sIGJ1dCBhIG5ldHdvcmsgbWVhc3VyaW5n IHRvb2wuICBJZiB5b3UgYXNrIHRoZSBxdWVzdGlvbiANCiAgICA+PiDigJx3aGF0IGhhcHBlbnMg aWYgSSBzdGFydCBvZmYgYSBzZXNzaW9uIHdpdGggYSBzaW5nbGUgbGFyZ2UgcGFja2V0IA0KICAg ID4+IGFuZCBJIGRvbuKAmXQgc3VwcG9ydCByZXRyYW5zbWlzc2lvbuKAnSwgcGluZyBhbnN3ZXJz IHRoYXQgcXVlc3Rpb24gDQogICAgPj4gY29ycmVjdGx5Lg0KICAgID4+DQogICAgPj4gSWYgYmFk bHktZGVzaWduZWQgcHJvdG9jb2xzIGdldCBiYWQgcGVyZm9ybWFuY2UsIHRoYXQgZG9lc27igJl0 IHNlZW0gDQogICAgPj4gbGlrZSBhIGJ1ZyB0byBtZSwgYnV0IGEgZmVhdHVyZS4NCiAgICA+Pg0K ICAgID4+PiBPbiA4LzE3LzE3LCAyOjQwIFBNLCAiQmpvZXJuIEEuIFplZWIiIA0KICAgID4+PiA8 YnplZWItbGlzdHNAbGlzdHMuemFiYmFkb3oubmV0PiB3cm90ZToNCiAgICA+Pj4NCiAgICA+Pj4g ICAgIE9uIDE3IEF1ZyAyMDE3LCBhdCAyMToxNiwgR29wYWt1bWFyIFBpbGxhaSB3cm90ZToNCiAg ICA+Pj4NCiAgICA+Pj4gICAgID4gSGkgRnJlZUJTRCBOZXR3b3JraW5nIEd1cnVzLA0KICAgID4+ PiAgICAgPiBJIGNhbWUgYWNyb3NzIGFuIGlzc3VlIHdpdGggYW4gb2xkIHZlcnNpb24gb2YgRnJl ZUJTRCBhbmQgDQogICAgPj4+IGxvb2tpbmcgYXQNCiAgICA+Pj4gICAgID4gdGhlIGxhdGVzdCBG cmVlQlNEIGNvZGUsIHNlZW1zIGl0IGV4aXN0cyBldmVuIG5vdy4gSSBhbSANCiAgICA+Pj4gYXNz dW1pbmcgdGhhdA0KICAgID4+PiAgICAgPiB0aGlzIGlzc3VlIGlzIG5vdCByZXBvcnRlZC4NCiAg ICA+Pj4gICAgID4NCiAgICA+Pj4gICAgID4gT2JzZXJ2YXRpb246DQogICAgPj4+ICAgICA+IFdo ZW4gYSBwaW5nIHdhcyBwZXJmb3JtZWQgd2l0aCBsYXJnZXIgcGF5bG9hZCB0aGFuIE1UVSwgdGhl IA0KICAgID4+PiBmaXJzdCBwaW5nDQogICAgPj4+ICAgICA+IGZhaWxlZCB3aGVuIHRoZSBBUlAg ZW50cnkgd2FzIGFic2VudCBmb3IgdGhhdCBJUC4NCiAgICA+Pj4NCiAgICA+Pj4gICAgIFRoYXQg aXMgYmVjYXVzZSBwaW5nL0lDTVAgaGFzIG5vIHJldHJhbnNtaXQuDQogICAgPj4+DQogICAgPj4+ DQogICAgPj4+ICAgICA+IE5vdGljZWQgb24gdGhlIHdpcmUgdGhhdCB0aGUgbGFzdCBJUCBmcmFn bWVudCB3YXMgc2VudCBmb3IgdGhlIA0KICAgID4+PiBmaXJzdA0KICAgID4+PiAgICAgPiByZXF1 ZXN0IGFuZCB0aGVuIHRoZSBzdWJzZXF1ZW50IHJlcXVlc3RzIHdlcmUgZmluZS4NCiAgICA+Pj4g ICAgID4NCiAgICA+Pj4gICAgID4gUm9vdCBDYXVzZToNCiAgICA+Pj4gICAgID4gICAqIGlwX291 dHB1dCBmcmFnbWVudHMgdGhlIHBhY2tldHMgYW5kIGxvb3BzIHRocm91Z2ggdGhlIA0KICAgID4+ PiBmcmFnbWVudHMgdG8NCiAgICA+Pj4gICAgID4gc2VuZCB0aGVtIHRvIGV0aGVyX291dHB1dC4N CiAgICA+Pj4gICAgID4gICAqIGV0aGVyX291dHB1dCBkb2VzIGFuIGFycHJlc29sdmUgYW5kIGlm IHRoZXJlIGlzIG5vIA0KICAgID4+PiBleGlzdGluZyBBUlANCiAgICA+Pj4gICAgID4gZW50cnkg aXQnbGwgcmV0dXJuIEVXT1VMREJMT0NLIGFmdGVyIHNlbmRpbmcgQVJQIFJlcXVlc3QuDQogICAg Pj4+ICAgICA+ICAgKiBldGhlcl9vdXRwdXQgaWdub3JlcyB0aGUgZXJyb3IgYW5kIHByb3BhZ2F0 ZXMgc3VjY2VzcyB0byANCiAgICA+Pj4gaXBfb3V0cHV0DQogICAgPj4+ICAgICA+IGFuZCBpdCBj b250aW51ZXMgdG8gc2VuZCB0aGUgcmVtYWluaW5nIGZyYWdtZW50cy4NCiAgICA+Pj4gICAgID4g ICAqIGxsZW50cnkga2VlcHMgb25seSBvbmUgbWJ1ZiBhbmQgdGhlIGxhc3QgZnJhZ21lbnQgaXMg DQogICAgPj4+IHJldGFpbmVkIHdoZW4NCiAgICA+Pj4gICAgID4gdGhlIEFSUCBSZXBseSBjb21l cyBhbmQgdGhlIGZyYWdtZW50IGlzIHNlbnQuDQogICAgPj4+DQogICAgPj4+ICAgICBZZXMsIGFj Y29yZGluZyB0byB0aGUgc3BlYyAoUkZDKSB3ZSBhcmUgc3VwcG9zZWQgdG8gdGhyb3cgdGhlIA0K ICAgID4+PiBwYWNrZXQNCiAgICA+Pj4gICAgIGF3YXkgZW50aXJlbHkgYW5kIHNpbXBseSByZXBv cnQgdGhhdCB0byB0aGUgbmV4dCB1cHBlciBsYXllci4gIA0KICAgID4+PiBIb3dldmVyDQogICAg Pj4+ICAgICBvdmVyIHRoZSB5ZWFycyBwZW9wbGUgcmVhbGlzZWQgdGhhdCB0aGlzIHN1Y2tzIGZv ciBhIFRDUCBTWU4gDQogICAgPj4+IHBhY2tldCB3aXRoDQogICAgPj4+ICAgICBhIHJldHJhbnNt aXQgdGltZXIgYW5kIGhlbmNlIHdlIHN0b3JlIG9uZSBvZiB0aGVtLg0KICAgID4+Pg0KICAgID4+ PiAgICAgQSBsYXJnZSBVRFAgcGFja2V0IHdvdWxkIGJ0dyBzZWUgdGhlIHNhbWUgYmVoYXZpb3Vy IHRvIHlvdXIgDQogICAgPj4+IHBpbmcuDQogICAgPj4+ICAgICBUaGVyZeKAmXMgbm8gZ3VhcmFu dGVlIGFueSBvZiB0aGVzZSBwYWNrZXRzIHdpbGwgbm90IGJlIGRyb3BwZWQgDQogICAgPj4+IGFu eXdoZXJlDQogICAgPj4+ICAgICBvbiB0aGUgbmV0d29yaywgc28gd2UgY2FuIGFzIHdlbGwuDQog ICAgPj4+DQogICAgPj4+ICAgICBKdXN0IG15IDJjdA0KICAgID4+Pg0KICAgID4+PiAgICAgL2J6 DQogICAgPj4NCiAgICA+PiAgICAgICAgIE1pa2UNCiAgICA+PiBfX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fXw0KICAgID4+IGZyZWVic2QtbmV0QGZyZWVic2Qu b3JnIG1haWxpbmcgbGlzdA0KICAgID4+IGh0dHBzOi8vdXJsZGVmZW5zZS5wcm9vZnBvaW50LmNv bS92Mi91cmw/dT1odHRwcy0zQV9fbGlzdHMuZnJlZWJzZC5vcmdfbWFpbG1hbl9saXN0aW5mb19m cmVlYnNkLTJEbmV0JmQ9RHdJRmFRJmM9dWlsYUs5MEQ0VE9Wb0g1OEpOWFJnUSZyPVNQTUlpaUpO ZlhrN3VqdWlwNXFvYks3N0xublZNOGtWTkMtTHpNXzBSV2smbT1nVnFQQ3d2V3MtZU8wWThqR2Vm cjhhYnhsbm1HX0drbFZJU0RzbjNzb2xVJnM9Xzc0OFNpR1lleFpmN29aTVNHMlpWRGt6Y2VseVpF Q00wbEZNcGJvakRXQSZlPSANCiAgICA+PiBUbyB1bnN1YnNjcmliZSwgc2VuZCBhbnkgbWFpbCB0 byANCiAgICA+PiAiZnJlZWJzZC1uZXQtdW5zdWJzY3JpYmVAZnJlZWJzZC5vcmciDQogICAgPj4N CiAgICA+Pg0KICAgID4NCiAgICA+IF9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fDQogICAgPiBmcmVlYnNkLW5ldEBmcmVlYnNkLm9yZyBtYWlsaW5nIGxpc3QN CiAgICA+IGh0dHBzOi8vdXJsZGVmZW5zZS5wcm9vZnBvaW50LmNvbS92Mi91cmw/dT1odHRwcy0z QV9fbGlzdHMuZnJlZWJzZC5vcmdfbWFpbG1hbl9saXN0aW5mb19mcmVlYnNkLTJEbmV0JmQ9RHdJ RmFRJmM9dWlsYUs5MEQ0VE9Wb0g1OEpOWFJnUSZyPVNQTUlpaUpOZlhrN3VqdWlwNXFvYks3N0xu blZNOGtWTkMtTHpNXzBSV2smbT1nVnFQQ3d2V3MtZU8wWThqR2VmcjhhYnhsbm1HX0drbFZJU0Rz bjNzb2xVJnM9Xzc0OFNpR1lleFpmN29aTVNHMlpWRGt6Y2VseVpFQ00wbEZNcGJvakRXQSZlPSAN CiAgICA+IFRvIHVuc3Vic2NyaWJlLCBzZW5kIGFueSBtYWlsIHRvICJmcmVlYnNkLW5ldC11bnN1 YnNjcmliZUBmcmVlYnNkLm9yZyINCiAgICANCg0K From owner-freebsd-net@freebsd.org Mon Aug 21 09:03:59 2017 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 24AD7DC8078 for ; Mon, 21 Aug 2017 09:03:59 +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 135CC65D6A for ; Mon, 21 Aug 2017 09:03:59 +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 v7L93wIr046303 for ; Mon, 21 Aug 2017 09:03:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 220217] deadlock on enc and pf Date: Mon, 21 Aug 2017 09:03:58 +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-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.23 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 Aug 2017 09:03:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220217 --- Comment #10 from commit-hook@freebsd.org --- A commit references this bug: Author: ae Date: Mon Aug 21 09:03:21 UTC 2017 New revision: 322741 URL: https://svnweb.freebsd.org/changeset/base/322741 Log: MFC r321779: Add inpcb pointer to struct ipsec_ctx_data and pass it to the pfil hook from enc_hhook(). This should solve the problem when pf is used with if_enc(4) interface, and outbound packet with existing PCB checked by pf, and this leads to deadlock due to pf does its own PCB lookup and tries to take rlock when wlock is already held. Now we pass PCB pointer if it is known to the pfil hook, this helps to avoid extra PCB lookup and thus rlock acquiring is not needed. For inbound packets it is safe to pass NULL, because we do not held any PCB locks yet. PR: 220217 Sponsored by: Yandex LLC Changes: _U stable/11/ stable/11/sys/net/if_enc.c stable/11/sys/net/if_enc.h stable/11/sys/netipsec/ipsec.h stable/11/sys/netipsec/ipsec_input.c stable/11/sys/netipsec/ipsec_output.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 21 10:24:03 2017 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 69D55DCFEBC for ; Mon, 21 Aug 2017 10:24:03 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id D4B1768BEF for ; Mon, 21 Aug 2017 10:24:01 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from [212.73.125.240] (HELO admin.sibptus.transneft.ru) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 39792192 for freebsd-net@freebsd.org; Mon, 21 Aug 2017 16:19:22 +0600 Received: from admin.sibptus.transneft.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.transneft.ru (8.15.2/8.15.2) with ESMTP id v7LANvwH044869 for ; Mon, 21 Aug 2017 17:23:59 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.transneft.ru (8.15.2/8.15.2/Submit) id v7LANsMF044867 for freebsd-net@freebsd.org; Mon, 21 Aug 2017 17:23:54 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.transneft.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Mon, 21 Aug 2017 17:23:54 +0700 From: Victor Sudakov To: freebsd-net@freebsd.org Subject: resolv.conf and a non-standard port Message-ID: <20170821102354.GA44676@admin.sibptus.transneft.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.8.3 (2017-05-23) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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 Aug 2017 10:24:03 -0000 Colleagues, How can I configure the resolver to use a DNS server with a non-standard port? I have a host running an authoritative-only server (nsd) for the world, and I want to run local unbound for the host itself (can't use nsd for recursive queries). Unbound can listen on a non-standard port, but how do I configure the host to use the DNS server at 127.0.0.1:5353 ? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN AS43859 From owner-freebsd-net@freebsd.org Mon Aug 21 10:47:04 2017 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 A62D7DD16AA for ; Mon, 21 Aug 2017 10:47:04 +0000 (UTC) (envelope-from kiersb@xs4all.net) Received: from lb1-smtp-cloud9.xs4all.net (lb1-smtp-cloud9.xs4all.net [194.109.24.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.xs4all.net", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B8B669D66 for ; Mon, 21 Aug 2017 10:47:03 +0000 (UTC) (envelope-from kiersb@xs4all.net) Received: from peyote.xs4all.nl ([IPv6:2001:888:4:42::21]) by smtp-cloud9.xs4all.net with ESMTPSA id jkDSdJ4u6dRLjjkDSdj9lq; Mon, 21 Aug 2017 12:45:54 +0200 Subject: Re: resolv.conf and a non-standard port To: freebsd-net@freebsd.org References: <20170821102354.GA44676@admin.sibptus.transneft.ru> From: Bert Kiers Organization: XS4ALL Message-ID: <5e2bb578-a9c7-93fa-f144-d0a4302cb28c@xs4all.net> Date: Mon, 21 Aug 2017 12:45:56 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170821102354.GA44676@admin.sibptus.transneft.ru> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfPh1DB4xnql4gc6zLq5uQTxh0yKK/CoPKPHBnnImnx8JSh0vUDx9ocMfvNPE9TzstU5B1EHR1NZKKlYy+8V+VXVNSPKxEHptSlxRhTwkJGqhTzL0MFkF wq/CroqnGbCxEdkoJTJi+UXGNdYcJsK6TQtQlv1Lofg/6sh9aYchkXUT/6cyW+FT6kawj/K8iAYnS5iIlXz8zoYLm0HcJlulnmcrc1k9cZ8b7fN7QFE4wKV8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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 Aug 2017 10:47:04 -0000 On 21/08/2017 12:23, Victor Sudakov wrote: > Colleagues, Hi, > How can I configure the resolver to use a DNS server with a > non-standard port? > > I have a host running an authoritative-only server (nsd) for the > world, and I want to run local unbound for the host itself (can't use > nsd for recursive queries). > > Unbound can listen on a non-standard port, but how do I configure the > host to use the DNS server at 127.0.0.1:5353 ? I think it will be more simple to have nsd and unbound listen on different IP-adresses, like unbound on 127.0.0.1 and nsd on the external IP-address. Then put 127.0.0.1 in resolv.conf Grtnx, -- Bert Kiers, suspected terrorist Love MS-Windows? Must be Stockholm syndrome. From owner-freebsd-net@freebsd.org Mon Aug 21 10:53:47 2017 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 B404DDD1CB4 for ; Mon, 21 Aug 2017 10:53:47 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BDE36A151 for ; Mon, 21 Aug 2017 10:53:46 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id v7LArf8T030928 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 21 Aug 2017 12:53:42 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: vas@mpeks.tomsk.su Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id v7LArbx4036421 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 21 Aug 2017 17:53:37 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: resolv.conf and a non-standard port To: Victor Sudakov , freebsd-net@freebsd.org References: <20170821102354.GA44676@admin.sibptus.transneft.ru> From: Eugene Grosbein Message-ID: <599ABBAE.3080203@grosbein.net> Date: Mon, 21 Aug 2017 17:53:34 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <20170821102354.GA44676@admin.sibptus.transneft.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, LOCAL_FROM, RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS * 2.6 LOCAL_FROM From my domains X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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 Aug 2017 10:53:47 -0000 21.08.2017 17:23, Victor Sudakov пишет: > Colleagues, > > How can I configure the resolver to use a DNS server with a > non-standard port? > > I have a host running an authoritative-only server (nsd) for the > world, and I want to run local unbound for the host itself (can't use > nsd for recursive queries). > > Unbound can listen on a non-standard port, but how do I configure the > host to use the DNS server at 127.0.0.1:5353 ? I run same configuration. You need not use non-standard port. Just bind nsd to external address and unbound to 127.0.0.1 and you'll be fine. From owner-freebsd-net@freebsd.org Mon Aug 21 11:04:08 2017 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 E921EDD2726 for ; Mon, 21 Aug 2017 11:04:08 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id 5A8EE6A6DF for ; Mon, 21 Aug 2017 11:04:07 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from [212.73.125.240] (HELO admin.sibptus.transneft.ru) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 39792238; Mon, 21 Aug 2017 16:59:28 +0600 Received: from admin.sibptus.transneft.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.transneft.ru (8.15.2/8.15.2) with ESMTP id v7LB43VZ045911; Mon, 21 Aug 2017 18:04:05 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.transneft.ru (8.15.2/8.15.2/Submit) id v7LB40If045909; Mon, 21 Aug 2017 18:04:00 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.transneft.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Mon, 21 Aug 2017 18:04:00 +0700 From: Victor Sudakov To: Bert Kiers Cc: freebsd-net@freebsd.org Subject: Re: resolv.conf and a non-standard port Message-ID: <20170821110400.GA45463@admin.sibptus.transneft.ru> References: <20170821102354.GA44676@admin.sibptus.transneft.ru> <5e2bb578-a9c7-93fa-f144-d0a4302cb28c@xs4all.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5e2bb578-a9c7-93fa-f144-d0a4302cb28c@xs4all.net> Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.8.3 (2017-05-23) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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 Aug 2017 11:04:09 -0000 Bert Kiers wrote: > > > How can I configure the resolver to use a DNS server with a > > non-standard port? > > > > I have a host running an authoritative-only server (nsd) for the > > world, and I want to run local unbound for the host itself (can't use > > nsd for recursive queries). > > > > Unbound can listen on a non-standard port, but how do I configure the > > host to use the DNS server at 127.0.0.1:5353 ? > > I think it will be more simple to have nsd and unbound listen on > different IP-adresses, like unbound on 127.0.0.1 and nsd on the external > IP-address. Then put 127.0.0.1 in resolv.conf That's how I have configured it now, but this solution has a major drawback: you need to specify the IP address explicitely in /var/unbound/unbound.conf which can be inconvenient in some situations. So it's a workaround, but by no means "more simple." -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN AS43859 From owner-freebsd-net@freebsd.org Mon Aug 21 11:08:27 2017 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 88627DD2B03 for ; Mon, 21 Aug 2017 11:08:27 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id EFFF16A85B for ; Mon, 21 Aug 2017 11:08:26 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from [212.73.125.240] (HELO admin.sibptus.transneft.ru) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 39792246; Mon, 21 Aug 2017 17:03:47 +0600 Received: from admin.sibptus.transneft.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.transneft.ru (8.15.2/8.15.2) with ESMTP id v7LB8OR4046013; Mon, 21 Aug 2017 18:08:24 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.transneft.ru (8.15.2/8.15.2/Submit) id v7LB8NLl046012; Mon, 21 Aug 2017 18:08:23 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.transneft.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Mon, 21 Aug 2017 18:08:22 +0700 From: Victor Sudakov To: Eugene Grosbein Cc: freebsd-net@freebsd.org Subject: Re: resolv.conf and a non-standard port Message-ID: <20170821110822.GB45463@admin.sibptus.transneft.ru> References: <20170821102354.GA44676@admin.sibptus.transneft.ru> <599ABBAE.3080203@grosbein.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <599ABBAE.3080203@grosbein.net> Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.8.3 (2017-05-23) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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 Aug 2017 11:08:27 -0000 Eugene Grosbein wrote: > > > > How can I configure the resolver to use a DNS server with a > > non-standard port? > > > > I have a host running an authoritative-only server (nsd) for the > > world, and I want to run local unbound for the host itself (can't use > > nsd for recursive queries). > > > > Unbound can listen on a non-standard port, but how do I configure the > > host to use the DNS server at 127.0.0.1:5353 ? > > I run same configuration. You need not use non-standard port. > Just bind nsd to external address and unbound to 127.0.0.1 > and you'll be fine. Please see my response to Bert. BTW OpenBSD has this feature: 'nameserver [127.0.0.1]:5353' It can be useful in other scenarios as well. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN AS43859 From owner-freebsd-net@freebsd.org Mon Aug 21 11:10:15 2017 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 7CE2CDD2C72 for ; Mon, 21 Aug 2017 11:10:15 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id E26C06A93B for ; Mon, 21 Aug 2017 11:10:14 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from [212.73.125.240] (HELO admin.sibptus.transneft.ru) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 39792243; Mon, 21 Aug 2017 17:05:35 +0600 Received: from admin.sibptus.transneft.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.transneft.ru (8.15.2/8.15.2) with ESMTP id v7LBABWH046077; Mon, 21 Aug 2017 18:10:13 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.transneft.ru (8.15.2/8.15.2/Submit) id v7LBA7EY046075; Mon, 21 Aug 2017 18:10:07 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.transneft.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Mon, 21 Aug 2017 18:10:07 +0700 From: Victor Sudakov To: Bert Kiers Cc: freebsd-net@freebsd.org Subject: Re: resolv.conf and a non-standard port Message-ID: <20170821111007.GC45463@admin.sibptus.transneft.ru> References: <20170821102354.GA44676@admin.sibptus.transneft.ru> <5e2bb578-a9c7-93fa-f144-d0a4302cb28c@xs4all.net> <20170821110400.GA45463@admin.sibptus.transneft.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170821110400.GA45463@admin.sibptus.transneft.ru> Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.8.3 (2017-05-23) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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 Aug 2017 11:10:15 -0000 Victor Sudakov wrote: > > > > > How can I configure the resolver to use a DNS server with a > > > non-standard port? > > > > > > I have a host running an authoritative-only server (nsd) for the > > > world, and I want to run local unbound for the host itself (can't use > > > nsd for recursive queries). > > > > > > Unbound can listen on a non-standard port, but how do I configure the > > > host to use the DNS server at 127.0.0.1:5353 ? > > > > I think it will be more simple to have nsd and unbound listen on > > different IP-adresses, like unbound on 127.0.0.1 and nsd on the external > > IP-address. Then put 127.0.0.1 in resolv.conf > > That's how I have configured it now, but this solution has a major > drawback: you need to specify the IP address explicitely in > /var/unbound/unbound.conf which can be inconvenient in some > situations. Correction: "to specify the IP address explicitely in nsd.conf..." -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN AS43859 From owner-freebsd-net@freebsd.org Mon Aug 21 11:17:05 2017 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 A02FBDD3440 for ; Mon, 21 Aug 2017 11:17:05 +0000 (UTC) (envelope-from kiersb@xs4all.net) Received: from lb1-smtp-cloud9.xs4all.net (lb1-smtp-cloud9.xs4all.net [194.109.24.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.xs4all.net", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4539B6AE49 for ; Mon, 21 Aug 2017 11:17:04 +0000 (UTC) (envelope-from kiersb@xs4all.net) Received: from peyote.xs4all.nl ([IPv6:2001:888:4:42::21]) by smtp-cloud9.xs4all.net with ESMTPSA id jkhadJK2EdRLjjkhadjJN8; Mon, 21 Aug 2017 13:17:02 +0200 Subject: Re: resolv.conf and a non-standard port To: Victor Sudakov Cc: freebsd-net@freebsd.org References: <20170821102354.GA44676@admin.sibptus.transneft.ru> <5e2bb578-a9c7-93fa-f144-d0a4302cb28c@xs4all.net> <20170821110400.GA45463@admin.sibptus.transneft.ru> From: Bert Kiers Organization: XS4ALL Message-ID: <569ac975-0f5c-131a-a236-67cff377ef6c@xs4all.net> Date: Mon, 21 Aug 2017 13:17:02 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170821110400.GA45463@admin.sibptus.transneft.ru> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfP++Xhpl8IcYNTZaI2n75znv5Bs7ffhWg9TKpjteW9LmJvHgXA9HgLb1CQWizXNI0ml6fF6aKbM+uBiySm6+5jyHvsVrm9XjNzWF5/wDOTThfj0Kfq1L rUDDyYyiOUFDt1Eysf6B/IajiU0t8hETY1jP9pnhtetvJuLduyt64E2ci6xhcy/sa6mM043PgGnLtYEEMfVp3LeBvP5b3916zVwm6hb83de7eb8rovKPWtwv 3nxvQeKUkBJN76pmyZz44g== X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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 Aug 2017 11:17:05 -0000 On 21/08/2017 13:04, Victor Sudakov wrote: > Bert Kiers wrote: >> >>> How can I configure the resolver to use a DNS server with a >>> non-standard port? >>> >>> I have a host running an authoritative-only server (nsd) for the >>> world, and I want to run local unbound for the host itself (can't use >>> nsd for recursive queries). >>> >>> Unbound can listen on a non-standard port, but how do I configure the >>> host to use the DNS server at 127.0.0.1:5353 ? >> >> I think it will be more simple to have nsd and unbound listen on >> different IP-adresses, like unbound on 127.0.0.1 and nsd on the external >> IP-address. Then put 127.0.0.1 in resolv.conf > > That's how I have configured it now, but this solution has a major > drawback: you need to specify the IP address explicitely in > /var/unbound/unbound.conf which can be inconvenient in some > situations. > > So it's a workaround, but by no means "more simple." What happens when you let unbound listen on 127.0.0.1 and nsd on * (a.k.a. 0.0.0.0)? That may work because 127.0.0.1 is more specific. Maybe the startup order of the daemons is important then. -- Bert Kiers, suspected terrorist Love MS-Windows? Must be Stockholm syndrome. From owner-freebsd-net@freebsd.org Mon Aug 21 13:04:04 2017 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 53533DDA11F for ; Mon, 21 Aug 2017 13:04:04 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id B67726EC6C for ; Mon, 21 Aug 2017 13:04:02 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from [212.73.125.240] (HELO admin.sibptus.transneft.ru) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 39792352; Mon, 21 Aug 2017 18:59:22 +0600 Received: from admin.sibptus.transneft.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.transneft.ru (8.15.2/8.15.2) with ESMTP id v7LD3vOo047074; Mon, 21 Aug 2017 20:03:59 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.transneft.ru (8.15.2/8.15.2/Submit) id v7LD3sBW047073; Mon, 21 Aug 2017 20:03:54 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.transneft.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Mon, 21 Aug 2017 20:03:54 +0700 From: Victor Sudakov To: Bert Kiers Cc: freebsd-net@freebsd.org Subject: Re: resolv.conf and a non-standard port Message-ID: <20170821130354.GA46955@admin.sibptus.transneft.ru> References: <20170821102354.GA44676@admin.sibptus.transneft.ru> <5e2bb578-a9c7-93fa-f144-d0a4302cb28c@xs4all.net> <20170821110400.GA45463@admin.sibptus.transneft.ru> <569ac975-0f5c-131a-a236-67cff377ef6c@xs4all.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <569ac975-0f5c-131a-a236-67cff377ef6c@xs4all.net> Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.8.3 (2017-05-23) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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 Aug 2017 13:04:04 -0000 Bert Kiers wrote: > >> > >>> How can I configure the resolver to use a DNS server with a > >>> non-standard port? > >>> > >>> I have a host running an authoritative-only server (nsd) for the > >>> world, and I want to run local unbound for the host itself (can't use > >>> nsd for recursive queries). > >>> > >>> Unbound can listen on a non-standard port, but how do I configure the > >>> host to use the DNS server at 127.0.0.1:5353 ? > >> > >> I think it will be more simple to have nsd and unbound listen on > >> different IP-adresses, like unbound on 127.0.0.1 and nsd on the external > >> IP-address. Then put 127.0.0.1 in resolv.conf > > > > That's how I have configured it now, but this solution has a major > > drawback: you need to specify the IP address explicitely in > > /var/unbound/unbound.conf which can be inconvenient in some > > situations. > > > > So it's a workaround, but by no means "more simple." > > What happens when you let unbound listen on 127.0.0.1 and nsd on * > (a.k.a. 0.0.0.0)? That may work because 127.0.0.1 is more specific. > Maybe the startup order of the daemons is important then. # sockstat -l | grep unbo unbound unbound 448 3 udp4 127.0.0.1:53 *:* unbound unbound 448 4 tcp4 127.0.0.1:53 *:* unbound unbound 448 5 stream /var/run/local_unbound.ctl # service nsd start [2017-08-21 20:01:16.335] nsd[56380]: notice: nsd starting (NSD 4.1.17) [2017-08-21 20:01:16.336] nsd[56380]: error: can't bind udp socket: Address already in use [2017-08-21 20:01:16.336] nsd[56380]: error: server initialization failed, nsd could not be started -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN AS43859 From owner-freebsd-net@freebsd.org Tue Aug 22 00:49:10 2017 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 0CB77DE03D5 for ; Tue, 22 Aug 2017 00:49:10 +0000 (UTC) (envelope-from borisbsd@gmail.com) Received: from mail-qt0-x236.google.com (mail-qt0-x236.google.com [IPv6:2607:f8b0:400d:c0d::236]) (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 C2E1D681D0 for ; Tue, 22 Aug 2017 00:49:09 +0000 (UTC) (envelope-from borisbsd@gmail.com) Received: by mail-qt0-x236.google.com with SMTP id 16so90085044qtz.4 for ; Mon, 21 Aug 2017 17:49:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=+IPxF8WcBu5Ds26Hww+5Z9Sbva1KO4NEVt/lUrDwK5M=; b=q7KGwQevCq8a23nhuTHm8/yY2P6Vh/aeD0o9A0o07p5RnkQBWQIoY+oou248lvLaoz MKj9Qg3wHppR6j0M5f6wE0rs0az744UYi0b9M6OMaM4SzB5gadcO6PkD8v8nVST/Zjht rk1RQnSgw2hgT1FhfpNaWcRQGQy9cxiJOQVtLM5FNs6Z+dQ3EscfBu5Hv00zDn6XuW+T mZ2+XordHkiZhYesz4jrSuw7p7Qt3xdSxI2y8RDyIOyxwG6+1AfdeMC1VO2vJFitn7+N QS+KG3lZFGp/MxTx307Sr+McpSBOkChMfCGH468VmJ2rnz3KLuO6JcJMmILd+YUewMM9 bX7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=+IPxF8WcBu5Ds26Hww+5Z9Sbva1KO4NEVt/lUrDwK5M=; b=Qsos+e3Fu5fX8rGd/7DsqAUlND5eKa/4l4dgMxmYGXqw1DQiacpbFJNiQh+5zRB6DK 6q447MP6wj1/C7qluUFxoXksAbtiEyEY34I8qCpyvtTnHyd4izWSPqxRsyvqu3AhuOkw 35GrP6ploi00/BE9jgQRjDz6Pa3yMUz0pF785qPLFnHQ12pEVqg3FORdi0KCuNhnt9bW 8E5hKLRJ3wKp/VuLBvgHBZJeQkWAjKtCzBTJRguS5f36HcCJHzKWTWcAx9HF4+EUe3ME 5QPRM6PcRgUCgXCHmCqyvEbeFwJyjy5RTeoPhIfZjt+w375nrPzmppuTKlt+JipYYcNr HUEg== X-Gm-Message-State: AHYfb5hVH7YzEl/QKn3Yob1pWWg6INSu5qdEFle0s1XcUe6IYxyqNvev jKC+V8j8PLV5b5OP2tuCuHzD+tXLmBoS X-Received: by 10.200.58.67 with SMTP id w61mr27288830qte.86.1503362948803; Mon, 21 Aug 2017 17:49:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.82.166 with HTTP; Mon, 21 Aug 2017 17:49:08 -0700 (PDT) From: Boris Date: Mon, 21 Aug 2017 20:49:08 -0400 Message-ID: Subject: bridge interface IP connectivity issue when using oce interface To: freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 22 Aug 2017 00:49:10 -0000 Hi all, I have two environments. Environment A: Server running fresh install of 11.1-RELEASE with bge physical NIC. If I just configure a bridge interface, add a physical NIC which has working connectivity, say bge3, and add an IP address on the bridge interface in the same subnet as bge3, I can ping that IP from any host on the LAN. Environment B: Server running fresh install of 11.1-RELEASE with oce physical NIC. If I just configure a bridge interface, add a physical NIC which has working connectivity, say oce3, and add an IP address on the bridge interface in the same subnet as oce3, I CANNOT ping that IP from anywhere on the LAN. I need the bridge as I would like to have bhyve VM's connected through that bridge to the outside - plain bridged networking, no NAT or anything else. Unfortunately, the VM does not have any connectivity to the outside. What is weird is that I see the ARP entries in the VM for its gateway, I see the MAC addresses in the bridge for the VM and the gateway, but no IP connectivity seems to work - ping fails. I disabled TX checksum and other things using 'ifconfig oce3 -txcsum -lro -tso' to avoid messages around capabilities issues when adding a tap interface which does not have the same features as the physical interface. So far, I have not been able to get IP connectivity to the VM. In terms of documentation, I have used the handbook to create the VM: https://www.freebsd.org/doc/handbook/virtualization-host-bhyve.html I have used the handbook to create the bridge: https://www.freebsd.org/doc/handbook/network-bridging.html Under 30.6.1, it says, I should be able to configure the bridge with an IP address which seems to fail when the 'oce' interface is used. Would anybody have any pointer at what to do next to help identify the issue? Thanks ! From owner-freebsd-net@freebsd.org Tue Aug 22 01:14:50 2017 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 C2A87DE1DCB for ; Tue, 22 Aug 2017 01:14:50 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 54C8C694C0 for ; Tue, 22 Aug 2017 01:14:49 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id v7M1EhrR037792 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 22 Aug 2017 03:14:44 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: borisbsd@gmail.com Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id v7M1EYee088573 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 22 Aug 2017 08:14:34 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: bridge interface IP connectivity issue when using oce interface To: Boris , freebsd-net@freebsd.org References: From: Eugene Grosbein Message-ID: <599B8576.8030801@grosbein.net> Date: Tue, 22 Aug 2017 08:14:30 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, LOCAL_FROM, RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS * 2.6 LOCAL_FROM From my domains X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 22 Aug 2017 01:14:50 -0000 22.08.2017 7:49, Boris пишет: > Hi all, > > I have two environments. > > Environment A: > Server running fresh install of 11.1-RELEASE with bge physical NIC. > If I just configure a bridge interface, add a physical NIC which has > working connectivity, say bge3, and add an IP address on the bridge > interface in the same subnet as bge3, I can ping that IP from any host on > the LAN. > > Environment B: > Server running fresh install of 11.1-RELEASE with oce physical NIC. > If I just configure a bridge interface, add a physical NIC which has > working connectivity, say oce3, and add an IP address on the bridge > interface in the same subnet as oce3, I CANNOT ping that IP from anywhere > on the LAN. First, when you add member interfaces to a bridge, you should move all their IP addresses to the bridge. That is, bridge member interfaces should have no IP addresses, only bridge itself. Second, you should re-read bridge(4) manual page and use sysctl net.link.bridge.inherit_mac=1 and use physical NIC as first bridge member so that your uplink has no reasons to filter traffic of the bridge due to its fabricated MAC. > > I need the bridge as I would like to have bhyve VM's connected through that > bridge to the outside - plain bridged networking, no NAT or anything else. > Unfortunately, the VM does not have any connectivity to the outside. What > is weird is that I see the ARP entries in the VM for its gateway, I see the > MAC addresses in the bridge for the VM and the gateway, but no IP > connectivity seems to work - ping fails. > I disabled TX checksum and other things using 'ifconfig oce3 -txcsum -lro > -tso' to avoid messages around capabilities issues when adding a tap > interface which does not have the same features as the physical interface. > So far, I have not been able to get IP connectivity to the VM. > > In terms of documentation, I have used the handbook to create the VM: > https://www.freebsd.org/doc/handbook/virtualization-host-bhyve.html > > I have used the handbook to create the bridge: > https://www.freebsd.org/doc/handbook/network-bridging.html > > Under 30.6.1, it says, I should be able to configure the bridge with an IP > address which seems to fail when the 'oce' interface is used. > > Would anybody have any pointer at what to do next to help identify the > issue? > > Thanks ! > _______________________________________________ > 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" > > From owner-freebsd-net@freebsd.org Tue Aug 22 04:18:11 2017 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 7865ADEF0BE for ; Tue, 22 Aug 2017 04:18:11 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail.karels.net (mail.karels.net [63.231.190.5]) by mx1.freebsd.org (Postfix) with ESMTP id 14B2A70875; Tue, 22 Aug 2017 04:18:10 +0000 (UTC) (envelope-from mike@karels.net) Received: from [10.0.2.11] (mjk-mac2.karels.net [10.0.2.11]) by mail.karels.net (8.15.2/8.15.2) with ESMTP id v7M4I36k002938; Mon, 21 Aug 2017 23:18:03 -0500 (CDT) (envelope-from mike@karels.net) From: "Mike Karels" To: "Gopakumar Pillai" Cc: "Julian Elischer" , "Bjoern A. Zeeb" , "freebsd-net@FreeBSD.org" Subject: Re: Only last IP frag sent if ARP entry absent Date: Mon, 21 Aug 2017 23:18:23 -0500 Message-ID: In-Reply-To: References: <43CC3432-DB42-4170-B3E7-E305561973F3@lists.zabbadoz.net> <9B1B1A12-CD9F-4A9F-B596-A2F6E5BAED1E@karels.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Mailer: MailMate (1.9.6r5347) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 22 Aug 2017 04:18:11 -0000 On 21 Aug 2017, at 1:11, Gopakumar Pillai wrote: > Looks like later FreeBSD already has some amount of queueing from what = > Oleg has pointed out: > > $ sysctl net.link.ether.inet.maxhold > net.link.ether.inet.maxhold: 1 > > As Mike mentioned, my fix looks into a logical IP packet. And it keeps = > only one logical IP packet =E2=80=93 i.e 64K bytes =E2=80=93 43 packets= =2E I did = > test it in my code, didn=E2=80=99t see any issues yet. > > Latest FreeBSD code would keep the specified number of physical IP = > packets, possible to have more than one logical IP packet, but could = > possibly break a logical IP packet too. > > I do now understand its not a big deal, especially since there=E2=80=99= s a = > way to configure that in latest FreeBSD code. I shall fix my code one = > of the above 2 ways. Why not just set maxhold to your favorite value (e.g. 43?). > Thank You all for your support and help. > > --Gopu > > > On 8/19/17, 9:56 AM, "Mike Karels" wrote: > > > > On 19 Aug 2017, at 4:00, Julian Elischer wrote: > > > On 18/8/17 11:33 am, Mike Karels wrote: > >> Another $.02 (inline): > >> > >> On 17 Aug 2017, at 18:39, Gopakumar Pillai wrote: > >> > >>> Thank You Bjoern. Could you please point me to the RFC? > >> > >> I don=E2=80=99t know if there is anything more recent than RFC11= 22 on = > this. > >> IIRC, it requires queuing at least one packet. Queing one = > packet is > >> what BSD has done essentially since ARP was implemented. > > > > This asks the question: One physical packet or one logical = > packet? > > Gopakumar's change effectively changes the queuing from one = > physical > > packet to the logical one. > > The next question becomes "how much extra work do we do to = > achieve > > this and does it affect anything else"? > > That isn=E2=80=99t the whole question. It=E2=80=99s one physical p= acket, one > logical packet, or multiple frames? > It makes more sense to me to support multiple frames rather than = > just > one logical packet. However, > I don=E2=80=99t see a good reason to change from the current code. > > >>> If this is not a MUST behavior in RFC, would my fix be good? I = > agree > >>> that this would affect only ICMP/UDP traffic. > >> > >> People have been asking for queuing of multiple packets for = > years. > >> That is a more general change. Consider another dumb = > application > >> that starts out by sending multiple UDP packets back-to-back. > >> However, well-designed application protocols don=E2=80=99t exper= ience > >> problems like this. I=E2=80=99ll quickly note that ping isn=E2=80= =99t an > >> application, but a network measuring tool. If you ask the = > question > >> =E2=80=9Cwhat happens if I start off a session with a single lar= ge = > packet > >> and I don=E2=80=99t support retransmission=E2=80=9D, ping answer= s that = > question > >> correctly. > >> > >> If badly-designed protocols get bad performance, that doesn=E2=80= =99t = > seem > >> like a bug to me, but a feature. > >> > >>> On 8/17/17, 2:40 PM, "Bjoern A. Zeeb" > >>> wrote: > >>> > >>> On 17 Aug 2017, at 21:16, Gopakumar Pillai wrote: > >>> > >>> > Hi FreeBSD Networking Gurus, > >>> > I came across an issue with an old version of FreeBSD = > and > >>> looking at > >>> > the latest FreeBSD code, seems it exists even now. I am > >>> assuming that > >>> > this issue is not reported. > >>> > > >>> > Observation: > >>> > When a ping was performed with larger payload than MTU, = > the > >>> first ping > >>> > failed when the ARP entry was absent for that IP. > >>> > >>> That is because ping/ICMP has no retransmit. > >>> > >>> > >>> > Noticed on the wire that the last IP fragment was sent = > for the > >>> first > >>> > request and then the subsequent requests were fine. > >>> > > >>> > Root Cause: > >>> > * ip_output fragments the packets and loops through = > the > >>> fragments to > >>> > send them to ether_output. > >>> > * ether_output does an arpresolve and if there is no > >>> existing ARP > >>> > entry it'll return EWOULDBLOCK after sending ARP = > Request. > >>> > * ether_output ignores the error and propagates = > success to > >>> ip_output > >>> > and it continues to send the remaining fragments. > >>> > * llentry keeps only one mbuf and the last fragment is > >>> retained when > >>> > the ARP Reply comes and the fragment is sent. > >>> > >>> Yes, according to the spec (RFC) we are supposed to throw = > the > >>> packet > >>> away entirely and simply report that to the next upper = > layer. > >>> However > >>> over the years people realised that this sucks for a TCP = > SYN > >>> packet with > >>> a retransmit timer and hence we store one of them. > >>> > >>> A large UDP packet would btw see the same behaviour to = > your > >>> ping. > >>> There=E2=80=99s no guarantee any of these packets will not = be = > dropped > >>> anywhere > >>> on the network, so we can as well. > >>> > >>> Just my 2ct > >>> > >>> /bz > >> > >> Mike > >> _______________________________________________ > >> freebsd-net@freebsd.org mailing list > >> = > https://urldefense.proofpoint.com/v2/url?u=3Dhttps-3A__lists.freebsd.or= g_mailman_listinfo_freebsd-2Dnet&d=3DDwIFaQ&c=3DuilaK90D4TOVoH58JNXRgQ&r=3D= SPMIiiJNfXk7ujuip5qobK77LnnVM8kVNC-LzM_0RWk&m=3DgVqPCwvWs-eO0Y8jGefr8abxl= nmG_GklVISDsn3solU&s=3D_748SiGYexZf7oZMSG2ZVDkzcelyZECM0lFMpbojDWA&e=3D > >> To unsubscribe, send any mail to > >> "freebsd-net-unsubscribe@freebsd.org" > >> > >> > > > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > = > https://urldefense.proofpoint.com/v2/url?u=3Dhttps-3A__lists.freebsd.or= g_mailman_listinfo_freebsd-2Dnet&d=3DDwIFaQ&c=3DuilaK90D4TOVoH58JNXRgQ&r=3D= SPMIiiJNfXk7ujuip5qobK77LnnVM8kVNC-LzM_0RWk&m=3DgVqPCwvWs-eO0Y8jGefr8abxl= nmG_GklVISDsn3solU&s=3D_748SiGYexZf7oZMSG2ZVDkzcelyZECM0lFMpbojDWA&e=3D > > To unsubscribe, send any mail to = > "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Tue Aug 22 04:27:15 2017 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 25EADDEF91C for ; Tue, 22 Aug 2017 04:27: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 144B570D27 for ; Tue, 22 Aug 2017 04:27: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 v7M4RExq043295 for ; Tue, 22 Aug 2017 04:27:14 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221137] FreeBSD 11+ does not send ICMP redirects Date: Tue, 22 Aug 2017 04:27:15 +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.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: igorr@speechpro.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.23 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, 22 Aug 2017 04:27:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221137 --- Comment #7 from igorr@speechpro.com --- Can somebody check my patch and if everything is good commit it? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Aug 22 04:39:59 2017 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 BAA23DC8805 for ; Tue, 22 Aug 2017 04:39:59 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mx1.freebsd.org (Postfix) with ESMTP id 901AF712E9 for ; Tue, 22 Aug 2017 04:39:59 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 73D3F5FA06; Tue, 22 Aug 2017 04:39:59 +0000 (UTC) Date: Tue, 22 Aug 2017 04:39:59 +0000 To: freebsd-net@freebsd.org From: "franco_opnsense.org (Franco Fichtner)" Reply-to: D9270+325+bbd470fd257eef1b@reviews.freebsd.org Subject: [Differential] D9270: Add support for user-supplied Host-Uniq tag and handle PADM messages in Netgraph PPPoE Message-ID: <3965691fc1bffe77f75fa24a0925e8ba@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: Thread-Topic: D9270: Add support for user-supplied Host-Uniq tag in Netgraph PPPoE X-Herald-Rules: <28>, <8> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: NTZkNjQzYWQxOGQ3MGJlZTIzOGZhZmQ4NGNmIFmbtZ8= MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Aug 2017 04:39:59 -0000 ZnJhbmNvX29wbnNlbnNlLm9yZyBhZGRlZCBhIGNvbW1lbnQuCgoKICBXZSBkbyBzZWVtIHRvIGhh dmUgYSBwZXJzaXN0ZW50IHByb2JsZW0gd2l0aCB0aGlzIHBhdGNoIGluIHNvbWUgUFBQb0UgZW52 aXJvbm1lbnRzIHRoYXQgd2lsbCBjYXVzZSBhIGNyYXNoIGluIG5nX3BwcG9lX3JjdmRhdGFfZXRo ZXIoKToKICAKICBodHRwczovL2liYi5jby9tUldLSEYKICBodHRwczovL2liYi5jby9pT3hSeEYK ICBodHRwczovL2ZvcnVtLm9wbnNlbnNlLm9yZy9pbmRleC5waHA/dG9waWM9NTY5Ny4wCiAgCiAg UGxlYXNlIGFkdmlzZS4KClJFUE9TSVRPUlkKICByUyBGcmVlQlNEIHNyYyByZXBvc2l0b3J5CgpS RVZJU0lPTiBERVRBSUwKICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvRDkyNzAKCkVNQUlM IFBSRUZFUkVOQ0VTCiAgaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL3NldHRpbmdzL3BhbmVs L2VtYWlscHJlZmVyZW5jZXMvCgpUbzogYWxlLCAjbWFucGFnZXMsIHdibG9jaywgI25ldHdvcmss IGp1bGlhbiwgbWF2LCBhZHJpYW4sIGdsZWJpdXMKQ2M6IGZyYW5jb19vcG5zZW5zZS5vcmcsIG1s ZW9uZTg3X2hvdG1haWwuY29tLCBnbGViaXVzLCB3YmxvY2ssIG1hdiwgcG9vbHJvb21fZ21haWwu Y29tLCBtYW5kcmVlLCBpbXAsIGZyZWVic2QtbmV0LWxpc3QK From owner-freebsd-net@freebsd.org Tue Aug 22 08:08:18 2017 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 2BCB2DD7034 for ; Tue, 22 Aug 2017 08:08:18 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mx1.freebsd.org (Postfix) with ESMTP id 011E476DDC for ; Tue, 22 Aug 2017 08:08:18 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id C5F102BFB; Tue, 22 Aug 2017 08:08:17 +0000 (UTC) Date: Tue, 22 Aug 2017 08:08:17 +0000 To: freebsd-net@freebsd.org From: "eugen_grosbein.net (Eugene Grosbein)" Reply-to: D9270+325+bbd470fd257eef1b@reviews.freebsd.org Subject: [Differential] D9270: Add support for user-supplied Host-Uniq tag and handle PADM messages in Netgraph PPPoE Message-ID: <2fbac8e5d9be2a935c97f2f7651f689e@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , Thread-Topic: D9270: Add support for user-supplied Host-Uniq tag in Netgraph PPPoE X-Herald-Rules: <28>, <8> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: NTZkNjQzYWQxOGQ3MGJlZTIzOGZhZmQ4NGNmIFmb5nE= MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Aug 2017 08:08:18 -0000 ZXVnZW5fZ3Jvc2JlaW4ubmV0IGFkZGVkIGEgY29tbWVudC4KCgogIEluIGh0dHBzOi8vcmV2aWV3 cy5mcmVlYnNkLm9yZy9EOTI3MCMyNTEwODcsIEBmcmFuY29fb3Buc2Vuc2Uub3JnIHdyb3RlOgog IAogID4gV2UgZG8gc2VlbSB0byBoYXZlIGEgcGVyc2lzdGVudCBwcm9ibGVtIHdpdGggdGhpcyBw YXRjaCBpbiBzb21lIFBQUG9FIGVudmlyb25tZW50cyB0aGF0IHdpbGwgY2F1c2UgYSBjcmFzaCBp biBuZ19wcHBvZV9yY3ZkYXRhX2V0aGVyKCk6CiAgPgogID4gaHR0cHM6Ly9pYmIuY28vbVJXS0hG CiAgPiAgaHR0cHM6Ly9pYmIuY28vaU94UnhGCiAgPiAgaHR0cHM6Ly9mb3J1bS5vcG5zZW5zZS5v cmcvaW5kZXgucGhwP3RvcGljPTU2OTcuMAogID4KICA+IFBsZWFzZSBhZHZpc2UuCiAgCiAgCiAg WW91ciBwcm9ibGVtIGRvZXMgbm90IHNlZW0gdG8gYmUgY29ubmVjdGVkIHRvIHRoaXMgcmV2aWV3 LiBQbGVhc2UgdXNlIEJ1Z3ppbGxhIGh0dHBzOi8vYnVncy5mcmVlYnNkLm9yZy8gYW5kIHN1Ym1p dCBidWcgcmVwb3J0IHRoZXJlIHNwZWNpZnlpbmcgZXhhY3QgRnJlZUJTRCB2ZXJzaW9uIHlvdXIg c3lzdGVtIGlzIGJhc2VkIG9uIGFuZCBzdGVwcyBuZWVkZWQgdG8gcmVwcm9kdWNlIHRoZSBwcm9i bGVtLgoKUkVQT1NJVE9SWQogIHJTIEZyZWVCU0Qgc3JjIHJlcG9zaXRvcnkKClJFVklTSU9OIERF VEFJTAogIGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9EOTI3MAoKRU1BSUwgUFJFRkVSRU5D RVMKICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvc2V0dGluZ3MvcGFuZWwvZW1haWxwcmVm ZXJlbmNlcy8KClRvOiBhbGUsICNtYW5wYWdlcywgd2Jsb2NrLCAjbmV0d29yaywganVsaWFuLCBt YXYsIGFkcmlhbiwgZ2xlYml1cwpDYzogZXVnZW5fZ3Jvc2JlaW4ubmV0LCBmcmFuY29fb3Buc2Vu c2Uub3JnLCBtbGVvbmU4N19ob3RtYWlsLmNvbSwgZ2xlYml1cywgd2Jsb2NrLCBtYXYsIHBvb2xy b29tX2dtYWlsLmNvbSwgbWFuZHJlZSwgaW1wLCBmcmVlYnNkLW5ldC1saXN0Cg== From owner-freebsd-net@freebsd.org Tue Aug 22 08:09:19 2017 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 A1275DD7180 for ; Tue, 22 Aug 2017 08:09:19 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mx1.freebsd.org (Postfix) with ESMTP id 74B7C76F22 for ; Tue, 22 Aug 2017 08:09:19 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 58EA42DFA; Tue, 22 Aug 2017 08:09:19 +0000 (UTC) Date: Tue, 22 Aug 2017 08:09:19 +0000 To: freebsd-net@freebsd.org From: "franco_opnsense.org (Franco Fichtner)" Reply-to: D9270+325+bbd470fd257eef1b@reviews.freebsd.org Subject: [Differential] D9270: Add support for user-supplied Host-Uniq tag and handle PADM messages in Netgraph PPPoE Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: Thread-Topic: D9270: Add support for user-supplied Host-Uniq tag in Netgraph PPPoE X-Herald-Rules: <28>, <8> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: NTZkNjQzYWQxOGQ3MGJlZTIzOGZhZmQ4NGNmIFmb5q8= MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Aug 2017 08:09:19 -0000 ZnJhbmNvX29wbnNlbnNlLm9yZyBhZGRlZCBhIGNvbW1lbnQuCgoKICBUaGFua3MsIGJ1dCB3ZSd2 ZSBuYXJyb3dlZCBpdCBkb3duIHRvIHRoaXMgY29tbWl0LgoKUkVQT1NJVE9SWQogIHJTIEZyZWVC U0Qgc3JjIHJlcG9zaXRvcnkKClJFVklTSU9OIERFVEFJTAogIGh0dHBzOi8vcmV2aWV3cy5mcmVl YnNkLm9yZy9EOTI3MAoKRU1BSUwgUFJFRkVSRU5DRVMKICBodHRwczovL3Jldmlld3MuZnJlZWJz ZC5vcmcvc2V0dGluZ3MvcGFuZWwvZW1haWxwcmVmZXJlbmNlcy8KClRvOiBhbGUsICNtYW5wYWdl cywgd2Jsb2NrLCAjbmV0d29yaywganVsaWFuLCBtYXYsIGFkcmlhbiwgZ2xlYml1cwpDYzogZXVn ZW5fZ3Jvc2JlaW4ubmV0LCBmcmFuY29fb3Buc2Vuc2Uub3JnLCBtbGVvbmU4N19ob3RtYWlsLmNv bSwgZ2xlYml1cywgd2Jsb2NrLCBtYXYsIHBvb2xyb29tX2dtYWlsLmNvbSwgbWFuZHJlZSwgaW1w LCBmcmVlYnNkLW5ldC1saXN0Cg== From owner-freebsd-net@freebsd.org Tue Aug 22 08:16:18 2017 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 9ED1ADD7738 for ; Tue, 22 Aug 2017 08:16:18 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mx1.freebsd.org (Postfix) with ESMTP id 7402C773A8 for ; Tue, 22 Aug 2017 08:16:18 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 598736521; Tue, 22 Aug 2017 08:16:18 +0000 (UTC) Date: Tue, 22 Aug 2017 08:16:18 +0000 To: freebsd-net@freebsd.org From: "eugen_grosbein.net (Eugene Grosbein)" Reply-to: D9270+325+bbd470fd257eef1b@reviews.freebsd.org Subject: [Differential] D9270: Add support for user-supplied Host-Uniq tag and handle PADM messages in Netgraph PPPoE Message-ID: <4c0a0d2227279e3dc1604e5f81eb3df8@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: Thread-Topic: D9270: Add support for user-supplied Host-Uniq tag in Netgraph PPPoE X-Herald-Rules: <28>, <8> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: NTZkNjQzYWQxOGQ3MGJlZTIzOGZhZmQ4NGNmIFmb6FI= MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Aug 2017 08:16:18 -0000 ZXVnZW5fZ3Jvc2JlaW4ubmV0IGFkZGVkIGEgY29tbWVudC4KCgogIEluIGh0dHBzOi8vcmV2aWV3 cy5mcmVlYnNkLm9yZy9EOTI3MCMyNTExMDgsIEBmcmFuY29fb3Buc2Vuc2Uub3JnIHdyb3RlOgog IAogID4gVGhhbmtzLCBidXQgd2UndmUgbmFycm93ZWQgaXQgZG93biB0byB0aGlzIGNvbW1pdC4K ICAKICAKICBBbnl3YXksIEJ1Z3ppbGxhIHNob3VsZCBiZSB1c2VkIGZvciBidWcgcmVwb3J0cy4g RG9uJ3QgZm9yZ2V0IHRvIGRlc2NyaWJlIGhvdyBkaWQgeW91IG5hcnJvd2VkIGl0IHRvIHRoZSBj b21taXQgaW4geW91ciBQUi4KClJFUE9TSVRPUlkKICByUyBGcmVlQlNEIHNyYyByZXBvc2l0b3J5 CgpSRVZJU0lPTiBERVRBSUwKICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvRDkyNzAKCkVN QUlMIFBSRUZFUkVOQ0VTCiAgaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL3NldHRpbmdzL3Bh bmVsL2VtYWlscHJlZmVyZW5jZXMvCgpUbzogYWxlLCAjbWFucGFnZXMsIHdibG9jaywgI25ldHdv cmssIGp1bGlhbiwgbWF2LCBhZHJpYW4sIGdsZWJpdXMKQ2M6IGV1Z2VuX2dyb3NiZWluLm5ldCwg ZnJhbmNvX29wbnNlbnNlLm9yZywgbWxlb25lODdfaG90bWFpbC5jb20sIGdsZWJpdXMsIHdibG9j aywgbWF2LCBwb29scm9vbV9nbWFpbC5jb20sIG1hbmRyZWUsIGltcCwgZnJlZWJzZC1uZXQtbGlz dAo= From owner-freebsd-net@freebsd.org Tue Aug 22 08:18:49 2017 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 75095DD79CB for ; Tue, 22 Aug 2017 08:18:49 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mx1.freebsd.org (Postfix) with ESMTP id 4A9CF77542 for ; Tue, 22 Aug 2017 08:18:49 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 3040067B9; Tue, 22 Aug 2017 08:18:49 +0000 (UTC) Date: Tue, 22 Aug 2017 08:18:49 +0000 To: freebsd-net@freebsd.org From: "franco_opnsense.org (Franco Fichtner)" Reply-to: D9270+325+bbd470fd257eef1b@reviews.freebsd.org Subject: [Differential] D9270: Add support for user-supplied Host-Uniq tag and handle PADM messages in Netgraph PPPoE Message-ID: <8c0c296fd56ceb4cbaf0a3777d5c2379@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: Thread-Topic: D9270: Add support for user-supplied Host-Uniq tag in Netgraph PPPoE X-Herald-Rules: <28>, <8> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: NTZkNjQzYWQxOGQ3MGJlZTIzOGZhZmQ4NGNmIFmb6Ok= MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Aug 2017 08:18:49 -0000 ZnJhbmNvX29wbnNlbnNlLm9yZyBhZGRlZCBhIGNvbW1lbnQuCgoKICBObywgSSdtIG5vdCBhc2tp bmcgZm9yIHN1cHBvcnQgdGhhdCB3b3VsZCB0YWtlIGEgZmV3IHdlZWtzIG9mIHBpbmcgcG9uZyBp biBhIGJ1ZyB0cmFja2VyLCBpZiBhbnkuIFRoaXMgaXMgcmVhbCB3b3JsZCBmZWVkYmFjayBmb3Ig dGhpcyByZXZpZXcuIFRha2UgaXQgb3IgbGVhdmUgaXQuIDopCgpSRVBPU0lUT1JZCiAgclMgRnJl ZUJTRCBzcmMgcmVwb3NpdG9yeQoKUkVWSVNJT04gREVUQUlMCiAgaHR0cHM6Ly9yZXZpZXdzLmZy ZWVic2Qub3JnL0Q5MjcwCgpFTUFJTCBQUkVGRVJFTkNFUwogIGh0dHBzOi8vcmV2aWV3cy5mcmVl YnNkLm9yZy9zZXR0aW5ncy9wYW5lbC9lbWFpbHByZWZlcmVuY2VzLwoKVG86IGFsZSwgI21hbnBh Z2VzLCB3YmxvY2ssICNuZXR3b3JrLCBqdWxpYW4sIG1hdiwgYWRyaWFuLCBnbGViaXVzCkNjOiBl dWdlbl9ncm9zYmVpbi5uZXQsIGZyYW5jb19vcG5zZW5zZS5vcmcsIG1sZW9uZTg3X2hvdG1haWwu Y29tLCBnbGViaXVzLCB3YmxvY2ssIG1hdiwgcG9vbHJvb21fZ21haWwuY29tLCBtYW5kcmVlLCBp bXAsIGZyZWVic2QtbmV0LWxpc3QK From owner-freebsd-net@freebsd.org Tue Aug 22 08:39:24 2017 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 C8504DD8DD4 for ; Tue, 22 Aug 2017 08:39:24 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mx1.freebsd.org (Postfix) with ESMTP id 9D71B7C2C7 for ; Tue, 22 Aug 2017 08:39:24 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 7FDFE843D; Tue, 22 Aug 2017 08:39:24 +0000 (UTC) Date: Tue, 22 Aug 2017 08:39:24 +0000 To: freebsd-net@freebsd.org From: "eugen_grosbein.net (Eugene Grosbein)" Reply-to: D9270+325+bbd470fd257eef1b@reviews.freebsd.org Subject: [Differential] D9270: Add support for user-supplied Host-Uniq tag and handle PADM messages in Netgraph PPPoE Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: Thread-Topic: D9270: Add support for user-supplied Host-Uniq tag in Netgraph PPPoE X-Herald-Rules: <28>, <8> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: NTZkNjQzYWQxOGQ3MGJlZTIzOGZhZmQ4NGNmIFmb7bw= MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Aug 2017 08:39:24 -0000 ZXVnZW5fZ3Jvc2JlaW4ubmV0IGFkZGVkIGEgY29tbWVudC4KCgogID4gTm8sIEknbSBub3QgYXNr aW5nIGZvciBzdXBwb3J0IHRoYXQgd291bGQgdGFrZSBhIGZldyB3ZWVrcyBvZiBwaW5nIHBvbmcg aW4gYSBidWcgdHJhY2tlciwgaWYgYW55LiBUaGlzIGlzIHJlYWwgd29ybGQgZmVlZGJhY2sgZm9y IHRoaXMgcmV2aWV3LiBUYWtlIGl0IG9yIGxlYXZlIGl0LiA6KQogIAogIEkgd2FzIGdvaW5nIHRv IGRlYWwgd2l0aCB0aGlzIHByb2JsZW0gYnV0IEkgbmVlZCBtZW50aW9uZWQgZGV0YWlscyB0byBz dGFydCB3aXRoLiBCdXQgaWYgeW91IGFyZSBub3QgZ29pbmcgdG8gc3VibWl0IHRoZW0gaW4gYSBQ UiwgeW91IGhhcmRseSB3aWxsIGdldCBhIHNvbHV0aW9uLiBBbmQgdGhpcyBpcyBOT1QgcmlnaHQg cGxhY2UgZm9yIGJ1ZyBwcm9jZXNzaW5nLCBCdWd6aWxsYSBpcy4KClJFUE9TSVRPUlkKICByUyBG cmVlQlNEIHNyYyByZXBvc2l0b3J5CgpSRVZJU0lPTiBERVRBSUwKICBodHRwczovL3Jldmlld3Mu ZnJlZWJzZC5vcmcvRDkyNzAKCkVNQUlMIFBSRUZFUkVOQ0VTCiAgaHR0cHM6Ly9yZXZpZXdzLmZy ZWVic2Qub3JnL3NldHRpbmdzL3BhbmVsL2VtYWlscHJlZmVyZW5jZXMvCgpUbzogYWxlLCAjbWFu cGFnZXMsIHdibG9jaywgI25ldHdvcmssIGp1bGlhbiwgbWF2LCBhZHJpYW4sIGdsZWJpdXMKQ2M6 IGV1Z2VuX2dyb3NiZWluLm5ldCwgZnJhbmNvX29wbnNlbnNlLm9yZywgbWxlb25lODdfaG90bWFp bC5jb20sIGdsZWJpdXMsIHdibG9jaywgbWF2LCBwb29scm9vbV9nbWFpbC5jb20sIG1hbmRyZWUs IGltcCwgZnJlZWJzZC1uZXQtbGlzdAo= From owner-freebsd-net@freebsd.org Tue Aug 22 08:39:35 2017 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 1E0D6DD8E0F for ; Tue, 22 Aug 2017 08:39:35 +0000 (UTC) (envelope-from borisbsd@gmail.com) Received: from mail-qk0-x236.google.com (mail-qk0-x236.google.com [IPv6:2607:f8b0:400d:c09::236]) (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 CABDE7C35B for ; Tue, 22 Aug 2017 08:39:34 +0000 (UTC) (envelope-from borisbsd@gmail.com) Received: by mail-qk0-x236.google.com with SMTP id k126so10677634qkb.5 for ; Tue, 22 Aug 2017 01:39:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=jlgMEOgHm9mCfHzQH75oP1zR7Pxj2FFRNip6kPJAPjo=; b=iJ2TajMjCwPG8ggi3BAPLswdVuDiPZXfRiT+kRyXWs3/bRT+D1uKiMN8S5h++MdUeG +Q7XrOXFyiT8+3xj93HULkowST/KURJfh3M3fUyetu8/wOV1oga8Q/1hrzsgvjIjl46u PTyOaVE6/3L+SzQEVMaxZBe2Xy6LJjSa2rY2MXr1VdC99kTFylhziw21XdgX9AqDdfWH B6u0nkJE1RoehYg5Jgnk+Xh6W6qHwioBwl1VlMVN1kwaVykwi95fcEIkRMNLs9uleHL7 OQZ+75e6MIvl2VEVeIOeK59jEFBIU+FDO4xqJKdPFA/kOAHKjZ0pz34C/+ap5RJbkOwA c+MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=jlgMEOgHm9mCfHzQH75oP1zR7Pxj2FFRNip6kPJAPjo=; b=Ody+AkXSLmpwXDt82Eg7MBanUjGRDltASnLd8xlrUEpGPsN+HWo/DviKQjgHMf1NN8 EEJcdqcSrnq7xRbMs2E+E/Tt/ClPVXFRGivEEdCEbuDeSi3RFam8W578nMpBqrT6MAgj qgGwvYnvnLF+cHoR7+GnWfXf8reRPAqhL7Z15VphRaeP7bg5JIpO1d60bTIcvKDEVEju 5TeDMKv/v6ZGDyIaUk06EkvHiKY+FOGpaEgBQjD6n82TU1kXF5OZSPOJOjUke1x2Y80E qQZ5ofYWkIVAGCAr4U2THpsUeKLX40XcQ2ey0GgwFqbIUqGIoSxON1KIR3JMhsryDhUC s1ug== X-Gm-Message-State: AHYfb5irXxVyzwbtXG//mCayK89F2kYO75D7nBp9dM7fKjHsdvm2Jsdm 0tWd3KxduB7KtfiCswLrdBjnpYnE0Hkz X-Received: by 10.55.221.155 with SMTP id u27mr25911301qku.242.1503391173775; Tue, 22 Aug 2017 01:39:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.82.166 with HTTP; Tue, 22 Aug 2017 01:39:33 -0700 (PDT) In-Reply-To: <599B8576.8030801@grosbein.net> References: <599B8576.8030801@grosbein.net> From: Boris Date: Tue, 22 Aug 2017 04:39:33 -0400 Message-ID: Subject: Re: bridge interface IP connectivity issue when using oce interface To: Eugene Grosbein Cc: freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 22 Aug 2017 08:39:35 -0000 Ok thanks Eugene. net.link.bridge.inherit_mac=3D1 helped get the connectivity from the bridge however, when I start a FreeBSD bhyve VM and attached that to a tap interface in the bridge, I don't get connectivity from the VM. SETUP: Gateway - 192.168.0.222/29 Server - 192.168.0.218/29 VM - 192.168.0.219/29 On the VM, I see the ARP entries for the GW and the VM itself but cannot ping the gateway nor the host. --------- on the VM -------------- # uname -a FreeBSD 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321309: Fri Jul 21 02:08:28 UTC 2017 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 # ifconfig vtnet0: flags=3D8943 metric= 0 mtu 1500 options=3D80028 ether 00:a0:98:52:c8:33 hwaddr 00:a0:98:52:c8:33 inet 192.168.0.219 netmask 0xfffffff8 broadcast 192.168.0.223 nd6 options=3D29 media: Ethernet 10Gbase-T status: active # ping -c4 192.168.0.222 PING 192.168.0.222 (192.168.0.222): 56 data bytes ^C --- 192.168.0.222 ping statistics --- 4 packets transmitted, 0 packets received, 100.0% packet loss # arp -an ? (192.168.0.219) at 00:a0:98:52:c8:33 on vtnet0 permanent [ethernet] ? (192.168.0.218) at (incomplete) on vtnet0 expired [ethernet] ? (192.168.0.222) at 00:08:e3:ff:fd:90 on vtnet0 expires in 1126 seconds [ethernet] ----------- end of VM ---------------- ----------- on the host --------------- root@bsdcan:~ # uname -a FreeBSD bsdcan 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321309: Fri Jul 21 02:08:28 UTC 2017 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GEN= ERIC amd64 root@bsdcan:~ # ifconfig [..] oce3: flags=3D8143 metric 0 mtu 150= 0 options=3D500b9 ether 90:1b:0e:98:d3:93 hwaddr 90:1b:0e:98:d3:93 nd6 options=3D29 media: Ethernet autoselect (1000baseT ) status: active [..] tap0: flags=3D8942 metric 0 mt= u 1500 options=3D80000 ether 00:bd:0f:bb:27:00 hwaddr 00:bd:0f:bb:27:00 nd6 options=3D29 media: Ethernet autoselect status: active groups: tap Opened by PID 81874 bridge0: flags=3D8843 metric 0 mtu 1500 ether 90:1b:0e:98:d3:93 inet 192.168.0.218 netmask 0xfffffff8 broadcast 192.168.0.223 nd6 options=3D9 groups: bridge id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: tap0 flags=3D143 ifmaxaddr 0 port 7 priority 128 path cost 55 member: oce3 flags=3D143 ifmaxaddr 0 port 4 priority 128 path cost 2000 root@bsdcan:~ # ifconfig bridge0 addr 00:08:e3:ff:fd:90 Vlan1 oce3 1200 flags=3D0<> root@bsdcan:~ # ps aux | grep vmrun root 47167 0.0 0.0 14828 2396 1 S+ 04:08 0:00.00 grep vmrun root 73264 0.0 0.0 13180 2740 2 I+ 03:39 0:00.00 sh /usr/share/examples/bhyve/vmrun.sh -c 10 -m 8192M -t tap0 -d guest.img -i -I FreeBSD-11.1-RELEASE-amd root@bsdcan:~ # arp -an ? (192.168.0.218) at 90:1b:0e:98:d3:93 on bridge0 permanent [bridge] ? (192.168.0.222) at 00:08:e3:ff:fd:90 on bridge0 expires in 1191 seconds [bridge] root@bsdcan:~ # sysctl net.link.bridge net.link.bridge.ipfw: 0 net.link.bridge.allow_llz_overlap: 1 net.link.bridge.inherit_mac: 1 net.link.bridge.log_stp: 0 net.link.bridge.pfil_local_phys: 1 net.link.bridge.pfil_member: 0 net.link.bridge.ipfw_arp: 0 net.link.bridge.pfil_bridge: 1 net.link.bridge.pfil_onlyip: 1 --------------- end of host ---------- Shouldn't the VM mac address show up in the MAC address table of the bridge0 ? When I 'tcpdump -i tap0 -vv' I see literally only the ARP request from the .222 towards the VM and nothing back from the VM at all which does not make a lot of sense since I get the '-t tap0' when launching the VM, I would expect some traffic on the tap0 intf from the VM. Any thoughts on where filtering could happen? I assume the VM should be able to ping the IP set on the bridge0. Is it fair assumption? Thanks. On Mon, Aug 21, 2017 at 9:14 PM, Eugene Grosbein wrote= : > 22.08.2017 7:49, Boris =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > Hi all, > > > > I have two environments. > > > > Environment A: > > Server running fresh install of 11.1-RELEASE with bge physical NIC. > > If I just configure a bridge interface, add a physical NIC which has > > working connectivity, say bge3, and add an IP address on the bridge > > interface in the same subnet as bge3, I can ping that IP from any host = on > > the LAN. > > > > Environment B: > > Server running fresh install of 11.1-RELEASE with oce physical NIC. > > If I just configure a bridge interface, add a physical NIC which has > > working connectivity, say oce3, and add an IP address on the bridge > > interface in the same subnet as oce3, I CANNOT ping that IP from anywhe= re > > on the LAN. > > First, when you add member interfaces to a bridge, you should move all > their > IP addresses to the bridge. That is, bridge member interfaces should > have no IP addresses, only bridge itself. > > Second, you should re-read bridge(4) manual page and use > sysctl net.link.bridge.inherit_mac=3D1 and use physical NIC as first > bridge member so that your uplink has no reasons to filter > traffic of the bridge due to its fabricated MAC. > > > > > > I need the bridge as I would like to have bhyve VM's connected through > that > > bridge to the outside - plain bridged networking, no NAT or anything > else. > > Unfortunately, the VM does not have any connectivity to the outside. Wh= at > > is weird is that I see the ARP entries in the VM for its gateway, I see > the > > MAC addresses in the bridge for the VM and the gateway, but no IP > > connectivity seems to work - ping fails. > > I disabled TX checksum and other things using 'ifconfig oce3 -txcsum -l= ro > > -tso' to avoid messages around capabilities issues when adding a tap > > interface which does not have the same features as the physical > interface. > > So far, I have not been able to get IP connectivity to the VM. > > > > In terms of documentation, I have used the handbook to create the VM: > > https://www.freebsd.org/doc/handbook/virtualization-host-bhyve.html > > > > I have used the handbook to create the bridge: > > https://www.freebsd.org/doc/handbook/network-bridging.html > > > > Under 30.6.1, it says, I should be able to configure the bridge with an > IP > > address which seems to fail when the 'oce' interface is used. > > > > Would anybody have any pointer at what to do next to help identify the > > issue? > > > > Thanks ! > > _______________________________________________ > > 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" > > > > > > From owner-freebsd-net@freebsd.org Tue Aug 22 08:44:47 2017 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 F3716DD94B2 for ; Tue, 22 Aug 2017 08:44:47 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8AF807C783 for ; Tue, 22 Aug 2017 08:44:46 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id v7M8iZFe041235 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 22 Aug 2017 10:44:36 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: borisbsd@gmail.com Received: from eg.sd.rdtc.ru (eugen@localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTP id v7M8iVHV021662; Tue, 22 Aug 2017 15:44:31 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: bridge interface IP connectivity issue when using oce interface To: Boris References: <599B8576.8030801@grosbein.net> Cc: freebsd-net@freebsd.org From: Eugene Grosbein Message-ID: <599BEEEF.7080807@grosbein.net> Date: Tue, 22 Aug 2017 15:44:31 +0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: Yes, score=5.5 required=5.0 tests=BAYES_00, DATE_IN_FUTURE_96_Q, LOCAL_FROM,RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * 3.3 DATE_IN_FUTURE_96_Q Date: is 4 days to 4 months after Received: date * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-Spam-Flag: YES X-Spam-Level: ***** X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 22 Aug 2017 08:44:48 -0000 On 22.08.2017 15:39, Boris wrote: > Ok thanks Eugene. > net.link.bridge.inherit_mac=1 helped get the connectivity from the bridge however, when I start a FreeBSD bhyve VM and attached that to a tap interface in the bridge, I don't get connectivity from the VM. > > SETUP: > Gateway - 192.168.0.222/29 > Server - 192.168.0.218/29 > VM - 192.168.0.219/29 > > On the VM, I see the ARP entries for the GW and the VM itself but cannot ping the gateway nor the host. This means your uplink filters traffic of your VM due to its fabricated MAC address. You should ask administrator of switching network you are connected to for assistance or hide your VM behind NAT using bridging VM traffic with tap(4) interface instead of real one or bridge and do routing/NAT for VM. From owner-freebsd-net@freebsd.org Tue Aug 22 08:49:00 2017 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 7D6DFDD97EA for ; Tue, 22 Aug 2017 08:49:00 +0000 (UTC) (envelope-from borisbsd@gmail.com) Received: from mail-qt0-x236.google.com (mail-qt0-x236.google.com [IPv6:2607:f8b0:400d:c0d::236]) (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 3719D7C8E6 for ; Tue, 22 Aug 2017 08:49:00 +0000 (UTC) (envelope-from borisbsd@gmail.com) Received: by mail-qt0-x236.google.com with SMTP id d15so23394955qta.0 for ; Tue, 22 Aug 2017 01:49:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=l1ey2MnPqeWMF4LolQnt/e+lx1HqE5KF6B3MyGqXpaU=; b=a/hjpPlR4V1M/iwQQRSt5+0wtcELSaXdBbv5FUDXZ5MCbTBFH5BYSMUF4iAqzW7ksc e43jd2IICxqwmwX5ClMsP6J3HioW7CY6fBdRb2mzh8OJ6T8YdfSthoaX/clMAceooIFI l8d9sigBaE5jab3utktouUCI0hGPNNCHmOHAo/dgo5dKzaW8sSCxNdTnjBXKR8s95sQ0 DZ5IK2g0Xt/amADpmBFHjGoOKY3DButLqEDcQZ1jJwGv+FSzz0Q7PT8OGfQnohriMMg/ 3QC1iG68lT1AQGlWyS3VY/jVSzaDm4jI0iEahbpDDvl4Je0Y2iGEWISL6S/etAV9quRs OoWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=l1ey2MnPqeWMF4LolQnt/e+lx1HqE5KF6B3MyGqXpaU=; b=Gh8psLXUp++KBwpsqmafHaM9cNm/aNNA3kvgCqVcX/yBJo2WptOb+60viW8+p9JZot c41Bin1z1qqNPSOy7DOxEpTnOXCXzw10Zvx4C5JvJe9JQedfvvRTDgAkeePzBiE6+bU8 PJBiW9Iky1NUyybxL2jYXGEYFgCs70TgIJjQ7yw98rapoI+cJfFmsnTD7S6PaklKzRcs 8tjVZdHhmo0w5dWVtbxUNgE3mxDRuzo0vHsQOhZ4TrkOe1BI9kfNyoZcrUg9pZwRTqGl uTxWU1WhTWLbapS6ZicADdH28Ghlg/g8Pyw+4iiWBw7XGc+7KCZ0CA5ZLf2amRofrmvV kS0w== X-Gm-Message-State: AHYfb5hzem+38CyuDKW3v1vCw51E7PUsCtplr/+qe2G1Gyau3Q5YEdi5 q0qyHZeH4Dy+MidDF4yNpPZsz9JvZQ== X-Received: by 10.200.55.51 with SMTP id o48mr27852206qtb.120.1503391739337; Tue, 22 Aug 2017 01:48:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.82.166 with HTTP; Tue, 22 Aug 2017 01:48:58 -0700 (PDT) In-Reply-To: <599BEEEF.7080807@grosbein.net> References: <599B8576.8030801@grosbein.net> <599BEEEF.7080807@grosbein.net> From: Boris Date: Tue, 22 Aug 2017 04:48:58 -0400 Message-ID: Subject: Re: bridge interface IP connectivity issue when using oce interface To: Eugene Grosbein Cc: freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 22 Aug 2017 08:49:00 -0000 I own the upstream network and have full access to it. It is configured as a simple router interface (Cisco device). Before looking at that element (which I am not minimizing in the overall issue), shouldn't the VM be able to reach the IP setup on the bridge? At the moment, that does not work and it is very much local to the host. Any thoughts? On Tue, Aug 22, 2017 at 4:44 AM, Eugene Grosbein wrote: > On 22.08.2017 15:39, Boris wrote: > > Ok thanks Eugene. > > net.link.bridge.inherit_mac=1 helped get the connectivity from the > bridge however, when I start a FreeBSD bhyve VM and attached that to a tap > interface in the bridge, I don't get connectivity from the VM. > > > > SETUP: > > Gateway - 192.168.0.222/29 > > Server - 192.168.0.218/29 > > VM - 192.168.0.219/29 > > > > On the VM, I see the ARP entries for the GW and the VM itself but cannot > ping the gateway nor the host. > > This means your uplink filters traffic of your VM due to its fabricated > MAC address. > You should ask administrator of switching network you are connected to for > assistance or > hide your VM behind NAT using bridging VM traffic with tap(4) interface > instead > of real one or bridge and do routing/NAT for VM. > > From owner-freebsd-net@freebsd.org Tue Aug 22 08:55:55 2017 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 69307DD9F19 for ; Tue, 22 Aug 2017 08:55:55 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id F30B07CD4C for ; Tue, 22 Aug 2017 08:55:54 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id v7M8toDn041341 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 22 Aug 2017 10:55:50 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: borisbsd@gmail.com Received: from eg.sd.rdtc.ru (eugen@localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTP id v7M8tkdO024927; Tue, 22 Aug 2017 15:55:46 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: bridge interface IP connectivity issue when using oce interface To: Boris References: <599B8576.8030801@grosbein.net> <599BEEEF.7080807@grosbein.net> Cc: freebsd-net@freebsd.org From: Eugene Grosbein X-Enigmail-Draft-Status: N1110 Message-ID: <599BF192.1010802@grosbein.net> Date: Tue, 22 Aug 2017 15:55:46 +0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: Yes, score=5.5 required=5.0 tests=BAYES_00, DATE_IN_FUTURE_96_Q, LOCAL_FROM,RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * 3.3 DATE_IN_FUTURE_96_Q Date: is 4 days to 4 months after Received: date * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-Spam-Flag: YES X-Spam-Level: ***** X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 22 Aug 2017 08:55:55 -0000 On 22.08.2017 15:48, Boris wrote: > I own the upstream network and have full access to it. > It is configured as a simple router interface (Cisco device). > Before looking at that element (which I am not minimizing in the overall issue), shouldn't the VM be able to reach the IP setup on the bridge? At the moment, that does not work and it is very much local to the host. > Any thoughts? I've no experience with bhyve and its networking. And yes, you should be able to run ping between VM and host without problems. You should make sure tcpdump shows you ARP traffic on BOTH sides of the interface between host and VM. If not, you should first disconnect it from the bridge and repeat the test. If that does not help, stay away from bridge(4) for a while until you fix that. You may need to contact bhyve developers in that case. From owner-freebsd-net@freebsd.org Tue Aug 22 14:04:29 2017 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 C3425DED44E for ; Tue, 22 Aug 2017 14:04:29 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: from mail-wr0-x234.google.com (mail-wr0-x234.google.com [IPv6:2a00:1450:400c:c0c::234]) (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 5A55B37B7 for ; Tue, 22 Aug 2017 14:04:29 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: by mail-wr0-x234.google.com with SMTP id f8so90348510wrf.3 for ; Tue, 22 Aug 2017 07:04:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=OWmaCPtDtYSHJ/BRp8mwALtGHKgIvbn/RPDLc+qrmmE=; b=Y4hs+BlDcZhP6JmOhNPNDGlwkT/IzBH4G9Wjzga0LG77IsonZ3MSysZEMjj/quxORq lJ3Feojbd/eum1UeBfSD/LGGV+5CJbNM3DcGRspM9VBCcaoBf+J8xxh97o+rNLNwFJTc gA2U6l65ZwzEXpb8oyEJbBJS3EBZAMtqnVPH+ASD2Go19kEk6/KyNHkR4f3A+bQ+Xsbh mtbxDgrEFKh6Yk9ccUrgNxTi1OcypjQq75MKzygp5EeJSkSAtYXfivkpJqp/7rcoKK/6 iOHpffzvKn8NdW6caLXcdLt798eB4zaptoulz3weUKSaOVji1WfoJIeVpFjAhO2Kq5aG RK6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=OWmaCPtDtYSHJ/BRp8mwALtGHKgIvbn/RPDLc+qrmmE=; b=aI6eIdiWwWIsSMbflmrE3lt352yIxi9qwjdTWcPZjrvr8Z1Eu7nuaVzHpK50K/wyov iRVZtUvClYm1lHgQH6kFyuPdxmtm85qJP+ZcbNPfVYNzOXMYoR8hawNfNzpEGjlcP00t LjkV1acq2gsWUZ8EzSWGTOdaYU96EoqeFoZqNfnTf0BFG08OnucaLPtKOd58iWXkGt2X df6/deUh2LnAG4vo8XyxKC6QWHNtTxlYqqb6wo+eu7z28zPi+m72lSBhIJFFf90QAH6n QPlPN8iw49EHWNrEQ+bNhZFhRqtos8L1fS819YMgIgd+/KqtyZtZUL5UUAWUq+egu8jm SYqg== X-Gm-Message-State: AHYfb5iGLqa0PCf7psQ6yXUSHvtO2yiEdE1eVxGefx7hbWSoOutO93E6 XCbBuy8yWaRnFASeg5DB+c5SceRwrV7l X-Received: by 10.223.144.99 with SMTP id h90mr613006wrh.114.1503410661535; Tue, 22 Aug 2017 07:04:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.227.214 with HTTP; Tue, 22 Aug 2017 07:04:20 -0700 (PDT) From: "C. L. Martinez" Date: Tue, 22 Aug 2017 16:04:20 +0200 Message-ID: Subject: Por mirroring un ser bhyve To: freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 22 Aug 2017 14:04:29 -0000 Hi all, I would like to install some fbsd bhyve guests acting as an IDS. To accomplish this I need to configure a span port under bhyve host. But, how?. How do I need to configure a bridge in this fbsd host to copy every Ethernet frame received by the bridge and pass them to fbsd bhyve guests? Thanks. From owner-freebsd-net@freebsd.org Tue Aug 22 15:22:38 2017 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 6D9F4DCB3B8 for ; Tue, 22 Aug 2017 15:22:38 +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 5C23F66340 for ; Tue, 22 Aug 2017 15:22:38 +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 v7MFMcBP006280 for ; Tue, 22 Aug 2017 15:22:38 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 220198] igb stats double counting in 12-CURRENT Date: Tue, 22 Aug 2017 15:22:38 +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: CURRENT X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: woodsb02@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.23 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, 22 Aug 2017 15:22:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220198 --- Comment #2 from Ben Woods --- Hi Sean, I can confirm this has fixed the error. Thanks for your help! -Ben --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Aug 22 18:40:10 2017 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 1CE34DDB7BF for ; Tue, 22 Aug 2017 18:40: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 0A3D67012F for ; Tue, 22 Aug 2017 18:40: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 v7MIe92O073452 for ; Tue, 22 Aug 2017 18:40:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 205706] Watchdog timeout on em driver under heavy traffic on a bridge configuration Date: Tue, 22 Aug 2017 18:40:09 +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: CURRENT X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: andrei@fazik.net.ua X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.23 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, 22 Aug 2017 18:40:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205706 Andrei changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrei@fazik.net.ua --- Comment #7 from Andrei --- Same issue for me but for igb driver and after upgrade to 11.1 from 11.0 If I rollback to 11.0 - all is fine igb0@pci0:8:0:0: class=3D0x020000 card=3D0x060f15d9 chip=3D0x10c9808= 6 rev=3D0x01 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82576 Gigabit Network Connection' class =3D network subclass =3D ethernet interface connected to router I'm not sure that separate bug report needed because of igb driver. If yes, please ping me and I will create one --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Aug 23 09:16:54 2017 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 67D61DE2340 for ; Wed, 23 Aug 2017 09:16:54 +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 4B9A068426 for ; Wed, 23 Aug 2017 09:16:54 +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 v7N9GrRY098229 for ; Wed, 23 Aug 2017 09:16:54 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 216832] net.inet.tcp.log_debug incorrect debug message Date: Wed, 23 Aug 2017 09:16:53 +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.3-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tuexen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@freebsd.org 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: quoted-printable 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.23 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, 23 Aug 2017 09:16:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216832 Michael Tuexen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tuexen@freebsd.org Assignee|freebsd-net@FreeBSD.org |tuexen@freebsd.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Aug 23 12:09:33 2017 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 D819FDE586D for ; Wed, 23 Aug 2017 12:09:33 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6E43B6D592 for ; Wed, 23 Aug 2017 12:09:32 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id v7NC9IAr053595 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 23 Aug 2017 14:09:19 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: carlopmart@gmail.com Received: from eg.sd.rdtc.ru (eugen@localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTP id v7NC9FSQ093497; Wed, 23 Aug 2017 19:09:15 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: Por mirroring un ser bhyve To: "C. L. Martinez" , freebsd-net@freebsd.org References: From: Eugene Grosbein Message-ID: <599D706B.8000001@grosbein.net> Date: Wed, 23 Aug 2017 19:09:15 +0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: Yes, score=5.5 required=5.0 tests=BAYES_00, DATE_IN_FUTURE_96_Q, LOCAL_FROM,RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * 3.3 DATE_IN_FUTURE_96_Q Date: is 4 days to 4 months after Received: date * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-Spam-Flag: YES X-Spam-Level: ***** X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 23 Aug 2017 12:09:34 -0000 On 22.08.2017 21:04, C. L. Martinez wrote: > Hi all, > > I would like to install some fbsd bhyve guests acting as an IDS. To > accomplish this I need to configure a span port under bhyve host. But, > how?. How do I need to configure a bridge in this fbsd host to copy every > Ethernet frame received by the bridge and pass them to fbsd bhyve guests? Yep, try this for host, assuming tap0 is connected to the guest IDS: ifconfig bridge0 create ifconfig bridge0 inet x.x.x.x/x addm $realnic span tap0 up And for a guest, use: ifconfig $spanport monitor From owner-freebsd-net@freebsd.org Wed Aug 23 18:09:15 2017 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 C9D33DEC730 for ; Wed, 23 Aug 2017 18:09:15 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (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 5DDDB7D760 for ; Wed, 23 Aug 2017 18:09:15 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: by mail-wm0-x22e.google.com with SMTP id r134so4529583wmf.0 for ; Wed, 23 Aug 2017 11:09:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=rsf3ZCj/nLPqQuG5acqBaiYbHn4sGGClYY7SV2VkDqY=; b=nF1HqSYuyhO+yHkS/8rJP4/3a1QmPVLnPoy10GyS29DPQYWpjdo+9/eXPUwR+rNmfY e4huOJ1crJYRMD8ldIjz7T9vgu4KdVVoZ+8xx5Kb3774ocedkPTMVLttI2wXLWeaoyeO yZ8P2Kn/88gVgsAIPE7LtMQcEYETIr8xzSZTEY2cYiL1cHLLzYLRqSk8yq18wLdqSJ8W J1I15SUvVESPx4GqXCQ5Ng3uQa+CZL+QCBM348Y2IaLWBBMsRaxAyi+GsG83rcsw7euI +m8rWE8WW+X8UUU1w1tVyh2YzJszl5BntJP7uvQKDc3nIRdlx6TCthrQTKmrT/G1lykm mQUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=rsf3ZCj/nLPqQuG5acqBaiYbHn4sGGClYY7SV2VkDqY=; b=nlWZ5S8k8Jtoykfrh8zJ8UvzZPBEjF6uE7rv5yVclowfJuK+zIh3YK+4Vk1QcJi3Aq smt/2SXtokQdIj0c3tgcOMHbsry6kd4Jn0u3l3mQrIbJDJAJBzhuB61YmmPlKckTvtWm K1HoG1rgrLsDp0eCVJdNize8UYcGqLWX3RHJz2jMm8+chUC1X86Edjjm8uPXPDwJlnvt z1T4o42GKHOvidljTUbjJWec9y1KbFIBXgs0Fx947qXbNcDGRXsqWD0JP0GxWoyrZNG4 dpfSx49vaACMIbfhbHiF+qABm7GR7cPqxaMWWBN/tQStA/BZGGrd386P3KAcWCPSkBgi QzjA== X-Gm-Message-State: AHYfb5hcMHVg71l0wRAiSotbSotmpijErKGDi1F8jx/0egsQrY94xdNJ jtbn7mpg6GoHgmQZe7M= X-Received: by 10.28.234.202 with SMTP id g71mr2274440wmi.147.1503511753247; Wed, 23 Aug 2017 11:09:13 -0700 (PDT) Received: from localhost ([185.86.10.202]) by smtp.gmail.com with ESMTPSA id g66sm2842163wrd.55.2017.08.23.11.09.12 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 Aug 2017 11:09:12 -0700 (PDT) Date: Wed, 23 Aug 2017 18:07:37 +0000 From: "C. L. Martinez" To: freebsd-net@freebsd.org Subject: Re: Por mirroring un ser bhyve Message-ID: <20170823180737.q7wjktjfqj7elhcq@tesla.lab.uxdom.org> References: <599D706B.8000001@grosbein.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <599D706B.8000001@grosbein.net> User-Agent: NeoMutt/20170609 (1.8.3) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 23 Aug 2017 18:09:15 -0000 On Wed, Aug 23, 2017 at 07:09:15PM +0700, Eugene Grosbein wrote: > On 22.08.2017 21:04, C. L. Martinez wrote: > > Hi all, > > > > I would like to install some fbsd bhyve guests acting as an IDS. To > > accomplish this I need to configure a span port under bhyve host. But, > > how?. How do I need to configure a bridge in this fbsd host to copy every > > Ethernet frame received by the bridge and pass them to fbsd bhyve guests? > > Yep, try this for host, assuming tap0 is connected to the guest IDS: > > ifconfig bridge0 create > ifconfig bridge0 inet x.x.x.x/x addm $realnic span tap0 up > > And for a guest, use: > > ifconfig $spanport monitor > Yep, working ... Many thanks Eugene. -- Greetings, C. L. Martinez From owner-freebsd-net@freebsd.org Thu Aug 24 09:38:45 2017 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 EB85ADDAF9C for ; Thu, 24 Aug 2017 09:38:45 +0000 (UTC) (envelope-from olgeni@olgeni.com) Received: from olgeni.olgeni.com (olgeni.olgeni.com [31.171.246.156]) by mx1.freebsd.org (Postfix) with ESMTP id B6CEB7181D for ; Thu, 24 Aug 2017 09:38:45 +0000 (UTC) (envelope-from olgeni@olgeni.com) Received: from backoffice (unknown [5.8.101.242]) by olgeni.olgeni.com (Postfix) with ESMTPSA id DB294D7946 for ; Thu, 24 Aug 2017 11:38:37 +0200 (CEST) Date: Thu, 24 Aug 2017 11:38:37 +0200 (CEST) From: Jimmy Olgeni X-X-Sender: olgeni@backoffice.local To: freebsd-net@freebsd.org Subject: NAT-before-ipsec using if_ipsec Message-ID: User-Agent: Alpine 2.21 (BSF 202 2017-01-01) X-OpenPGP-KeyID: 0x90B7A98E6450AE47 X-OpenPGP-Fingerprint: 7133 AB4D DFC8 0A0D F891 B0D2 90B7 A98E 6450 AE47 X-OpenPGP-URL: http://olgeni.olgeni.com/~olgeni/pgp/olgeni@olgeni.com MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 24 Aug 2017 09:38:46 -0000 Hi, I came up with a working setup of if_ipsec, and was wondering if now it would be possible to perform NAT before ipsec using the resulting 'ipsec0' interface. The native PF solution seemed to be this: nat on ipsec0 from 172.30.1.1/28 to any -> 172.30.1.1 But while it works on external interfaces, it does nothing for ipsec. If ipsec is already up, pinging to the other side does not work; if the ping causes racoon to negotiate, then it will fail as if it's trying to negotiate an invalid encryption domain (?) Are additional SPD entries needed specifically for NAT? -- jimmy From owner-freebsd-net@freebsd.org Thu Aug 24 09:55:56 2017 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 26917DDB7D9 for ; Thu, 24 Aug 2017 09:55: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 075C6722D7 for ; Thu, 24 Aug 2017 09:55: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 v7O9ttmN011028 for ; Thu, 24 Aug 2017 09:55:55 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 220198] igb stats double counting in 12-CURRENT Date: Thu, 24 Aug 2017 09:55:56 +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: CURRENT X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kaho@elam.kais.kyoto-u.ac.jp X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.23 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, 24 Aug 2017 09:55:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220198 Kaho Toshikazu changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kaho@elam.kais.kyoto-u.ac.j | |p --- Comment #3 from Kaho Toshikazu --- (In reply to commit-hook from comment #1) I think the bug is fixed by this commit, but it is not a good way. 1. Every driver using iflib should set IFCAP_HWSTATS flag within the driver. For example, in the em(4) driver, add IFCAP_HWSTATS flag into #define EM_CAPS and #define IGB_CAPS lines of if_em.c. 2. The IFCAP_FLAGS in iflib.c seems to hold flags which can be changed by a ioctl function. Who want to set or unset the IFCAP_HWSTATS flag by a function? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Aug 24 10:40:03 2017 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 27A1EDDC47E for ; Thu, 24 Aug 2017 10:40:03 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AF3C27334A for ; Thu, 24 Aug 2017 10:40:02 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mxback14j.mail.yandex.net (mxback14j.mail.yandex.net [IPv6:2a02:6b8:0:1619::90]) by forward104p.mail.yandex.net (Yandex) with ESMTP id 02E1F185E29; Thu, 24 Aug 2017 13:39:58 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback14j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Rkzlfl54DI-dvwmOYZd; Thu, 24 Aug 2017 13:39:57 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1503571197; bh=KryC5R+GsObVbWWPadxVe8HwBy8Br3ks9vsyn61EhkE=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=Fj/DQSM5WqgCDMhw/PuawmU5aVFDN7On9aPM2qCbd4XgGskkccNX4HqBph/VdO7Wj EavHVJjO+d0yPPJTdLcvntSaB8PhakEyAFvoZJc7Oz4E8LasY5wo+HaOxooYHArf+O F4Eze1SZCjPC2+hGN/OIPRxlC/hF+bfN/VLYvJVA= Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 9aP9T0tKiw-duoSWPqR; Thu, 24 Aug 2017 13:39:56 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1503571196; bh=KryC5R+GsObVbWWPadxVe8HwBy8Br3ks9vsyn61EhkE=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=e2r2Li0easPRj3RZCbL34qCzRu4cfCxTm7k4a7sSfiacDwqJIbxfJHRVR2hS9ykUN gqucnOXnfRS5Fa8bU+9p/1bpFetwe/3ijv8lNu2tLzIuUIwo836JLDInXiMd7NAuGX wnSn010SHQYCgtbJNu1AuvHdpfbZIqjrPi2Djf0Q= Authentication-Results: smtp4j.mail.yandex.net; dkim=pass header.i=@yandex.ru Subject: Re: NAT-before-ipsec using if_ipsec To: Jimmy Olgeni , freebsd-net@freebsd.org References: From: "Andrey V. Elsukov" Openpgp: id=E6591E1B41DA1516F0C9BC0001C5EA0410C8A17A Message-ID: <9432b56b-b8d4-dfa0-8508-194afd75381c@yandex.ru> Date: Thu, 24 Aug 2017 13:36:15 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="i6iGu1qdcvqoWU9FRJ2e5OaVK0sFw81HH" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 24 Aug 2017 10:40:03 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --i6iGu1qdcvqoWU9FRJ2e5OaVK0sFw81HH Content-Type: multipart/mixed; boundary="RMpLCvRixtFlPQsbCLiQUhucbkRSFSdMR"; protected-headers="v1" From: "Andrey V. Elsukov" To: Jimmy Olgeni , freebsd-net@freebsd.org Message-ID: <9432b56b-b8d4-dfa0-8508-194afd75381c@yandex.ru> Subject: Re: NAT-before-ipsec using if_ipsec References: In-Reply-To: --RMpLCvRixtFlPQsbCLiQUhucbkRSFSdMR Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 24.08.2017 12:38, Jimmy Olgeni wrote: >=20 > Hi, >=20 > I came up with a working setup of if_ipsec, and was wondering if now > it would be possible to perform NAT before ipsec using the resulting > 'ipsec0' interface. >=20 > The native PF solution seemed to be this: >=20 > nat on ipsec0 from 172.30.1.1/28 to any -> 172.30.1.1 >=20 > But while it works on external interfaces, it does nothing for ipsec. Can you describe your configuration, it is not clear to me, how you expect it should work? --=20 WBR, Andrey V. Elsukov --RMpLCvRixtFlPQsbCLiQUhucbkRSFSdMR-- --i6iGu1qdcvqoWU9FRJ2e5OaVK0sFw81HH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlmerCAACgkQAcXqBBDI oXqaRAf9EQxmRS+uHpfGmx9eMnqWszJYw+loR/y1hN/w1NuwW308V84hKmUOdyyi GN4xSaQb72pzvtpka0IZ8ljSxfsTqth3tJgk+BSRxBqS+FzLnXS2OS9Yr3q80zQM IrPAQ9lQ8bHN+4xUok02C0geOGbFDs4eq2cIfPCMSvoSY0APU0tdrJvAjCiol6LH DVhRt2T7Wl/1QNgwPMwBhDGOYUbBcAKPZxuYgRKHQ1y5PKLRjKcrqHKeGN00ufGM 9rLCW0wxeJEDzcJagpH3OowjN4D1P+GzTOcD5sAw+PD722ezwF1oTdjtMuC4yzrF 0vicqm53EVeB45TeMmYS5AIqbfHvRg== =oMu9 -----END PGP SIGNATURE----- --i6iGu1qdcvqoWU9FRJ2e5OaVK0sFw81HH-- From owner-freebsd-net@freebsd.org Thu Aug 24 12:36:52 2017 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 79FB4DDE858 for ; Thu, 24 Aug 2017 12:36:52 +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 65F47762FF for ; Thu, 24 Aug 2017 12:36:52 +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 v7OCap0T070818 for ; Thu, 24 Aug 2017 12:36:52 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221754] arp: packet with invalid ethernet address length 0 received Date: Thu, 24 Aug 2017 12:36:52 +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.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org 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: quoted-printable 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.23 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, 24 Aug 2017 12:36:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221754 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Aug 24 14:06:49 2017 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 583D0DE025A for ; Thu, 24 Aug 2017 14:06:49 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mx1.freebsd.org (Postfix) with ESMTP id 35E837D3E8 for ; Thu, 24 Aug 2017 14:06:49 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id E8F855E326; Thu, 24 Aug 2017 14:06:48 +0000 (UTC) Date: Thu, 24 Aug 2017 14:06:48 +0000 To: freebsd-net@freebsd.org From: "kibab (Ilya Bakulin)" Reply-to: D1388+325+f4ee9816d3644958@reviews.freebsd.org Subject: [Differential] D1388: IP6: Turned on verbose logging for fragment handling code Message-ID: <28f177af64605b0ebd10607488bd55bc@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , Thread-Topic: D1388: IP6: Turned on verbose logging for fragment handling code X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: NzQ2MGZiNWU2MzVkYmUyNmI0Mzg5NzkzYTJjIFme3Xg= MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2017 14:06:49 -0000 a2liYWIgYWJhbmRvbmVkIHRoaXMgcmV2aXNpb24uCmtpYmFiIGFkZGVkIGEgY29tbWVudC4KCgog IFRoaXMgaXMgYW4gYW5jaWVudCBzaCp0IGFuZCBub2JvZHkgY2FyZXMuCgpSRVZJU0lPTiBERVRB SUwKICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvRDEzODgKCkVNQUlMIFBSRUZFUkVOQ0VT CiAgaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL3NldHRpbmdzL3BhbmVsL2VtYWlscHJlZmVy ZW5jZXMvCgpUbzoga2liYWIsIGJ6CkNjOiBhZSwgZnJlZWJzZC1uZXQtbGlzdAo= From owner-freebsd-net@freebsd.org Thu Aug 24 19:14:00 2017 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 A9DC5DE6510 for ; Thu, 24 Aug 2017 19:14:00 +0000 (UTC) (envelope-from mg@maltedoc.de) Received: from mail.maltedoc.de (mail.maltedoc.de [IPv6:2001:1608:10:226::4]) (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 657C73922 for ; Thu, 24 Aug 2017 19:13:59 +0000 (UTC) (envelope-from mg@maltedoc.de) Received: from Maltes-MacBook-Pro.local (unknown [84.200.83.69]) by mail.maltedoc.de (Postfix) with ESMTPSA id 02EEA1A6DD5 for ; Thu, 24 Aug 2017 21:16:22 +0200 (CEST) To: freebsd-net@freebsd.org From: =?UTF-8?Q?Malte_Gr=c3=a4bner?= Subject: oce4 promiscous mode bug and carp Message-ID: <9ce0e271-d13d-16bd-740a-7c0ef915b854@maltedoc.de> Date: Thu, 24 Aug 2017 21:13:55 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 24 Aug 2017 19:14:00 -0000 Hi, as I can see in the code, the fix from https://lists.freebsd.org/pipermail/freebsd-net/2015-June/042531.html is still not upstream ( src/sys/dev/oce_mobx.c ). Can anyone confirm the promiscous bug in combination with carp, leading to be unable to process traffic over carp vhid's on oce handled devices ? br, malte From owner-freebsd-net@freebsd.org Thu Aug 24 23:52:53 2017 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 A1F4ADEAB10 for ; Thu, 24 Aug 2017 23:52:53 +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 8FC416AEEA for ; Thu, 24 Aug 2017 23:52:53 +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 v7ONqrlq086524 for ; Thu, 24 Aug 2017 23:52:53 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 202875] ixv driver in 11.0-CURRENT doesn't pass traffic using KVM hypervisor Date: Thu, 24 Aug 2017 23:52:53 +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: CURRENT X-Bugzilla-Keywords: IntelNetworking, needs-qa, patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: erj@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.23 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, 24 Aug 2017 23:52:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D202875 Eric Joyner changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |FIXED --- Comment #12 from Eric Joyner --- It sounds like this can be closed, then. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Aug 24 23:55:55 2017 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 CDDADDEABAF for ; Thu, 24 Aug 2017 23:55:55 +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 BBD706AFBB for ; Thu, 24 Aug 2017 23:55:55 +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 v7ONttL1091517 for ; Thu, 24 Aug 2017 23:55:55 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221530] if_ixl: add a way to disable/enable lldp handling by the NIC Date: Thu, 24 Aug 2017 23:55:55 +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: CURRENT X-Bugzilla-Keywords: IntelNetworking, patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: erj@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.23 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, 24 Aug 2017 23:55:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221530 Eric Joyner changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open --- Comment #1 from Eric Joyner --- https://www.intel.com/content/dam/www/public/us/en/documents/specification-= updates/xl710-10-40-controller-spec-update.pdf Issue #70 is the reason why we don't allow the user to disable lldp. That said, FW6 fixes this -- but until that's officially out, this isn't re= ally a bug. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Aug 25 00:03:36 2017 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 77100DEAFFD for ; Fri, 25 Aug 2017 00:03:36 +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 657806B44B for ; Fri, 25 Aug 2017 00:03:36 +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 v7P03ai4077452 for ; Fri, 25 Aug 2017 00:03:36 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221354] No connection with Atheros Killer 220x Ethernet Chipset Date: Fri, 25 Aug 2017 00:03:36 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: makamakamaka5@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.23 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, 25 Aug 2017 00:03:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221354 --- Comment #1 from makamakamaka5@gmail.com --- Yes, this affects me also (e2200). I will be exited once this is fixed. It still is a problem in 11.1-RELEASE --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Aug 25 02:51:33 2017 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 507E5DED985 for ; Fri, 25 Aug 2017 02:51:33 +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 3F2C26FACC for ; Fri, 25 Aug 2017 02:51:33 +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 v7P2pWp3033484 for ; Fri, 25 Aug 2017 02:51:32 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 219428] em network driver broken in current Date: Fri, 25 Aug 2017 02:51:33 +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: CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kaho@elam.kais.kyoto-u.ac.jp X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.23 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, 25 Aug 2017 02:51:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219428 Kaho Toshikazu changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kaho@elam.kais.kyoto-u.ac.j | |p --- Comment #8 from Kaho Toshikazu --- (In reply to gitdev from comment #7) The panic you met is unrelated to the original report. Please try this patch. Index: sys/dev/e1000/if_em.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/dev/e1000/if_em.c (revision 322833) +++ sys/dev/e1000/if_em.c (working copy) @@ -797,6 +797,8 @@ scctx->isc_txrx =3D &em_txrx; scctx->isc_capenable =3D EM_CAPS; scctx->isc_tx_csum_flags =3D CSUM_TCP | CSUM_UDP | CSUM_IP_= TSO; + if (adapter->hw.mac.type !=3D e1000_82574) + scctx->isc_msix_bar =3D 0; } else { scctx->isc_txqsizes[0] =3D roundup2((scctx->isc_ntxd[0] + 1= ) * sizeof(struct e1000_tx_desc), EM_DBA_ALIGN); scctx->isc_rxqsizes[0] =3D roundup2((scctx->isc_nrxd[0] + 1= ) * sizeof(struct e1000_rx_desc), EM_DBA_ALIGN); --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Aug 26 03:31:15 2017 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 D6CB7DEBDF1 for ; Sat, 26 Aug 2017 03:31: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 C4F6681016 for ; Sat, 26 Aug 2017 03:31: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 v7Q3VFXX049770 for ; Sat, 26 Aug 2017 03:31:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 106316] [dummynet] dummynet with multipass ipfw drops packets when reloading FW Date: Sat, 26 Aug 2017 03:31:15 +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: jpaetzel@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.23 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, 26 Aug 2017 03:31:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D106316 Josh Paetzel changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed CC| |jpaetzel@FreeBSD.org Resolution|--- |Overcome By Events --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Aug 26 03:39:31 2017 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 38CC4DEC38A for ; Sat, 26 Aug 2017 03:39:31 +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 235F0816D1 for ; Sat, 26 Aug 2017 03:39:31 +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 v7Q3dUWe073906 for ; Sat, 26 Aug 2017 03:39:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 112686] [patm] patm driver freezes System (FreeBSD 6.2-p4) i386 Date: Sat, 26 Aug 2017 03:39:31 +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: jpaetzel@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.23 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, 26 Aug 2017 03:39:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D112686 Josh Paetzel changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |Overcome By Events CC| |jpaetzel@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Aug 26 03:56:53 2017 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 125F9DED1EE for ; Sat, 26 Aug 2017 03:56:53 +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 F412F826EB for ; Sat, 26 Aug 2017 03:56:52 +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 v7Q3uqH1018743 for ; Sat, 26 Aug 2017 03:56:52 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 114915] [patch] [pcn] pcn (sys/pci/if_pcn.c) ethernet driver fixes (including endianness) Date: Sat, 26 Aug 2017 03:56:53 +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: jpaetzel@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution cc bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.23 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, 26 Aug 2017 03:56:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D114915 Josh Paetzel changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Overcome By Events CC| |jpaetzel@FreeBSD.org Status|In Progress |Closed --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Aug 26 04:00:48 2017 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 F229ADED48E for ; Sat, 26 Aug 2017 04:00:48 +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 DFBB282A49 for ; Sat, 26 Aug 2017 04:00:48 +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 v7Q40l91031042 for ; Sat, 26 Aug 2017 04:00:48 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 115239] [ipnat] panic with 'kmem_map too small' using ipnat Date: Sat, 26 Aug 2017 04:00:48 +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: 6.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jpaetzel@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.23 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, 26 Aug 2017 04:00:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D115239 Josh Paetzel changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |Overcome By Events CC| |jpaetzel@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Aug 26 16:55:33 2017 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 68D44DD5CD9 for ; Sat, 26 Aug 2017 16:55:33 +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 49AA6712FD for ; Sat, 26 Aug 2017 16:55:33 +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 v7QGtXhY088154 for ; Sat, 26 Aug 2017 16:55:33 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221676] arp: invalid json output from libxo when bridge is present Date: Sat, 26 Aug 2017 16:55:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: duncan@splash.fish X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.23 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, 26 Aug 2017 16:55:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221676 Duncan Paterson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |duncan@splash.fish --- Comment #1 from Duncan Paterson --- Created attachment 185787 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D185787&action= =3Dedit Adds the quote directive to xo fields to make sure that strings are quoted = in json output I can reproduce this in general for libxo.=20 The number detecting heuristic it uses allows for C style numeric suffices = (for example 34f, 12d). This allows any strings ending the characters in the set [diouDOUeEfFgG] to be treated as numbers (left unquoted in json). This has = two drawbacks firstly leaving strings such as bridge unquoted because it ends i= n e, secondly it allows numbers with C style suffices to be output unqoted these= are not valid json. for example: { "key": 35f } is invalid. I've added the quote directive to all of the relevant xo_emit calls as per = the documentation on libxo at http://juniper.github.io/libxo/libxo-manual.html. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Aug 26 16:56:26 2017 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 4D958DD5D83 for ; Sat, 26 Aug 2017 16:56:26 +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 3C733713B2 for ; Sat, 26 Aug 2017 16:56:26 +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 v7QGuQxu089159 for ; Sat, 26 Aug 2017 16:56:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221676] arp: invalid json output from libxo when bridge is present Date: Sat, 26 Aug 2017 16:56:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: duncan@splash.fish X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.23 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, 26 Aug 2017 16:56:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221676 --- Comment #2 from Duncan Paterson --- I've added a patch which should fix this problem for the arp application. I think this may apply to other applications using libxo as well. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Aug 26 20:27:02 2017 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 77E94DDA52D for ; Sat, 26 Aug 2017 20:27:02 +0000 (UTC) (envelope-from ionikphlo@protonmail.com) Received: from mail3.protonmail.ch (mail3.protonmail.ch [185.70.40.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.protonmail.ch", Issuer "QuoVadis Global SSL ICA G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3CA947C6D5 for ; Sat, 26 Aug 2017 20:27:01 +0000 (UTC) (envelope-from ionikphlo@protonmail.com) Date: Sat, 26 Aug 2017 16:17:45 -0400 To: "FreeBSD-net@FreeBSD.org" From: ionikphlo Reply-To: ionikphlo Subject: (No Subject) Message-ID: Feedback-ID: -knDcXLfYicOgbhN5MnyWhatT6DtWNNKsl2_zDyo9Iqoh-f3Q0BiwIYFIIWyOgc7DLsJsXPU4Y4bb72aJ9JVNw==:Ext:ProtonMail MIME-Version: 1.0 X-Spam-Status: No, score=0.3 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, HTML_MESSAGE, MISSING_DATE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.protonmail.ch Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 26 Aug 2017 20:27:02 -0000 SSdtIHJlcXVlc3RpbmcgdG8gam9pbiB0aGUgZW1haWwgbGlzdD8KClRoYW5rcyBpbiBhZHZhbmNl CldpdGggPDMKClNlbnQgd2l0aCBbUHJvdG9uTWFpbF0oaHR0cHM6Ly9wcm90b25tYWlsLmNvbSkg U2VjdXJlIEVtYWlsLg==