From owner-freebsd-net@FreeBSD.ORG Sun Oct 28 13:44:52 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C61E016A418 for ; Sun, 28 Oct 2007 13:44:52 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.231]) by mx1.freebsd.org (Postfix) with ESMTP id 74AC013C494 for ; Sun, 28 Oct 2007 13:44:52 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so1204909wxd for ; Sun, 28 Oct 2007 06:44:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=341zniUK809ge+0WaVTEGKKZ+4zK7jhLFCaSVp2LHJ8=; b=soQEZ5HTlt42fCLAJWM6ZtHwufh3KEN5xza9FMeSjfnzcfBms27/r0dKW9QRpBmgR4aPaiadEpoiHTAPJQ333aaCmVCEkl7J+pLQVb8fACz4tNbcIbM3EsNUkVZvh63ZeV5qJhHol6cPBfwxKluSgE9uUnrBND3eFuAMcl9ByLE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Gp3dPXZ9PUaSQxq6tEi2flnJM8uKDorluhyZiOl5D9x5NKXdToqyZBfskDjgwiCb7EGhrd7HVjuPkjQQqldbUsMxoh5c3k4E+rDUsmDZHLoK7JYaqJepSukhg4Pha6Tgz9yckdN+SvozReF0tPG+Sr7xrCvvsbp911m9V6Ub2Kk= Received: by 10.70.68.11 with SMTP id q11mr8717054wxa.1193577458293; Sun, 28 Oct 2007 06:17:38 -0700 (PDT) Received: by 10.70.73.1 with HTTP; Sun, 28 Oct 2007 06:17:38 -0700 (PDT) Message-ID: <9a542da30710280617t11e668e2o4d122998192f71c@mail.gmail.com> Date: Sun, 28 Oct 2007 14:17:38 +0100 From: "=?ISO-8859-1?Q?Ermal_Lu=E7i?=" To: freebsd-pf@freebsd.org, freebsd-net@freebsd.org In-Reply-To: <9a542da30710211232v4d3c930fg8ea778a12f3f16cb@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_13721_18234194.1193577458248" References: <9a542da30710161409o4732a77bybdf4ba35d7491bb@mail.gmail.com> <200710171043.08126.max@love2party.net> <9a542da30710211232v4d3c930fg8ea778a12f3f16cb@mail.gmail.com> X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: [PATCH] PF+dummynet X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 28 Oct 2007 13:44:52 -0000 ------=_Part_13721_18234194.1193577458248 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Attached is the patch against -CURRENT for integrating PF with dummynet! It gives full dummynet support in pf.conf syntax and removes dummynet depndency to ipfw. You can configure a pipe/queue using the same ipfw syntax the only difference is that i call those 'dnpipe'/'dnqueue' respectivley. GRED/RED isn't currently finished but that is a pfctl addition so not difficult. For dummynet i preserve ipfw style statistics so tools of ipfw can be used here to. Since this is PF i preserved ALTQ priotitizing of ACK, meaning on ALTQ you do pass in quick proto tcp from any to any flags S/SA queue(pri, que) You can do the same with dummynet queues only, since for pipes it doesn't make much sense since they simulate a link. So yuo can do dnpipe 10 bandwidth 100Kbit dnqueue 10 dnpipe 10 queue 100 dnqueue 20 dnpipe 10 queue 20 pass in quick proto tcp from any to any flags S/SA dnqueue(10, 20) Please test and give feedback. ------=_Part_13721_18234194.1193577458248-- From owner-freebsd-net@FreeBSD.ORG Sun Oct 28 17:13:16 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55E6F16A46D for ; Sun, 28 Oct 2007 17:13:16 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.238]) by mx1.freebsd.org (Postfix) with ESMTP id BE0AE13C4B6 for ; Sun, 28 Oct 2007 17:13:15 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so1241199wxd for ; Sun, 28 Oct 2007 10:13:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=nUlki/CViR6OANFYfhJUZpv+lzd6qHWBNgYYZb08oYk=; b=c0LXpQxILUuq43cTpkav9HhRJnURLhEpgxsZVK0HpVh7c+XmJdsaU2ckV6AFZHuRmDqJ7CdMP0RhPCA+rNXV9mHN6znQT1hN0svGK2xKisu3HDf5vToUyMYnMudXM/VcoBq687vJAlscoa5mCE62sylzA6n2aiDCykKSGq5KRoE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=gl5YPB5yuuQ8PmcfJwoQPykGxOr83T4pLkCU8zucmZriSrlVuPdHOsx3iWSiyiXOJ4GI5OTpA61tq/nBA338qS7xieTyhgdyjmwSVbJ7PIhrXsDdsPeSx++LcklBifvE1Ma9gdkb85PCRPy3cqJxiloC3t0P62iZ0kprR6oGfqI= Received: by 10.70.89.11 with SMTP id m11mr8956268wxb.1193591593948; Sun, 28 Oct 2007 10:13:13 -0700 (PDT) Received: by 10.70.73.1 with HTTP; Sun, 28 Oct 2007 10:13:13 -0700 (PDT) Message-ID: <9a542da30710281013q642b5aa8k33c7836ee064242e@mail.gmail.com> Date: Sun, 28 Oct 2007 18:13:13 +0100 From: "=?ISO-8859-1?Q?Ermal_Lu=E7i?=" To: freebsd-pf@freebsd.org, freebsd-net@freebsd.org In-Reply-To: <20071028095802.A61999@xorpc.icir.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_14170_30775547.1193591593935" References: <9a542da30710161409o4732a77bybdf4ba35d7491bb@mail.gmail.com> <200710171043.08126.max@love2party.net> <9a542da30710211232v4d3c930fg8ea778a12f3f16cb@mail.gmail.com> <9a542da30710280617t11e668e2o4d122998192f71c@mail.gmail.com> <20071028095802.A61999@xorpc.icir.org> Cc: Subject: Fwd: [PATCH] PF+dummynet X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 28 Oct 2007 17:13:16 -0000 ------=_Part_14170_30775547.1193591593935 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I am sending this again since it seems the list ripps off files other than text files. > > > It gives full dummynet support in pf.conf syntax and removes dummynet > > depndency to ipfw. > > > > You can configure a pipe/queue using the same ipfw syntax the only > > difference is that i call those 'dnpipe'/'dnqueue' respectivley. > > GRED/RED isn't currently finished but that is a pfctl addition so not > > difficult. > > > > For dummynet i preserve ipfw style statistics so tools of ipfw can be > > used here to. > > > > Since this is PF i preserved ALTQ priotitizing of ACK, meaning on ALTQ you do > > pass in quick proto tcp from any to any flags S/SA queue(pri, que) > > > > You can do the same with dummynet queues only, since for pipes it > > doesn't make much sense since they simulate a link. So yuo can do > > > > dnpipe 10 bandwidth 100Kbit > > dnqueue 10 dnpipe 10 queue 100 > > dnqueue 20 dnpipe 10 queue 20 > > > > pass in quick proto tcp from any to any flags S/SA dnqueue(10, 20) > > > > > > Please test and give feedback. > > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > ------=_Part_14170_30775547.1193591593935 Content-Type: text/x-patch; name=test_dummynet3.diff Content-Transfer-Encoding: base64 X-Attachment-Id: f_f8bvlik4 Content-Disposition: attachment; filename=test_dummynet3.diff SW5kZXg6IGNvbnRyaWIvcGYvcGZjdGwvcGFyc2UueQo9PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJDUyBmaWxlOiAvaG9t ZS9lcmkvcmVwby9jb250cmliL3BmL3BmY3RsL3BhcnNlLnksdgpyZXRyaWV2aW5nIHJldmlzaW9u IDEuMS4xLjEKZGlmZiAtdSAtcjEuMS4xLjEgcGFyc2UueQotLS0gY29udHJpYi9wZi9wZmN0bC9w YXJzZS55CTIxIE9jdCAyMDA3IDEzOjUzOjE1IC0wMDAwCTEuMS4xLjEKKysrIGNvbnRyaWIvcGYv cGZjdGwvcGFyc2UueQkyMSBPY3QgMjAwNyAxOTowMzo0OSAtMDAwMApAQCAtNDUsNiArNDUsOSBA QAogI2luY2x1ZGUgPGFsdHEvYWx0cV9wcmlxLmg+CiAjaW5jbHVkZSA8YWx0cS9hbHRxX2hmc2Mu aD4KIAorI2luY2x1ZGUgPG5ldGluZXQvaXBfZncuaD4KKyNpbmNsdWRlIDxuZXRpbmV0L2lwX2R1 bW15bmV0Lmg+CisKICNpbmNsdWRlIDxzdGRpby5oPgogI2luY2x1ZGUgPHN0ZGxpYi5oPgogI2lu Y2x1ZGUgPG5ldGRiLmg+CkBAIC0yMDYsNiArMjA5LDkgQEAKIAljaGFyCQkJKnRhZzsKIAljaGFy CQkJKm1hdGNoX3RhZzsKIAl1X2ludDhfdAkJIG1hdGNoX3RhZ19ub3Q7CisJdV9pbnQzMl90CQkg ZG5waXBlOworCXVfaW50MzJfdAkJIHBkbnBpcGU7CisJdV9pbnQzMl90CQkgZG50eXBlOwogCWlu dAkJCSBydGFibG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ICAgICAg ICAgICAgICAgICAgcC5kZWxheSA9ICQzLmRlbGF5OworCQkJcC5waXBlX25yID0gJDI7CisgICAg ICAgICAgICAgICAgICAgICAgICBtZW1jcHkoJnAuZnMsICYkNCwKKyAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgc2l6ZW9mKHAuZnMpKTsKKworICAgICAgICAgICAgICAgICAgICAgICAg aWYocGZjdGxfYWRkX2R1bW15bmV0KHBmLCAmcCkpCisgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgIFlZRVJST1I7CisgICAgICAgICAgICAgICAgfQorZG5xdWV1ZXNwZWMgICAgIDogRE5R VUVVRSBudW1iZXIgRE5QSVBFIG51bWJlciBkbnF1ZXVlX29wdHMgeworCQkgICAgICAgIHN0cnVj dCBkbl9waXBlIHA7CisKKyAgICAgICAgICAgICAgICAgICAgICAgIGlmIChjaGVja19ydWxlc3Rh dGUoUEZDVExfU1RBVEVfUVVFVUUpKSAKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg WVlFUlJPUjsKKworICAgICAgICAgICAgICAgICAgICAgICAgbWVtc2V0KCZwLCAwLCBzaXplb2Yo cCkpOworCisgICAgICAgICAgICAgICAgICAgICAgICBpZiAoJDQgPT0gMCkgeworICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICB5eWVycm9yKCJwaXBlIG11c3QgYmUgc3BlY2lmaWVkIGZv ciBxdWV1ZSIpOworICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBZWUVSUk9SOworICAg ICAgICAgICAgICAgICAgICAgICAgfQorCQkJaWYgKCQyID09IDApIHsKKwkJCQl5eWVycm9yKCJx dWV1ZSBudW1iZXIgbXVzdCBiZSBncmVhdGVyIHRoYW4gMCIpOworCQkJCVlZRVJST1I7CisJCQl9 CisJCQkJCQorICAgICAgICAgICAgICAgICAgICAgICAgbWVtY3B5KCZwLmZzLCAmJDUsIHNpemVv ZihwLmZzKSk7CisJCQlwLmZzLmZzX25yID0gJDI7CisgICAgICAgICAgICAgICAgICAgICAgICBw LmZzLnBhcmVudF9uciA9ICQ0OworCQkJcC5waXBlX25yID0gMDsKKworICAgICAgICAgICAgICAg ICAgICAgICAgaWYgKHBmY3RsX2FkZF9kdW1teW5ldChwZiwgJnApKSB7CisgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIHl5ZXJyb3IoImVycm9ycyBpbiBkbnF1ZXVlIGRlZmluaXRpb24i KTsKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgWVlFUlJPUjsKKyAgICAgICAgICAg ICAgICAgICAgICAgIH0KKyAgICAgICAgICAgICAgICB9CisgICAgICAgICAgICAgICAgOworCitk bnBpcGVfb3B0cyAgICAgOiAgICAgICAvKiBYWFg6IGZpeCB0aGlzICovIHsKKwkgICAgICAgICAg ICAgICAgYnplcm8oJmRucGlwZV9vcHRzLCBzaXplb2YgZG5waXBlX29wdHMpOworICAgICAgICAg ICAgICAgIH0KKyAgICAgICAgICAgICAgICAgICAgICAgIGRucGlwZV9vcHRzX2wKKyAgICAgICAg ICAgICAgICAgICAgICAgCXsgJCQgPSBkbnBpcGVfb3B0czsgfQorICAgICAgICAgICAgICAgIHwJ LyogZW1wdHkgKi8geworICAgICAgICAgICAgICAgICAgICAgICAgYnplcm8oJmRucGlwZV9vcHRz LCBzaXplb2YgZG5waXBlX29wdHMpOworICAgICAgICAgICAgICAgICAgICAgICAgJCQgPSBkbnBp cGVfb3B0czsKKyAgICAgICAgICAgICAgICB9CisgICAgICAgICAgICAgICAgOworCitkbnBpcGVf b3B0c19sICAgOiBkbnBpcGVfb3B0c19sIGRucGlwZV9vcHQKKwkgICAgICAgIHwgZG5waXBlX29w dAorICAgICAgICAgICAgICAgIDsKKworZG5waXBlX29wdCAgICAgIDogQkFORFdJRFRIIGJhbmR3 aWR0aCAgIHsKKyAgICAgICAgICAgICAgICAgICAgICAgIGRucGlwZV9vcHRzLmJhbmR3aWR0aCA9 ICQyLmJ3X2Fic29sdXRlOworICAgICAgICAgICAgICAgIH0KKyAgICAgICAgICAgICAgICB8IERF TEFZIG51bWJlciAgICAgICAgICB7CisgICAgICAgICAgICAgICAgICAgICAgICBpZiAoJDIgPiAw ICYmICQyIDwgMTAwMDEpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRucGlwZV9v cHRzLmRlbGF5ID0gJDI7CisgICAgICAgICAgICAgICAgICAgICAgICBlbHNlIHsKKyAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgeXllcnJvcigiZGVsYXkgbmVlZHMgYXJndW1lbnQgMC4u MTAwMDBtcyIpOworICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBZWUVSUk9SOworICAg ICAgICAgICAgICAgICAgICAgICAgfQorICAgICAgICAgICAgICAgIH0KKyAgICAgICAgICAgICAg ICA7CisKK2RucXVldWVfb3B0cyAgICA6IC8qIFhYWDogZml4IHRoaXMgKi8geworCQkgICAgICAg IGJ6ZXJvKCZkbnF1ZXVlX29wdHMsIHNpemVvZiBkbnF1ZXVlX29wdHMpOworICAgICAgICAgICAg ICAgIH0KKyAgICAgICAgICAgICAgICAgICAgZG5xdWV1ZV9vcHRzX2wKKyAgICAgICAgICAgICAg ICAgICAgICAgIHsgJCQgPSBkbnF1ZXVlX29wdHM7IH0KKyAgICAgICAgICAgICAgICB8IC8qIGVt cHR5ICovIHsKKyAgICAgICAgICAgICAgICAgICAgICAgIGJ6ZXJvKCZxdWV1ZV9vcHRzLCBzaXpl b2YgcXVldWVfb3B0cyk7CisgICAgICAgICAgICAgICAgICAgICAgICAkJCA9IGRucXVldWVfb3B0 czsKKyAgICAgICAgICAgICAgICB9CisgICAgICAgICAgICAgICAgOworCitkbnF1ZXVlX29wdHNf bCAgOiBkbnF1ZXVlX29wdHNfbCBkbnF1ZXVlX29wdAorCQl8IGRucXVldWVfb3B0CisgICAgICAg ICAgICAgICAgOworCitkbnF1ZXVlX29wdCAgICAgOiBCVUNLRVRTIG51bWJlciAgICAgICB7CisJ CSAgICAgICAgaWYgKCQyIDwgMTYgfHwgJDIgPiA2NTUzNSkgeworICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICB5eWVycm9yKCJidWNrZXRzIG91dCBvZiByYW5nZTogWzE2LTY1NTM1XSIp OworICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBZWUVSUk9SOworICAgICAgICAgICAg ICAgICAgICAgICAgfQorICAgICAgICAgICAgICAgICAgICAgICAgLypkbnF1ZXVlX29wdHMubWFy a2VyIHw9IEROX0JVQ0tFVFM7Ki8KKyAgICAgICAgICAgICAgICAgICAgICAgIGRucXVldWVfb3B0 cy5ycV9zaXplID0gJDI7CisgICAgICAgICAgICAgICAgfQorCQl8IFdFSUdIVCBudW1iZXIJCQkg IHsKKwkJCWlmICgkMiA8IDAgfHwgJDIgPiAxMDApICB7IC8qIFswLi4xMDBdIGlzIGFsbG93ZWQg Ki8KKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgeXllcnJvcigid2VpZ2h0IG11c3Qg YmUgaW4gWzAuLjEwMF0gcmFuZ2UiKTsKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg WVlFUlJPUjsKKyAgICAgICAgICAgICAgICAgICAgICAgIH0KKyAgICAgICAgICAgICAgICAgICAg ICAgIAorCQkJZG5xdWV1ZV9vcHRzLndlaWdodCA9ICQyOworCQl9CisgICAgICAgICAgICAgICAg fCBRVUVVRSBTVFJJTkcJCSB7CisgICAgICAgICAgICAgICAgICAgICAgICBkb3VibGUgICBicHM7 CisgICAgICAgICAgICAgICAgICAgICAgICBjaGFyICAgICpjcDsKKworCQkJYnBzID0gc3RydG9k KCQyLCAmY3ApOworICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGJwcyA8IDE2IHx8IGJwcyA+ IDY1NTM1KSB7CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHl5ZXJyb3IoInFsaW1p dCBvdXQgb2YgcmFuZ2UgWzE2Li42NTUzNV0iKTsKKyAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgWVlFUlJPUjsKKyAgICAgICAgICAgICAgICAgICAgICAgIH0KKworICAgICAgICAgICAg ICAgICAgICAgICAgaWYgKGNwICE9IE5VTEwpIHsKKyAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgaWYgKCFzdHJjbXAoY3AsICJCIikpCisJCQkJCWRucXVldWVfb3B0cy5mbGFnc19mcyB8 PSAKKwkJCQkJCUROX1FTSVpFX0lTX0JZVEVTOworICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICBlbHNlIGlmICghc3RyY21wKGNwLCAiS0IiKSkgeworICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIGJwcyAqPSAxMDI0OworCQkJCQlkbnF1ZXVlX29wdHMuZmxhZ3Nf ZnMgfD0gCisJCQkJCQlETl9RU0laRV9JU19CWVRFUzsKKyAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgfSBlbHNlIGlmICgqY3AgIT0gJ1wwJykgeworICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIHl5ZXJyb3IoInVua25vd24gdW5pdCAlcyIsIGNwKTsKKyAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmcmVlKCQyKTsKKyAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICBZWUVSUk9SOworICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICB9CisJCQl9IGVsc2UgCisJCQkJZG5xdWV1ZV9vcHRzLmZsYWdzX2ZzICY9 IAorCQkJCQl+RE5fUVNJWkVfSVNfQllURVM7CisgICAgICAgICAgICAgICAgICAgICAgICBmcmVl KCQyKTsKKworICAgICAgICAgICAgICAgICAgICAgICAgZG5xdWV1ZV9vcHRzLnFzaXplID0gKHVf aW50MzJfdClicHM7CisgICAgICAgICAgICAgICAgfQorICAgICAgICAgICAgICAgIHwgUExSIG51 bWJlciAgICAgICAgICAgICAgICAgICAgICAgICAgICB7CisgICAgICAgICAgICAgICAgICAgICAg ICBkbnF1ZXVlX29wdHMucGxyID0gKGludCkkMioweDdmZmZmZmZmIDsKKyAgICAgICAgICAgICAg ICB9CisgICAgICAgICAgICAgICAgfCBNQVNLIG1hc2tfc3BlY2lmaWVyICAgeworICAgICAgICAg ICAgICAgICAgICAgICAgbWVtY3B5KCZkbnF1ZXVlX29wdHMsICYkMiwKKyAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgc2l6ZW9mKGRucXVldWVfb3B0cykpOworICAgICAgICAgICAgICAg IH0KKyAgICAgICAgICAgICAgICB8IFJFRCBzdHJpbmcgJy8nIG51bWJlciAnLycgbnVtYmVyICcv JyBzdHJpbmcgICAgICAgeworICAgICAgICAgICAgICAgICAgICAgICAgLyogWFhYOiB0aGlzIG5v dCB5ZXQgZmluaXNoZWQhICovCisgICAgICAgICAgICAgICAgICAgICAgICBjaGFyICAgICplOwor ICAgICAgICAgICAgICAgICAgICAgICAgZG91YmxlICAgcCA9IHN0cnRvZCgkMiwgJmUpOworCisg ICAgICAgICAgICAgICAgICAgICAgICBpZiAoKmUgPT0gJyUnKSB7CisgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIHAgKj0gMC4wMTsKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgZSsrOworICAgICAgICAgICAgICAgICAgICAgICAgfQorICAgICAgICAgICAgICAgICAgICAg ICAgaWYgKCplKSB7CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHl5ZXJyb3IoImlu dmFsaWQ6ICVzIiwgJDIpOworICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmcmVlKCQy KTsKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgWVlFUlJPUjsKKyAgICAgICAgICAg ICAgICAgICAgICAgIH0KKyAgICAgICAgICAgICAgICAgICAgICAgIHAgPSBmbG9vcihwICogKFVJ TlRfTUFYKzEuMCkgKyAwLjUpOworICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHAgPCAxLjAg fHwgcCA+PSAoVUlOVF9NQVgrMS4wKSkgeworICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICB5eWVycm9yKCJpbnZhbGlkOiAlcyIsICQyKTsKKyAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgZnJlZSgkMik7CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFlZRVJST1I7 CisgICAgICAgICAgICAgICAgICAgICAgICB9CisgICAgICAgICAgICAgICAgICAgICAgICBmcmVl KCQyKTsKKyAgICAgICAgICAgICAgICB9CisgICAgICAgICAgICAgICAgOworCittYXNrX3NwZWNp ZmllciAgOiBBTEwgICAgICAgICAgICAgICAgICAgeworCisgICAgICAgICAgICAgICAgICAgICAg ICBtZW1zZXQoJiQkLCAwLCBzaXplb2YoJCQpKTsKKworICAgICAgICAgICAgICAgICAgICAgICAg JCQuZmxvd19tYXNrLmRzdF9pcCA9IH4wOworICAgICAgICAgICAgICAgICAgICAgICAgJCQuZmxv d19tYXNrLnNyY19pcCA9IH4wOworICAgICAgICAgICAgICAgICAgICAgICAgJCQuZmxvd19tYXNr LmRzdF9wb3J0ID0gfjA7CisgICAgICAgICAgICAgICAgICAgICAgICAkJC5mbG93X21hc2suc3Jj X3BvcnQgPSB+MDsKKyAgICAgICAgICAgICAgICAgICAgICAgICQkLmZsb3dfbWFzay5wcm90byA9 IH4wOworICAgICAgICAgICAgICAgICAgICAgICAgbjJtYXNrKCYkJC5mbG93X21hc2suZHN0X2lw NiwgMTI4KTsKKyAgICAgICAgICAgICAgICAgICAgICAgIG4ybWFzaygmJCQuZmxvd19tYXNrLnNy Y19pcDYsIDEyOCk7CisgICAgICAgICAgICAgICAgICAgICAgICAkJC5mbG93X21hc2suZmxvd19p ZDYgPSB+MDsKKyAgICAgICAgICAgICAgICAgICAgICAgICQkLmZsYWdzX2ZzIHw9IEROX0hBVkVf RkxPV19NQVNLOworICAgICAgICAgICAgICAgIH0KKyAgICAgICAgICAgICAgICB8IERTVElQIG51 bWJlciAgICAgICAgICAgICAJeworCQkJJCQuZmxvd19tYXNrLmRzdF9pcCA9ICh1aW50MzJfdCkk MjsKKyAgICAgICAgICAgICAgICAgICAgICAgICQkLmZsYWdzX2ZzIHw9IEROX0hBVkVfRkxPV19N QVNLOworICAgICAgICAgICAgICAgIH0KKyAgICAgICAgICAgICAgICB8IFNSQ0lQIG51bWJlcgkg ICAgICAgICAgICAgeworICAgICAgICAgICAgICAgICAgICAgICAgJCQuZmxvd19tYXNrLnNyY19p cCA9ICh1aW50MzJfdCkkMjsKKyAgICAgICAgICAgICAgICAgICAgICAgICQkLmZsYWdzX2ZzIHw9 IEROX0hBVkVfRkxPV19NQVNLOworICAgICAgICAgICAgICAgIH0KKyAgICAgICAgICAgICAgICB8 IERTVFBPUlQgbnVtYmVyCSAgICAgICAgICAgeworICAgICAgICAgICAgICAgICAgICAgICAgJCQu Zmxvd19tYXNrLmRzdF9wb3J0ID0gKHVpbnQxNl90KSQyOworICAgICAgICAgICAgICAgICAgICAg ICAgJCQuZmxhZ3NfZnMgfD0gRE5fSEFWRV9GTE9XX01BU0s7CisgICAgICAgICAgICAgICAgfQor ICAgICAgICAgICAgICAgIHwgU1JDUE9SVCBudW1iZXIJICAgICAgICAgICB7CisgICAgICAgICAg ICAgICAgICAgICAgICAkJC5mbG93X21hc2suc3JjX3BvcnQgPSAodWludDE2X3QpJDI7CisgICAg ICAgICAgICAgICAgICAgICAgICAkJC5mbGFnc19mcyB8PSBETl9IQVZFX0ZMT1dfTUFTSzsKKyAg ICAgICAgICAgICAgICB9CisgICAgICAgICAgICAgICAgfCBEU1RJUDYgJy8nIG51bWJlciAJICAg ICAgICAgICB7CisgICAgICAgICAgICAgICAgICAgICAgICBuMm1hc2soJiQkLmZsb3dfbWFzay5k c3RfaXA2LCAkMyk7CisgICAgICAgICAgICAgICAgICAgICAgICAkJC5mbGFnc19mcyB8PSBETl9I QVZFX0ZMT1dfTUFTSzsKKyAgICAgICAgICAgICAgICB9CisgICAgICAgICAgICAgICAgfCBTUkNJ UDYgJy8nIG51bWJlcgkgICAgICAgICAgICB7CisgICAgICAgICAgICAgICAgICAgICAgICBuMm1h c2soJiQkLmZsb3dfbWFzay5zcmNfaXA2LCAkMyk7CisgICAgICAgICAgICAgICAgICAgICAgICAk JC5mbGFnc19mcyB8PSBETl9IQVZFX0ZMT1dfTUFTSzsKKyAgICAgICAgICAgICAgICB9CisgICAg ICAgICAgICAgICAgfCBGTE9XSUQgbnVtYmVyCSAgICAgICAgICAgIHsKKyAgICAgICAgICAgICAg ICAgICAgICAgICQkLmZsb3dfbWFzay5mbG93X2lkNiA9ICh1aW50MzJfdCkkMjsKKyAgICAgICAg ICAgICAgICAgICAgICAgICQkLmZsYWdzX2ZzIHw9IEROX0hBVkVfRkxPV19NQVNLOworCisgICAg ICAgICAgICAgICAgfQorICAgICAgICAgICAgICAgIHwgUFJPVE8gbnVtYmVyIAkgICAgICAgICAg ICAgeworICAgICAgICAgICAgICAgICAgICAgICAgJCQuZmxvd19tYXNrLnByb3RvID0gKHVpbnQ4 X3QpJDI7CisgICAgICAgICAgICAgICAgICAgICAgICAkJC5mbGFnc19mcyB8PSBETl9IQVZFX0ZM T1dfTUFTSzsKKyAgICAgICAgICAgICAgICB9CisgICAgICAgICAgICAgICAgfCBOT0VSUk9SICAg ICAgIHsgJCQuZmxhZ3NfZnMgfD0gRE5fTk9FUlJPUjsgfQorICAgICAgICAgICAgICAgIDsKKwog cGZydWxlCQk6IGFjdGlvbiBkaXIgbG9ncXVpY2sgaW50ZXJmYWNlIHJvdXRlIGFmIHByb3RvIGZy b210bwogCQkgICAgZmlsdGVyX29wdHMKIAkJewpAQCAtMjAzNCw2ICsyMjY2LDE0IEBACiAJCQkJ ZnJlZSgkOS5xdWV1ZXMucHFuYW1lKTsKIAkJCX0KIAorCQkJaWYgKCQ5LmRucGlwZSkgeworCQkJ CXIuZG5waXBlID0gJDkuZG5waXBlOworCQkJCXIuZG50eXBlID0gJDkuZG50eX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dHJ1Y3Qga2V5d29yZHMJKnA7CiAKQEAgLTU1MjQsMyArNTgwNywyMyBA QAogCiAJcmV0dXJuICgwKTsKIH0KKworLyogbjJtYXNrIHNldHMgbiBiaXRzIG9mIHRoZSBtYXNr ICovCitzdGF0aWMgdm9pZAorbjJtYXNrKHN0cnVjdCBpbjZfYWRkciAqbWFzaywgaW50IG4pCit7 CisgICAgICAgIHN0YXRpYyBpbnQgICAgICBtaW5pbWFza1s5XSA9CisgICAgICAgICAgICB7IDB4 MDAsIDB4ODAsIDB4YzAsIDB4ZTAsIDB4ZjAsIDB4ZjgsIDB4ZmMsIDB4ZmUsIDB4ZmYgfTsKKyAg ICAgICAgdV9jaGFyICAgICAgICAgICpwOworCisgICAgICAgIG1lbXNldChtYXNrLCAwLCBzaXpl b2Yoc3RydWN0IGluNl9hZGRyKSk7CisgICAgICAgIHAgPSAodV9jaGFyICopIG1hc2s7CisgICAg ICAgIGZvciAoOyBuID4gMDsgcCsrLCBuIC09IDgpIHsKKyAgICAgICAgICAgICAgICBpZiAobiA+ PSA4KQorICAgICAgICAgICAgICAgICAgICAgICAgKnAgPSAweGZmOworICAgICAgICAgICAgICAg IGVsc2UKKyAgICAgICAgICAgICAgICAgICAgICAgICpwID0gbWluaW1hc2tbbl07CisgICAgICAg IH0KKyAgICAgICAgcmV0dXJuOworfQorCkluZGV4OiBjb250cmliL3BmL3BmY3RsL3BmY3RsLmMK PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PQpSQ1MgZmlsZTogL2hvbWUvZXJpL3JlcG8vY29udHJpYi9wZi9wZmN0bC9wZmN0 bC5jLHYKcmV0cmlldmluZyByZXZpc2lvbiAxLjEuMS4xCmRpZmYgLXUgLXIxLjEuMS4xIHBmY3Rs LmMKLS0tIGNvbnRyaWIvcGYvcGZjdGwvcGZjdGwuYwkyMSBPY3QgMjAwNyAxMzo1MzoxNSAtMDAw MAkxLjEuMS4xCis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teW5ldHN1 cHBvcnQpCisgICAgICAgICAgICAgICByZXR1cm4gKC0xKTsKKyAgICAgICBpZiAoc2V0c29ja29w dChkbnNvY2ssIElQUFJPVE9fSVAsIElQX0RVTU1ZTkVUX0ZMVVNILCBOVUxMLCAwKSA8IDApIHsK KyAgICAgICAgICAgICAgIGVycigxLCJzZXRzb2Nrb3B0KElQX0RVTU1ZTkVUX0ZMVVNIKSIpOwor ICAgICAgICAgICAgICAgcmV0dXJuICgxKTsKKyAgICAgICB9CisKKyAgICAgICBpZiAoKG9wdHMg JiBQRl9PUFRfUVVJRVQpID09IDApCisgICAgICAgICAgICAgICBmcHJpbnRmKHN0ZGVyciwgIkRV TU1ZTkVUIGNsZWFyZWRcbiIpOworICAgICAgIHJldHVybiAoMCk7Cit9CisKK2ludAogcGZjdGxf Y2xlYXJfc3JjX25vZGVzKGludCBkZXYsIGludCBvcHRzKQogewogCWlmIChpb2N0bChkZXYsIERJ T0NDTFJTUkNOT0RFUykpCkBAIC0xMzQ4LDYgKzEzNzEsMjQgQEAKIH0KIAogaW50CitwZmN0bF9h ZGRfZHVtbXluZXQoc3RydWN0IHBmY3RsICpwZiwgc3RydWN0IGRuX3BpcGUgKnApCit7CisgICAg ICAgaWYgKGR1bW15bmV0c3VwcG9ydCAmJgorICAgICAgICAgICAobG9hZG9wdCAmIFBGQ1RMX0ZM QUdfRFVNTVlORVQpICE9IDApIHsKKyAgICAgICAgICAgICAgIGlmICgocGYtPm9wdHMgJiBQRl9P UFRfTk9BQ1RJT04pID09IDApIHsKKyAgICAgICAgICAgICAgICAgICAgICAgaWYgKHNldHNvY2tv cHQoZG5zb2NrLCBJUFBST1RPX0lQLCBJUF9EVU1NWU5FVF9DT05GSUdVUkUsCisgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgcCwgc2l6ZW9mKCpwKSkgPCAwKSB7CisgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgZXJyeCgxLCAiRFVNTVlORVQgY29uZmlndXJlIik7CisgICAgICAg ICAgICAgICAgICAgICAgIH0KKyAgICAgICAgICAgICAgIH0KKyAgICAgICAgfQorCWlmIChwZi0+ b3B0cyAmIFBGX09QVF9WRVJCT1NFKSAKKwkgICAgICAgcHJpbnRfZHVtbXluZXQocCk7CisKKyAg ICAgICByZXR1cm4gKDApOworfQorCitpbnQKIHBmY3RsX3J1bGVzKGludCBkZXYsIGNoYXIgKmZp bGVuYW1lLCBGSUxFICpmaW4sIGludCBvcHRzLCBpbnQgb3B0aW1pemUsCiAgICAgY2hhciAqYW5j aG9ybmFtZSwgc3RydWN0IHBmcl9idWZmZXIgKnRyYW5zKQogewpAQCAtMTkxNCw2ICsxOTU1LDIx IEBACiB9CiAKIGludAorcGZjdGxfdGVzdF9kdW1teW5ldHN1cHBvcnQoaW50IGRuc29jaywgaW50 IG9wdHMpCit7CisgICAgICAgc3RydWN0IGRuX3BpcGUgcDsKKyAgICAgICBzb2NrbGVuX3QgICAg ICAgbGVuOworCisgICAgICAgaWYgKGdldHNvY2tvcHQoZG5zb2NrLCBJUFBST1RPX0lQLCBJUF9E VU1NWU5FVF9HRVQsICZwLAorICAgICAgICAgICAgICAgICAgICAgICAmbGVuKSA8IDApIHsKKyAg ICAgICAgICAgICAgIGlmICghKG9wdHMgJiAoUEZfT1BUX1FVSUVUfFBGX09QVF9OT0FDVElPTikp KQorICAgICAgICAgICAgICAgICAgICAgICBmcHJpbnRmKHN0ZGVyciwgIkRVTU1ZTkVUIG5vdCBs b2FkZWRcbiIpOworICAgICAgICAgICAgICAgcmV0dXJuICgwKTsKKyAgICAgICB9CisgICAgICAg cmV0dXJuICgxKTsKK30KKworaW50CiBwZmN0bF9zaG93X2FuY2hvcnMoaW50IGRldiwgaW50IG9w dHMsIGNoYXIgKmFuY2hvcm5hbWUpCiB7CiAJc3RydWN0IHBmaW9jX3J1bGVzZXQJIHByOwpAQCAt MTk3OCw3ICsyMDM0LDcgQEAKIAkJdXNhZ2UoKTsKIAogCXdoaWxlICgoY2ggPSBn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KQEAgLTg1LDYgKzg1LDcgQEAKIGludAkgcGZjdGxfY29t bWFuZF90YWJsZXMoaW50LCBjaGFyICpbXSwgY2hhciAqLCBjb25zdCBjaGFyICosIGNoYXIgKiwK IAkgICAgY29uc3QgY2hhciAqLCBpbnQpOwogaW50CSBwZmN0bF9zaG93X2FsdHEoaW50LCBjb25z dCBjaGFyICosIGludCwgaW50KTsKK2ludAkgcGZjdGxfc2hvd19kdW1teW5ldChpbnQsIGludCk7 CiB2b2lkCSB3YXJuX25hbWVzcGFjZV9jb2xsaXNpb24oY29uc3QgY2hhciAqKTsKIGludAkgcGZj dGxfc2hvd19pZmFjZXMoY29uc3QgY2hhciAqLCBpbnQpOwogRklMRQkqcGZjdGxfZm9wZW4oY29u c3QgY2hhciAqLCBjb25zdCBjaGFyICopOwpJbmRleDogY29udHJpYi9wZi9wZmN0bC9wZmN0bF9k bi5jCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT0KUkNTIGZpbGU6IGNvbnRyaWIvcGYvcGZjdGwvcGZjdGxfZG4uYwpkaWZm IC1OIGNvbnRyaWIvcGYvcGZjdGwvcGZjdGxfZG4uYwotLS0gL2Rldi9udWxsCTEgSmFuIDE5NzAg MDA6MDA6MDAgLTAwMDAKKysrIGNvbnRyaWIvcGYvcGZjdGwvcGZjdGxfZG4uYwkyMSBPY3QgMjAw NyAxOTowMzozMiAtMDAwMApAQCAtMCwwICsxLDM5OSBAQAorLyoKKyAqIENvcHlyaWdodCAoYykg MjAwNyBFcm1hbCBMdedpCisgKiBDb3B5cmlnaHQgKGMpIDIwMDItMjAwMyBMdWlnaSBSaXp6bwor ICogQ29weXJpZ2h0IChjKSAxOTk2IEFsZXggTmFzaCwgUGF1bCBUcmFpbmEsIFBvdWwtSGVubmlu ZyBLYW1wCisgKiBDb3B5cmlnaHQgKGMpIDE5OTQgVWdlbiBKLlMuQW50c2lsZXZpY2gKKyAqCisg KiBJZ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qYSA9IHBhOworICAgICAgICBjb25zdCBzdHJ1Y3QgZG5f Zmxvd19xdWV1ZSAqYiA9IHBiOworCisgICAgICAgIHN3aXRjaCAoZmllbGQpIHsKKyAgICAgICAg Y2FzZSAxOiAvKiBwa3RzICovCisgICAgICAgICAgICAgICAgcmVzID0gYS0+bGVuIC0gYi0+bGVu OworICAgICAgICAgICAgICAgIGJyZWFrOworICAgICAgICBjYXNlIDI6IC8qIGJ5dGVzICovCisg ICAgICAgICAgICAgICAgcmVzID0gYS0+bGVuX2J5dGVzIC0gYi0+bGVuX2J5dGVzOworICAgICAg ICAgICAgICAgIGJyZWFrOworCisgICAgICAgIGNhc2UgMzogLyogdG90IHBrdHMgKi8KKyAgICAg ICAgICAgICAgICByZXMgPSBhLT50b3RfcGt0cyAtIGItPnRvdF9wa3RzOworICAgICAgICAgICAg ICAgIGJyZWFrOworCisgICAgICAgIGNhc2UgNDogLyogdG90IGJ5dGVzICovCisgICAgICAgICAg ICAgICAgcmVzID0gYS0+dG90X2J5dGVzIC0gYi0+dG90X2J5dGVzOworICAgICAgICAgICAgICAg IGJyZWFrOworICAgICAgICB9CisgICAgICAgIGlmIChyZXMgPCAwKQorICAgICAgICAgICAgICAg IHJlcyA9IC0xOworICAgICAgICBpZiAocmVzID4gMCkKKyAgICAgICAgICAgICAgICByZXMgPSAx OworICAgICAgICByZXR1cm4gKGludCkocmV2ID8gcmVzIDogLXJlcyk7Cit9CisKK3N0YXRpYyB2 b2lkCitsaXN0X3F1ZXVlcyhzdHJ1Y3QgZG5fZmxvd19zZXQgKmZzLCBzdHJ1Y3QgZG5fZmxvd19x dWV1ZSAqcSkKK3sKKyAgICAgICAgaW50IGw7CisgICAgICAgIGludCBpbmRleF9wcmludGVkLCBp bmRleGVzID0gMDsKKyAgICAgICAgY2hhciBidWZmWzI1NV07CisgICAgICAgIHN0cnVjdCBwcm90 b2VudCAqcGU7CisKKyAgICAgICAgaWYgKGZzLT5ycV9lbGVtZW50cyA9PSAwKQorICAgICAgICAg ICAgICAgIHJldHVybjsKKworICAgICAgICBpZiAoZG9fc29ydCAhPSAwKQorICAgICAgICAgICAg ICAgIGhlYXBzb3J0KHEsIGZzLT5ycV9lbGVtZW50cywgc2l6ZW9mICpxLCBzb3J0X3EpOworCisg ICAgICAgIC8qIFByaW50IElQdjQgZmxvd3MgKi8KKyAgICAgICAgaW5kZXhfcHJpbnRlZCA9IDA7 CisgICAgICAgIGZvciAobCA9IDA7IGwgPCBmcy0+cnFfZWxlbWVudHM7IGwrKykgeworICAgICAg ICAgICAgICAgIHN0cnVjdCBpbl9hZGRyIGluYTsKKworICAgICAgICAgICAgICAgIC8qIFhYWDog U2hvdWxkIGNoZWNrIGZvciBJUHY0IGZsb3dzICovCisgICAgICAgICAgICAgICAgaWYgKElTX0lQ Nl9GTE9XX0lEKCYocVtsXS5pZCkpKQorICAgICAgICAgICAgICAgICAgICAgICAgY29udGludWU7 CisKKyAgICAgICAgICAgICAgICBpZiAoIWluZGV4X3ByaW50ZWQpIHsKKyAgICAgICAgICAgICAg ICAgICAgICAgIGluZGV4X3ByaW50ZWQgPSAxOworICAgICAgICAgICAgICAgICAgICAgICAgaWYg KGluZGV4ZXMgPiAwKSAgICAgICAgLyogY3VycmVudGx5IGEgbm8tb3AgKi8KKyAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgcHJpbnRmKCJcbiIpOworICAgICAgICAgICAgICAgICAgICAg ICAgaW5kZXhlcysrOworICAgICAgICAgICAgICAgICAgICAgICAgcHJpbnRmKCIgICAgIgorICAg ICAgICAgICAgICAgICAgICAgICAgICAgICJtYXNrOiAweCUwMnggMHglMDh4LzB4JTA0eCAtPiAw eCUwOHgvMHglMDR4XG4iLAorICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZzLT5mbG93X21h c2sucHJvdG8sCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgZnMtPmZsb3dfbWFzay5zcmNf aXAsIGZzLT5mbG93X21hc2suc3JjX3BvcnQsCisgICAgICAgICAgICAgICAgICAgICAgICAgICAg ZnMtPmZsb3dfbWFzay5kc3RfaXAsIGZzLT5mbG93X21hc2suZHN0X3BvcnQpOworCisgICAgICAg ICAgICAgICAgICAgICAgICBwcmludGYoIkJLVCBQcm90IF9fX1NvdXJjZSBJUC9wb3J0X19fXyAi CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgIl9fX19EZXN0LiBJUC9wb3J0X19fXyAiCisg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIlRvdF9wa3QvYnl0ZXMgUGt0L0J5dGUgRHJwXG4i KTsKKyAgICAgICAgICAgICAgICB9CisKKyAgICAgICAgICAgICAgICBwcmludGYoIiUzZCAiLCBx W2xdLmhhc2hfc2xvdCk7CisgICAgICAgICAgICAgICAgcGUgPSBnZXRwcm90b2J5bnVtYmVyKHFb bF0uaWQucHJvdG8pOworICAgICAgICAgICAgICAgIGlmIChwZSkKKyAgICAgICAgICAgICAgICAg ICAgICAgIHByaW50ZigiJS00cyAiLCBwZS0+cF9uYW1lKTsKKyAgICAgICAgICAgICAgICBlbHNl CisgICAgICAgICAgICAgICAgICAgICAgICBwcmludGYoIiU0dSAiLCBxW2xdLmlkLnByb3RvKTsK KyAgICAgICAgICAgICAgICBpbmEuc19hZGRyID0gaHRvbmwocVtsXS5pZC5zcmNfaXApOworICAg ICAgICAgICAgICAgIHByaW50ZigiJTE1cy8lLTVkICIsCisgICAgICAgICAgICAgICAgICAgIGlu ZXRfbnRvYShpbmEpLCBxW2xdLmlkLnNyY19wb3J0KTsKKyAgICAgICAgICAgICAgICBpbmEuc19h ZGRyID0gaHRvbmwocVtsXS5pZC5kc3RfaXApOworICAgICAgICAgICAgICAgIHByaW50ZigiJTE1 cy8lLTVkICIsCisgICAgICAgICAgICAgICAgICAgIGluZXRfbnRvYShpbmEpLCBxW2xdLmlkLmRz dF9wb3J0KTsKKyAgICAgICAgICAgICAgICBwcmludGYoIiU0cXUgJThxdSAlMnUgJTR1ICUzdVxu IiwKKyAgICAgICAgICAgICAgICAgICAgcVtsXS50b3RfcGt0cywgcVtsXS50b3RfYnl0ZXMsCisg ICAgICAgICAgICAgICAgICAgIHFbbF0ubGVuLCBxW2xdLmxlbl9ieXRlcywgcVtsXS5kcm9wcyk7 CisgICAgICAgICAgICAgICAgaWYgKHZlcmJvc2UpCisgICAgICAgICAgICAgICAgICAgICAgICBw cmludGYoIiAgIFMgJTIwcWQgIEYgJTIwcWRcbiIsCisgICAgICAgICAgICAgICAgICAgICAgICAg ICAgcVtsXS5TLCBxW2xdLkYpOworICAgICAgICB9CisKKyAgICAgICAgLyogUHJpbnQgSVB2NiBm bG93cyAqLworICAgICAgICBpbmRleF9wcmludGVkID0gMDsKKyAgICAgICAgZm9yIChsID0gMDsg bCA8IGZzLT5ycV9lbGVtZW50czsgbCsrKSB7CisgICAgICAgICAgICAgICAgaWYgKCFJU19JUDZf RkxPV19JRCgmKHFbbF0uaWQpKSkKKyAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlOwor CisgICAgICAgICAgICAgICAgaWYgKCFpbmRleF9wcmludGVkKSB7CisgICAgICAgICAgICAgICAg ICAgICAgICBpbmRleF9wcmludGVkID0gMTsKKyAgICAgICAgICAgICAgICAgICAgICAgIGlmIChp bmRleGVzID4gMCkKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcHJpbnRmKCJcbiIp OworICAgICAgICAgICAgICAgICAgICAgICBpbmRleGVzKys7CisgICAgICAgICAgICAgICAgICAg ICAgICBwcmludGYoIlxuICAgICAgICBtYXNrOiBwcm90bzogMHglMDJ4LCBmbG93X2lkOiAweCUw OHgsICAiLAorICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZzLT5mbG93X21hc2sucHJvdG8s IGZzLT5mbG93X21hc2suZmxvd19pZDYpOworICAgICAgICAgICAgICAgICAgICAgICAgaW5ldF9u dG9wKEFGX0lORVQ2LCAmKGZzLT5mbG93X21hc2suc3JjX2lwNiksCisgICAgICAgICAgICAgICAg ICAgICAgICAgICAgYnVmZiwgc2l6ZW9mKGJ1ZmYpKTsKKyAgICAgICAgICAgICAgICAgICAgICAg IHByaW50ZigiJXMvMHglMDR4IC0+ICIsIGJ1ZmYsIGZzLT5mbG93X21hc2suc3JjX3BvcnQpOwor ICAgICAgICAgICAgICAgICAgICAgICAgaW5ldF9udG9wKCBBRl9JTkVUNiwgJihmcy0+Zmxvd19t YXNrLmRzdF9pcDYpLAorICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJ1ZmYsIHNpemVvZihi dWZmKSApOworICAgICAgICAgICAgICAgICAgICAgICAgcHJpbnRmKCIlcy8weCUwNHhcbiIsIGJ1 ZmYsIGZzLT5mbG93X21hc2suZHN0X3BvcnQpOworCisgICAgICAgICAgICAgICAgICAgICAgICBw cmludGYoIkJLVCBfX19Qcm90X19fIF9mbG93LWlkXyAiCisgICAgICAgICAgICAgICAgICAgICAg ICAgICAgIl9fX19fX19fX19fX19fU291cmNlIElQdjYvcG9ydF9fX19fX19fX19fX19fXyAiCisg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIl9fX19fX19fX19fX19fX0Rlc3QuIElQdjYvcG9y dF9fX19fX19fX19fX19fXyAiCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgIlRvdF9wa3Qv Ynl0ZXMgUGt0L0J5dGUgRHJwXG4iKTsKKyAgICAgICAgICAgICAgICB9CisgICAgICAgICAgICAg ICAgcHJpbnRmKCIlM2QgIiwgcVtsXS5oYXNoX3Nsb3QpOworICAgICAgICAgICAgICAgIHBlID0g Z2V0cHJvdG9ieW51bWJlcihxW2xdLmlkLnByb3RvKTsKKyAgICAgICAgICAgICAgICBpZiAocGUg IT0gTlVMTCkKKyAgICAgICAgICAgICAgICAgICAgICAgIHByaW50ZigiJTlzICIsIHBlLT5wX25h bWUpOworICAgICAgICAgICAgICAgIGVsc2UKKyAgICAgICAgICAgICAgICAgICAgICAgIHByaW50 ZigiJTl1ICIsIHFbbF0uaWQucHJvdG8pOworICAgICAgICAgICAgICAgIHByaW50ZigiJTdkICAl MzlzLyUtNWQgIiwgcVtsXS5pZC5mbG93X2lkNiwKKyAgICAgICAgICAgICAgICAgICAgaW5ldF9u dG9wKEFGX0lORVQ2LCAmKHFbbF0uaWQuc3JjX2lwNiksIGJ1ZmYsIHNpemVvZihidWZmKSksCisg ICAgICAgICAgICAgICAgICAgIHFbbF0uaWQuc3JjX3BvcnQpOworICAgICAgICAgICAgICAgIHBy aW50ZigiICUzOXMvJS01ZCAiLAorICAgICAgICAgICAgICAgICAgICBpbmV0X250b3AoQUZfSU5F VDYsICYocVtsXS5pZC5kc3RfaXA2KSwgYnVmZiwgc2l6ZW9mKGJ1ZmYpKSwKKyAgICAgICAgICAg ICAgICAgICAgcVtsXS5pZC5kc3RfcG9ydCk7CisgICAgICAgICAgICAgICAgcHJpbnRmKCIgJTRx dSAlOHF1ICUydSAlNHUgJTN1XG4iLAorICAgICAgICAgICAgICAgICAgICBxW2xdLnRvdF9wa3Rz LCBxW2xdLnRvdF9ieXRlcywKKyAgICAgICAgICAgICAgICAgICAgcVtsXS5sZW4sIHFbbF0ubGVu X2J5dGVzLCBxW2xdLmRyb3BzKTsKKyAgICAgICAgICAgICAgICBpZiAodmVyYm9zZSkKKyAgICAg ICAgICAgICAgICAgICAgICAgIHByaW50ZigiICAgUyAlMjBxZCAgRiAlMjBxZFxuIiwgcVtsXS5T LCBxW2xdLkYpOworICAgICAgICB9Cit9CisKK3N0YXRpYyB2b2lkCitwcmludF9mbG93c2V0X3Bh cm1zKHN0cnVjdCBkbl9mbG93X3NldCAqZnMsIGNoYXIgKnByZWZpeCkKK3sKKyAgICAgICAgaW50 IGw7CisgICAgICAgIGNoYXIgcXNbMzBdOworICAgICAgICBjaGFyIHBsclszMF07CisgICAgICAg IGNoYXIgcmVkWzkwXTsgICAvKiBEaXNwbGF5IFJFRCBwYXJhbWV0ZXJzICovCisKKyAgICAgICAg bCA9IGZzLT5xc2l6ZTsKKyAgICAgICAgaWYgKGZzLT5mbGFnc19mcyAmIEROX1FTSVpFX0lTX0JZ VEVTKSB7CisgICAgICAgICAgICAgICAgaWYgKGwgPj0gODE5MikKKyAgICAgICAgICAgICAgICAg ICAgICAgIHNwcmludGYocXMsICIlZCBLQiIsIGwgLyAxMDI0KTsKKyAgICAgICAgICAgICAgICBl bHNlCisgICAgICAgICAgICAgICAgICAgICAgICBzcHJpbnRmKHFzLCAiJWQgQiIsIGwpOworICAg ICAgICB9IGVsc2UKKyAgICAgICAgICAgICAgICBzcHJpbnRmKHFzLCAiJTNkIHNsLiIsIGwpOwor ICAgICAgICBpZiAoZnMtPnBscikKKyAgICAgICAgICAgICAgICBzcHJpbnRmKHBsciwgInBsciAl ZiIsIDEuMCAqIGZzLT5wbHIgLyAoZG91YmxlKSgweDdmZmZmZmZmKSk7CisgICAgICAgIGVsc2UK KyAgICAgICAgICAgICAgICBwbHJbMF0gPSAnXDAnOworICAgICAgICBpZiAoZnMtPmZsYWdzX2Zz ICYgRE5fSVNfUkVEKSAgIC8qIFJFRCBwYXJhbWV0ZXJzICovCisgICAgICAgICAgICAgICAgc3By aW50ZihyZWQsCisgICAgICAgICAgICAgICAgICAgICJcblx0ICAlY1JFRCB3X3EgJWYgbWluX3Ro ICVkIG1heF90aCAlZCBtYXhfcCAlZiIsCisgICAgICAgICAgICAgICAgICAgIChmcy0+ZmxhZ3Nf ZnMgJiBETl9JU19HRU5UTEVfUkVEKSA/ICdHJyA6ICcgJywKKyAgICAgICAgICAgICAgICAgICAg MS4wICogZnMtPndfcSAvIChkb3VibGUpKDEgPDwgU0NBTEVfUkVEKSwKKyAgICAgICAgICAgICAg ICAgICAgU0NBTEVfVkFMKGZzLT5taW5fdGgpLAorICAgICAgICAgICAgICAgICAgICBTQ0FMRV9W QUwoZnMtPm1heF90aCksCisgICAgICAgICAgICAgICAgICAgIDEuMCAqIGZzLT5tYXhfcCAvIChk b3VibGUpKDEgPDwgU0NBTEVfUkVEKSk7CisgICAgICAgIGVsc2UKKyAgICAgICAgICAgICAgICBz cHJpbnRmKHJlZCwgImRyb3B0YWlsIik7CisKKyAgICAgICAgcHJpbnRmKCIlcyAlcyVzICVkIHF1 ZXVlcyAoJWQgYnVja2V0cykgJXNcbiIsCisgICAgICAgICAgICBwcmVmaXgsIHFzLCBwbHIsIGZz LT5ycV9lbGVtZW50cywgZnMtPnJxX3NpemUsIHJlZCk7Cit9CisKKworc3RhdGljIHZvaWQKK2xp c3RfcGlwZXModm9pZCAqZGF0YSwgdWludCBuYnl0ZXMpCit7CisgICAgICAgIHZvaWQgKm5leHQg PSBkYXRhOworICAgICAgICBzdHJ1Y3QgZG5fcGlwZSAqcCA9IChzdHJ1Y3QgZG5fcGlwZSAqKSBk YXRhOworICAgICAgICBzdHJ1Y3QgZG5fZmxvd19zZXQgKmZzOworICAgICAgICBzdHJ1Y3QgZG5f Zmxvd19xdWV1ZSAqcTsKKyAgICAgICAgaW50IGw7CisKKyAgICAgICAgZm9yICg7IG5ieXRlcyA+ PSBzaXplb2YgKnA7IHAgPSAoc3RydWN0IGRuX3BpcGUgKiluZXh0KSB7CisgICAgICAgICAgICAg ICAgZG91YmxlIGIgPSBwLT5iYW5kd2lkdGg7CisgICAgICAgICAgICAgICAgY2hhciBidWZbMzBd OworICAgICAgICAgICAgICAgIGNoYXIgcHJlZml4WzgwXTsKKworICAgICAgICAgICAgICAgIGlm IChTTElTVF9ORVhUKHAsIG5leHQpICE9IChzdHJ1Y3QgZG5fcGlwZSAqKUROX0lTX1BJUEUpCisg ICAgICAgICAgICAgICAgICAgICAgICBicmVhazsgIC8qIGRvbmUgd2l0aCBwaXBlcywgbm93IHF1 ZXVlcyAqLworCisgICAgICAgICAgICAgICAgLyoKKyAgICAgICAgICAgICAgICAgKiBjb21wdXRl IGxlbmd0aCwgYXMgcGlwZSBoYXZlIHZhcmlhYmxlIHNpemUKKyAgICAgICAgICAgICAgICAgKi8K KyAgICAgICAgICAgICAgICBsID0gc2l6ZW9mKCpwKSArIHAtPmZzLnJxX2VsZW1lbnRzICogc2l6 ZW9mKCpxKTsKKyAgICAgICAgICAgICAgICBuZXh0ID0gKGNoYXIgKilwICsgbDsKKyAgICAgICAg ICAgICAgICBuYnl0ZXMgLT0gbDsKKworICAgICAgICAgICAgICAgIC8qCisgICAgICAgICAgICAg ICAgICogUHJpbnQgcmF0ZSAob3IgY2xvY2tpbmcgaW50ZXJmYWNlKQorICAgICAgICAgICAgICAg ICAqLworICAgICAgICAgICAgICAgIGlmIChwLT5pZl9uYW1lWzBdICE9ICdcMCcpCisgICAgICAg ICAgICAgICAgICAgICAgIHNwcmludGYoYnVmLCAiJXMiLCBwLT5pZl9uYW1lKTsKKyAgICAgICAg ICAgICAgICBlbHNlIGlmIChiID09IDApCisgICAgICAgICAgICAgICAgICAgICAgICBzcHJpbnRm KGJ1ZiwgInVubGltaXRlZCIpOworICAgICAgICAgICAgICAgIGVsc2UgaWYgKGIgPj0gMTAwMDAw MCkKKyAgICAgICAgICAgICAgICAgICAgICAgIHNwcmludGYoYnVmLCAiJTcuM2YgTWJpdC9zIiwg Yi8xMDAwMDAwKTsKKyAgICAgICAgICAgICAgICBlbHNlIGlmIChiID49IDEwMDApCisgICAgICAg ICAgICAgICAgICAgICAgICBzcHJpbnRmKGJ1ZiwgIiU3LjNmIEtiaXQvcyIsIGIvMTAwMCk7Cisg ICAgICAgICAgICAgICAgZWxzZQorICAgICAgICAgICAgICAgICAgICAgICAgc3ByaW50ZihidWYs ICIlNy4zZiBiaXQvcyAiLCBiKTsKKworICAgICAgICAgICAgICAgIHNwcmludGYocHJlZml4LCAi JTA1ZDogJXMgJTRkIG1zICIsCisgICAgICAgICAgICAgICAgICAgIHAtPnBpcGVfbnIsIGJ1Ziwg cC0+ZGVsYXkpOworICAgICAgICAgICAgICAgIHByaW50X2Zsb3dzZXRfcGFybXMoJihwLT5mcyks IHByZWZpeCk7CisgICAgICAgICAgICAgICAgaWYgKHZlcmJvc2UpCisgICAgICAgICAgICAgICAg ICAgICAgICBwcmludGYoIiAgIFYgJTIwcWRcbiIsIHAtPlYgPj4gTVlfTSk7CisKKyAgICAgICAg ICAgICAgICBxID0gKHN0cnVjdCBkbl9mbG93X3F1ZXVlICopKHArMSk7CisgICAgICAgICAgICAg ICAgbGlzdF9xdWV1ZXMoJihwLT5mcyksIHEpOworICAgICAgICB9CisgICAgICAgIGZvciAoZnMg PSBuZXh0OyBuYnl0ZXMgPj0gc2l6ZW9mICpmczsgZnMgPSBuZXh0KSB7CisgICAgICAgICAgICAg ICAgY2hhciBwcmVmaXhbODBdOworCisgICAgICAgICAgICAgICAgaWYgKFNMSVNUX05FWFQoZnMs IG5leHQpICE9IChzdHJ1Y3QgZG5fZmxvd19zZXQgKilETl9JU19RVUVVRSkKKyAgICAgICAgICAg ICAgICAgICAgICAgIGJyZWFrOworICAgICAgICAgICAgICAgIGwgPSBzaXplb2YoKmZzKSArIGZz LT5ycV9lbGVtZW50cyAqIHNpemVvZigqcSk7CisgICAgICAgICAgICAgICAgbmV4dCA9IChjaGFy ICopZnMgKyBsOworICAgICAgICAgICAgICAgIG5ieXRlcyAtPSBsOworI2lmIDAKKyAgICAgICAg ICAgICAgICBpZiAocnVsZW51bSAhPSAwICYmICgocnVsZW51bSAhPSBmcy0+ZnNfbnIgJiYgZG9f cGlwZSA9PSAyKSB8fAorICAgICAgICAgICAgICAgICAgICAocnVsZW51bSAhPSBmcy0+cGFyZW50 X25yICYmIGRvX3BpcGUgPT0gMSkpKSB7CisgICAgICAgICAgICAgICAgICAgICAgICBjb250aW51 ZTsKKyAgICAgICAgICAgICAgICB9CisjZW5kaWYKKyAgICAgICAgICAgICAgICBxID0gKHN0cnVj dCBkbl9mbG93X3F1ZXVlICopKGZzKzEpOworICAgICAgICAgICAgICAgIHNwcmludGYocHJlZml4 LCAicSUwNWQ6IHdlaWdodCAlZCBwaXBlICVkICIsCisgICAgICAgICAgICAgICAgICAgIGZzLT5m c19uciwgZnMtPndlaWdodCwgZnMtPnBhcmVudF9ucik7CisgICAgICAgICAgICAgICAgcHJpbnRf Zmxvd3NldF9wYXJtcyhmcywgcHJlZml4KTsKKyAgICAgICAgICAgICAgICBsaXN0X3F1ZXVlcyhm cywgcSk7CisgICAgICAgIH0KK30KKwordm9pZAorcHJpbnRfZHVtbXluZXQoc3RydWN0IGRuX3Bp cGUgKnApCit7CisJY2hhciBidWZmWzI1NV07CisKKwlpZiAocC0+cGlwZV9uciAhPSAwKSB7IC8q IFRoaXMgaXMgYSBwaXBlICovCisJCXByaW50ZigiZG5waXBlICVkIiwgcC0+cGlwZV9ucik7CisJ CWlmIChwLT5iYW5kd2lkdGgpIAorCQkJcHJpbnRmKCIgYmFuZHdpZHRoICVkTWIiLCBwLT5iYW5k d2lkdGgvMTAwMDAwMCk7CisJICAgICAgICBlbHNlIGlmIChwLT5iYW5kd2lkdGggPj0gMTAwMCkK KyAgICAgICAgIAkgICAgICAgIHByaW50ZigiIGJhbmR3aWR0aCAlZEtiIiwgcC0+YmFuZHdpZHRo LzEwMDApOworCSAgICAgICAgZWxzZSAKKyAgICAgICAgICAgICAgICAgICAgICAgCXByaW50Zigi IGJhbmR3aWR0aCAlZGIgIiwgcC0+YmFuZHdpZHRoKTsKKwkJaWYgKHAtPmRlbGF5ID4gMCkKKwkJ CXByaW50ZigiIGRlbGF5ICVkIiwgcC0+ZGVsYXkpOworCX0gZWxzZSB7CisJCXByaW50ZigiZG5x dWV1ZSAlZCBkbnBpcGUgJWQiLCBwLT5mcy5mc19uciwgcC0+ZnMucGFyZW50X25yKTsKKwkJaWYg KHAtPmZzLndlaWdodCkKKwkJCXByaW50ZigiIHdlaWdodCAlZCIsIHAtPmZzLndlaWdodCk7CisJ fQorCisJaWYgKHAtPmZzLnJxX3NpemUgPiAxNSkKKwkJcHJpbnRmKCIgYnVja2V0cyAlZCIsIHAt PmZzLnJxX3NpemUpOworCWlmIChwLT5mcy5mbGFnc19mcyAmIEROX1FTSVpFX0lTX0JZVEVTKSB7 CisgICAgICAgICAgICAgICAgaWYgKHAtPmZzLnFzaXplID49IDgxOTIpCisgICAgICAgICAgICAg ICAgICAgICAgICBwcmludGYoIiBxdWV1ZSAlZEtCIiwgIHAtPmZzLnFzaXplIC8gMTAyNCk7Cisg ICAgICAgICAgICAgICAgZWxzZSBpZiAocC0+ZnMucXNpemUgPiAwKQorICAgICAgICAgICAgICAg ICAgICAgICAgcHJpbnRmKCIgcXVldWUgJWRCIiwgcC0+ZnMucXNpemUpOworICAgICAgICB9IGVs c2UKKwkJaWYgKHAtPmZzLnFzaXplID4gMCkKKwkgICAgICAgICAgICAgICAgcHJpbnRmKCIgcXVl dWUgJTNkIiwgcC0+ZnMucXNpemUpOworICAgICAgICBpZiAocC0+ZnMucGxyID4gMCkKKyAgICAg ICAgICAgICAgICBwcmludGYoIiBwbHIgJWYiLCAxLjAgKiBwLT5mcy5wbHIgLyAoZG91YmxlKSgw eDdmZmZmZmZmKSk7CisKKwlpZiAocC0+ZnMuZmxvd19tYXNrLnByb3RvICYmIHAtPmZzLmZsb3df bWFzay5kc3RfaXAgJiYgCisJCXAtPmZzLmZsb3dfbWFzay5zcmNfaXAgJiYgcC0+ZnMuZmxvd19t YXNrLmRzdF9wb3J0ICYmIAorCQlwLT5mcy5mbG93X21hc2suc3JjX3BvcnQgJiYKKwkJcC0+ZnMu Zmxvd19tYXNrLmZsb3dfaWQ2KQorCQlwcmludGYoIiBtYXNrIGFsbCIpOworCWVsc2UgIGlmIChw LT5mcy5mbG93X21hc2sucHJvdG8gfHwgcC0+ZnMuZmxvd19tYXNrLmRzdF9pcCB8fCAKKwkJcC0+ ZnMuZmxvd19tYXNrLnNyY19pcCB8fCBwLT5mcy5mbG93X21hc2suZHN0X3BvcnQgfHwgCisJCXAt PmZzLmZsb3dfbWFzay5zcmNfcG9ydCB8fAorCQlwLT5mcy5mbG93X21hc2suZmxvd19pZDYpIHsK KwkJcHJpbnRmKCJcblx0IG1hc2s6ICIpOworCWlmIChwLT5mcy5mbG93X21hc2sucHJvdG8pCisJ CXByaW50ZigiIHByb3RvIDB4JTAyeC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A7 CisgICAgICAgICAgICAgICAgbmJ5dGVzID0gbmFsbG9jOworICAgICAgICAgICAgICAgIGlmICgo ZGF0YSA9IHJlYWxsb2MoZGF0YSwgbmJ5dGVzKSkgPT0gTlVMTCkKKyAgICAgICAgICAgICAgICAg ICAgICAgIGVycigxLCAicmVhbGxvYyIpOworICAgICAgICAgICAgICAgIGlmIChnZXRzb2Nrb3B0 KGRuc29jaywgSVBQUk9UT19JUCwgSVBfRFVNTVlORVRfR0VULCBkYXRhLAorICAgICAgICAgICAg ICAgICAgICAgICAgKHNvY2tsZW5fdCAqKSZuYnl0ZXMpIDwgMCkgeworICAgICAgICAgICAgICAg ICAgICAgICAgZnJlZShkYXRhKTsKKyAgICAgICAgICAgICAgICAgICAgICAgIGVycigxLCAiZ2V0 c29ja29wdChJUF9EVU1NWU5FVF9HRVQpIik7CisJCX0KKyAgICAgICAgfQorCQorICAgICAgICBs aXN0X3BpcGVzKGRhdGEsIG5ieXRlcyk7CisJCisJcmV0dXJuICgwKTsKKworfQpJbmRleDogY29u dHJpYi9wZi9wZmN0bC9wZmN0bF9wYXJzZXIuYwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJDUyBmaWxlOiAvaG9tZS9l cmkvcmVwby9jb250cmliL3BmL3BmY3RsL3BmY3RsX3BhcnNlci5jLHYKcmV0cmlldmluZyByZXZp c2lvbiAxLjEuMS4xCmRpZmYgLXUgLXIxLjEuMS4xIHBmY3RsX3BhcnNlci5jCi0tLSBjb250cmli L3BmL3BmY3RsL3BmY3RsX3BhcnNlci5jCTIxIE9jdCAyMDA3IDEzOjUzOjE1IC0wMDAwCTEuMS4x LjEKKysrIGNvbnRyaWIvcGYvcGZjdGwvcGZjdGxfcGFyc2VyLmMJMjEgT2N0IDIwMDcgMTk6MDM6 NDkgLTAwMDAKQEAgLTQ4LDYgKzQ4LDkgQEAKICNpbmNsdWRlIDxuZXQvcGZ2YXIua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cm91dGU2KG0wLCBy LCBkaXIsIGlmcCwgcywgJnBkKTsKIAogI2lmZGVmIF9fRnJlZUJTRF9fCisJaWYgKHItPmRucGlw ZSAmJiBpcF9kbl9pb19wdHIgIT0gTlVMTCkgeworCQkJc3RydWN0IGlwX2Z3IGR1bW15cnVsZTsK KworICAgICAgCQkJZHVtbXlydWxlLmNtZC0+b3Bjb2RlID0gCisJCQkJci0+ZG50eXBlID09IERO X0lTX1BJUEUgPyBPX1BJUEUgOiBPX1FVRVVFOworCQkJZHVtbXlydWxlLmFjdF9vZnMgPSAwOwor CQkJZHVtbXlydWxlLmNtZF9sZW4gPSAxOworCQkJaWYgKGFjdGlvbiA9PSBQRl9QQVNTICYmICgK KwkJCQlwZC50b3MgJiBJUFRPU19MT1dERUxBWSkpIAorCQkJCWRuZmxvdy5jb29raWUgPSByLT5w ZG5waXBlOworCQkJZWxzZSAKKwkJCQlkbmZsb3cuY29va2llID0gci0+ZG5waXBlOworICAgICAg ICAgICAgICAgIAlkbmZsb3cucnVsZSA9ICZkdW1teXJ1bGU7CisgICAgICAgICAgICAgICAgCWRu Zmxvdy5mX2lkLmFkZHJfdHlwZSA9IDY7IC8qIElQdjQgdHlwZSAqLworICAgICAgICAgICAgICAg IAlkbmZsb3cuZl9pZC5wcm90byA9IHBkLnByb3RvOworCQkJUEZfVU5MT0NLKCk7CisJCQkKKwkJ CWlwX2RuX2lvX3B0cigqbTAsIAorCQkJCWRpciA9PSBQRl9JTiA/IEROX1RPX0lQNl9JTiA6IERO X1RPX0lQNl9PVVQsIAorCQkJCSZkbmZsb3cpOworCQkJKm0wID0gTlVMTDsKKwkJCXJldHVybiAo YWN0aW9uKTsKKwkJfQorCQogCVBGX1VOTE9DSygpOwogI2VuZGlmCisKIAlyZXR1cm4gKGFjdGlv bik7CiB9CiAjZW5kaWYgLyogSU5FVDYgKi8KSW5kZXg6IHN5cy9jb250cmliL3BmL25ldC9wZl9p b2N0bC5jCj09PT09PT09PT09PT09PT09PT09PT09P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KQEAgLTM4MjgsNyArMzgyNyw3IEBACiAJd2hpbGUgKChy dWxlID0gaGVhZCkgIT0gTlVMTCkgewogCQloZWFkID0gaGVhZC0+bmV4dDsKIAkJaWYgKERVTU1Z TkVUX0xPQURFRCkKLQkJCWlwX2RuX3J1bGVkZWxfcHRyKHJ1bGUpOworCQkJZG5fcnVsZV9kZWxl dGUocnVsZSk7CiAJCWZyZWUocnVsZSwgTV9JUEZXKTsKIAl9CiB9CkluZGV4OiBzeXMvbmV0aW5l dC9pcF9md19wZmlsLmMKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PQpSQ1MgZmlsZTogL2hvbWUvZXJpL3JlcG8vc3lzL25l dGluZXQvaXBfZndfcGZpbC5jLHYKcmV0cmlldmluZyByZXZpc2lvbiAxLjEuMS4xCmRpZmYgLXUg LXIxLjEuMS4xIGlwX2Z3X3BmaWwuYwotLS0gc3lzL25ldGluZXQvaXBfZndfcGZpbC5jCTIxIE9j dCAyMDA3IDEzOjU1OjM2IC0wMDAwCTEuMS4xLjEKKysrIHN5cy9uZXRpbmV0L2lwX2Z3X3BmaWwu YwkyMSBPY3QgMjAwNyAxOTowMzo0OSAtMDAwMApAQCAtNzIsOSArNzIsNiBAQAogCiBpbnQgaXBm d19jaGdfaG9vayhTWVNDVExfSEFORExFUl9BUkdTKTsKIAotLyogRHVtbXluZXQgaG9va3MuICov Ci1pcF9kbl9ydWxlZGVsX3QJKmlwX2RuX3J1bGVkZWxfcHRyID0gTlVMTDsKLQogLyogRGl2ZXJ0 IGhvb2tzLiAqLwogaXBfZGl2ZXJ0X3BhY2tldF90ICppcF9kaXZlcnRfcHRyID0gTlVMTDsKIAo= ------=_Part_14170_30775547.1193591593935-- From owner-freebsd-net@FreeBSD.ORG Sun Oct 28 20:11:11 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1096A16A420 for ; Sun, 28 Oct 2007 20:11:11 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.237]) by mx1.freebsd.org (Postfix) with ESMTP id 765FA13C4A7 for ; Sun, 28 Oct 2007 20:11:10 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so1269157wxd for ; Sun, 28 Oct 2007 13:11:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=AbTtnX5JVZVnyBMJW2M1/DyICgsp9zlK9/c4BtGpvjY=; b=JVSg9msH3U/gt9vwxpkSX2bmoOlkSRdhXoSmlJJytuMESHsZJdGxLmFAlkwtwaqlrkFL+mqovyii7tfMCH5jqveWxPNCpdDv6Qk/l8L4zL1VoF3wfNWr7VTSaB2pLTN7EbvC7LFUVWOVaHtwRWkKdt8nuo7SbuoTeVJPl/VgGQo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=muaFTiqZ9MMRogSV/351lX4CbTOg+CjrtCA7oideQKUQ/H3paHB1143G56kYvARrTHiIxuxpbet3VYKpzadoDdc5ljOnOsUVF8XS6Ppwe9KDWktIO45MiP9st0Jp7nO6wLoScuXfw4GA6bVzbh3SNUReMD3qv20fWaLWZpzoXTk= Received: by 10.70.66.18 with SMTP id o18mr9225453wxa.1193602269655; Sun, 28 Oct 2007 13:11:09 -0700 (PDT) Received: by 10.70.73.1 with HTTP; Sun, 28 Oct 2007 13:11:09 -0700 (PDT) Message-ID: <9a542da30710281311n7f8a6f29me02da90941d96ae5@mail.gmail.com> Date: Sun, 28 Oct 2007 21:11:09 +0100 From: "=?ISO-8859-1?Q?Ermal_Lu=E7i?=" To: freebsd-pf@freebsd.org, freebsd-net@freebsd.org In-Reply-To: <9a542da30710281013q642b5aa8k33c7836ee064242e@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_98_11251979.1193602269616" References: <9a542da30710161409o4732a77bybdf4ba35d7491bb@mail.gmail.com> <200710171043.08126.max@love2party.net> <9a542da30710211232v4d3c930fg8ea778a12f3f16cb@mail.gmail.com> <9a542da30710280617t11e668e2o4d122998192f71c@mail.gmail.com> <20071028095802.A61999@xorpc.icir.org> <9a542da30710281013q642b5aa8k33c7836ee064242e@mail.gmail.com> Cc: Subject: Fwd: [PATCH] PF+dummynet X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 28 Oct 2007 20:11:11 -0000 ------=_Part_98_11251979.1193602269616 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Ok thanks to remko@ for hosting it! You can find it here: http://people.freebsd.org/~remko/patches/dummynet_pf.tar.gz Please test and give feedback. > > > It gives full dummynet support in pf.conf syntax and removes dummynet > > depndency to ipfw. > > > > You can configure a pipe/queue using the same ipfw syntax the only > > difference is that i call those 'dnpipe'/'dnqueue' respectivley. > > GRED/RED isn't currently finished but that is a pfctl addition so not > > difficult. > > > > For dummynet i preserve ipfw style statistics so tools of ipfw can be > > used here to. > > > > Since this is PF i preserved ALTQ priotitizing of ACK, meaning on ALTQ you do > > pass in quick proto tcp from any to any flags S/SA queue(pri, que) > > > > You can do the same with dummynet queues only, since for pipes it > > doesn't make much sense since they simulate a link. So yuo can do > > > > dnpipe 10 bandwidth 100Kbit > > dnqueue 10 dnpipe 10 queue 100 > > dnqueue 20 dnpipe 10 queue 20 > > > > pass in quick proto tcp from any to any flags S/SA dnqueue(10, 20) > > > > > > Please test and give feedback. > > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > ------=_Part_98_11251979.1193602269616 Content-Type: text/x-patch; name=test_dummynet3.diff Content-Transfer-Encoding: base64 X-Attachment-Id: f_f8bvlik4 Content-Disposition: attachment; filename=test_dummynet3.diff SW5kZXg6IGNvbnRyaWIvcGYvcGZjdGwvcGFyc2UueQo9PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJDUyBmaWxlOiAvaG9t ZS9lcmkvcmVwby9jb250cmliL3BmL3BmY3RsL3BhcnNlLnksdgpyZXRyaWV2aW5nIHJldmlzaW9u IDEuMS4xLjEKZGlmZiAtdSAtcjEuMS4xLjEgcGFyc2UueQotLS0gY29udHJpYi9wZi9wZmN0bC9w YXJzZS55CTIxIE9jdCAyMDA3IDEzOjUzOjE1IC0wMDAwCTEuMS4xLjEKKysrIGNvbnRyaWIvcGYv cGZjdGwvcGFyc2UueQkyMSBPY3QgMjAwNyAxOTowMzo0OSAtMDAwMApAQCAtNDUsNiArNDUsOSBA QAogI2luY2x1ZGUgPGFsdHEvYWx0cV9wcmlxLmg+CiAjaW5jbHVkZSA8YWx0cS9hbHRxX2hmc2Mu aD4KIAorI2luY2x1ZGUgPG5ldGluZXQvaXBfZncuaD4KKyNpbmNsdWRlIDxuZXRpbmV0L2lwX2R1 bW15bmV0Lmg+CisKICNpbmNsdWRlIDxzdGRpby5oPgogI2luY2x1ZGUgPHN0ZGxpYi5oPgogI2lu Y2x1ZGUgPG5ldGRiLmg+CkBAIC0yMDYsNiArMjA5LDkgQEAKIAljaGFyCQkJKnRhZzsKIAljaGFy CQkJKm1hdGNoX3RhZzsKIAl1X2ludDhfdAkJIG1hdGNoX3RhZ19ub3Q7CisJdV9pbnQzMl90CQkg ZG5waXBlOworCXVfaW50MzJfdAkJIHBkbnBpcGU7CisJdV9pbnQzMl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ZHRoID0gJDMuYmFuZHdpZHRoOworICAgICAgICAgICAg ICAgICAgICAgICAgcC5kZWxheSA9ICQzLmRlbGF5OworCQkJcC5waXBlX25yID0gJDI7CisgICAg ICAgICAgICAgICAgICAgICAgICBtZW1jcHkoJnAuZnMsICYkNCwKKyAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgc2l6ZW9mKHAuZnMpKTsKKworICAgICAgICAgICAgICAgICAgICAgICAg aWYocGZjdGxfYWRkX2R1bW15bmV0KHBmLCAmcCkpCisgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgIFlZRVJST1I7CisgICAgICAgICAgICAgICAgfQorZG5xdWV1ZXNwZWMgICAgIDogRE5R VUVVRSBudW1iZXIgRE5QSVBFIG51bWJlciBkbnF1ZXVlX29wdHMgeworCQkgICAgICAgIHN0cnVj dCBkbl9waXBlIHA7CisKKyAgICAgICAgICAgICAgICAgICAgICAgIGlmIChjaGVja19ydWxlc3Rh dGUoUEZDVExfU1RBVEVfUVVFVUUpKSAKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg WVlFUlJPUjsKKworICAgICAgICAgICAgICAgICAgICAgICAgbWVtc2V0KCZwLCAwLCBzaXplb2Yo cCkpOworCisgICAgICAgICAgICAgICAgICAgICAgICBpZiAoJDQgPT0gMCkgeworICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICB5eWVycm9yKCJwaXBlIG11c3QgYmUgc3BlY2lmaWVkIGZv ciBxdWV1ZSIpOworICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBZWUVSUk9SOworICAg ICAgICAgICAgICAgICAgICAgICAgfQorCQkJaWYgKCQyID09IDApIHsKKwkJCQl5eWVycm9yKCJx dWV1ZSBudW1iZXIgbXVzdCBiZSBncmVhdGVyIHRoYW4gMCIpOworCQkJCVlZRVJST1I7CisJCQl9 CisJCQkJCQorICAgICAgICAgICAgICAgICAgICAgICAgbWVtY3B5KCZwLmZzLCAmJDUsIHNpemVv ZihwLmZzKSk7CisJCQlwLmZzLmZzX25yID0gJDI7CisgICAgICAgICAgICAgICAgICAgICAgICBw LmZzLnBhcmVudF9uciA9ICQ0OworCQkJcC5waXBlX25yID0gMDsKKworICAgICAgICAgICAgICAg ICAgICAgICAgaWYgKHBmY3RsX2FkZF9kdW1teW5ldChwZiwgJnApKSB7CisgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIHl5ZXJyb3IoImVycm9ycyBpbiBkbnF1ZXVlIGRlZmluaXRpb24i KTsKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgWVlFUlJPUjsKKyAgICAgICAgICAg ICAgICAgICAgICAgIH0KKyAgICAgICAgICAgICAgICB9CisgICAgICAgICAgICAgICAgOworCitk bnBpcGVfb3B0cyAgICAgOiAgICAgICAvKiBYWFg6IGZpeCB0aGlzICovIHsKKwkgICAgICAgICAg ICAgICAgYnplcm8oJmRucGlwZV9vcHRzLCBzaXplb2YgZG5waXBlX29wdHMpOworICAgICAgICAg ICAgICAgIH0KKyAgICAgICAgICAgICAgICAgICAgICAgIGRucGlwZV9vcHRzX2wKKyAgICAgICAg ICAgICAgICAgICAgICAgCXsgJCQgPSBkbnBpcGVfb3B0czsgfQorICAgICAgICAgICAgICAgIHwJ LyogZW1wdHkgKi8geworICAgICAgICAgICAgICAgICAgICAgICAgYnplcm8oJmRucGlwZV9vcHRz LCBzaXplb2YgZG5waXBlX29wdHMpOworICAgICAgICAgICAgICAgICAgICAgICAgJCQgPSBkbnBp cGVfb3B0czsKKyAgICAgICAgICAgICAgICB9CisgICAgICAgICAgICAgICAgOworCitkbnBpcGVf b3B0c19sICAgOiBkbnBpcGVfb3B0c19sIGRucGlwZV9vcHQKKwkgICAgICAgIHwgZG5waXBlX29w dAorICAgICAgICAgICAgICAgIDsKKworZG5waXBlX29wdCAgICAgIDogQkFORFdJRFRIIGJhbmR3 aWR0aCAgIHsKKyAgICAgICAgICAgICAgICAgICAgICAgIGRucGlwZV9vcHRzLmJhbmR3aWR0aCA9 ICQyLmJ3X2Fic29sdXRlOworICAgICAgICAgICAgICAgIH0KKyAgICAgICAgICAgICAgICB8IERF TEFZIG51bWJlciAgICAgICAgICB7CisgICAgICAgICAgICAgICAgICAgICAgICBpZiAoJDIgPiAw ICYmICQyIDwgMTAwMDEpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRucGlwZV9v cHRzLmRlbGF5ID0gJDI7CisgICAgICAgICAgICAgICAgICAgICAgICBlbHNlIHsKKyAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgeXllcnJvcigiZGVsYXkgbmVlZHMgYXJndW1lbnQgMC4u MTAwMDBtcyIpOworICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBZWUVSUk9SOworICAg ICAgICAgICAgICAgICAgICAgICAgfQorICAgICAgICAgICAgICAgIH0KKyAgICAgICAgICAgICAg ICA7CisKK2RucXVldWVfb3B0cyAgICA6IC8qIFhYWDogZml4IHRoaXMgKi8geworCQkgICAgICAg IGJ6ZXJvKCZkbnF1ZXVlX29wdHMsIHNpemVvZiBkbnF1ZXVlX29wdHMpOworICAgICAgICAgICAg ICAgIH0KKyAgICAgICAgICAgICAgICAgICAgZG5xdWV1ZV9vcHRzX2wKKyAgICAgICAgICAgICAg ICAgICAgICAgIHsgJCQgPSBkbnF1ZXVlX29wdHM7IH0KKyAgICAgICAgICAgICAgICB8IC8qIGVt cHR5ICovIHsKKyAgICAgICAgICAgICAgICAgICAgICAgIGJ6ZXJvKCZxdWV1ZV9vcHRzLCBzaXpl b2YgcXVldWVfb3B0cyk7CisgICAgICAgICAgICAgICAgICAgICAgICAkJCA9IGRucXVldWVfb3B0 czsKKyAgICAgICAgICAgICAgICB9CisgICAgICAgICAgICAgICAgOworCitkbnF1ZXVlX29wdHNf bCAgOiBkbnF1ZXVlX29wdHNfbCBkbnF1ZXVlX29wdAorCQl8IGRucXVldWVfb3B0CisgICAgICAg ICAgICAgICAgOworCitkbnF1ZXVlX29wdCAgICAgOiBCVUNLRVRTIG51bWJlciAgICAgICB7CisJ CSAgICAgICAgaWYgKCQyIDwgMTYgfHwgJDIgPiA2NTUzNSkgeworICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICB5eWVycm9yKCJidWNrZXRzIG91dCBvZiByYW5nZTogWzE2LTY1NTM1XSIp OworICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBZWUVSUk9SOworICAgICAgICAgICAg ICAgICAgICAgICAgfQorICAgICAgICAgICAgICAgICAgICAgICAgLypkbnF1ZXVlX29wdHMubWFy a2VyIHw9IEROX0JVQ0tFVFM7Ki8KKyAgICAgICAgICAgICAgICAgICAgICAgIGRucXVldWVfb3B0 cy5ycV9zaXplID0gJDI7CisgICAgICAgICAgICAgICAgfQorCQl8IFdFSUdIVCBudW1iZXIJCQkg IHsKKwkJCWlmICgkMiA8IDAgfHwgJDIgPiAxMDApICB7IC8qIFswLi4xMDBdIGlzIGFsbG93ZWQg Ki8KKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgeXllcnJvcigid2VpZ2h0IG11c3Qg YmUgaW4gWzAuLjEwMF0gcmFuZ2UiKTsKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg WVlFUlJPUjsKKyAgICAgICAgICAgICAgICAgICAgICAgIH0KKyAgICAgICAgICAgICAgICAgICAg ICAgIAorCQkJZG5xdWV1ZV9vcHRzLndlaWdodCA9ICQyOworCQl9CisgICAgICAgICAgICAgICAg fCBRVUVVRSBTVFJJTkcJCSB7CisgICAgICAgICAgICAgICAgICAgICAgICBkb3VibGUgICBicHM7 CisgICAgICAgICAgICAgICAgICAgICAgICBjaGFyICAgICpjcDsKKworCQkJYnBzID0gc3RydG9k KCQyLCAmY3ApOworICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGJwcyA8IDE2IHx8IGJwcyA+ IDY1NTM1KSB7CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHl5ZXJyb3IoInFsaW1p dCBvdXQgb2YgcmFuZ2UgWzE2Li42NTUzNV0iKTsKKyAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgWVlFUlJPUjsKKyAgICAgICAgICAgICAgICAgICAgICAgIH0KKworICAgICAgICAgICAg ICAgICAgICAgICAgaWYgKGNwICE9IE5VTEwpIHsKKyAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgaWYgKCFzdHJjbXAoY3AsICJCIikpCisJCQkJCWRucXVldWVfb3B0cy5mbGFnc19mcyB8 PSAKKwkJCQkJCUROX1FTSVpFX0lTX0JZVEVTOworICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICBlbHNlIGlmICghc3RyY21wKGNwLCAiS0IiKSkgeworICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIGJwcyAqPSAxMDI0OworCQkJCQlkbnF1ZXVlX29wdHMuZmxhZ3Nf ZnMgfD0gCisJCQkJCQlETl9RU0laRV9JU19CWVRFUzsKKyAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgfSBlbHNlIGlmICgqY3AgIT0gJ1wwJykgeworICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIHl5ZXJyb3IoInVua25vd24gdW5pdCAlcyIsIGNwKTsKKyAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmcmVlKCQyKTsKKyAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICBZWUVSUk9SOworICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICB9CisJCQl9IGVsc2UgCisJCQkJZG5xdWV1ZV9vcHRzLmZsYWdzX2ZzICY9 IAorCQkJCQl+RE5fUVNJWkVfSVNfQllURVM7CisgICAgICAgICAgICAgICAgICAgICAgICBmcmVl KCQyKTsKKworICAgICAgICAgICAgICAgICAgICAgICAgZG5xdWV1ZV9vcHRzLnFzaXplID0gKHVf aW50MzJfdClicHM7CisgICAgICAgICAgICAgICAgfQorICAgICAgICAgICAgICAgIHwgUExSIG51 bWJlciAgICAgICAgICAgICAgICAgICAgICAgICAgICB7CisgICAgICAgICAgICAgICAgICAgICAg ICBkbnF1ZXVlX29wdHMucGxyID0gKGludCkkMioweDdmZmZmZmZmIDsKKyAgICAgICAgICAgICAg ICB9CisgICAgICAgICAgICAgICAgfCBNQVNLIG1hc2tfc3BlY2lmaWVyICAgeworICAgICAgICAg ICAgICAgICAgICAgICAgbWVtY3B5KCZkbnF1ZXVlX29wdHMsICYkMiwKKyAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgc2l6ZW9mKGRucXVldWVfb3B0cykpOworICAgICAgICAgICAgICAg IH0KKyAgICAgICAgICAgICAgICB8IFJFRCBzdHJpbmcgJy8nIG51bWJlciAnLycgbnVtYmVyICcv JyBzdHJpbmcgICAgICAgeworICAgICAgICAgICAgICAgICAgICAgICAgLyogWFhYOiB0aGlzIG5v dCB5ZXQgZmluaXNoZWQhICovCisgICAgICAgICAgICAgICAgICAgICAgICBjaGFyICAgICplOwor ICAgICAgICAgICAgICAgICAgICAgICAgZG91YmxlICAgcCA9IHN0cnRvZCgkMiwgJmUpOworCisg ICAgICAgICAgICAgICAgICAgICAgICBpZiAoKmUgPT0gJyUnKSB7CisgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIHAgKj0gMC4wMTsKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgZSsrOworICAgICAgICAgICAgICAgICAgICAgICAgfQorICAgICAgICAgICAgICAgICAgICAg ICAgaWYgKCplKSB7CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHl5ZXJyb3IoImlu dmFsaWQ6ICVzIiwgJDIpOworICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmcmVlKCQy KTsKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgWVlFUlJPUjsKKyAgICAgICAgICAg ICAgICAgICAgICAgIH0KKyAgICAgICAgICAgICAgICAgICAgICAgIHAgPSBmbG9vcihwICogKFVJ TlRfTUFYKzEuMCkgKyAwLjUpOworICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHAgPCAxLjAg fHwgcCA+PSAoVUlOVF9NQVgrMS4wKSkgeworICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICB5eWVycm9yKCJpbnZhbGlkOiAlcyIsICQyKTsKKyAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgZnJlZSgkMik7CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFlZRVJST1I7 CisgICAgICAgICAgICAgICAgICAgICAgICB9CisgICAgICAgICAgICAgICAgICAgICAgICBmcmVl KCQyKTsKKyAgICAgICAgICAgICAgICB9CisgICAgICAgICAgICAgICAgOworCittYXNrX3NwZWNp ZmllciAgOiBBTEwgICAgICAgICAgICAgICAgICAgeworCisgICAgICAgICAgICAgICAgICAgICAg ICBtZW1zZXQoJiQkLCAwLCBzaXplb2YoJCQpKTsKKworICAgICAgICAgICAgICAgICAgICAgICAg JCQuZmxvd19tYXNrLmRzdF9pcCA9IH4wOworICAgICAgICAgICAgICAgICAgICAgICAgJCQuZmxv d19tYXNrLnNyY19pcCA9IH4wOworICAgICAgICAgICAgICAgICAgICAgICAgJCQuZmxvd19tYXNr LmRzdF9wb3J0ID0gfjA7CisgICAgICAgICAgICAgICAgICAgICAgICAkJC5mbG93X21hc2suc3Jj X3BvcnQgPSB+MDsKKyAgICAgICAgICAgICAgICAgICAgICAgICQkLmZsb3dfbWFzay5wcm90byA9 IH4wOworICAgICAgICAgICAgICAgICAgICAgICAgbjJtYXNrKCYkJC5mbG93X21hc2suZHN0X2lw NiwgMTI4KTsKKyAgICAgICAgICAgICAgICAgICAgICAgIG4ybWFzaygmJCQuZmxvd19tYXNrLnNy Y19pcDYsIDEyOCk7CisgICAgICAgICAgICAgICAgICAgICAgICAkJC5mbG93X21hc2suZmxvd19p ZDYgPSB+MDsKKyAgICAgICAgICAgICAgICAgICAgICAgICQkLmZsYWdzX2ZzIHw9IEROX0hBVkVf RkxPV19NQVNLOworICAgICAgICAgICAgICAgIH0KKyAgICAgICAgICAgICAgICB8IERTVElQIG51 bWJlciAgICAgICAgICAgICAJeworCQkJJCQuZmxvd19tYXNrLmRzdF9pcCA9ICh1aW50MzJfdCkk MjsKKyAgICAgICAgICAgICAgICAgICAgICAgICQkLmZsYWdzX2ZzIHw9IEROX0hBVkVfRkxPV19N QVNLOworICAgICAgICAgICAgICAgIH0KKyAgICAgICAgICAgICAgICB8IFNSQ0lQIG51bWJlcgkg ICAgICAgICAgICAgeworICAgICAgICAgICAgICAgICAgICAgICAgJCQuZmxvd19tYXNrLnNyY19p cCA9ICh1aW50MzJfdCkkMjsKKyAgICAgICAgICAgICAgICAgICAgICAgICQkLmZsYWdzX2ZzIHw9 IEROX0hBVkVfRkxPV19NQVNLOworICAgICAgICAgICAgICAgIH0KKyAgICAgICAgICAgICAgICB8 IERTVFBPUlQgbnVtYmVyCSAgICAgICAgICAgeworICAgICAgICAgICAgICAgICAgICAgICAgJCQu Zmxvd19tYXNrLmRzdF9wb3J0ID0gKHVpbnQxNl90KSQyOworICAgICAgICAgICAgICAgICAgICAg ICAgJCQuZmxhZ3NfZnMgfD0gRE5fSEFWRV9GTE9XX01BU0s7CisgICAgICAgICAgICAgICAgfQor ICAgICAgICAgICAgICAgIHwgU1JDUE9SVCBudW1iZXIJICAgICAgICAgICB7CisgICAgICAgICAg ICAgICAgICAgICAgICAkJC5mbG93X21hc2suc3JjX3BvcnQgPSAodWludDE2X3QpJDI7CisgICAg ICAgICAgICAgICAgICAgICAgICAkJC5mbGFnc19mcyB8PSBETl9IQVZFX0ZMT1dfTUFTSzsKKyAg ICAgICAgICAgICAgICB9CisgICAgICAgICAgICAgICAgfCBEU1RJUDYgJy8nIG51bWJlciAJICAg ICAgICAgICB7CisgICAgICAgICAgICAgICAgICAgICAgICBuMm1hc2soJiQkLmZsb3dfbWFzay5k c3RfaXA2LCAkMyk7CisgICAgICAgICAgICAgICAgICAgICAgICAkJC5mbGFnc19mcyB8PSBETl9I QVZFX0ZMT1dfTUFTSzsKKyAgICAgICAgICAgICAgICB9CisgICAgICAgICAgICAgICAgfCBTUkNJ UDYgJy8nIG51bWJlcgkgICAgICAgICAgICB7CisgICAgICAgICAgICAgICAgICAgICAgICBuMm1h c2soJiQkLmZsb3dfbWFzay5zcmNfaXA2LCAkMyk7CisgICAgICAgICAgICAgICAgICAgICAgICAk JC5mbGFnc19mcyB8PSBETl9IQVZFX0ZMT1dfTUFTSzsKKyAgICAgICAgICAgICAgICB9CisgICAg ICAgICAgICAgICAgfCBGTE9XSUQgbnVtYmVyCSAgICAgICAgICAgIHsKKyAgICAgICAgICAgICAg ICAgICAgICAgICQkLmZsb3dfbWFzay5mbG93X2lkNiA9ICh1aW50MzJfdCkkMjsKKyAgICAgICAg ICAgICAgICAgICAgICAgICQkLmZsYWdzX2ZzIHw9IEROX0hBVkVfRkxPV19NQVNLOworCisgICAg ICAgICAgICAgICAgfQorICAgICAgICAgICAgICAgIHwgUFJPVE8gbnVtYmVyIAkgICAgICAgICAg ICAgeworICAgICAgICAgICAgICAgICAgICAgICAgJCQuZmxvd19tYXNrLnByb3RvID0gKHVpbnQ4 X3QpJDI7CisgICAgICAgICAgICAgICAgICAgICAgICAkJC5mbGFnc19mcyB8PSBETl9IQVZFX0ZM T1dfTUFTSzsKKyAgICAgICAgICAgICAgICB9CisgICAgICAgICAgICAgICAgfCBOT0VSUk9SICAg ICAgIHsgJCQuZmxhZ3NfZnMgfD0gRE5fTk9FUlJPUjsgfQorICAgICAgICAgICAgICAgIDsKKwog cGZydWxlCQk6IGFjdGlvbiBkaXIgbG9ncXVpY2sgaW50ZXJmYWNlIHJvdXRlIGFmIHByb3RvIGZy b210bwogCQkgICAgZmlsdGVyX29wdHMKIAkJewpAQCAtMjAzNCw2ICsyMjY2LDE0IEBACiAJCQkJ ZnJlZSgkOS5xdWV1ZXMucHFuYW1lKTsKIAkJCX0KIAorCQkJaWYgKCQ5LmRucGlwZSkgeworCQkJ CXIuZG5waXBlID0gJDkuZG5waX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JCVdFSUdIVH0s CiAJfTsKIAljb25zdCBzdHJ1Y3Qga2V5d29yZHMJKnA7CiAKQEAgLTU1MjQsMyArNTgwNywyMyBA QAogCiAJcmV0dXJuICgwKTsKIH0KKworLyogbjJtYXNrIHNldHMgbiBiaXRzIG9mIHRoZSBtYXNr ICovCitzdGF0aWMgdm9pZAorbjJtYXNrKHN0cnVjdCBpbjZfYWRkciAqbWFzaywgaW50IG4pCit7 CisgICAgICAgIHN0YXRpYyBpbnQgICAgICBtaW5pbWFza1s5XSA9CisgICAgICAgICAgICB7IDB4 MDAsIDB4ODAsIDB4YzAsIDB4ZTAsIDB4ZjAsIDB4ZjgsIDB4ZmMsIDB4ZmUsIDB4ZmYgfTsKKyAg ICAgICAgdV9jaGFyICAgICAgICAgICpwOworCisgICAgICAgIG1lbXNldChtYXNrLCAwLCBzaXpl b2Yoc3RydWN0IGluNl9hZGRyKSk7CisgICAgICAgIHAgPSAodV9jaGFyICopIG1hc2s7CisgICAg ICAgIGZvciAoOyBuID4gMDsgcCsrLCBuIC09IDgpIHsKKyAgICAgICAgICAgICAgICBpZiAobiA+ PSA4KQorICAgICAgICAgICAgICAgICAgICAgICAgKnAgPSAweGZmOworICAgICAgICAgICAgICAg IGVsc2UKKyAgICAgICAgICAgICAgICAgICAgICAgICpwID0gbWluaW1hc2tbbl07CisgICAgICAg IH0KKyAgICAgICAgcmV0dXJuOworfQorCkluZGV4OiBjb250cmliL3BmL3BmY3RsL3BmY3RsLmMK PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PQpSQ1MgZmlsZTogL2hvbWUvZXJpL3JlcG8vY29udHJpYi9wZi9wZmN0bC9wZmN0 bC5jLHYKcmV0cmlldmluZyByZXZpc2lvbiAxLjEuMS4xCmRpZmYgLXUgLXIxLjEuMS4xIHBmY3Rs LmMKLS0tIGNvbnRyaWIvcGYvcGZjdGwvcGZjdGwuYwkyMSBPY3QgMjAwNyA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IG9wdHMpCit7CisgICAgICAgaWYgKCFkdW1teW5ldHN1 cHBvcnQpCisgICAgICAgICAgICAgICByZXR1cm4gKC0xKTsKKyAgICAgICBpZiAoc2V0c29ja29w dChkbnNvY2ssIElQUFJPVE9fSVAsIElQX0RVTU1ZTkVUX0ZMVVNILCBOVUxMLCAwKSA8IDApIHsK KyAgICAgICAgICAgICAgIGVycigxLCJzZXRzb2Nrb3B0KElQX0RVTU1ZTkVUX0ZMVVNIKSIpOwor ICAgICAgICAgICAgICAgcmV0dXJuICgxKTsKKyAgICAgICB9CisKKyAgICAgICBpZiAoKG9wdHMg JiBQRl9PUFRfUVVJRVQpID09IDApCisgICAgICAgICAgICAgICBmcHJpbnRmKHN0ZGVyciwgIkRV TU1ZTkVUIGNsZWFyZWRcbiIpOworICAgICAgIHJldHVybiAoMCk7Cit9CisKK2ludAogcGZjdGxf Y2xlYXJfc3JjX25vZGVzKGludCBkZXYsIGludCBvcHRzKQogewogCWlmIChpb2N0bChkZXYsIERJ T0NDTFJTUkNOT0RFUykpCkBAIC0xMzQ4LDYgKzEzNzEsMjQgQEAKIH0KIAogaW50CitwZmN0bF9h ZGRfZHVtbXluZXQoc3RydWN0IHBmY3RsICpwZiwgc3RydWN0IGRuX3BpcGUgKnApCit7CisgICAg ICAgaWYgKGR1bW15bmV0c3VwcG9ydCAmJgorICAgICAgICAgICAobG9hZG9wdCAmIFBGQ1RMX0ZM QUdfRFVNTVlORVQpICE9IDApIHsKKyAgICAgICAgICAgICAgIGlmICgocGYtPm9wdHMgJiBQRl9P UFRfTk9BQ1RJT04pID09IDApIHsKKyAgICAgICAgICAgICAgICAgICAgICAgaWYgKHNldHNvY2tv cHQoZG5zb2NrLCBJUFBST1RPX0lQLCBJUF9EVU1NWU5FVF9DT05GSUdVUkUsCisgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgcCwgc2l6ZW9mKCpwKSkgPCAwKSB7CisgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgZXJyeCgxLCAiRFVNTVlORVQgY29uZmlndXJlIik7CisgICAgICAg ICAgICAgICAgICAgICAgIH0KKyAgICAgICAgICAgICAgIH0KKyAgICAgICAgfQorCWlmIChwZi0+ b3B0cyAmIFBGX09QVF9WRVJCT1NFKSAKKwkgICAgICAgcHJpbnRfZHVtbXluZXQocCk7CisKKyAg ICAgICByZXR1cm4gKDApOworfQorCitpbnQKIHBmY3RsX3J1bGVzKGludCBkZXYsIGNoYXIgKmZp bGVuYW1lLCBGSUxFICpmaW4sIGludCBvcHRzLCBpbnQgb3B0aW1pemUsCiAgICAgY2hhciAqYW5j aG9ybmFtZSwgc3RydWN0IHBmcl9idWZmZXIgKnRyYW5zKQogewpAQCAtMTkxNCw2ICsxOTU1LDIx IEBACiB9CiAKIGludAorcGZjdGxfdGVzdF9kdW1teW5ldHN1cHBvcnQoaW50IGRuc29jaywgaW50 IG9wdHMpCit7CisgICAgICAgc3RydWN0IGRuX3BpcGUgcDsKKyAgICAgICBzb2NrbGVuX3QgICAg ICAgbGVuOworCisgICAgICAgaWYgKGdldHNvY2tvcHQoZG5zb2NrLCBJUFBST1RPX0lQLCBJUF9E VU1NWU5FVF9HRVQsICZwLAorICAgICAgICAgICAgICAgICAgICAgICAmbGVuKSA8IDApIHsKKyAg ICAgICAgICAgICAgIGlmICghKG9wdHMgJiAoUEZfT1BUX1FVSUVUfFBGX09QVF9OT0FDVElPTikp KQorICAgICAgICAgICAgICAgICAgICAgICBmcHJpbnRmKHN0ZGVyciwgIkRVTU1ZTkVUIG5vdCBs b2FkZWRcbiIpOworICAgICAgICAgICAgICAgcmV0dXJuICgwKTsKKyAgICAgICB9CisgICAgICAg cmV0dXJuICgxKTsKK30KKworaW50CiBwZmN0bF9zaG93X2FuY2hvcnMoaW50IGRldiwgaW50IG9w dHMsIGNoYXIgKmFuY2hvcm5hbWUpCiB7CiAJc3RydWN0IHBmaW9jX3J1bGVzZXQJIHByOwpAQCAt MTk3OCw3ICsyMDM0LDcgQEAKIAkJdXNh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BzdHJ1Y3QgZG5fZmxvd19xdWV1ZSAqYSA9IHBhOworICAgICAgICBjb25zdCBzdHJ1Y3QgZG5f Zmxvd19xdWV1ZSAqYiA9IHBiOworCisgICAgICAgIHN3aXRjaCAoZmllbGQpIHsKKyAgICAgICAg Y2FzZSAxOiAvKiBwa3RzICovCisgICAgICAgICAgICAgICAgcmVzID0gYS0+bGVuIC0gYi0+bGVu OworICAgICAgICAgICAgICAgIGJyZWFrOworICAgICAgICBjYXNlIDI6IC8qIGJ5dGVzICovCisg ICAgICAgICAgICAgICAgcmVzID0gYS0+bGVuX2J5dGVzIC0gYi0+bGVuX2J5dGVzOworICAgICAg ICAgICAgICAgIGJyZWFrOworCisgICAgICAgIGNhc2UgMzogLyogdG90IHBrdHMgKi8KKyAgICAg ICAgICAgICAgICByZXMgPSBhLT50b3RfcGt0cyAtIGItPnRvdF9wa3RzOworICAgICAgICAgICAg ICAgIGJyZWFrOworCisgICAgICAgIGNhc2UgNDogLyogdG90IGJ5dGVzICovCisgICAgICAgICAg ICAgICAgcmVzID0gYS0+dG90X2J5dGVzIC0gYi0+dG90X2J5dGVzOworICAgICAgICAgICAgICAg IGJyZWFrOworICAgICAgICB9CisgICAgICAgIGlmIChyZXMgPCAwKQorICAgICAgICAgICAgICAg IHJlcyA9IC0xOworICAgICAgICBpZiAocmVzID4gMCkKKyAgICAgICAgICAgICAgICByZXMgPSAx OworICAgICAgICByZXR1cm4gKGludCkocmV2ID8gcmVzIDogLXJlcyk7Cit9CisKK3N0YXRpYyB2 b2lkCitsaXN0X3F1ZXVlcyhzdHJ1Y3QgZG5fZmxvd19zZXQgKmZzLCBzdHJ1Y3QgZG5fZmxvd19x dWV1ZSAqcSkKK3sKKyAgICAgICAgaW50IGw7CisgICAgICAgIGludCBpbmRleF9wcmludGVkLCBp bmRleGVzID0gMDsKKyAgICAgICAgY2hhciBidWZmWzI1NV07CisgICAgICAgIHN0cnVjdCBwcm90 b2VudCAqcGU7CisKKyAgICAgICAgaWYgKGZzLT5ycV9lbGVtZW50cyA9PSAwKQorICAgICAgICAg ICAgICAgIHJldHVybjsKKworICAgICAgICBpZiAoZG9fc29ydCAhPSAwKQorICAgICAgICAgICAg ICAgIGhlYXBzb3J0KHEsIGZzLT5ycV9lbGVtZW50cywgc2l6ZW9mICpxLCBzb3J0X3EpOworCisg ICAgICAgIC8qIFByaW50IElQdjQgZmxvd3MgKi8KKyAgICAgICAgaW5kZXhfcHJpbnRlZCA9IDA7 CisgICAgICAgIGZvciAobCA9IDA7IGwgPCBmcy0+cnFfZWxlbWVudHM7IGwrKykgeworICAgICAg ICAgICAgICAgIHN0cnVjdCBpbl9hZGRyIGluYTsKKworICAgICAgICAgICAgICAgIC8qIFhYWDog U2hvdWxkIGNoZWNrIGZvciBJUHY0IGZsb3dzICovCisgICAgICAgICAgICAgICAgaWYgKElTX0lQ Nl9GTE9XX0lEKCYocVtsXS5pZCkpKQorICAgICAgICAgICAgICAgICAgICAgICAgY29udGludWU7 CisKKyAgICAgICAgICAgICAgICBpZiAoIWluZGV4X3ByaW50ZWQpIHsKKyAgICAgICAgICAgICAg ICAgICAgICAgIGluZGV4X3ByaW50ZWQgPSAxOworICAgICAgICAgICAgICAgICAgICAgICAgaWYg KGluZGV4ZXMgPiAwKSAgICAgICAgLyogY3VycmVudGx5IGEgbm8tb3AgKi8KKyAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgcHJpbnRmKCJcbiIpOworICAgICAgICAgICAgICAgICAgICAg ICAgaW5kZXhlcysrOworICAgICAgICAgICAgICAgICAgICAgICAgcHJpbnRmKCIgICAgIgorICAg ICAgICAgICAgICAgICAgICAgICAgICAgICJtYXNrOiAweCUwMnggMHglMDh4LzB4JTA0eCAtPiAw eCUwOHgvMHglMDR4XG4iLAorICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZzLT5mbG93X21h c2sucHJvdG8sCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgZnMtPmZsb3dfbWFzay5zcmNf aXAsIGZzLT5mbG93X21hc2suc3JjX3BvcnQsCisgICAgICAgICAgICAgICAgICAgICAgICAgICAg ZnMtPmZsb3dfbWFzay5kc3RfaXAsIGZzLT5mbG93X21hc2suZHN0X3BvcnQpOworCisgICAgICAg ICAgICAgICAgICAgICAgICBwcmludGYoIkJLVCBQcm90IF9fX1NvdXJjZSBJUC9wb3J0X19fXyAi CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgIl9fX19EZXN0LiBJUC9wb3J0X19fXyAiCisg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIlRvdF9wa3QvYnl0ZXMgUGt0L0J5dGUgRHJwXG4i KTsKKyAgICAgICAgICAgICAgICB9CisKKyAgICAgICAgICAgICAgICBwcmludGYoIiUzZCAiLCBx W2xdLmhhc2hfc2xvdCk7CisgICAgICAgICAgICAgICAgcGUgPSBnZXRwcm90b2J5bnVtYmVyKHFb bF0uaWQucHJvdG8pOworICAgICAgICAgICAgICAgIGlmIChwZSkKKyAgICAgICAgICAgICAgICAg ICAgICAgIHByaW50ZigiJS00cyAiLCBwZS0+cF9uYW1lKTsKKyAgICAgICAgICAgICAgICBlbHNl CisgICAgICAgICAgICAgICAgICAgICAgICBwcmludGYoIiU0dSAiLCBxW2xdLmlkLnByb3RvKTsK KyAgICAgICAgICAgICAgICBpbmEuc19hZGRyID0gaHRvbmwocVtsXS5pZC5zcmNfaXApOworICAg ICAgICAgICAgICAgIHByaW50ZigiJTE1cy8lLTVkICIsCisgICAgICAgICAgICAgICAgICAgIGlu ZXRfbnRvYShpbmEpLCBxW2xdLmlkLnNyY19wb3J0KTsKKyAgICAgICAgICAgICAgICBpbmEuc19h ZGRyID0gaHRvbmwocVtsXS5pZC5kc3RfaXApOworICAgICAgICAgICAgICAgIHByaW50ZigiJTE1 cy8lLTVkICIsCisgICAgICAgICAgICAgICAgICAgIGluZXRfbnRvYShpbmEpLCBxW2xdLmlkLmRz dF9wb3J0KTsKKyAgICAgICAgICAgICAgICBwcmludGYoIiU0cXUgJThxdSAlMnUgJTR1ICUzdVxu IiwKKyAgICAgICAgICAgICAgICAgICAgcVtsXS50b3RfcGt0cywgcVtsXS50b3RfYnl0ZXMsCisg ICAgICAgICAgICAgICAgICAgIHFbbF0ubGVuLCBxW2xdLmxlbl9ieXRlcywgcVtsXS5kcm9wcyk7 CisgICAgICAgICAgICAgICAgaWYgKHZlcmJvc2UpCisgICAgICAgICAgICAgICAgICAgICAgICBw cmludGYoIiAgIFMgJTIwcWQgIEYgJTIwcWRcbiIsCisgICAgICAgICAgICAgICAgICAgICAgICAg ICAgcVtsXS5TLCBxW2xdLkYpOworICAgICAgICB9CisKKyAgICAgICAgLyogUHJpbnQgSVB2NiBm bG93cyAqLworICAgICAgICBpbmRleF9wcmludGVkID0gMDsKKyAgICAgICAgZm9yIChsID0gMDsg bCA8IGZzLT5ycV9lbGVtZW50czsgbCsrKSB7CisgICAgICAgICAgICAgICAgaWYgKCFJU19JUDZf RkxPV19JRCgmKHFbbF0uaWQpKSkKKyAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlOwor CisgICAgICAgICAgICAgICAgaWYgKCFpbmRleF9wcmludGVkKSB7CisgICAgICAgICAgICAgICAg ICAgICAgICBpbmRleF9wcmludGVkID0gMTsKKyAgICAgICAgICAgICAgICAgICAgICAgIGlmIChp bmRleGVzID4gMCkKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcHJpbnRmKCJcbiIp OworICAgICAgICAgICAgICAgICAgICAgICBpbmRleGVzKys7CisgICAgICAgICAgICAgICAgICAg ICAgICBwcmludGYoIlxuICAgICAgICBtYXNrOiBwcm90bzogMHglMDJ4LCBmbG93X2lkOiAweCUw OHgsICAiLAorICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZzLT5mbG93X21hc2sucHJvdG8s IGZzLT5mbG93X21hc2suZmxvd19pZDYpOworICAgICAgICAgICAgICAgICAgICAgICAgaW5ldF9u dG9wKEFGX0lORVQ2LCAmKGZzLT5mbG93X21hc2suc3JjX2lwNiksCisgICAgICAgICAgICAgICAg ICAgICAgICAgICAgYnVmZiwgc2l6ZW9mKGJ1ZmYpKTsKKyAgICAgICAgICAgICAgICAgICAgICAg IHByaW50ZigiJXMvMHglMDR4IC0+ICIsIGJ1ZmYsIGZzLT5mbG93X21hc2suc3JjX3BvcnQpOwor ICAgICAgICAgICAgICAgICAgICAgICAgaW5ldF9udG9wKCBBRl9JTkVUNiwgJihmcy0+Zmxvd19t YXNrLmRzdF9pcDYpLAorICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJ1ZmYsIHNpemVvZihi dWZmKSApOworICAgICAgICAgICAgICAgICAgICAgICAgcHJpbnRmKCIlcy8weCUwNHhcbiIsIGJ1 ZmYsIGZzLT5mbG93X21hc2suZHN0X3BvcnQpOworCisgICAgICAgICAgICAgICAgICAgICAgICBw cmludGYoIkJLVCBfX19Qcm90X19fIF9mbG93LWlkXyAiCisgICAgICAgICAgICAgICAgICAgICAg ICAgICAgIl9fX19fX19fX19fX19fU291cmNlIElQdjYvcG9ydF9fX19fX19fX19fX19fXyAiCisg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIl9fX19fX19fX19fX19fX0Rlc3QuIElQdjYvcG9y dF9fX19fX19fX19fX19fXyAiCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgIlRvdF9wa3Qv Ynl0ZXMgUGt0L0J5dGUgRHJwXG4iKTsKKyAgICAgICAgICAgICAgICB9CisgICAgICAgICAgICAg ICAgcHJpbnRmKCIlM2QgIiwgcVtsXS5oYXNoX3Nsb3QpOworICAgICAgICAgICAgICAgIHBlID0g Z2V0cHJvdG9ieW51bWJlcihxW2xdLmlkLnByb3RvKTsKKyAgICAgICAgICAgICAgICBpZiAocGUg IT0gTlVMTCkKKyAgICAgICAgICAgICAgICAgICAgICAgIHByaW50ZigiJTlzICIsIHBlLT5wX25h bWUpOworICAgICAgICAgICAgICAgIGVsc2UKKyAgICAgICAgICAgICAgICAgICAgICAgIHByaW50 ZigiJTl1ICIsIHFbbF0uaWQucHJvdG8pOworICAgICAgICAgICAgICAgIHByaW50ZigiJTdkICAl MzlzLyUtNWQgIiwgcVtsXS5pZC5mbG93X2lkNiwKKyAgICAgICAgICAgICAgICAgICAgaW5ldF9u dG9wKEFGX0lORVQ2LCAmKHFbbF0uaWQuc3JjX2lwNiksIGJ1ZmYsIHNpemVvZihidWZmKSksCisg ICAgICAgICAgICAgICAgICAgIHFbbF0uaWQuc3JjX3BvcnQpOworICAgICAgICAgICAgICAgIHBy aW50ZigiICUzOXMvJS01ZCAiLAorICAgICAgICAgICAgICAgICAgICBpbmV0X250b3AoQUZfSU5F VDYsICYocVtsXS5pZC5kc3RfaXA2KSwgYnVmZiwgc2l6ZW9mKGJ1ZmYpKSwKKyAgICAgICAgICAg ICAgICAgICAgcVtsXS5pZC5kc3RfcG9ydCk7CisgICAgICAgICAgICAgICAgcHJpbnRmKCIgJTRx dSAlOHF1ICUydSAlNHUgJTN1XG4iLAorICAgICAgICAgICAgICAgICAgICBxW2xdLnRvdF9wa3Rz LCBxW2xdLnRvdF9ieXRlcywKKyAgICAgICAgICAgICAgICAgICAgcVtsXS5sZW4sIHFbbF0ubGVu X2J5dGVzLCBxW2xdLmRyb3BzKTsKKyAgICAgICAgICAgICAgICBpZiAodmVyYm9zZSkKKyAgICAg ICAgICAgICAgICAgICAgICAgIHByaW50ZigiICAgUyAlMjBxZCAgRiAlMjBxZFxuIiwgcVtsXS5T LCBxW2xdLkYpOworICAgICAgICB9Cit9CisKK3N0YXRpYyB2b2lkCitwcmludF9mbG93c2V0X3Bh cm1zKHN0cnVjdCBkbl9mbG93X3NldCAqZnMsIGNoYXIgKnByZWZpeCkKK3sKKyAgICAgICAgaW50 IGw7CisgICAgICAgIGNoYXIgcXNbMzBdOworICAgICAgICBjaGFyIHBsclszMF07CisgICAgICAg IGNoYXIgcmVkWzkwXTsgICAvKiBEaXNwbGF5IFJFRCBwYXJhbWV0ZXJzICovCisKKyAgICAgICAg bCA9IGZzLT5xc2l6ZTsKKyAgICAgICAgaWYgKGZzLT5mbGFnc19mcyAmIEROX1FTSVpFX0lTX0JZ VEVTKSB7CisgICAgICAgICAgICAgICAgaWYgKGwgPj0gODE5MikKKyAgICAgICAgICAgICAgICAg ICAgICAgIHNwcmludGYocXMsICIlZCBLQiIsIGwgLyAxMDI0KTsKKyAgICAgICAgICAgICAgICBl bHNlCisgICAgICAgICAgICAgICAgICAgICAgICBzcHJpbnRmKHFzLCAiJWQgQiIsIGwpOworICAg ICAgICB9IGVsc2UKKyAgICAgICAgICAgICAgICBzcHJpbnRmKHFzLCAiJTNkIHNsLiIsIGwpOwor ICAgICAgICBpZiAoZnMtPnBscikKKyAgICAgICAgICAgICAgICBzcHJpbnRmKHBsciwgInBsciAl ZiIsIDEuMCAqIGZzLT5wbHIgLyAoZG91YmxlKSgweDdmZmZmZmZmKSk7CisgICAgICAgIGVsc2UK KyAgICAgICAgICAgICAgICBwbHJbMF0gPSAnXDAnOworICAgICAgICBpZiAoZnMtPmZsYWdzX2Zz ICYgRE5fSVNfUkVEKSAgIC8qIFJFRCBwYXJhbWV0ZXJzICovCisgICAgICAgICAgICAgICAgc3By aW50ZihyZWQsCisgICAgICAgICAgICAgICAgICAgICJcblx0ICAlY1JFRCB3X3EgJWYgbWluX3Ro ICVkIG1heF90aCAlZCBtYXhfcCAlZiIsCisgICAgICAgICAgICAgICAgICAgIChmcy0+ZmxhZ3Nf ZnMgJiBETl9JU19HRU5UTEVfUkVEKSA/ICdHJyA6ICcgJywKKyAgICAgICAgICAgICAgICAgICAg MS4wICogZnMtPndfcSAvIChkb3VibGUpKDEgPDwgU0NBTEVfUkVEKSwKKyAgICAgICAgICAgICAg ICAgICAgU0NBTEVfVkFMKGZzLT5taW5fdGgpLAorICAgICAgICAgICAgICAgICAgICBTQ0FMRV9W QUwoZnMtPm1heF90aCksCisgICAgICAgICAgICAgICAgICAgIDEuMCAqIGZzLT5tYXhfcCAvIChk b3VibGUpKDEgPDwgU0NBTEVfUkVEKSk7CisgICAgICAgIGVsc2UKKyAgICAgICAgICAgICAgICBz cHJpbnRmKHJlZCwgImRyb3B0YWlsIik7CisKKyAgICAgICAgcHJpbnRmKCIlcyAlcyVzICVkIHF1 ZXVlcyAoJWQgYnVja2V0cykgJXNcbiIsCisgICAgICAgICAgICBwcmVmaXgsIHFzLCBwbHIsIGZz LT5ycV9lbGVtZW50cywgZnMtPnJxX3NpemUsIHJlZCk7Cit9CisKKworc3RhdGljIHZvaWQKK2xp c3RfcGlwZXModm9pZCAqZGF0YSwgdWludCBuYnl0ZXMpCit7CisgICAgICAgIHZvaWQgKm5leHQg PSBkYXRhOworICAgICAgICBzdHJ1Y3QgZG5fcGlwZSAqcCA9IChzdHJ1Y3QgZG5fcGlwZSAqKSBk YXRhOworICAgICAgICBzdHJ1Y3QgZG5fZmxvd19zZXQgKmZzOworICAgICAgICBzdHJ1Y3QgZG5f Zmxvd19xdWV1ZSAqcTsKKyAgICAgICAgaW50IGw7CisKKyAgICAgICAgZm9yICg7IG5ieXRlcyA+ PSBzaXplb2YgKnA7IHAgPSAoc3RydWN0IGRuX3BpcGUgKiluZXh0KSB7CisgICAgICAgICAgICAg ICAgZG91YmxlIGIgPSBwLT5iYW5kd2lkdGg7CisgICAgICAgICAgICAgICAgY2hhciBidWZbMzBd OworICAgICAgICAgICAgICAgIGNoYXIgcHJlZml4WzgwXTsKKworICAgICAgICAgICAgICAgIGlm IChTTElTVF9ORVhUKHAsIG5leHQpICE9IChzdHJ1Y3QgZG5fcGlwZSAqKUROX0lTX1BJUEUpCisg ICAgICAgICAgICAgICAgICAgICAgICBicmVhazsgIC8qIGRvbmUgd2l0aCBwaXBlcywgbm93IHF1 ZXVlcyAqLworCisgICAgICAgICAgICAgICAgLyoKKyAgICAgICAgICAgICAgICAgKiBjb21wdXRl IGxlbmd0aCwgYXMgcGlwZSBoYXZlIHZhcmlhYmxlIHNpemUKKyAgICAgICAgICAgICAgICAgKi8K KyAgICAgICAgICAgICAgICBsID0gc2l6ZW9mKCpwKSArIHAtPmZzLnJxX2VsZW1lbnRzICogc2l6 ZW9mKCpxKTsKKyAgICAgICAgICAgICAgICBuZXh0ID0gKGNoYXIgKilwICsgbDsKKyAgICAgICAg ICAgICAgICBuYnl0ZXMgLT0gbDsKKworICAgICAgICAgICAgICAgIC8qCisgICAgICAgICAgICAg ICAgICogUHJpbnQgcmF0ZSAob3IgY2xvY2tpbmcgaW50ZXJmYWNlKQorICAgICAgICAgICAgICAg ICAqLworICAgICAgICAgICAgICAgIGlmIChwLT5pZl9uYW1lWzBdICE9ICdcMCcpCisgICAgICAg ICAgICAgICAgICAgICAgIHNwcmludGYoYnVmLCAiJXMiLCBwLT5pZl9uYW1lKTsKKyAgICAgICAg ICAgICAgICBlbHNlIGlmIChiID09IDApCisgICAgICAgICAgICAgICAgICAgICAgICBzcHJpbnRm KGJ1ZiwgInVubGltaXRlZCIpOworICAgICAgICAgICAgICAgIGVsc2UgaWYgKGIgPj0gMTAwMDAw MCkKKyAgICAgICAgICAgICAgICAgICAgICAgIHNwcmludGYoYnVmLCAiJTcuM2YgTWJpdC9zIiwg Yi8xMDAwMDAwKTsKKyAgICAgICAgICAgICAgICBlbHNlIGlmIChiID49IDEwMDApCisgICAgICAg ICAgICAgICAgICAgICAgICBzcHJpbnRmKGJ1ZiwgIiU3LjNmIEtiaXQvcyIsIGIvMTAwMCk7Cisg ICAgICAgICAgICAgICAgZWxzZQorICAgICAgICAgICAgICAgICAgICAgICAgc3ByaW50ZihidWYs ICIlNy4zZiBiaXQvcyAiLCBiKTsKKworICAgICAgICAgICAgICAgIHNwcmludGYocHJlZml4LCAi JTA1ZDogJXMgJTRkIG1zICIsCisgICAgICAgICAgICAgICAgICAgIHAtPnBpcGVfbnIsIGJ1Ziwg cC0+ZGVsYXkpOworICAgICAgICAgICAgICAgIHByaW50X2Zsb3dzZXRfcGFybXMoJihwLT5mcyks IHByZWZpeCk7CisgICAgICAgICAgICAgICAgaWYgKHZlcmJvc2UpCisgICAgICAgICAgICAgICAg ICAgICAgICBwcmludGYoIiAgIFYgJTIwcWRcbiIsIHAtPlYgPj4gTVlfTSk7CisKKyAgICAgICAg ICAgICAgICBxID0gKHN0cnVjdCBkbl9mbG93X3F1ZXVlICopKHArMSk7CisgICAgICAgICAgICAg ICAgbGlzdF9xdWV1ZXMoJihwLT5mcyksIHEpOworICAgICAgICB9CisgICAgICAgIGZvciAoZnMg PSBuZXh0OyBuYnl0ZXMgPj0gc2l6ZW9mICpmczsgZnMgPSBuZXh0KSB7CisgICAgICAgICAgICAg ICAgY2hhciBwcmVmaXhbODBdOworCisgICAgICAgICAgICAgICAgaWYgKFNMSVNUX05FWFQoZnMs IG5leHQpICE9IChzdHJ1Y3QgZG5fZmxvd19zZXQgKilETl9JU19RVUVVRSkKKyAgICAgICAgICAg ICAgICAgICAgICAgIGJyZWFrOworICAgICAgICAgICAgICAgIGwgPSBzaXplb2YoKmZzKSArIGZz LT5ycV9lbGVtZW50cyAqIHNpemVvZigqcSk7CisgICAgICAgICAgICAgICAgbmV4dCA9IChjaGFy ICopZnMgKyBsOworICAgICAgICAgICAgICAgIG5ieXRlcyAtPSBsOworI2lmIDAKKyAgICAgICAg ICAgICAgICBpZiAocnVsZW51bSAhPSAwICYmICgocnVsZW51bSAhPSBmcy0+ZnNfbnIgJiYgZG9f cGlwZSA9PSAyKSB8fAorICAgICAgICAgICAgICAgICAgICAocnVsZW51bSAhPSBmcy0+cGFyZW50 X25yICYmIGRvX3BpcGUgPT0gMSkpKSB7CisgICAgICAgICAgICAgICAgICAgICAgICBjb250aW51 ZTsKKyAgICAgICAgICAgICAgICB9CisjZW5kaWYKKyAgICAgICAgICAgICAgICBxID0gKHN0cnVj dCBkbl9mbG93X3F1ZXVlICopKGZzKzEpOworICAgICAgICAgICAgICAgIHNwcmludGYocHJlZml4 LCAicSUwNWQ6IHdlaWdodCAlZCBwaXBlICVkICIsCisgICAgICAgICAgICAgICAgICAgIGZzLT5m c19uciwgZnMtPndlaWdodCwgZnMtPnBhcmVudF9ucik7CisgICAgICAgICAgICAgICAgcHJpbnRf Zmxvd3NldF9wYXJtcyhmcywgcHJlZml4KTsKKyAgICAgICAgICAgICAgICBsaXN0X3F1ZXVlcyhm cywgcSk7CisgICAgICAgIH0KK30KKwordm9pZAorcHJpbnRfZHVtbXluZXQoc3RydWN0IGRuX3Bp cGUgKnApCit7CisJY2hhciBidWZmWzI1NV07CisKKwlpZiAocC0+cGlwZV9uciAhPSAwKSB7IC8q IFRoaXMgaXMgYSBwaXBlICovCisJCXByaW50ZigiZG5waXBlICVkIiwgcC0+cGlwZV9ucik7CisJ CWlmIChwLT5iYW5kd2lkdGgpIAorCQkJcHJpbnRmKCIgYmFuZHdpZHRoICVkTWIiLCBwLT5iYW5k d2lkdGgvMTAwMDAwMCk7CisJICAgICAgICBlbHNlIGlmIChwLT5iYW5kd2lkdGggPj0gMTAwMCkK KyAgICAgICAgIAkgICAgICAgIHByaW50ZigiIGJhbmR3aWR0aCAlZEtiIiwgcC0+YmFuZHdpZHRo LzEwMDApOworCSAgICAgICAgZWxzZSAKKyAgICAgICAgICAgICAgICAgICAgICAgCXByaW50Zigi IGJhbmR3aWR0aCAlZGIgIiwgcC0+YmFuZHdpZHRoKTsKKwkJaWYgKHAtPmRlbGF5ID4gMCkKKwkJ CXByaW50ZigiIGRlbGF5ICVkIiwgcC0+ZGVsYXkpOworCX0gZWxzZSB7CisJCXByaW50ZigiZG5x dWV1ZSAlZCBkbnBpcGUgJWQiLCBwLT5mcy5mc19uciwgcC0+ZnMucGFyZW50X25yKTsKKwkJaWYg KHAtPmZzLndlaWdodCkKKwkJCXByaW50ZigiIHdlaWdodCAlZCIsIHAtPmZzLndlaWdodCk7CisJ fQorCisJaWYgKHAtPmZzLnJxX3NpemUgPiAxNSkKKwkJcHJpbnRmKCIgYnVja2V0cyAlZCIsIHAt PmZzLnJxX3NpemUpOworCWlmIChwLT5mcy5mbGFnc19mcyAmIEROX1FTSVpFX0lTX0JZVEVTKSB7 CisgICAgICAgICAgICAgICAgaWYgKHAtPmZzLnFzaXplID49IDgxOTIpCisgICAgICAgICAgICAg ICAgICAgICAgICBwcmludGYoIiBxdWV1ZSAlZEtCIiwgIHAtPmZzLnFzaXplIC8gMTAyNCk7Cisg ICAgICAgICAgICAgICAgZWxzZSBpZiAocC0+ZnMucXNpemUgPiAwKQorICAgICAgICAgICAgICAg ICAgICAgICAgcHJpbnRmKCIgcXVldWUgJWRCIiwgcC0+ZnMucXNpemUpOworICAgICAgICB9IGVs c2UKKwkJaWYgKHAtPmZzLnFzaXplID4gMCkKKwkgICAgICAgICAgICAgICAgcHJpbnRmKCIgcXVl dWUgJTNkIiwgcC0+ZnMucXNpemUpOworICAgICAgICBpZiAocC0+ZnMucGxyID4gMCkKKyAgICAg ICAgICAgICAgICBwcmludGYoIiBwbHIgJWYiLCAxLjAgKiBwLT5mcy5wbHIgLyAoZG91YmxlKSgw eDdmZmZmZmZmKSk7CisKKwlpZiAocC0+ZnMuZmxvd19tYXNrLnByb3RvICYmIHAtPmZzLmZsb3df bWFzay5kc3RfaXAgJiYgCisJCXAtPmZzLmZsb3dfbWFzay5zcmNfaXAgJiYgcC0+ZnMuZmxvd19t YXNrLmRzdF9wb3J0ICYmIAorCQlwLT5mcy5mbG93X21hc2suc3JjX3BvcnQgJiYKKwkJcC0+ZnMu Zmxvd19tYXNrLmZsb3dfaWQ2KQorCQlwcmludGYoIiBtYXNrIGFsbCIpOworCWVsc2UgIGlmIChw LT5mcy5mbG93X21hc2sucHJvdG8gfHwgcC0+ZnMuZmxvd19tYXNrLmRzdF9pcCB8fCAKKwkJcC0+ ZnMuZmxvd19tYXNrLnNyY19pcCB8fCBwLT5mcy5mbG93X21hc2suZHN0X3BvcnQgfHwgCisJCXAt PmZzLmZsb3dfbWFzay5zcmNfcG9ydCB8fAorCQlwLT5mcy5mbG93X21hc2suZmxvd19pZDYpIHsK KwkJcHJpbnRmKCJcblx0IG1hc2s6ICIpOworCWlmIChwLT5mcy5mbG93X21hc2sucHJvdG8p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hbGxvYyA9IG5hbGxvYyAqIDIgKyAyMDA7 CisgICAgICAgICAgICAgICAgbmJ5dGVzID0gbmFsbG9jOworICAgICAgICAgICAgICAgIGlmICgo ZGF0YSA9IHJlYWxsb2MoZGF0YSwgbmJ5dGVzKSkgPT0gTlVMTCkKKyAgICAgICAgICAgICAgICAg ICAgICAgIGVycigxLCAicmVhbGxvYyIpOworICAgICAgICAgICAgICAgIGlmIChnZXRzb2Nrb3B0 KGRuc29jaywgSVBQUk9UT19JUCwgSVBfRFVNTVlORVRfR0VULCBkYXRhLAorICAgICAgICAgICAg ICAgICAgICAgICAgKHNvY2tsZW5fdCAqKSZuYnl0ZXMpIDwgMCkgeworICAgICAgICAgICAgICAg ICAgICAgICAgZnJlZShkYXRhKTsKKyAgICAgICAgICAgICAgICAgICAgICAgIGVycigxLCAiZ2V0 c29ja29wdChJUF9EVU1NWU5FVF9HRVQpIik7CisJCX0KKyAgICAgICAgfQorCQorICAgICAgICBs aXN0X3BpcGVzKGRhdGEsIG5ieXRlcyk7CisJCisJcmV0dXJuICgwKTsKKworfQpJbmRleDogY29u dHJpYi9wZi9wZmN0bC9wZmN0bF9wYXJzZXIuYwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJDUyBmaWxlOiAvaG9tZS9l cmkvcmVwby9jb250cmliL3BmL3BmY3RsL3BmY3RsX3BhcnNlci5jLHYKcmV0cmlldmluZyByZXZp c2lvbiAxLjEuMS4xCmRpZmYgLXUgLXIxLjEuMS4xIHBmY3RsX3BhcnNlci5jCi0tLSBjb250cmli L3BmL3BmY3RsL3BmY3RsX3BhcnNlci5jCTIxIE9jdCAyMDA3IDEzOjUzOjE1IC0wMDAwCTEuMS4x LjEKKysrIGNvbnRyaWIvcGYvcGZjdGwvcGZjdGxfcGFyc2VyLmMJMjEgT2N0IDIwMDcgMTk6MDM6 NDkgLTAwMDAKQEAgLTQ4LDYgKzQ4LDkgQE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NTM5LDggKzc1OTUsMzMgQEAKIAkJcGZfcm91dGU2KG0wLCBy LCBkaXIsIGlmcCwgcywgJnBkKTsKIAogI2lmZGVmIF9fRnJlZUJTRF9fCisJaWYgKHItPmRucGlw ZSAmJiBpcF9kbl9pb19wdHIgIT0gTlVMTCkgeworCQkJc3RydWN0IGlwX2Z3IGR1bW15cnVsZTsK KworICAgICAgCQkJZHVtbXlydWxlLmNtZC0+b3Bjb2RlID0gCisJCQkJci0+ZG50eXBlID09IERO X0lTX1BJUEUgPyBPX1BJUEUgOiBPX1FVRVVFOworCQkJZHVtbXlydWxlLmFjdF9vZnMgPSAwOwor CQkJZHVtbXlydWxlLmNtZF9sZW4gPSAxOworCQkJaWYgKGFjdGlvbiA9PSBQRl9QQVNTICYmICgK KwkJCQlwZC50b3MgJiBJUFRPU19MT1dERUxBWSkpIAorCQkJCWRuZmxvdy5jb29raWUgPSByLT5w ZG5waXBlOworCQkJZWxzZSAKKwkJCQlkbmZsb3cuY29va2llID0gci0+ZG5waXBlOworICAgICAg ICAgICAgICAgIAlkbmZsb3cucnVsZSA9ICZkdW1teXJ1bGU7CisgICAgICAgICAgICAgICAgCWRu Zmxvdy5mX2lkLmFkZHJfdHlwZSA9IDY7IC8qIElQdjQgdHlwZSAqLworICAgICAgICAgICAgICAg IAlkbmZsb3cuZl9pZC5wcm90byA9IHBkLnByb3RvOworCQkJUEZfVU5MT0NLKCk7CisJCQkKKwkJ CWlwX2RuX2lvX3B0cigqbTAsIAorCQkJCWRpciA9PSBQRl9JTiA/IEROX1RPX0lQNl9JTiA6IERO X1RPX0lQNl9PVVQsIAorCQkJCSZkbmZsb3cpOworCQkJKm0wID0gTlVMTDsKKwkJCXJldHVybiAo YWN0aW9uKTsKKwkJfQorCQogCVBGX1VOTE9DSygpOwogI2VuZGlmCisKIAlyZXR1cm4gKGFjdGlv bik7CiB9CiAjZW5kaWYgLyogSU5FVDYgKi8KSW5kZXg6IHN5cy9jb250cmliL3BmL25ldC9wZl9p b2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AhPSBOVUxMICYmIAor CQkoKHN0cnVjdCBkbl9wa3RfdGFnICopKGRuX3RhZysxKSktPmRuX2RpciA9PSBETl9UT19JUDZf SU4pIHsKKwkJbV90YWdfZGVsZXRlKCptLCBkbl90YWcpOworICAgICAgICAgICAgICAgIHJldHVy biAoUEZfUEFTUyk7CisgICAgICAgIH0KIAogCS8qCiAJICogSW4gY2FzZSBvZiBsb29wYmFjayB0 cmFmZmljIElQdjYgdXNlcyB0aGUgcmVhbCBpbnRlcmZhY2UgaW4KQEAgLTM2MTYsNiArMzY0MSwx NCBAQAogCSAqIElQdjYgZG9lcyBub3QgYWZmZWN0ZWQgaXBfbGVuL2lwX29mZiBieXRlIG9yZGVy IGNoYW5nZXMuCiAJICovCiAJaW50IGNoazsKKwlzdHJ1Y3QgbV90YWcgKmRuX3RhZzsKKworCWRu X3RhZyA9IG1fdGFnX2ZpbmQoKm0sIFBBQ0tFVF9UQUdfRFVNTVlORVQsIE5VTEwpOworCWlmIChk bl90YWcgIT0gTlVMTCAmJiAKKwkJKChzdHJ1Y3QgZG5fcGt0X3RhZyAqKShkbl90YWcrMSkpLT5k bl9kaXIgPT0gRE5fVE9fSVA2X09VVCkgeworCQltX3RhZ19kZWxldGUoKm0sIGRuX3RhZyk7Cisg ICAgICAgICAgICAgICAgcmV0dXJuIChQRl9QQVNTKTsKKyAgICAgICAgfQogCiAJLyogV2UgbmVl ZCBhIHByb3BlciBDU1VNIGJlZm9yIHdlIHN0YXJ0IChzLiBPcGVuQlNEIGlwX291dHB1dCkgKi8K IAlpZiAoKCptKS0+bV9wa3RoZHIuY3N1bV9mbGFncyAmIENTVU1fREVMQVlfREFUQSkgewpJbmRl eDogc3lzL2NvbnRyaWIvcGYvbmV0L3BmdmFyLmgKPT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpSQ1MgZmlsZTogL2hvbWUv ZXJpL3JlcG8vc3lzL2NvbnRyaWIvcG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2FjaGUgb3VyIHVjcmVkIHJlbGF0ZWQKQEAgLTM4MjgsNyArMzgyNyw3IEBACiAJd2hpbGUgKChy dWxlID0gaGVhZCkgIT0gTlVMTCkgewogCQloZWFkID0gaGVhZC0+bmV4dDsKIAkJaWYgKERVTU1Z TkVUX0xPQURFRCkKLQkJCWlwX2RuX3J1bGVkZWxfcHRyKHJ1bGUpOworCQkJZG5fcnVsZV9kZWxl dGUocnVsZSk7CiAJCWZyZWUocnVsZSwgTV9JUEZXKTsKIAl9CiB9CkluZGV4OiBzeXMvbmV0aW5l dC9pcF9md19wZmlsLmMKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PQpSQ1MgZmlsZTogL2hvbWUvZXJpL3JlcG8vc3lzL25l dGluZXQvaXBfZndfcGZpbC5jLHYKcmV0cmlldmluZyByZXZpc2lvbiAxLjEuMS4xCmRpZmYgLXUg LXIxLjEuMS4xIGlwX2Z3X3BmaWwuYwotLS0gc3lzL25ldGluZXQvaXBfZndfcGZpbC5jCTIxIE9j dCAyMDA3IDEzOjU1OjM2IC0wMDAwCTEuMS4xLjEKKysrIHN5cy9uZXRpbmV0L2lwX2Z3X3BmaWwu YwkyMSBPY3QgMjAwNyAxOTowMzo0OSAtMDAwMApAQCAtNzIsOSArNzIsNiBAQAogCiBpbnQgaXBm d19jaGdfaG9vayhTWVNDVExfSEFORExFUl9BUkdTKTsKIAotLyogRHVtbXluZXQgaG9va3MuICov Ci1pcF9kbl9ydWxlZGVsX3QJKmlwX2RuX3J1bGVkZWxfcHRyID0gTlVMTDsKLQogLyogRGl2ZXJ0 IGhvb2tzLiAqLwogaXBfZGl2ZXJ0X3BhY2tldF90ICppcF9kaXZlcnRfcHRyID0gTlVMTDsKIAo= ------=_Part_98_11251979.1193602269616-- From owner-freebsd-net@FreeBSD.ORG Sun Oct 28 21:25:35 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A61516A41A for ; Sun, 28 Oct 2007 21:25:35 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.225]) by mx1.freebsd.org (Postfix) with ESMTP id 4683013C4B9 for ; Sun, 28 Oct 2007 21:25:35 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so1283058wxd for ; Sun, 28 Oct 2007 14:25:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=UNYgl1uVOEBYr+Eqh8HgjriP2ulQ/ZLB9ZUK2Y3LErw=; b=WiPuwKCk8330SnfSsb/+pBF+1aVyBNMqjXtjKfGsM1GN31wLotn3KQSy1LEIxQA5lFHymOB9lBVec70x0j98WVOUDUvAo28DJi99Rq9ryLfplLwdTQm993BxBOHtoA4ry2PmYYH6htYuVwIyMgrl3+JCjOoY6vOIc4B38tPQvg8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=JLpUV6ABemdvBGDVi5bIQBC8DOClNw94Hd7Bw5Bj52IYDllgntEhJawG8EwlOb++CLpR19ZQSpxwnHywOBJ4CNbSWySyU34rUbyQDpCcvwe8Khc90w2zsBSWNt/HDTaxYw/2mQCD8Mku9VZeb3gcFXEo/v3CFjDJaJmajJx51wo= Received: by 10.70.109.12 with SMTP id h12mr9317623wxc.1193606734369; Sun, 28 Oct 2007 14:25:34 -0700 (PDT) Received: by 10.70.73.1 with HTTP; Sun, 28 Oct 2007 14:25:34 -0700 (PDT) Message-ID: <9a542da30710281425v1c95c58rf10e3a94b974fd2d@mail.gmail.com> Date: Sun, 28 Oct 2007 22:25:34 +0100 From: "=?ISO-8859-1?Q?Ermal_Lu=E7i?=" To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: MPLS implementatrion! X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 28 Oct 2007 21:25:35 -0000 I was wondering why this implementation of MPLS isn't integrated into FreeBSD?! http://www.info.ucl.ac.be/~iannone/Files/MPLS-Complete.zip From owner-freebsd-net@FreeBSD.ORG Mon Oct 29 01:14:03 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AA2C16A421 for ; Mon, 29 Oct 2007 01:14:03 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 737E013C480 for ; Mon, 29 Oct 2007 01:14:03 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id F2A213D567; Sun, 28 Oct 2007 21:14:02 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Sun, 28 Oct 2007 21:14:02 -0400 X-Sasl-enc: m3+8d6Mjx+RHcGaTzU33I8Isb3XkrxOJjTQxHeeg65N4 1193620442 Received: from empiric.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTP id 868341389; Sun, 28 Oct 2007 21:14:02 -0400 (EDT) Message-ID: <472533D9.3010600@FreeBSD.org> Date: Mon, 29 Oct 2007 01:14:01 +0000 From: "Bruce M. Simpson" User-Agent: Thunderbird 2.0.0.6 (X11/20070928) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Ermal_Lu=E7i?= References: <9a542da30710281425v1c95c58rf10e3a94b974fd2d@mail.gmail.com> In-Reply-To: <9a542da30710281425v1c95c58rf10e3a94b974fd2d@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org Subject: Re: MPLS implementatrion! X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 29 Oct 2007 01:14:03 -0000 Ermal Lu=E7i wrote: > I was wondering why this implementation of MPLS isn't integrated into F= reeBSD?! > http://www.info.ucl.ac.be/~iannone/Files/MPLS-Complete.zip > =20 At least two reasons spring to mind: 1. It seems to be targeted at FreeBSD 4.2, which is very old indeed. 2. No mention of it in GNATS or the mailing list that I can see or recall= =2E 3. I'd certainly never heard of it until now, and I've been keeping my=20 eyes peeled for these things. Also the work doesn't seem to be complete: I'm really not sure that the=20 ability to open an MPLS socket is useful in anything other than an=20 experimental context. MPLS is not a protocol which is designed with end-stations in mind --=20 it's for routers -- and like any form of traffic engineering, it depends = on a packet filtering engine at the ingress point. pf could offer such a = filtering engine. Whilst it's very cool that someone appeared to have done some of the=20 work... Matthew Luckie came forward a few months back and volunteered=20 to work on porting Ayame to modern FreeBSDs. It is more likely a better fit for FreeBSD and other projects which can=20 build on it, so I think it is best we hold off for now. regards, BMS From owner-freebsd-net@FreeBSD.ORG Mon Oct 29 01:23:13 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 234F816A419 for ; Mon, 29 Oct 2007 01:23:13 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outC.internet-mail-service.net (outC.internet-mail-service.net [216.240.47.226]) by mx1.freebsd.org (Postfix) with ESMTP id A4F6813C491 for ; Mon, 29 Oct 2007 01:23:12 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Sun, 28 Oct 2007 18:23:11 -0700 X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 220C412681A; Sun, 28 Oct 2007 18:23:11 -0700 (PDT) Message-ID: <4725361C.8030806@elischer.org> Date: Sun, 28 Oct 2007 18:23:40 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: "Bruce M. Simpson" References: <9a542da30710281425v1c95c58rf10e3a94b974fd2d@mail.gmail.com> <472533D9.3010600@FreeBSD.org> In-Reply-To: <472533D9.3010600@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-net@freebsd.org, =?ISO-8859-1?Q?Ermal_Lu=E7i?= Subject: Re: MPLS implementatrion! X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 29 Oct 2007 01:23:13 -0000 Bruce M. Simpson wrote: > Ermal Luçi wrote: >> I was wondering why this implementation of MPLS isn't integrated into >> FreeBSD?! >> http://www.info.ucl.ac.be/~iannone/Files/MPLS-Complete.zip >> there's a hell of a lot of these sorts of things out there that no-one has heard of > > At least two reasons spring to mind: > 1. It seems to be targeted at FreeBSD 4.2, which is very old indeed. > 2. No mention of it in GNATS or the mailing list that I can see or recall. > 3. I'd certainly never heard of it until now, and I've been keeping my > eyes peeled for these things. > > Also the work doesn't seem to be complete: I'm really not sure that the > ability to open an MPLS socket is useful in anything other than an > experimental context. > > MPLS is not a protocol which is designed with end-stations in mind -- > it's for routers -- and like any form of traffic engineering, it depends > on a packet filtering engine at the ingress point. pf could offer such a > filtering engine. > > Whilst it's very cool that someone appeared to have done some of the > work... Matthew Luckie came forward a few months back and volunteered > to work on porting Ayame to modern FreeBSDs. > > It is more likely a better fit for FreeBSD and other projects which can > build on it, so I think it is best we hold off for now. > > regards, > BMS > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Mon Oct 29 09:58:29 2007 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A44216A417; Mon, 29 Oct 2007 09:58:29 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7049013C4A7; Mon, 29 Oct 2007 09:58:29 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9T9wT0P085658; Mon, 29 Oct 2007 09:58:29 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9T9wTRI085654; Mon, 29 Oct 2007 09:58:29 GMT (envelope-from linimon) Date: Mon, 29 Oct 2007 09:58:29 GMT Message-Id: <200710290958.l9T9wTRI085654@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/117423: Duplicate IP on different interfaces X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 29 Oct 2007 09:58:29 -0000 Synopsis: Duplicate IP on different interfaces Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Mon Oct 29 09:57:59 UTC 2007 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=117423 From owner-freebsd-net@FreeBSD.ORG Mon Oct 29 10:00:06 2007 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECB8016A481 for ; Mon, 29 Oct 2007 10:00:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6816F13C481 for ; Mon, 29 Oct 2007 10:00:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TA04Fv085780 for ; Mon, 29 Oct 2007 10:00:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9TA04Mq085779; Mon, 29 Oct 2007 10:00:04 GMT (envelope-from gnats) Date: Mon, 29 Oct 2007 10:00:04 GMT Message-Id: <200710291000.l9TA04Mq085779@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Jacek Zapala Cc: Subject: Re: kern/117456: ipv6 neighbour discovery / bce multicast problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jacek Zapala List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 10:00:07 -0000 The following reply was made to PR kern/117456; it has been noted by GNATS. From: Jacek Zapala To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/117456: ipv6 neighbour discovery / bce multicast problem Date: Mon, 29 Oct 2007 10:50:18 +0100 --=-OnEZhZq5git3EvQIW/zR Content-Type: text/plain Content-Transfer-Encoding: 7bit I have found the bug in the bce driver. Patch attached. -- Jacek --=-OnEZhZq5git3EvQIW/zR Content-Disposition: attachment; filename=bce_multicast_patch.diff Content-Type: text/x-patch; name=bce_multicast_patch.diff; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit --- dev/bce/if_bce.c.old Sun Oct 28 02:35:08 2007 +++ dev/bce/if_bce.c Mon Oct 29 10:27:22 2007 @@ -5209,10 +5209,12 @@ { struct ifnet *ifp; struct ifmultiaddr *ifma; - u32 hashes[4] = { 0, 0, 0, 0 }; + u32 hashes[NUM_MC_HASH_REGISTERS]; u32 rx_mode, sort_mode; int h, i; + memset(hashes, 0, 4 * NUM_MC_HASH_REGISTERS); + BCE_LOCK_ASSERT(sc); ifp = sc->bce_ifp; @@ -5257,12 +5259,12 @@ if (ifma->ifma_addr->sa_family != AF_LINK) continue; h = ether_crc32_le(LLADDR((struct sockaddr_dl *) - ifma->ifma_addr), ETHER_ADDR_LEN) & 0x7F; - hashes[(h & 0x60) >> 5] |= 1 << (h & 0x1F); + ifma->ifma_addr), ETHER_ADDR_LEN) & 0xFF; + hashes[(h & 0xe0) >> 5] |= 1 << (h & 0x1F); } IF_ADDR_UNLOCK(ifp); - for (i = 0; i < 4; i++) + for (i = 0; i < NUM_MC_HASH_REGISTERS; i++) REG_WR(sc, BCE_EMAC_MULTICAST_HASH0 + (i * 4), hashes[i]); sort_mode |= BCE_RPM_SORT_USER0_MC_HSH_EN; --=-OnEZhZq5git3EvQIW/zR-- From owner-freebsd-net@FreeBSD.ORG Mon Oct 29 10:12:52 2007 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F308F16A417; Mon, 29 Oct 2007 10:12:51 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8CE4F13C494; Mon, 29 Oct 2007 10:12:51 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TACpia086712; Mon, 29 Oct 2007 10:12:51 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9TACpcj086708; Mon, 29 Oct 2007 10:12:51 GMT (envelope-from linimon) Date: Mon, 29 Oct 2007 10:12:51 GMT Message-Id: <200710291012.l9TACpcj086708@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/117271: [tap] OpenVPN TAP uses 99% CPU on releng_6 when if_tap is in /boot/loader.conf X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 29 Oct 2007 10:12:52 -0000 Synopsis: [tap] OpenVPN TAP uses 99% CPU on releng_6 when if_tap is in /boot/loader.conf Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Mon Oct 29 10:11:54 UTC 2007 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=117271 From owner-freebsd-net@FreeBSD.ORG Mon Oct 29 11:07:18 2007 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1338616A475 for ; Mon, 29 Oct 2007 11:07:08 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AB3B113C4B0 for ; Mon, 29 Oct 2007 11:07:07 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TB77uC090178 for ; Mon, 29 Oct 2007 11:07:07 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9TB77ju090174 for freebsd-net@FreeBSD.org; Mon, 29 Oct 2007 11:07:07 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 29 Oct 2007 11:07:07 GMT Message-Id: <200710291107.l9TB77ju090174@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-net@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-net@FreeBSD.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 29 Oct 2007 11:07:24 -0000 Current FreeBSD problem reports Critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/115360 net [ipv6] IPv6 address and if_bridge don't play well toge 1 problem total. Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- s kern/21998 net [socket] [patch] ident only for outgoing connections a kern/38554 net changing interface ipaddress doesn't seem to work s kern/39937 net ipstealth issue s kern/81147 net [net] [patch] em0 reinitialization while adding aliase o kern/92552 net A serious bug in most network drivers from 5.X to 6.X s kern/95665 net [if_tun] "ping: sendto: No buffer space available" wit s kern/105943 net Network stack may modify read-only mbuf chain copies o kern/106316 net [dummynet] dummynet with multipass ipfw drops packets o kern/108542 net [bce]: Huge network latencies with 6.2-RELEASE / STABL o kern/109406 net [ndis] Broadcom WLAN driver 4.100.15.5 doesn't work wi o kern/110959 net [ipsec] Filtering incoming packets with enc0 does not o kern/112528 net [nfs] NFS over TCP under load hangs with "impossible p o kern/112686 net [patm] patm driver freezes System (FreeBSD 6.2-p4) i38 o kern/112722 net IP v4 udp fragmented packet reject o kern/113457 net [ipv6] deadlock occurs if a tunnel goes down while the o kern/113842 net [ipv6] PF_INET6 proto domain state can't be cleared wi o kern/114714 net [gre][patch] gre(4) is not MPSAFE and does not support o kern/114839 net [fxp] fxp looses ability to speak with traffic o kern/115239 net [ipnat] panic with 'kmem_map too small' using ipnat o kern/116077 net 6.2-STABLE panic during use of multi-cast networking c o kern/116172 net Network / ipv6 recursive mutex panic o kern/116185 net if_iwi driver leads system to reboot o kern/116186 net can not set wi channel on current o kern/116328 net [bge]: Solid hang with bge interface o kern/116747 net [ndis] FreeBSD 7.0-CURRENT crash with Dell TrueMobile o kern/116837 net ifconfig tunX destroy: panic o kern/117271 net [tap] OpenVPN TAP uses 99% CPU on releng_6 when if_tap o kern/117293 net [carp] CARP interfaces causes packet loss o kern/117423 net Duplicate IP on different interfaces o bin/117448 net [carp] 6.2 kernel crash 30 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/23063 net [PATCH] for static ARP tables in rc.network s bin/41647 net ifconfig(8) doesn't accept lladdr along with inet addr o kern/54383 net [nfs] [patch] NFS root configurations without dynamic s kern/60293 net FreeBSD arp poison patch o kern/95267 net packet drops periodically appear f kern/95277 net [netinet] [patch] IP Encapsulation mask_match() return o kern/100519 net [netisr] suggestion to fix suboptimal network polling o kern/102035 net [plip] plip networking disables parallel port printing o conf/102502 net [patch] ifconfig name does't rename netgraph node in n o kern/103253 net inconsistent behaviour in arp reply of a bridge o conf/107035 net [patch] bridge interface given in rc.conf not taking a o kern/112654 net [pcn] Kernel panic upon if_pcn module load on a Netfin o kern/114095 net [carp] carp+pf delay with high state limit o kern/114915 net [patch] [pcn] pcn (sys/pci/if_pcn.c) ethernet driver f o bin/116643 net [patch] fstat(1): add INET/INET6 socket details as in o bin/117339 net [patch] route(8): loading routing management commands o kern/117456 net [ipv6] ipv6 neighbour discovery / bce multicast probl 17 problems total. From owner-freebsd-net@FreeBSD.ORG Mon Oct 29 15:04:27 2007 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9070C16A468; Mon, 29 Oct 2007 15:04:27 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (cl-162.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:a1::2]) by mx1.freebsd.org (Postfix) with ESMTP id EC54713C4A6; Mon, 29 Oct 2007 15:04:26 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.13.8/8.13.8) with ESMTP id l9TF4P1r068968; Mon, 29 Oct 2007 10:04:25 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.13.8/8.13.8/Submit) id l9TF4O1T068967; Mon, 29 Oct 2007 10:04:24 -0500 (CDT) (envelope-from brooks) Date: Mon, 29 Oct 2007 10:04:24 -0500 From: Brooks Davis To: "Bruce M. Simpson" Message-ID: <20071029150424.GA68594@lor.one-eyed-alien.net> References: <20070909201837.GA18107@inf.ethz.ch> <20071026154057.GG1049@styx.ethz.ch> <4722AEB3.1010208@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SUOF0GtieIMvvwua" Content-Disposition: inline In-Reply-To: <4722AEB3.1010208@FreeBSD.org> User-Agent: Mutt/1.5.15 (2007-04-06) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Mon, 29 Oct 2007 10:04:25 -0500 (CDT) Cc: freebsd-net@FreeBSD.org, Matus Harvan , Max Laier Subject: Re: UDP catchall X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 29 Oct 2007 15:04:27 -0000 --SUOF0GtieIMvvwua Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 27, 2007 at 04:21:23AM +0100, Bruce M. Simpson wrote: > Matus Harvan wrote: > > Hi, > > > > I was wondering if I could get some feedback about the patch and > > whether others think it could be committed. > > =20 >=20 > The UDP catchall patch as submitted here clashes with the blackhole=20 > functionality, and also bypasses the update of the protocol statistics a= nd=20 > unreachable port rate limiting. It is not yet suitable for a production= =20 > kernel. >=20 > It probably shouldn't trigger the log_in_vain message, however that log= =20 > message is misleading anyway (the reception of UDP datagrams destined fo= r=20 > unbound ports is not a 'connection attempt'). >=20 > I would argue that the UDP and TCP catchall feature should perhaps have = a=20 > configurable port range as well, under=20 > net.inet.ip.portrange.relayhigh/relaylow. This would allow the inpcb cod= e to=20 > avoid allocating sockets from that range at all -- as well as allowing= =20 > inbound packets for that range to be immediately relayed to mtund withou= t=20 > the cost of a hash lookup. While I think this idea has some merit, I think we specifically want the current wildcard ability to allow for a system that requires minimal configuration. The problem with a range is that it doesn't allow disjoint sets and it requires that if you really do want all the ports you need to produce a list of currently allocated ports to avoid allocating. A more (over)engineered solution holds some attraction, but I'm not yet convinced the fact that it could exist precludes the current implementation. -- Brooks --SUOF0GtieIMvvwua Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFHJfZ3XY6L6fI4GtQRAjRcAJ9PkFzl9krtoFlgTw9wJUm5L0+UEQCgpt1g 9mxaAZuuCItNmZWLG7QeiCY= =lkBT -----END PGP SIGNATURE----- --SUOF0GtieIMvvwua-- From owner-freebsd-net@FreeBSD.ORG Mon Oct 29 16:51:02 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B80F16A46B for ; Mon, 29 Oct 2007 16:51:02 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.184]) by mx1.freebsd.org (Postfix) with ESMTP id C0A3813C48D for ; Mon, 29 Oct 2007 16:51:01 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: by mu-out-0910.google.com with SMTP id w9so2046196mue for ; Mon, 29 Oct 2007 09:50:44 -0700 (PDT) Received: by 10.82.172.10 with SMTP id u10mr10290339bue.1193641424733; Mon, 29 Oct 2007 00:03:44 -0700 (PDT) Received: by 10.82.162.16 with HTTP; Mon, 29 Oct 2007 00:03:44 -0700 (PDT) Message-ID: Date: Mon, 29 Oct 2007 09:03:44 +0200 From: "Vlad GALU" To: "Julian Elischer" In-Reply-To: <4725361C.8030806@elischer.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <9a542da30710281425v1c95c58rf10e3a94b974fd2d@mail.gmail.com> <472533D9.3010600@FreeBSD.org> <4725361C.8030806@elischer.org> Cc: freebsd-net@freebsd.org, "Bruce M. Simpson" , =?ISO-8859-1?Q?Ermal_Lu=E7i?= Subject: Re: MPLS implementatrion! X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 29 Oct 2007 16:51:02 -0000 On 10/29/07, Julian Elischer wrote: > Bruce M. Simpson wrote: > > Ermal Lu=E7i wrote: > >> I was wondering why this implementation of MPLS isn't integrated into > >> FreeBSD?! > >> http://www.info.ucl.ac.be/~iannone/Files/MPLS-Complete.zip > >> > > there's a hell of a lot of these sorts of things out there > that no-one has heard of A friend of mine wrote a LDP implementation for NetBSD: http://kefren.netbsd.ro/. Feel free to glance at it :) > > > > > At least two reasons spring to mind: > > 1. It seems to be targeted at FreeBSD 4.2, which is very old indeed. > > 2. No mention of it in GNATS or the mailing list that I can see or reca= ll. > > 3. I'd certainly never heard of it until now, and I've been keeping my > > eyes peeled for these things. > > > > Also the work doesn't seem to be complete: I'm really not sure that the > > ability to open an MPLS socket is useful in anything other than an > > experimental context. > > > > MPLS is not a protocol which is designed with end-stations in mind -- > > it's for routers -- and like any form of traffic engineering, it depend= s > > on a packet filtering engine at the ingress point. pf could offer such = a > > filtering engine. > > > > Whilst it's very cool that someone appeared to have done some of the > > work... Matthew Luckie came forward a few months back and volunteered > > to work on porting Ayame to modern FreeBSDs. > > > > It is more likely a better fit for FreeBSD and other projects which can > > build on it, so I think it is best we hold off for now. > > > > regards, > > BMS > > > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > --=20 Mahnahmahnah! From owner-freebsd-net@FreeBSD.ORG Mon Oct 29 18:44:05 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E83216A477 for ; Mon, 29 Oct 2007 18:44:05 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.freebsd.org (Postfix) with ESMTP id 1CB8213C4C4 for ; Mon, 29 Oct 2007 18:44:04 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so1306785nfb for ; Mon, 29 Oct 2007 11:43:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=JwpM9iPXq1a6dbEyGxpfYIppVe/vmbQ/h8BSW4UdX2c=; b=okP4qqdC9t2Nh930ETr7iKqd5pmcWwKf+zlx1Ab+m6y2hZL/0q2L5ql3ahiXXG4kJuytkbLGdvJkQ+vJVT1Q+LFbuEGaLw9mfNCji3tYD/k4VPiRyGk0KnW0y1k5Tn2W1DVe8s4NButUpWoqX+eO8Lxmi8HywCzRCMrr/hr4mRI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Bh87qW+pO7CmrCndy/3GXbMIRyBWbl8krdnsG4oDg9iqGHZ383a4RYvzBC62p/gYAiks2IXk1xWUqcp5mlM4H7T6ALeWhv1uBycPzy8gQEc19LDxe+x2+jWAr+mBqS9hmDSY/ij4IxDeEcdbOJBKsDa1SRdg+wdyn7EaO8PP2L4= Received: by 10.86.84.5 with SMTP id h5mr4968722fgb.1193679917408; Mon, 29 Oct 2007 10:45:17 -0700 (PDT) Received: by 10.86.100.19 with HTTP; Mon, 29 Oct 2007 10:45:17 -0700 (PDT) Message-ID: <2a41acea0710291045m6f1d2acw78c26a455ea3894d@mail.gmail.com> Date: Mon, 29 Oct 2007 10:45:17 -0700 From: "Jack Vogel" To: "freebsd-net@freebsd.org" , "FreeBSD Stable List" , "FreeBSD Current" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: RFC: Evolution of the em driver X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 29 Oct 2007 18:44:05 -0000 I have an important decision to make and I thought rather than just make it and spring it on you I'd present the issues and see what opinions were. Our newer hardware uses new features that, more and more, require parallel code paths in the driver. For instance, the 82575 (Zoar) uses what are called 'advanced descriptors', this means different TX path. The 7.0 em driver has this support in it, it just uses a function pointer to handle it. When I add in multiqueue/RSS support it will add even more code that functions this way. What the Linux team did was to split the newer code into a standalone driver, they call it 'igb'. I had originally resisted doing this, but with the development I have been working on the past month I am starting to wonder if it might not be best to follow them. I see 3 possibilities and I'd like feedback, which would you prefer if you have a preference and why. First, keep the driver as is and just live with multiple code paths and features, possibly #ifdef'ed as they appear. Second, split the driver as Linux has into em and igb. The added question then is how to split it, Linux made the line the use of advanced descriptors, so Zoar and after, but I could also see a case for having everything PCI-E/MSI capable being in the new driver. Third, sort of a half-way approach, split up code but not the driver, in other words offer different source files that can be compiled into the driver, so you could have the one big jumbo driver with all in there, or one that will only work with a subset of adapters. This one would probably be the most work, because its a new approach. Cheers, Jack From owner-freebsd-net@FreeBSD.ORG Mon Oct 29 20:03:24 2007 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 444F816A419; Mon, 29 Oct 2007 20:03:24 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id E42CB13C4B3; Mon, 29 Oct 2007 20:03:23 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 95DF244B24; Mon, 29 Oct 2007 15:49:49 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 29 Oct 2007 15:49:49 -0400 X-Sasl-enc: sDsqRXxCbPQ2dr3TCckqpm3bW19ghHHMKzTmnc5HZmhN 1193687389 Received: from empiric.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTP id BEC7F3A0C; Mon, 29 Oct 2007 15:49:48 -0400 (EDT) Message-ID: <4726395B.8080905@FreeBSD.org> Date: Mon, 29 Oct 2007 19:49:47 +0000 From: "Bruce M. Simpson" User-Agent: Thunderbird 2.0.0.6 (X11/20070928) MIME-Version: 1.0 To: Brooks Davis References: <20070909201837.GA18107@inf.ethz.ch> <20071026154057.GG1049@styx.ethz.ch> <4722AEB3.1010208@FreeBSD.org> <20071029150424.GA68594@lor.one-eyed-alien.net> In-Reply-To: <20071029150424.GA68594@lor.one-eyed-alien.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@FreeBSD.org, Matus Harvan , Max Laier Subject: Re: UDP catchall X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 29 Oct 2007 20:03:24 -0000 Brooks Davis wrote: > While I think this idea has some merit, I think we specifically want > the current wildcard ability to allow for a system that requires > minimal configuration. The problem with a range is that it doesn't > allow disjoint sets and it requires that if you really do want all the > ports you need to produce a list of currently allocated ports to avoid > allocating. A more (over)engineered solution holds some attraction, but > I'm not yet convinced the fact that it could exist precludes the current > implementation. Actually I concur with you on this point, based solely on the disjoint sets point. Another vector of attack would be to put the relay functionality into PF, which can do the packet matching. However this of course suffers from the problem that if you just want a plain old UDP socket for mtund, you won't get that unless you go to the inpcb layer anyway. But who says mtund needs to use sockets for its traffic relay? There is definite appeal in *not* doing it in the socket layer at all -- an adaptation of pf's log socket may suffice... Just my 2c for now... BMS From owner-freebsd-net@FreeBSD.ORG Mon Oct 29 21:10:34 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 156B016A418 for ; Mon, 29 Oct 2007 21:10:34 +0000 (UTC) (envelope-from daniel@dgnetwork.com.br) Received: from mail.mastercabo.com.br (mail.mastercabo.com.br [200.179.179.14]) by mx1.freebsd.org (Postfix) with SMTP id 132BF13C4B3 for ; Mon, 29 Oct 2007 21:10:32 +0000 (UTC) (envelope-from daniel@dgnetwork.com.br) Received: (qmail 86616 invoked by uid 1008); 29 Oct 2007 20:43:40 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.6-unknown (2006-10-03) on srvmail3 X-Spam-Level: X-Spam-Status: No, score=-1.6 required=4.7 tests=AWL,BAYES_00 autolearn=ham version=3.1.6-unknown Received: from unknown (HELO ?10.0.1.10?) (daniel@dgnetwork.com.br@200.243.216.68) by mail.mastercabo.com.br with SMTP; 29 Oct 2007 20:43:36 -0000 Message-ID: <4726455B.6020405@dgnetwork.com.br> Date: Mon, 29 Oct 2007 18:40:59 -0200 From: =?ISO-8859-1?Q?Daniel_Dias_Gon=E7alves?= Organization: DGNET Network Solutions User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: freebsd-stable@freebsd.org, freebsd-net@freebsd.org References: <471FE33E.5050800@dgnetwork.com.br> <20071025033516.GC16092@cdnetworks.co.kr> In-Reply-To: <20071025033516.GC16092@cdnetworks.co.kr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: pyunyh@gmail.com Subject: Re: Realtek Gigabit Network Card 0xd6088086 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: daniel@dgnetwork.com.br List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 21:10:34 -0000 Pyun YongHyeon escreveu: > On Wed, Oct 24, 2007 at 10:28:46PM -0200, Daniel Dias Gon?alves wrote: > > Hi, > > > > FreeBSD 6.2-STABLE can support this network card? > > > > none2@pci3:0:0: class=0x020000 card=0xd6088086 chip=0x816810ec rev=0x01 > > hdr=0x00 > > vendor = 'Realtek Semiconductor' > > class = network > > subclass = ethernet > > > > If it's not detected by re(4) your NIC would be newer 8168 series. > So try re(4) first and let me know the result.(I have a WIP version > for newer 8168 family but need testers.) > > Hi, I' m using kernel generic "SMP" (root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP) and already is enable "device re", but dont work. What is WIP version ? Thanks Daniel From owner-freebsd-net@FreeBSD.ORG Tue Oct 30 00:20:41 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E96A116A421 for ; Tue, 30 Oct 2007 00:20:41 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.238]) by mx1.freebsd.org (Postfix) with ESMTP id A789E13C4E3 for ; Tue, 30 Oct 2007 00:20:41 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so1168570nzf for ; Mon, 29 Oct 2007 17:20:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=UOxwG2Ek1h8ZiDnNz0nZ0Vl/eBDtO3YHTcxiJBVY1Ng=; b=I/7fBZXg84hQMfRYOhY1nWJbxUYf1UIwkfpF9DiijZcAOmStYz0Q40r9mNTkk1iG3eQ+srZj+d/BbmHJV1gX1Yj/tt0gAX296BNRuXBFICEis8oerIF6gAivJTWdgo4wwEk/bxaX7RJ/eUwJxa91MfCOii6DqfakxV5XQHJCWhY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=J/bDsF+a8ccOlsUIeaD/wT7BWSCAnOui/gNCOKwXbtJVMLE2sO6Sf8zUig37NoeNuquuMU6bjfG1CR1ZGGOZF+QDHpKI7ZOs7IW1M0J0UMgTurd+1zuusVdhe+L/fobi1/Ugcy7/wSQusbQYQLEYTy6Mhyu/bu2TxyHJRV8fw+8= Received: by 10.114.177.1 with SMTP id z1mr7625441wae.1193703237706; Mon, 29 Oct 2007 17:13:57 -0700 (PDT) Received: by 10.114.13.15 with HTTP; Mon, 29 Oct 2007 17:13:57 -0700 (PDT) Message-ID: Date: Mon, 29 Oct 2007 17:13:57 -0700 From: "Kip Macy" To: "Jack Vogel" In-Reply-To: <2a41acea0710291045m6f1d2acw78c26a455ea3894d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2a41acea0710291045m6f1d2acw78c26a455ea3894d@mail.gmail.com> Cc: "freebsd-net@freebsd.org" , FreeBSD Current , FreeBSD Stable List Subject: Re: RFC: Evolution of the em driver X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 30 Oct 2007 00:20:42 -0000 Jack, you should know by now that we're not Linux. All we care about is that you not break the code that we rely on. I'm still slightly embarrassed when I explain to people that I build if_em as a module because em0 doesn't come up sometimes due to a race condition on initialization, so I need to be able to re-load the driver. We're happy that you're keeping support for Intel's hardware up to date on FreeBSD. -Kip On 10/29/07, Jack Vogel wrote: > I have an important decision to make and I thought rather than just make > it and spring it on you I'd present the issues and see what opinions were. > > Our newer hardware uses new features that, more and more, require > parallel code paths in the driver. For instance, the 82575 (Zoar) uses > what are called 'advanced descriptors', this means different TX path. > The 7.0 em driver has this support in it, it just uses a function pointer > to handle it. > > When I add in multiqueue/RSS support it will add even more code > that functions this way. > > What the Linux team did was to split the newer code into a standalone > driver, they call it 'igb'. I had originally resisted doing this, but with > the development I have been working on the past month I am starting > to wonder if it might not be best to follow them. > > I see 3 possibilities and I'd like feedback, which would you prefer if > you have a preference and why. > > First, keep the driver as is and just live with multiple code paths > and features, possibly #ifdef'ed as they appear. > > Second, split the driver as Linux has into em and igb. The added > question then is how to split it, Linux made the line the use of > advanced descriptors, so Zoar and after, but I could also see a > case for having everything PCI-E/MSI capable being in the new > driver. > > Third, sort of a half-way approach, split up code but not the > driver, in other words offer different source files that can be > compiled into the driver, so you could have the one big jumbo > driver with all in there, or one that will only work with a subset > of adapters. This one would probably be the most work, because > its a new approach. > > Cheers, > > Jack > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-net@FreeBSD.ORG Tue Oct 30 01:10:39 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6866316A418 for ; Tue, 30 Oct 2007 01:10:39 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by mx1.freebsd.org (Postfix) with ESMTP id 35A6313C48A for ; Tue, 30 Oct 2007 01:10:39 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so2357740waf for ; Mon, 29 Oct 2007 18:10:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=IonkMWizHhmkCuziEpTK01EXF7Th0jpaLq8+xdzah6M=; b=ZN+NTDpKt5i6BQ2nopWHEYKcPWnrZkM7Iiv8kncFZ7CFi2Z+JpClk70bqtdsTAB8KzrMAdJ20mn90kXL3/mxsBClPCZPrwPlZzTE6xQlxjBfpDzrYhBl87vvazAg6eSgul0DbS22sF/nMkfZ6ia4dqu+wDpwy1gu1APPs54GrsU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=SdvX1FaWmEMJ4b1rdt0uZYn+gTOjqUfcDpExa4b+xXIDxFxvTLFK/xfsdP+U7Ex45xayF4K0XQJIuQ3bdAFqWOTNHWoCR/4rrlD75Uf4sNhfYBSCNVRD/uoFQOOnRobBcCf/UsSLjQ6jWekLvzU7TBpbUknOsTGqB3gOZOG8Ycg= Received: by 10.114.76.1 with SMTP id y1mr5040177waa.1193706627315; Mon, 29 Oct 2007 18:10:27 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id v38sm14367913wah.2007.10.29.18.10.20 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 29 Oct 2007 18:10:24 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id l9U1AEnM038216 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 30 Oct 2007 10:10:14 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id l9U1ABER038215; Tue, 30 Oct 2007 10:10:11 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Tue, 30 Oct 2007 10:10:11 +0900 From: Pyun YongHyeon To: Daniel Dias Gon?alves Message-ID: <20071030011011.GC37693@cdnetworks.co.kr> References: <471FE33E.5050800@dgnetwork.com.br> <20071025033516.GC16092@cdnetworks.co.kr> <4726455B.6020405@dgnetwork.com.br> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="AqsLC8rIMeq19msA" Content-Disposition: inline In-Reply-To: <4726455B.6020405@dgnetwork.com.br> User-Agent: Mutt/1.4.2.1i Cc: freebsd-net@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Realtek Gigabit Network Card 0xd6088086 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 01:10:39 -0000 --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Oct 29, 2007 at 06:40:59PM -0200, Daniel Dias Gon?alves wrote: > Pyun YongHyeon escreveu: > >On Wed, Oct 24, 2007 at 10:28:46PM -0200, Daniel Dias Gon?alves wrote: > > > Hi, > > > > > > FreeBSD 6.2-STABLE can support this network card? > > > > > > none2@pci3:0:0: class=0x020000 card=0xd6088086 chip=0x816810ec rev=0x01 > > > hdr=0x00 > > > vendor = 'Realtek Semiconductor' > > > class = network > > > subclass = ethernet > > > > > > >If it's not detected by re(4) your NIC would be newer 8168 series. > >So try re(4) first and let me know the result.(I have a WIP version > >for newer 8168 family but need testers.) > > > > > Hi, > > I' m using kernel generic "SMP" > (root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP) and already is > enable "device re", but dont work. > What is WIP version ? work in progress version. Try attached patch. One user reported the patch generated ARP storm so I requested more information for the issue but got no reply yet. -- Regards, Pyun YongHyeon --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="re.spin3.patch" Index: dev/re/if_re.c =================================================================== RCS file: /home/ncvs/src/sys/dev/re/if_re.c,v retrieving revision 1.95 diff -u -r1.95 if_re.c --- dev/re/if_re.c 14 Aug 2007 02:00:04 -0000 1.95 +++ dev/re/if_re.c 30 Oct 2007 01:05:06 -0000 @@ -180,6 +180,8 @@ "RealTek 8168/8111B PCIe Gigabit Ethernet" }, { RT_VENDORID, RT_DEVICEID_8168, RL_HWREV_8168_SPIN2, "RealTek 8168/8111B PCIe Gigabit Ethernet" }, + { RT_VENDORID, RT_DEVICEID_8168, RL_HWREV_8168_SPIN3, + "RealTek 8168/8111B PCIe Gigabit Ethernet" }, { RT_VENDORID, RT_DEVICEID_8169, RL_HWREV_8169, "RealTek 8169 Gigabit Ethernet" }, { RT_VENDORID, RT_DEVICEID_8169, RL_HWREV_8169S, @@ -221,6 +223,7 @@ { RL_HWREV_8100E, RL_8169, "8100E"}, { RL_HWREV_8101E, RL_8169, "8101E"}, { RL_HWREV_8168_SPIN2, RL_8169, "8168"}, + { RL_HWREV_8168_SPIN3, RL_8169, "8168"}, { 0, 0, NULL } }; @@ -676,14 +679,18 @@ */ hwrev = CSR_READ_4(sc, RL_TXCFG) & RL_TXCFG_HWREV; - - if (hwrev == RL_HWREV_8100E || hwrev == RL_HWREV_8101E || - hwrev == RL_HWREV_8168_SPIN1 || hwrev == RL_HWREV_8168_SPIN2) { + switch (hwrev) { + case RL_HWREV_8100E: + case RL_HWREV_8101E: + case RL_HWREV_8168_SPIN1: + case RL_HWREV_8168_SPIN2: CSR_WRITE_4(sc, RL_MAR0, bswap32(hashes[1])); CSR_WRITE_4(sc, RL_MAR4, bswap32(hashes[0])); - } else { + break; + default: CSR_WRITE_4(sc, RL_MAR0, hashes[0]); CSR_WRITE_4(sc, RL_MAR4, hashes[1]); + break; } } @@ -1314,6 +1321,7 @@ case RL_HWREV_8169_8110SB: case RL_HWREV_8169_8110SC: case RL_HWREV_8168_SPIN2: + case RL_HWREV_8168_SPIN3: re_gmii_writereg(dev, 1, 0x1f, 0); re_gmii_writereg(dev, 1, 0x0e, 0); break; Index: pci/if_rlreg.h =================================================================== RCS file: /home/ncvs/src/sys/pci/if_rlreg.h,v retrieving revision 1.67 diff -u -r1.67 if_rlreg.h --- pci/if_rlreg.h 24 Jul 2007 01:24:03 -0000 1.67 +++ pci/if_rlreg.h 30 Oct 2007 01:05:07 -0000 @@ -156,6 +156,7 @@ #define RL_HWREV_8100E 0x30800000 #define RL_HWREV_8101E 0x34000000 #define RL_HWREV_8168_SPIN2 0x38000000 +#define RL_HWREV_8168_SPIN3 0x38400000 #define RL_HWREV_8139 0x60000000 #define RL_HWREV_8139A 0x70000000 #define RL_HWREV_8139AG 0x70800000 --AqsLC8rIMeq19msA-- From owner-freebsd-net@FreeBSD.ORG Tue Oct 30 05:49:17 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AB3816A41A for ; Tue, 30 Oct 2007 05:49:17 +0000 (UTC) (envelope-from brian.mcginty@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.226]) by mx1.freebsd.org (Postfix) with ESMTP id 114E013C4BF for ; Tue, 30 Oct 2007 05:49:16 +0000 (UTC) (envelope-from brian.mcginty@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so1218004nzf for ; Mon, 29 Oct 2007 22:49:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=SAnUVJMWgRnU6m1tXNelvKWQajkPkBfykmL8iBJPs/Q=; b=C4YfMda2Mc3tdCms/oPsGx4NRN5Q+xzLKPVKEINDjaHkktHzXqqSWz4LdCyb+8xJuqdGWrS0biYujm4yjSELE003otTYdbGaPuoD07G9nCTqTGKNGF9vk/Ad1vW4rWk4sFGnsOjteNP6RoEx5Pr0lN6gxfhVKtpv/MlLEw65eAw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Xtp192lRLw2PaXUIChlNHGyDLteyHAE0piLbwjenCxDQA57xv9cgs76NpcjyD2Hl4A4rtA6dmUc54dOaTIyLZPzcqVIy4nU/9vyqSVyOYNRRi+s9erPlQl7e6/K/tUi2cFVvxHBbM60jc9mDM8pNXQ83mBZJsUKZ8nIT/RXHqGY= Received: by 10.142.171.6 with SMTP id t6mr1566603wfe.1193721711258; Mon, 29 Oct 2007 22:21:51 -0700 (PDT) Received: by 10.142.163.17 with HTTP; Mon, 29 Oct 2007 22:21:51 -0700 (PDT) Message-ID: <601bffc40710292221k35a6927fh9dfaa217ae68e416@mail.gmail.com> Date: Mon, 29 Oct 2007 22:21:51 -0700 From: "Brian McGinty" To: "Jack Vogel" In-Reply-To: <2a41acea0710291045m6f1d2acw78c26a455ea3894d@mail.gmail.com> MIME-Version: 1.0 References: <2a41acea0710291045m6f1d2acw78c26a455ea3894d@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-net@freebsd.org" , FreeBSD Current , FreeBSD Stable List Subject: Re: RFC: Evolution of the em driver X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 30 Oct 2007 05:49:17 -0000 I prefer (2) - non-intrusive on em, and the new one doesn't have to deal with legacy or backward compatibility with em. Any commonality with ixgbe? Later Brian. On 10/29/07, Jack Vogel wrote: > > I have an important decision to make and I thought rather than just make > it and spring it on you I'd present the issues and see what opinions were. > > Our newer hardware uses new features that, more and more, require > parallel code paths in the driver. For instance, the 82575 (Zoar) uses > what are called 'advanced descriptors', this means different TX path. > The 7.0 em driver has this support in it, it just uses a function pointer > to handle it. > > When I add in multiqueue/RSS support it will add even more code > that functions this way. > > What the Linux team did was to split the newer code into a standalone > driver, they call it 'igb'. I had originally resisted doing this, but with > the development I have been working on the past month I am starting > to wonder if it might not be best to follow them. > > I see 3 possibilities and I'd like feedback, which would you prefer if > you have a preference and why. > > First, keep the driver as is and just live with multiple code paths > and features, possibly #ifdef'ed as they appear. > > Second, split the driver as Linux has into em and igb. The added > question then is how to split it, Linux made the line the use of > advanced descriptors, so Zoar and after, but I could also see a > case for having everything PCI-E/MSI capable being in the new > driver. > > Third, sort of a half-way approach, split up code but not the > driver, in other words offer different source files that can be > compiled into the driver, so you could have the one big jumbo > driver with all in there, or one that will only work with a subset > of adapters. This one would probably be the most work, because > its a new approach. > > Cheers, > > Jack > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://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 Oct 30 08:16:19 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F236F16A476; Tue, 30 Oct 2007 08:16:19 +0000 (UTC) (envelope-from wb@freebie.xs4all.nl) Received: from smtp-vbr11.xs4all.nl (smtp-vbr11.xs4all.nl [194.109.24.31]) by mx1.freebsd.org (Postfix) with ESMTP id 159AE13C4DA; Tue, 30 Oct 2007 08:16:16 +0000 (UTC) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (obsolete.xs4all.nl [82.95.250.254]) by smtp-vbr11.xs4all.nl (8.13.8/8.13.8) with ESMTP id l9U852wF088526; Tue, 30 Oct 2007 09:05:06 +0100 (CET) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.13.8/8.13.3) with ESMTP id l9U852RJ014244; Tue, 30 Oct 2007 09:05:02 +0100 (CET) (envelope-from wb@freebie.xs4all.nl) Received: (from wb@localhost) by freebie.xs4all.nl (8.13.8/8.13.6/Submit) id l9U851vb014243; Tue, 30 Oct 2007 09:05:02 +0100 (CET) (envelope-from wb) Date: Tue, 30 Oct 2007 09:05:01 +0100 From: Wilko Bulte To: Daniel Dias =?iso-8859-1?Q?Gon=E7alves?= Message-ID: <20071030080501.GA14223@freebie.xs4all.nl> References: <471FE33E.5050800@dgnetwork.com.br> <20071025033516.GC16092@cdnetworks.co.kr> <4726455B.6020405@dgnetwork.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4726455B.6020405@dgnetwork.com.br> User-Agent: Mutt/1.5.11 X-Virus-Scanned: by XS4ALL Virus Scanner Cc: pyunyh@gmail.com, freebsd-net@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Realtek Gigabit Network Card 0xd6088086 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 30 Oct 2007 08:16:20 -0000 Quoting Daniel Dias Gonalves, who wrote on Mon, Oct 29, 2007 at 06:40:59PM -0200 .. > Pyun YongHyeon escreveu: > >On Wed, Oct 24, 2007 at 10:28:46PM -0200, Daniel Dias Gon?alves wrote: > > > Hi, > > > > > > FreeBSD 6.2-STABLE can support this network card? > > > > > > none2@pci3:0:0: class=0x020000 card=0xd6088086 chip=0x816810ec > > rev=0x01 > hdr=0x00 > > > vendor = 'Realtek Semiconductor' > > > class = network > > > subclass = ethernet > > > > > > >If it's not detected by re(4) your NIC would be newer 8168 series. > >So try re(4) first and let me know the result.(I have a WIP version > >for newer 8168 family but need testers.) > > > > > Hi, > > I' m using kernel generic "SMP" > (root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP) and already is > enable "device re", but dont work. > What is WIP version ? Work In Progress. So Pyun is working on it right now. -- Wilko Bulte wilko@FreeBSD.org From owner-freebsd-net@FreeBSD.ORG Tue Oct 30 09:30:18 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EE2116A417; Tue, 30 Oct 2007 09:30:18 +0000 (UTC) (envelope-from djv@iki.fi) Received: from gw02.mail.saunalahti.fi (gw02.mail.saunalahti.fi [195.197.172.116]) by mx1.freebsd.org (Postfix) with ESMTP id CCD9013C4C8; Tue, 30 Oct 2007 09:30:17 +0000 (UTC) (envelope-from djv@iki.fi) Received: from [192.168.1.5] (a91-153-148-73.elisa-laajakaista.fi [91.153.148.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gw02.mail.saunalahti.fi (Postfix) with ESMTP id 4C3CD1394A2; Tue, 30 Oct 2007 11:13:00 +0200 (EET) Message-ID: <4726F59B.1080101@iki.fi> Date: Tue, 30 Oct 2007 11:12:59 +0200 From: Tuomo Latto User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <471FE33E.5050800@dgnetwork.com.br> <20071025033516.GC16092@cdnetworks.co.kr> <4726455B.6020405@dgnetwork.com.br> In-Reply-To: <4726455B.6020405@dgnetwork.com.br> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Cc: freebsd-net@freebsd.org Subject: Re: Realtek Gigabit Network Card 0xd6088086 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 30 Oct 2007 09:30:18 -0000 Daniel Dias Gonçalves wrote: > What is WIP version ? http://www.acronymfinder.com/af-query.asp?Acronym=WIP&Find=find&string=exact -- Tuomo ... Drawing on my fine command of language, I said nothing From owner-freebsd-net@FreeBSD.ORG Tue Oct 30 11:47:35 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90A4216A417; Tue, 30 Oct 2007 11:47:35 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from mrout2.yahoo.com (mrout2.yahoo.com [216.145.54.172]) by mx1.freebsd.org (Postfix) with ESMTP id 2B64E13C4BC; Tue, 30 Oct 2007 11:47:35 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from minion.local.neville-neil.com (proxy8.corp.yahoo.com [216.145.48.13]) by mrout2.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id l9UBapuP091549; Tue, 30 Oct 2007 04:36:52 -0700 (PDT) Date: Tue, 30 Oct 2007 20:36:51 +0900 Message-ID: From: gnn@freebsd.org To: "Jack Vogel" In-Reply-To: <2a41acea0710291045m6f1d2acw78c26a455ea3894d@mail.gmail.com> References: <2a41acea0710291045m6f1d2acw78c26a455ea3894d@mail.gmail.com> User-Agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/22.1 (i386-apple-darwin8.9.1) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: "freebsd-net@freebsd.org" , FreeBSD Current , FreeBSD Stable List Subject: Re: RFC: Evolution of the em driver X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 30 Oct 2007 11:47:35 -0000 At Mon, 29 Oct 2007 10:45:17 -0700, Jack Vogel wrote: > > I have an important decision to make and I thought rather than just make > it and spring it on you I'd present the issues and see what opinions were. > > Our newer hardware uses new features that, more and more, require > parallel code paths in the driver. For instance, the 82575 (Zoar) uses > what are called 'advanced descriptors', this means different TX path. > The 7.0 em driver has this support in it, it just uses a function pointer > to handle it. > > When I add in multiqueue/RSS support it will add even more code > that functions this way. > > What the Linux team did was to split the newer code into a standalone > driver, they call it 'igb'. I had originally resisted doing this, but with > the development I have been working on the past month I am starting > to wonder if it might not be best to follow them. > > I see 3 possibilities and I'd like feedback, which would you prefer if > you have a preference and why. > > First, keep the driver as is and just live with multiple code paths > and features, possibly #ifdef'ed as they appear. > > Second, split the driver as Linux has into em and igb. The added > question then is how to split it, Linux made the line the use of > advanced descriptors, so Zoar and after, but I could also see a > case for having everything PCI-E/MSI capable being in the new > driver. > > Third, sort of a half-way approach, split up code but not the > driver, in other words offer different source files that can be > compiled into the driver, so you could have the one big jumbo > driver with all in there, or one that will only work with a subset > of adapters. This one would probably be the most work, because > its a new approach. As you're the main maintainer it's your choice. Whatever is easiest for you and gives us the most readable code. Best, George From owner-freebsd-net@FreeBSD.ORG Tue Oct 30 15:40:03 2007 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA62816A46D for ; Tue, 30 Oct 2007 15:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A13B213C4C2 for ; Tue, 30 Oct 2007 15:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UFe3IJ088674 for ; Tue, 30 Oct 2007 15:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9UFe34M088673; Tue, 30 Oct 2007 15:40:03 GMT (envelope-from gnats) Date: Tue, 30 Oct 2007 15:40:03 GMT Message-Id: <200710301540.l9UFe34M088673@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Jacek Zapala Cc: Subject: Re: kern/117456: ipv6 neighbour discovery / bce multicast problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jacek Zapala List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 15:40:03 -0000 The following reply was made to PR kern/117456; it has been noted by GNATS. From: Jacek Zapala To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/117456: ipv6 neighbour discovery / bce multicast problem Date: Tue, 30 Oct 2007 16:32:38 +0100 OK, it looks like I have reinvented the wheel. Close the PR please. Revision 1.26: Sat Jan 20 17:05:12 2007 UTC (9 months, 1 week ago) by scottl Branches: MAIN Changes since revision 1.25: +4 -4 lines The multicast hash table has 8 slots in the BCE hardware, not 4 slots like the BGE hardware. Adapt the driver for this. Submitted by: Mike Karels MFC After: 3 days From owner-freebsd-net@FreeBSD.ORG Tue Oct 30 16:13:23 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18FFC16A417; Tue, 30 Oct 2007 16:13:23 +0000 (UTC) (envelope-from cristi@net.utcluj.ro) Received: from bavaria.utcluj.ro (unknown [IPv6:2001:b30:5000:2:20e:cff:fe4b:ca01]) by mx1.freebsd.org (Postfix) with ESMTP id 65FAA13C4A8; Tue, 30 Oct 2007 16:13:22 +0000 (UTC) (envelope-from cristi@net.utcluj.ro) Received: from localhost (localhost [127.0.0.1]) by bavaria.utcluj.ro (Postfix) with ESMTP id 4B4D750884; Tue, 30 Oct 2007 18:13:21 +0200 (EET) X-Virus-Scanned: by the daemon playing with your mail on local.mail.utcluj.ro Received: from bavaria.utcluj.ro ([127.0.0.1]) by localhost (bavaria.utcluj.ro [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bgsdvBI0Et8F; Tue, 30 Oct 2007 18:13:15 +0200 (EET) Received: from [172.27.2.200] (c7.campus.utcluj.ro [193.226.6.226]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by bavaria.utcluj.ro (Postfix) with ESMTP id 31F3D5083F; Tue, 30 Oct 2007 18:13:15 +0200 (EET) Message-ID: <4727581A.5040602@net.utcluj.ro> Date: Tue, 30 Oct 2007 18:13:14 +0200 From: Cristian KLEIN User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: =?UTF-8?B?RXJtYWwgTHXDp2k=?= References: <9a542da30710161409o4732a77bybdf4ba35d7491bb@mail.gmail.com> <200710171043.08126.max@love2party.net> <9a542da30710211232v4d3c930fg8ea778a12f3f16cb@mail.gmail.com> <9a542da30710280617t11e668e2o4d122998192f71c@mail.gmail.com> <20071028095802.A61999@xorpc.icir.org> <9a542da30710281013q642b5aa8k33c7836ee064242e@mail.gmail.com> <9a542da30710281311n7f8a6f29me02da90941d96ae5@mail.gmail.com> In-Reply-To: <9a542da30710281311n7f8a6f29me02da90941d96ae5@mail.gmail.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: freebsd-net@freebsd.org, freebsd-pf@freebsd.org Subject: Re: Fwd: [PATCH] PF+dummynet X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 30 Oct 2007 16:13:23 -0000 Ermal Luçi wrote: > Ok thanks to remko@ for hosting it! > > You can find it here: > http://people.freebsd.org/~remko/patches/dummynet_pf.tar.gz > > Please test and give feedback. I am really interested in your patch and hope that I will soon have time to test it. Meanwhile, I would like to ask you how dummynet interacts with the pf keep state function. Ideally, one should be able to send uplink / downlink traffic to different pipes. For example, dnpipe 10 config bw 4Mbit mask src-ip 0x000000ff queue 10 dnpipe 11 config bw 4Mbit mask dst-ip 0x000000ff queue 10 pass in from $if_int proto tcp from any to any port 80 keep state dnpipe (up 10, down 11) should limit HTTP traffic for each host, to 4Mbps. Could you please tell me how this works? > >>> It gives full dummynet support in pf.conf syntax and removes dummynet >>> depndency to ipfw. >>> >>> You can configure a pipe/queue using the same ipfw syntax the only >>> difference is that i call those 'dnpipe'/'dnqueue' respectivley. >>> GRED/RED isn't currently finished but that is a pfctl addition so not >>> difficult. >>> >>> For dummynet i preserve ipfw style statistics so tools of ipfw can be >>> used here to. >>> >>> Since this is PF i preserved ALTQ priotitizing of ACK, meaning on ALTQ you do >>> pass in quick proto tcp from any to any flags S/SA queue(pri, que) >>> >>> You can do the same with dummynet queues only, since for pipes it >>> doesn't make much sense since they simulate a link. So yuo can do >>> >>> dnpipe 10 bandwidth 100Kbit >>> dnqueue 10 dnpipe 10 queue 100 >>> dnqueue 20 dnpipe 10 queue 20 >>> >>> pass in quick proto tcp from any to any flags S/SA dnqueue(10, 20) >>> >>> >>> Please test and give feedback. >>> _______________________________________________ >>> freebsd-net@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-net >>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> http://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 Oct 30 17:01:52 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0019C16A4A1 for ; Tue, 30 Oct 2007 17:01:51 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.freebsd.org (Postfix) with ESMTP id B567513C4C3 for ; Tue, 30 Oct 2007 17:01:49 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so1578352nfb for ; Tue, 30 Oct 2007 10:01:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=kPLGWcai8aRj5WZyjPn6cbPO1RmTlthZ2RkAnual+aE=; b=fG7G2LIh4tnEtoRArCGHm5OmLtuVa2t7Th3Jm8aOjDOODpOySi0QmsBv4BS6R41f4d2mLeP+6TRd+wg6T+67pDswXp1RhW/LRJ+WuLm0MINKZkMtZJ8kqVx2H09THM2zbH7ohyM+Kmor+0d/2rEysnLN9fGnx65GyuD07tEZM+Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dyp3I86mw8EaBts1Gph9EUO/eMWUZbNlIrMBfcPuuNMGi/nU/GZ3EfAnwriOucCUfDt7wdTXjCD29qgczzeclYNxPpDnSGpNT9H5/nhzzyTX2g9R8lbwkVCFZI9CYI4gVjqtm06E6M/51f8vkzArmR/avMeAAlt5mVVE3D8WEYg= Received: by 10.86.90.2 with SMTP id n2mr5818352fgb.1193763708179; Tue, 30 Oct 2007 10:01:48 -0700 (PDT) Received: by 10.86.100.19 with HTTP; Tue, 30 Oct 2007 10:01:48 -0700 (PDT) Message-ID: <2a41acea0710301001k60442b26uae186209ac484780@mail.gmail.com> Date: Tue, 30 Oct 2007 10:01:48 -0700 From: "Jack Vogel" To: "gnn@freebsd.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2a41acea0710291045m6f1d2acw78c26a455ea3894d@mail.gmail.com> Cc: "freebsd-net@freebsd.org" , FreeBSD Current , FreeBSD Stable List Subject: Re: RFC: Evolution of the em driver X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 30 Oct 2007 17:01:52 -0000 On 10/30/07, gnn@freebsd.org wrote: > At Mon, 29 Oct 2007 10:45:17 -0700, > Jack Vogel wrote: > > > > I have an important decision to make and I thought rather than just make > > it and spring it on you I'd present the issues and see what opinions were. > > > > Our newer hardware uses new features that, more and more, require > > parallel code paths in the driver. For instance, the 82575 (Zoar) uses > > what are called 'advanced descriptors', this means different TX path. > > The 7.0 em driver has this support in it, it just uses a function pointer > > to handle it. > > > > When I add in multiqueue/RSS support it will add even more code > > that functions this way. > > > > What the Linux team did was to split the newer code into a standalone > > driver, they call it 'igb'. I had originally resisted doing this, but with > > the development I have been working on the past month I am starting > > to wonder if it might not be best to follow them. > > > > I see 3 possibilities and I'd like feedback, which would you prefer if > > you have a preference and why. > > > > First, keep the driver as is and just live with multiple code paths > > and features, possibly #ifdef'ed as they appear. > > > > Second, split the driver as Linux has into em and igb. The added > > question then is how to split it, Linux made the line the use of > > advanced descriptors, so Zoar and after, but I could also see a > > case for having everything PCI-E/MSI capable being in the new > > driver. > > > > Third, sort of a half-way approach, split up code but not the > > driver, in other words offer different source files that can be > > compiled into the driver, so you could have the one big jumbo > > driver with all in there, or one that will only work with a subset > > of adapters. This one would probably be the most work, because > > its a new approach. > > As you're the main maintainer it's your choice. Whatever is easiest > for you and gives us the most readable code. Thanks, I know its my choice, I was just looking for opinions about the options I had to chose from :) I think I've had enough feedback to decide, I think the seperate driver is the direction. I need to give some thought to where to make the split. Thanks for everyone's feedback. Jack From owner-freebsd-net@FreeBSD.ORG Tue Oct 30 17:16:26 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E83916A419 for ; Tue, 30 Oct 2007 17:16:26 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id 7336113C4AA for ; Tue, 30 Oct 2007 17:16:25 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so1582432nfb for ; Tue, 30 Oct 2007 10:16:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=W/l8AY7sBnxRg4v4pQSAq/1sQV1ax1M6TDAjozWQn40=; b=lOBwR9qRn41K5Vq4A8AWEuxSGammwF4mPmw7EadXK67CobAbMPmBeJ3k2UmLJPg4GAET+CH5Nd1rpS/nCHTtGl2XENwfGJ1CZSM89sLS7rIbbbvgfI7geEN4IlsT+IXtyHegEx7S3cIuyZd6L7kHlMw52mh+UQ/yyx3UzY7mFzg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=BOvkt1UhaTB/oEq60k+h9+A9VY67bWM84fTTxt3nxvDjnHMD8kjNeFrOA94JHECt+RgJwha2lnmNtXEgBWTwJZJQsOA3ExjZ3vJT0KKhjN2z3IOhfgkqNS3IfirX8IVDEkUFXqt//p0Sy+TBQKIdxygf2AGqlmLpcd9ICz+czRc= Received: by 10.86.71.1 with SMTP id t1mr5826381fga.1193764582321; Tue, 30 Oct 2007 10:16:22 -0700 (PDT) Received: by 10.86.100.19 with HTTP; Tue, 30 Oct 2007 10:16:22 -0700 (PDT) Message-ID: <2a41acea0710301016u4a0008dfjc83170257337863c@mail.gmail.com> Date: Tue, 30 Oct 2007 10:16:22 -0700 From: "Jack Vogel" To: "freebsd-net@freebsd.org" , "FreeBSD Stable List" , "FreeBSD Current" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: em watchdog problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 30 Oct 2007 17:16:26 -0000 This morning I had an idea about what the source of the watchdog problem is. Also, we have repro'd at least one type of watchdog inhouse. One question, is this problem only happening for those running STABLE with the 6.6.6 merged driver? We found the problem does not seem to happen on 7.0. Right now my suspicion is that the FAST irq handling is again causing a problem. I am experimenting with variations to the code today to be sure whats going on, and hopefully fixing it. Cheers, Jack From owner-freebsd-net@FreeBSD.ORG Tue Oct 30 20:17:47 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32A3C16A468 for ; Tue, 30 Oct 2007 20:17:47 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.freebsd.org (Postfix) with ESMTP id AD87D13C4B3 for ; Tue, 30 Oct 2007 20:17:46 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so1630593nfb for ; Tue, 30 Oct 2007 13:17:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=0q+ugTZm5s+ooKrbwXMjT5ZsB+aHPuBGnuFLkWi0hsA=; b=UNkkN2UKhvCOjbjgdaTzq4M0+1SUCQYtaCP4ptIcTN8oX1t7UfKHe8QPhRxFIm64CLRr0k6P0jGF7xfpIQIuc0naSnF9ee4cpk1ouIIVjzZJOjGz5TOs/2oaxoJvdkQUQwHveubW6EVQnrEqr4UvsSbF3Jn9BVC80tph2bU+feI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Icgn+orHegYXIf0C0MBaWkBPtvBl/UbvzVDqaKe0U7oEXkhEdWf75pYKVBNqsb6jk5Fzssks6HSh3t39CzHZ+oTuFF0GHOr4yAnA7f0tX/Ontcw9I+6zz5fhXzsro2LzI8ePEmU581hnZ2aSxqgeDDD4bvl8CC7sDeb83vw6SVc= Received: by 10.86.98.18 with SMTP id v18mr5984217fgb.1193775465074; Tue, 30 Oct 2007 13:17:45 -0700 (PDT) Received: by 10.86.100.19 with HTTP; Tue, 30 Oct 2007 13:17:44 -0700 (PDT) Message-ID: <2a41acea0710301317w8e820f2pdbd7f3ca1e1f6a30@mail.gmail.com> Date: Tue, 30 Oct 2007 13:17:44 -0700 From: "Jack Vogel" To: "FreeBSD Stable List" , "freebsd-net@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: em watchdogs - OS involvement X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 30 Oct 2007 20:17:47 -0000 Things just keep getting stranger... its no wonder I didn't see this... I had been trying to repro the watchdog on a machine in my cube at work without success, but in the test Lab they were successful. I scratched my head for a while wondering why... But then I realized I had the Sept snapshot in my cube, reinstalled it to the Oct snapshot and now it watchdogs like a champ too..... Another bit of data, if I define DEVICE_POLLING on the Oct. snap it also will work. SOOOOO, what changes were made to interrupts between Sept and October, something I need to do perhaps that wasnt done?? Any ideas?? Jack From owner-freebsd-net@FreeBSD.ORG Tue Oct 30 20:34:52 2007 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85AA516A419; Tue, 30 Oct 2007 20:34:52 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from postfix1-g20.free.fr (postfix1-g20.free.fr [212.27.60.42]) by mx1.freebsd.org (Postfix) with ESMTP id 7171913C4AA; Tue, 30 Oct 2007 20:34:50 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by postfix1-g20.free.fr (Postfix) with ESMTP id 287071D16F2A; Tue, 30 Oct 2007 21:04:56 +0100 (CET) Received: from smtp5-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp5-g19.free.fr (Postfix) with ESMTP id 72B5A3F61C1; Tue, 30 Oct 2007 21:04:54 +0100 (CET) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp5-g19.free.fr (Postfix) with ESMTP id C3C243F61CD; Tue, 30 Oct 2007 21:04:53 +0100 (CET) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id 190B59B497; Tue, 30 Oct 2007 20:04:11 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id 05ABA405B; Tue, 30 Oct 2007 21:04:11 +0100 (CET) Date: Tue, 30 Oct 2007 21:04:11 +0100 From: Jeremie Le Hen To: "Bruce M. Simpson" Message-ID: <20071030200410.GJ78526@obiwan.tataz.chchile.org> References: <20070909201837.GA18107@inf.ethz.ch> <20071026154057.GG1049@styx.ethz.ch> <4722AEB3.1010208@FreeBSD.org> <20071029150424.GA68594@lor.one-eyed-alien.net> <4726395B.8080905@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4726395B.8080905@FreeBSD.org> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-net@FreeBSD.org, Brooks Davis , Matus Harvan , Max Laier Subject: Re: UDP catchall X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 30 Oct 2007 20:34:52 -0000 On Mon, Oct 29, 2007 at 07:49:47PM +0000, Bruce M. Simpson wrote: > Brooks Davis wrote: > > While I think this idea has some merit, I think we specifically want > > the current wildcard ability to allow for a system that requires > > minimal configuration. The problem with a range is that it doesn't > > allow disjoint sets and it requires that if you really do want all the > > ports you need to produce a list of currently allocated ports to avoid > > allocating. A more (over)engineered solution holds some attraction, but > > I'm not yet convinced the fact that it could exist precludes the current > > implementation. > > Actually I concur with you on this point, based solely on the disjoint sets > point. > > Another vector of attack would be to put the relay functionality into PF, > which can do the packet matching. However this of course suffers from the > problem that if you just want a plain old UDP socket for mtund, you won't > get that unless you go to the inpcb layer anyway. > > But who says mtund needs to use sockets for its traffic relay? There is > definite appeal in *not* doing it in the socket layer at all -- an > adaptation of pf's log socket may suffice... I can think of a possible implementation of mtund(8) without kernel patching. The next pf(4) import from OpenBSD will likely allow to log to some particular pflog(4) interface (instead of the default pflog0). It will then be possible to create a couple of rules matching one or more ranges of ports and logging to, say, pflog1. Reading on the latter, mtund(8) will immediately open a socket bound to the corresponding port. This is a kind of port knocking. Thanks to TCP retransmission algorithm or mtunc(1)'s cleverness in case of UDP socket, the second packet should hit mtund(8). One downside is that it requires a bunch of configuration in pf.conf(5), so it may not be as straightforward to set up as one may have expected. I don't know TCP internals, it may affect TCP slow start or have some other minor drawbacks. But hey, we're talking about bypassing firewall :-)... My 2 cents. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > From owner-freebsd-net@FreeBSD.ORG Tue Oct 30 23:18:54 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BDE516A41B for ; Tue, 30 Oct 2007 23:18:54 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail16.syd.optusnet.com.au (mail16.syd.optusnet.com.au [211.29.132.197]) by mx1.freebsd.org (Postfix) with ESMTP id 1D37013C494 for ; Tue, 30 Oct 2007 23:18:53 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mail16.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l9UNIerF029070 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 31 Oct 2007 10:18:41 +1100 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.1/8.14.1) with ESMTP id l9UNIesp038919 for ; Wed, 31 Oct 2007 10:18:40 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.1/8.14.1/Submit) id l9UNIebq038918 for freebsd-net@freebsd.org; Wed, 31 Oct 2007 10:18:40 +1100 (EST) (envelope-from peter) Date: Wed, 31 Oct 2007 10:18:40 +1100 From: Peter Jeremy To: freebsd-net@freebsd.org Message-ID: <20071030231839.GA38895@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.16 (2007-06-09) Subject: In Memoriam: Jun-ichiro Hagino X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 30 Oct 2007 23:18:54 -0000 --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable A recent posting in BUGTRAQ[1] has announced that Itojun has passed away. Itojun was a past FreeBSD committer and very active in KAME and the IPv6 world. No details of his passing were in the BUGTRAQ posting but some information in Japanese is available at http://www.hoge.org/~koyama/itojun.txt [1] http://www.securityfocus.com/archive/1/483015/30/0/threaded --=20 Peter --6c2NcOVqGQ03X4Wi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHJ7vP/opHv/APuIcRAta/AJsF/EvGq+IBnLovDakJKTjLXD9wjwCgjtij VuCLqsQ2+3Xox5oBlCYwdnU= =BUwf -----END PGP SIGNATURE----- --6c2NcOVqGQ03X4Wi-- From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 00:47:21 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60DBA16A417; Wed, 31 Oct 2007 00:47:21 +0000 (UTC) (envelope-from matus.harvan@inf.ethz.ch) Received: from XSMTP0.ethz.ch (xsmtp0.ethz.ch [82.130.70.14]) by mx1.freebsd.org (Postfix) with ESMTP id E2F8513C48D; Wed, 31 Oct 2007 00:47:20 +0000 (UTC) (envelope-from matus.harvan@inf.ethz.ch) Received: from xfe0.d.ethz.ch ([82.130.124.40]) by XSMTP0.ethz.ch with Microsoft SMTPSVC(6.0.3790.3959); Wed, 31 Oct 2007 01:47:10 +0100 Received: from styx.inf.ethz.ch ([77.56.100.193]) by xfe0.d.ethz.ch over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Wed, 31 Oct 2007 01:47:10 +0100 Received: by styx.inf.ethz.ch (Postfix, from userid 1001) id F116849AC8F; Wed, 31 Oct 2007 01:47:09 +0100 (CET) Date: Wed, 31 Oct 2007 01:47:09 +0100 From: Matus Harvan To: "Bruce M. Simpson" Message-ID: <20071031004709.GB2564@styx.ethz.ch> References: <20070909201152.GA18039@inf.ethz.ch> <20071026153128.GF1049@styx.ethz.ch> <4722A8DD.6060601@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tjCHc7DPkfUGtrlw" Content-Disposition: inline In-Reply-To: <4722A8DD.6060601@FreeBSD.org> User-Agent: Mutt/1.5.16 (2007-06-09) X-OriginalArrivalTime: 31 Oct 2007 00:47:10.0760 (UTC) FILETIME=[921DF280:01C81B57] Cc: freebsd-net@freebsd.org, Brooks Davis , Max Laier Subject: Re: icmp echo_user X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2007 00:47:21 -0000 --tjCHc7DPkfUGtrlw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 27, 2007 at 03:56:29AM +0100, Bruce M. Simpson wrote: > Matus Harvan wrote: >> Hi, >>=20 >> I was wondering if I could get some feedback about the patch and >> whether others think it could be committed. >> =20 >=20 > Thanks for your hard work on mtund. I'm not keen on this patch going int= o=20 > a mainline kernel, though. In any case your feedback is appreciated. > It stomps on bandwidth limitation if that's in effect -- which is a=20 > possible DoS vector -- and also stops updating icmp protocol counters. I am not sure bandwidth limitation should be enforced for receiving an icmp echo. ip_icmp.c:471 if (badport_bandlim(BANDLIM_ICMP_ECHO) < 0) goto freeit; was meant to limit sending out echo replies or for limiting the receiving of echo requests? > I believe we should track echo requests in netstat -p regardless of wheth= er=20 > the kernel calls icmp_reflect() or not, as it can readily be inferred if = a)=20 > your diversion to SOCK_RAW is in effect or b) the kernel processed the ec= ho=20 > request. I do not have a strong opinion about updating the counters so I updating them is fine. You mean only icmpstat.icps_bmcastecho? Or is there another counter getting updated somewhere else? > I also believe that a user who installs and configures the tunneling daem= on=20 > is in a position to know that the ICMP thresholds need to be changed. >=20 > Assuming the tunneling daemon doesn't process echoes unrelated to its=20 > tunneling (I haven't read the code), then the fact that rip_input() may= =20 > exhaust its socket input buffer will provide a basic form of hysteresis,= =20 > however I would suggest that if you intend to deploy this on the open=20 > Internet that the daemon either a) provides its own hysteresis too, b)=20 > tunes itself around the bandwidth limit in effect or c) tunes the bandwid= th=20 > limit itself. Currently mtund tries to process anything it receives on its socket. The first byte of the received payload is used to determine the type of the traffic, so some random garbage would be discarded while other random garbage would be interpreted as a tunneled packet and passed into the tun interface. Later on it would probably fail a (higher laer protocol) checksum. The daemon tries to process as much traffic as it can. To me the bandwidth limit did not seem very useful in the mtund case. If there is "legitimate" (tunneled) traffic via ICMP then I don't think it makes sense to enforce a limit on it. In general my feeling was that the amount of data or rate of packets received on a raw socket should not be bandwidth limited. Is there a bandwidth limit on receiving for example (legitimate) UDP or TCP traffic? > A better approach would be to conditionalise the 'goto raw' next to the= =20 > 'goto reflect'. So what you're suggesting is the following, right? case ICMP_ECHO: if (!icmpbmcastecho && (m->m_flags & (M_MCAST | M_BCAST)) !=3D 0) { icmpstat.icps_bmcastecho++; break; } icp->icmp_type =3D ICMP_ECHOREPLY; if (badport_bandlim(BANDLIM_ICMP_ECHO) < 0) goto freeit; else { if (icmpechouser) goto raw; else goto reflect; } In case icmpechouser is enabled * should the packet be dropped if it was multicast/broadcast and icmpbcastecho is disabled? I guess yes. * should the packet be subject to bandwidth limitations from badport_bandlim(BANDLIM_ICMP_ECHO)? IMHO not as it is passed to a raw socket rather than the kernel producing an icmp echo reply in response. Matus --tjCHc7DPkfUGtrlw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHJ9CN43LQWDWf0QIRAo89AJ9l7gGuWFF1BqLQiiqj/bzGmsfMQACfapSB 7IT+OeSKxBwD06CZ6hGF6HA= =v33l -----END PGP SIGNATURE----- --tjCHc7DPkfUGtrlw-- From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 01:10:41 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A25716A46B; Wed, 31 Oct 2007 01:10:41 +0000 (UTC) (envelope-from matus.harvan@inf.ethz.ch) Received: from XSMTP0.ethz.ch (xsmtp0.ethz.ch [82.130.70.14]) by mx1.freebsd.org (Postfix) with ESMTP id E01BE13C48D; Wed, 31 Oct 2007 01:10:40 +0000 (UTC) (envelope-from matus.harvan@inf.ethz.ch) Received: from xfe0.d.ethz.ch ([82.130.124.40]) by XSMTP0.ethz.ch with Microsoft SMTPSVC(6.0.3790.3959); Wed, 31 Oct 2007 01:53:06 +0100 Received: from styx.inf.ethz.ch ([77.56.100.193]) by xfe0.d.ethz.ch over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Wed, 31 Oct 2007 01:53:06 +0100 Received: by styx.inf.ethz.ch (Postfix, from userid 1001) id 934E049AC8F; Wed, 31 Oct 2007 01:53:06 +0100 (CET) Date: Wed, 31 Oct 2007 01:53:06 +0100 From: Matus Harvan To: "Bruce M. Simpson" Message-ID: <20071031005306.GC2564@styx.ethz.ch> References: <20070909204148.GB18107@inf.ethz.ch> <20071026155206.GH1049@styx.ethz.ch> <4722B6A3.6030606@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lCAWRPmW1mITcIfM" Content-Disposition: inline In-Reply-To: <4722B6A3.6030606@FreeBSD.org> User-Agent: Mutt/1.5.16 (2007-06-09) X-OriginalArrivalTime: 31 Oct 2007 00:53:06.0979 (UTC) FILETIME=[6670A730:01C81B58] Cc: freebsd-net@freebsd.org, Brooks Davis , Max Laier Subject: Re: TCP listenall X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2007 01:10:41 -0000 --lCAWRPmW1mITcIfM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 27, 2007 at 04:55:15AM +0100, Bruce M. Simpson wrote: > listenallr is static and is going to get trashed by concurrent threads,= =20 > unless there is a serialization with a lock, which I don't see. I have used sys/netinet/ip_icmp.c:badport_bandlim() for inspiration. There it did not seem to be protected by any locks either. Would this be a bug in the ICMP code as well? Matus --lCAWRPmW1mITcIfM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHJ9Hy43LQWDWf0QIRAt5XAJ49l0PEBVBEEFjjuHKHxfv1PlFM9QCcDSvi WGP36DZeEVTunRoXzf9nG/I= =rl3D -----END PGP SIGNATURE----- --lCAWRPmW1mITcIfM-- From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 01:15:27 2007 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4E5A16A41A; Wed, 31 Oct 2007 01:15:27 +0000 (UTC) (envelope-from matus.harvan@inf.ethz.ch) Received: from xsmtp1.ethz.ch (xsmtp1.ethz.ch [82.130.70.13]) by mx1.freebsd.org (Postfix) with ESMTP id EFCDE13C447; Wed, 31 Oct 2007 01:15:26 +0000 (UTC) (envelope-from matus.harvan@inf.ethz.ch) Received: from xfe0.d.ethz.ch ([82.130.124.40]) by xsmtp1.ethz.ch with Microsoft SMTPSVC(6.0.3790.3959); Wed, 31 Oct 2007 02:15:17 +0100 Received: from styx.inf.ethz.ch ([77.56.100.193]) by xfe0.d.ethz.ch over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Wed, 31 Oct 2007 02:15:16 +0100 Received: by styx.inf.ethz.ch (Postfix, from userid 1001) id 52BA549AC8F; Wed, 31 Oct 2007 02:15:16 +0100 (CET) Date: Wed, 31 Oct 2007 02:15:16 +0100 From: Matus Harvan To: "Bruce M. Simpson" Message-ID: <20071031011516.GF2564@styx.ethz.ch> References: <20070909201837.GA18107@inf.ethz.ch> <20071026154057.GG1049@styx.ethz.ch> <4722AEB3.1010208@FreeBSD.org> <20071029150424.GA68594@lor.one-eyed-alien.net> <4726395B.8080905@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3oCie2+XPXTnK5a5" Content-Disposition: inline In-Reply-To: <4726395B.8080905@FreeBSD.org> User-Agent: Mutt/1.5.16 (2007-06-09) X-OriginalArrivalTime: 31 Oct 2007 01:15:16.0666 (UTC) FILETIME=[7EFEC9A0:01C81B5B] Cc: freebsd-net@FreeBSD.org, Brooks Davis , Max Laier Subject: Re: UDP catchall X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2007 01:15:27 -0000 --3oCie2+XPXTnK5a5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 29, 2007 at 07:49:47PM +0000, Bruce M. Simpson wrote: > Brooks Davis wrote: >> While I think this idea has some merit, I think we specifically want >> the current wildcard ability to allow for a system that requires >> minimal configuration. The problem with a range is that it doesn't >> allow disjoint sets and it requires that if you really do want all the >> ports you need to produce a list of currently allocated ports to avoid >> allocating. A more (over)engineered solution holds some attraction, but >> I'm not yet convinced the fact that it could exist precludes the current >> implementation. >=20 > Actually I concur with you on this point, based solely on the disjoint se= ts=20 > point. >=20 > Another vector of attack would be to put the relay functionality into PF,= =20 > which can do the packet matching. However this of course suffers from the= =20 > problem that if you just want a plain old UDP socket for mtund, you won't= =20 > get that unless you go to the inpcb layer anyway. >=20 > But who says mtund needs to use sockets for its traffic relay? There is= =20 > definite appeal in *not* doing it in the socket layer at all -- an=20 > adaptation of pf's log socket may suffice... My initial understanding of a raw IP socket was that I could simply receive any packet for a particular protocol. This almost works for ICMP, but TCP and UDP don't seem to be supported. Hence, I have perceived the patch also as a natural extension of the idea of a raw IP socket for the UDP protocol. Matus --3oCie2+XPXTnK5a5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD4DBQFHJ9ck43LQWDWf0QIRAvptAJ9rLq7tPJ+RKJlcLjKpOWD4RPLpXwCVFVPV aqlhRAG81I0/ki1pTVf9wg== =ZlLv -----END PGP SIGNATURE----- --3oCie2+XPXTnK5a5-- From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 01:21:19 2007 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCA5316A421; Wed, 31 Oct 2007 01:21:19 +0000 (UTC) (envelope-from matus.harvan@inf.ethz.ch) Received: from xsmtp1.ethz.ch (xsmtp1.ethz.ch [82.130.70.13]) by mx1.freebsd.org (Postfix) with ESMTP id 46D8F13C481; Wed, 31 Oct 2007 01:21:19 +0000 (UTC) (envelope-from matus.harvan@inf.ethz.ch) Received: from xfe0.d.ethz.ch ([82.130.124.40]) by xsmtp1.ethz.ch with Microsoft SMTPSVC(6.0.3790.3959); Wed, 31 Oct 2007 02:21:04 +0100 Received: from styx.inf.ethz.ch ([77.56.100.193]) by xfe0.d.ethz.ch over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Wed, 31 Oct 2007 02:21:04 +0100 Received: by styx.inf.ethz.ch (Postfix, from userid 1001) id 36FB349AC8F; Wed, 31 Oct 2007 02:21:04 +0100 (CET) Date: Wed, 31 Oct 2007 02:21:04 +0100 From: Matus Harvan To: Jeremie Le Hen Message-ID: <20071031012104.GG2564@styx.ethz.ch> References: <20070909201837.GA18107@inf.ethz.ch> <20071026154057.GG1049@styx.ethz.ch> <4722AEB3.1010208@FreeBSD.org> <20071029150424.GA68594@lor.one-eyed-alien.net> <4726395B.8080905@FreeBSD.org> <20071030200410.GJ78526@obiwan.tataz.chchile.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3xoW37o/FfUZJwQG" Content-Disposition: inline In-Reply-To: <20071030200410.GJ78526@obiwan.tataz.chchile.org> User-Agent: Mutt/1.5.16 (2007-06-09) X-OriginalArrivalTime: 31 Oct 2007 01:21:04.0526 (UTC) FILETIME=[4E5602E0:01C81B5C] Cc: freebsd-net@FreeBSD.org, Brooks Davis , "Bruce M. Simpson" , Max Laier Subject: Re: UDP catchall X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2007 01:21:19 -0000 --3xoW37o/FfUZJwQG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 30, 2007 at 09:04:11PM +0100, Jeremie Le Hen wrote: > I can think of a possible implementation of mtund(8) without kernel > patching. The next pf(4) import from OpenBSD will likely allow to log > to some particular pflog(4) interface (instead of the default pflog0). >=20 > It will then be possible to create a couple of rules matching one or > more ranges of ports and logging to, say, pflog1. Reading on the > latter, mtund(8) will immediately open a socket bound to the > corresponding port. This is a kind of port knocking. Thanks to TCP > retransmission algorithm or mtunc(1)'s cleverness in case of UDP socket, > the second packet should hit mtund(8). >=20 > One downside is that it requires a bunch of configuration in pf.conf(5), > so it may not be as straightforward to set up as one may have expected. >=20 > I don't know TCP internals, it may affect TCP slow start or have some > other minor drawbacks. But hey, we're talking about bypassing firewall > :-)... If an RST packet is generated in response to the first TCP SYN packet, then the firewall, which we're trying to pass, might decide that the port in question is closed and delete/modify the state for the TCP connection. If the RST packet hits the sender of the SYN packet then there might be no retransmission as the sender would think the TCP port is closed. Matus --3xoW37o/FfUZJwQG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHJ9iA43LQWDWf0QIRAgJhAKCa4+PVcSHApX+vQN5Re3i4kxXPUACeJzRh CVWv7D531RdVJMJXECCh+0A= =/0Kw -----END PGP SIGNATURE----- --3xoW37o/FfUZJwQG-- From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 01:34:44 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFC4816A41B; Wed, 31 Oct 2007 01:34:44 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 8D76F13C4BD; Wed, 31 Oct 2007 01:34:44 +0000 (UTC) (envelope-from sam@errno.com) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id l9V0vDct026206 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 30 Oct 2007 17:57:13 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <4727D2E9.7060904@errno.com> Date: Tue, 30 Oct 2007 17:57:13 -0700 From: Sam Leffler User-Agent: Thunderbird 2.0.0.6 (X11/20070814) MIME-Version: 1.0 To: Jack Vogel References: <2a41acea0710301016u4a0008dfjc83170257337863c@mail.gmail.com> In-Reply-To: <2a41acea0710301016u4a0008dfjc83170257337863c@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-dcc-servers-Metrics: om; whitelist Cc: "freebsd-net@freebsd.org" , FreeBSD Current , FreeBSD Stable List Subject: Re: em watchdog problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2007 01:34:44 -0000 Jack Vogel wrote: > This morning I had an idea about what the source of the watchdog > problem is. Also, we have repro'd at least one type of watchdog > inhouse. > > One question, is this problem only happening for those running > STABLE with the 6.6.6 merged driver? > > We found the problem does not seem to happen on 7.0. > > Right now my suspicion is that the FAST irq handling is > again causing a problem. I am experimenting with variations > to the code today to be sure whats going on, and hopefully > fixing it. > I see it on HEAD and releng7. Sam From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 04:05:01 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 554AD16A4A9; Wed, 31 Oct 2007 04:05:01 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id C6AAB13C480; Wed, 31 Oct 2007 04:05:00 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id l9V36xMc099392; Tue, 30 Oct 2007 21:07:00 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4727F13F.1030607@samsco.org> Date: Tue, 30 Oct 2007 21:06:39 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4 MIME-Version: 1.0 To: Jack Vogel References: <2a41acea0710291045m6f1d2acw78c26a455ea3894d@mail.gmail.com> <2a41acea0710301001k60442b26uae186209ac484780@mail.gmail.com> In-Reply-To: <2a41acea0710301001k60442b26uae186209ac484780@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (pooker.samsco.org [168.103.85.57]); Tue, 30 Oct 2007 21:07:00 -0600 (MDT) X-Spam-Status: No, score=-1.4 required=5.5 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: "gnn@freebsd.org" , FreeBSD Current , FreeBSD Stable List , "freebsd-net@freebsd.org" Subject: Re: RFC: Evolution of the em driver X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2007 04:05:01 -0000 Jack Vogel wrote: > On 10/30/07, gnn@freebsd.org wrote: >> At Mon, 29 Oct 2007 10:45:17 -0700, >> Jack Vogel wrote: >>> I have an important decision to make and I thought rather than just make >>> it and spring it on you I'd present the issues and see what opinions were. >>> >>> Our newer hardware uses new features that, more and more, require >>> parallel code paths in the driver. For instance, the 82575 (Zoar) uses >>> what are called 'advanced descriptors', this means different TX path. >>> The 7.0 em driver has this support in it, it just uses a function pointer >>> to handle it. >>> >>> When I add in multiqueue/RSS support it will add even more code >>> that functions this way. >>> >>> What the Linux team did was to split the newer code into a standalone >>> driver, they call it 'igb'. I had originally resisted doing this, but with >>> the development I have been working on the past month I am starting >>> to wonder if it might not be best to follow them. >>> >>> I see 3 possibilities and I'd like feedback, which would you prefer if >>> you have a preference and why. >>> >>> First, keep the driver as is and just live with multiple code paths >>> and features, possibly #ifdef'ed as they appear. >>> >>> Second, split the driver as Linux has into em and igb. The added >>> question then is how to split it, Linux made the line the use of >>> advanced descriptors, so Zoar and after, but I could also see a >>> case for having everything PCI-E/MSI capable being in the new >>> driver. >>> >>> Third, sort of a half-way approach, split up code but not the >>> driver, in other words offer different source files that can be >>> compiled into the driver, so you could have the one big jumbo >>> driver with all in there, or one that will only work with a subset >>> of adapters. This one would probably be the most work, because >>> its a new approach. >> As you're the main maintainer it's your choice. Whatever is easiest >> for you and gives us the most readable code. > > Thanks, I know its my choice, I was just looking for opinions about > the options I had to chose from :) > > I think I've had enough feedback to decide, I think the seperate > driver is the direction. I need to give some thought to where to > make the split. > > Thanks for everyone's feedback. > > Jack There are too many examples to name in every OS of drivers that have tried in vain to support diverging hardware evolutionary paths. if_dc and if_bge are great (or horrible, depending on your perspective) examples of this in FreeBSD. My vote is to nip the madness in the bud on if_em and have two (or more drivers) that support their hardware families well instead of one driver that supports multiple families marginally. Scott From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 07:17:48 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 426AD16A479; Wed, 31 Oct 2007 07:17:48 +0000 (UTC) (envelope-from goran.lowkrantz@ismobile.com) Received: from mail.ismobile.com (mail.ismobile.com [62.119.44.68]) by mx1.freebsd.org (Postfix) with ESMTP id E5BC613C4B6; Wed, 31 Oct 2007 07:17:47 +0000 (UTC) (envelope-from goran.lowkrantz@ismobile.com) Received: from mail.ismobile.com (localhost [127.0.0.1]) by mail.ismobile.com (Postfix) with ESMTP id 7404B33C02; Wed, 31 Oct 2007 07:57:56 +0100 (CET) DKIM-Signature: v=0.5; a=rsa-sha1; c=relaxed; d=ismobile.com; h=received:date:from:to:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding:content-disposition; q=dns/txt; s=selector1; bh=WvsAbmucusxo/kViVXQ9pLjzCBE=; b=DCSyGgKZBKW9hEpgzw/n0+fDkbSkIYalq7x3LH2zt+3rGcX2v24GAYHGS2iusxOgakNe+Sx7/SprIQjNB7s4MsfWf30ObPf4+oJf1CcgrSPkrZw0RzjeaNTnfEy70o5CX2nmaBbrfc0MvxyvfygSDRYKn4stW6Iavq2QKJPOSos= Received: from [10.255.253.2] (modgunn.iii-norr.com [213.242.135.174]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.ismobile.com (Postfix) with ESMTP id 558A933C01; Wed, 31 Oct 2007 07:57:56 +0100 (CET) Date: Wed, 31 Oct 2007 07:57:55 +0100 From: Goran Lowkrantz To: Jack Vogel , freebsd-net@freebsd.org, FreeBSD Stable List , FreeBSD Current Message-ID: In-Reply-To: <2a41acea0710301016u4a0008dfjc83170257337863c@mail.gmail.com> References: <2a41acea0710301016u4a0008dfjc83170257337863c@mail.gmail.com> X-Mailer: Mulberry/4.0.8 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Subject: Re: em watchdog problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2007 07:17:48 -0000 Hi Jack, In my case, yes but only under higher loads, specifically when Amanda=20 started receive the backup data. At lower loads, like the check or sizing,=20 no problems. Best regards, G=F6ran L --On Tuesday, October 30, 2007 10:16 -0700 Jack Vogel =20 wrote: > This morning I had an idea about what the source of the watchdog > problem is. Also, we have repro'd at least one type of watchdog > inhouse. > > One question, is this problem only happening for those running > STABLE with the 6.6.6 merged driver? > > We found the problem does not seem to happen on 7.0. > > Right now my suspicion is that the FAST irq handling is > again causing a problem. I am experimenting with variations > to the code today to be sure whats going on, and hopefully > fixing it. > > Cheers, > > Jack > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" ................................................... the future isMobile Goran Lowkrantz System Architect, isMobile AB Sandviksgatan 81, PO Box 58, S-971 03 Lule=E5, Sweden Mobile: +46(0)70-587 87 82 http://www.ismobile.com ............................................... From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 08:00:14 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB4C616A418 for ; Wed, 31 Oct 2007 08:00:14 +0000 (UTC) (envelope-from bh@izb.knu.ac.kr) Received: from izb.knu.ac.kr (unknown [IPv6:2002:9be6:9d5d:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 7134413C4A3 for ; Wed, 31 Oct 2007 08:00:14 +0000 (UTC) (envelope-from bh@izb.knu.ac.kr) Received: by draba.izb.knu.ac.kr (Postfix, from userid 10001) id E65AB3EA4; Wed, 31 Oct 2007 16:42:50 +0900 (KST) Date: Wed, 31 Oct 2007 16:42:50 +0900 From: Byung-Hee HWANG To: Peter Jeremy Message-ID: <20071031074250.GA94674@draba.izb.knu.ac.kr> References: <20071030231839.GA38895@server.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20071030231839.GA38895@server.vk2pj.dyndns.org> User-Agent: Mutt/1.4.2.1i Organization: InZealBomb Cc: freebsd-net@freebsd.org Subject: Re: In Memoriam: Jun-ichiro Hagino X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2007 08:00:14 -0000 On Wed, 31 Oct 2007 10:18:40 +1100, Peter Jeremy wrote: > A recent posting in BUGTRAQ[1] has announced that Itojun has passed > away. Itojun was a past FreeBSD committer and very active in KAME and > the IPv6 world. No details of his passing were in the BUGTRAQ posting > but some information in Japanese is available at > http://www.hoge.org/~koyama/itojun.txt > > [1] http://www.securityfocus.com/archive/1/483015/30/0/threaded Rest in piece Itojun. Respect, Byung-Hee From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 08:08:32 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE76D16A417 for ; Wed, 31 Oct 2007 08:08:32 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.179]) by mx1.freebsd.org (Postfix) with ESMTP id 8077F13C4A6 for ; Wed, 31 Oct 2007 08:08:32 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so94438waf for ; Wed, 31 Oct 2007 01:08:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=oTA4+yG4NxBMYt09J+aPdKJTjKPN70kzvFZX2mIGx4Q=; b=nWTli4gZ9K5pZR4pgpJO5tbsOueJifetPnIhsoqc11PbTlhN5EwithurbPGL0JsuAK4KTuSDxAYkNsIBATI/XGrL7FO86EM38UuLx8ajCxeIDW+T0X4gBbyIDwfegMVVgfQbN+nxrr84JN5lXb9axrn+S8cFKspbOiQaQK+mwto= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=OPHaC0J+0us6F0KceZgbqt/hmeoUlwRqdYbkbX8r+TIzq13GtKqkffWJjvr4qJYstjKN1TclFRuZYql4n6TrZOnFRKT/n01WZX86qsRCRzlblsLRcTaHNFdIeERZkbb7U63gcybCPCWGGs+AtruO3CxyzlT3H3lpxDgqONMcl3k= Received: by 10.114.166.1 with SMTP id o1mr9175209wae.1193816371869; Wed, 31 Oct 2007 00:39:31 -0700 (PDT) Received: by 10.114.67.19 with HTTP; Wed, 31 Oct 2007 00:39:31 -0700 (PDT) Message-ID: Date: Wed, 31 Oct 2007 15:39:31 +0800 From: "Adrian Chadd" Sender: adrian.chadd@gmail.com To: "Jack Vogel" In-Reply-To: <2a41acea0710301016u4a0008dfjc83170257337863c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2a41acea0710301016u4a0008dfjc83170257337863c@mail.gmail.com> X-Google-Sender-Auth: 0b53bc779efc8fe8 Cc: "freebsd-net@freebsd.org" , FreeBSD Current , FreeBSD Stable List Subject: Re: em watchdog problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2007 08:08:32 -0000 On 31/10/2007, Jack Vogel wrote: > This morning I had an idea about what the source of the watchdog > problem is. Also, we have repro'd at least one type of watchdog > inhouse. > > One question, is this problem only happening for those running > STABLE with the 6.6.6 merged driver? This doesn't happen for me on my local testing network with RELENG_6 built from October 14 sources. These boxes generally throw about 350mbit in/out of TCP between each other. I've recently upgraded one to RELENG_7 to test so I can't provide a dmesg+interrupt count for it. Note that under load the interrupts are around 8000/sec for em0 but I haven't run the tests for a few days and thus the "rate" figure for em0 is a bit misleading. wendy# vmstat -i interrupt total rate irq1: atkbd0 76 0 irq6: fdc0 1 0 irq15: ata1 46 0 irq17: em0 fwohci0 1503419876 1866 irq19: atapci1 766603 0 irq20: ohci0 ohci+ 0 0 cpu0: timer 1611280255 2000 Total 3115466857 3867 pciconf for the ethernet card: em0@pci1:6:0: class=0x020000 card=0x13768086 chip=0x107c8086 rev=0x05 hdr=0x00 vendor = 'Intel Corporation' device = 'PRO/1000 GT' class = network subclass = ethernet Dmesg: Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-STABLE #6: Sun Oct 14 23:51:09 WST 2007 adrian@wendy.home.cacheboy.net:/usr/obj/usr/src/sys/WENDY Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Opteron(tm) Processor 140 (1400.01-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0xf58 Stepping = 8 Features=0x78bfbff AMD Features=0xe0500800 real memory = 2147221504 (2047 MB) avail memory = 2096099328 (1998 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xf0000000-0xf7ffffff at device 0.0 on pci0 isab0: at device 1.0 on pci0 isa0: on isab0 pci0: at device 1.1 (no driver attached) ohci0: mem 0xfebfd000-0xfebfdfff irq 20 at device 2.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xfebfe000-0xfebfefff irq 20 at device 2.1 on pci0 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered ehci0: mem 0xfebffc00-0xfebffcff irq 20 at device 2.2 on pci0 ehci0: [GIANT-LOCKED] usb2: EHCI version 1.0 usb2: companion controllers, 4 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 6 ports with 6 removable, self powered nve0: port 0xec00-0xec07 mem 0xfebfc000-0xfebfcfff irq 21 at device 5.0 on pci0 nve0: Ethernet address 00:0c:6e:98:55:5c miibus0: on nve0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto nve0: Ethernet address: 00:0c:6e:98:55:5c pci0: at device 6.0 (no driver attached) atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 8.0 on pci0 ata0: on atapci0 ata1: on atapci0 pcib1: at device 10.0 on pci0 pci1: on pcib1 em0: port 0xdc00-0xdc3f mem 0xfc9e0000-0xfc9fffff,0xfc9c0000-0xfc9dffff irq 17 at device 6.0 on pci1 em0: Ethernet address: 00:0e:0c:b9:42:d8 atapci1: port 0xd800-0xd83f,0xd400-0xd40f,0xd000-0xd07f mem 0xfc99f000-0xfc99ffff,0xfc960000-0xfc97ffff irq 19 at device 8.0 on pci1 ata2: on atapci1 ata3: on atapci1 ata4: on atapci1 fwohci0: mem 0xfc99e800-0xfc99efff,0xfc998000-0xfc99bfff irq 17 at device 9.0 on pci1 fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:e0:18:00:00:2e:05:96 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:e0:18:2e:05:96 fwe0: Ethernet address: 02:e0:18:2e:05:96 fwe0: if_start running deferred for Giant sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) pcib2: at device 11.0 on pci0 pci2: on pcib2 pci2: at device 0.0 (no driver attached) acpi_button0: on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcffff,0xd0000-0xd0fff on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1400008080 Hz quality 800 Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled, default to accept, logging disabled acd0: CDRW at ata1-master PIO4 ad4: 76319MB at ata2-master SATA150 hwpmc: TSC/1/0x20 K8/4/0x1ff Trying to mount root from ufs:/dev/ad4s1a HTH, -- Adrian Chadd - adrian@freebsd.org From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 09:14:54 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3091616A418; Wed, 31 Oct 2007 09:14:54 +0000 (UTC) (envelope-from jun@wide.ad.jp) Received: from mail.sfc.wide.ad.jp (mail.sfc.wide.ad.jp [IPv6:2001:200:0:8803:203:47ff:fedf:73a6]) by mx1.freebsd.org (Postfix) with ESMTP id BCCEE13C4AA; Wed, 31 Oct 2007 09:14:53 +0000 (UTC) (envelope-from jun@wide.ad.jp) Received: from [60.254.240.9] (eM60-254-240-9.pool.emnet.ne.jp [60.254.240.9]) by mail.sfc.wide.ad.jp (Postfix) with ESMTP id 395B04DA12; Wed, 31 Oct 2007 18:14:51 +0900 (JST) Message-ID: <4728477F.7080407@wide.ad.jp> Date: Wed, 31 Oct 2007 18:14:39 +0900 From: Jun Murai User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Cc: freebsd-announce@freebsd.org Subject: itojun X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2007 09:14:54 -0000 Dear Friends, I am regretful to pass along the sad news that Itojun (Dr. Junichiro Hagino) passed away on October 29, 2007. He was 37 years old. The WIDE community would like to send our condolences to his family and friends. Itojun has been an important member of the WIDE community, making numerous worldwide contributions in the field of network computing, especially on IPv6 and the Internet protocol area. He has had an important influence on each of our experiences in the WIDE project, IETF, and on the Internet community. We will miss him terribly. The family is planning a memorial service at Rinkai Saijo (Tokyo, Japan http://www.rinkaisaijo.or.jp/info/index.html) on November 6th from 6:00pm, and a funeral service the following day on November 7th from 11:00am. We have received warm requests from many wishing if they can be of any help. We are presently coordinating efforts with Itojun$B!G(Bs family to see how we may be of assistance during this difficult time. On behalf of the Internet community we will be arranging for flowers to be sent, but as many of Itojun$B!G(Bs close colleagues may be overseas, we understand it may be difficult to attend or arrange for flowers from abroad. As an alternative suggestion we would like to accept warm messages to the family and/or memorable events with Itojun that you may want to share. We will deliver these messages to Itojun at the memorial and funeral service. Please send these messages to message_for_itojun@wide.ad.jp. Our deepest sympathies are with Itojun$B!G(Bs family for this loss. As a community, I hope we can come together and support one another in fondly remembering Itojun. Jun Murai On behalf of WIDE Project From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 09:42:53 2007 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A6C016A469; Wed, 31 Oct 2007 09:42:53 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 71EBF13C4B5; Wed, 31 Oct 2007 09:42:53 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9V9grC0025515; Wed, 31 Oct 2007 09:42:53 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9V9gr5r025511; Wed, 31 Oct 2007 09:42:53 GMT (envelope-from linimon) Date: Wed, 31 Oct 2007 09:42:53 GMT Message-Id: <200710310942.l9V9gr5r025511@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/117711: [rpc] rpcbind binds to all interfaces on random ports even when using the -h flag X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2007 09:42:53 -0000 Old Synopsis: rpcbind binds to all interfaces on random ports even when using the -h flag New Synopsis: [rpc] rpcbind binds to all interfaces on random ports even when using the -h flag Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Wed Oct 31 09:42:33 UTC 2007 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=117711 From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 11:10:02 2007 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD75E16A478 for ; Wed, 31 Oct 2007 11:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AC10313C4BB for ; Wed, 31 Oct 2007 11:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9VBA2qk029012 for ; Wed, 31 Oct 2007 11:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9VBA22x029011; Wed, 31 Oct 2007 11:10:02 GMT (envelope-from gnats) Date: Wed, 31 Oct 2007 11:10:02 GMT Message-Id: <200710311110.l9VBA22x029011@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Remko Lodder Cc: Subject: Re: misc/117711: rpcbind binds to all interfaces on random ports even when using the -h flag X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Remko Lodder List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 11:10:02 -0000 The following reply was made to PR kern/117711; it has been noted by GNATS. From: Remko Lodder To: Carlos Eduardo Monti Cc: freebsd-gnats-submit@FreeBSD.org, Matteo Riondato Subject: Re: misc/117711: rpcbind binds to all interfaces on random ports even when using the -h flag Date: Wed, 31 Oct 2007 10:55:13 +0100 Carlos Eduardo Monti wrote: >> Description: > rpcbind opens two sockets on all interfaces on random ports when specified the -h flag, one socket for udp4 and one for udp6. > >> How-To-Repeat: > overnight# sockstat | grep rpcbind > overnight# rpcbind -h 192.168.0.3 > overnight# sockstat | grep rpcbind > root rpcbind 2696 4 udp6 *:* *:* > root rpcbind 2696 5 stream /var/run/rpcbind.sock > root rpcbind 2696 6 udp6 ::1:111 *:* > root rpcbind 2696 7 udp6 *:* *:* > root rpcbind 2696 8 udp6 *:617 *:* > root rpcbind 2696 9 tcp6 ::1:111 *:* > root rpcbind 2696 10 tcp6 *:* *:* > root rpcbind 2696 11 udp4 127.0.0.1:111 *:* > root rpcbind 2696 12 udp4 192.168.0.3:111 *:* > root rpcbind 2696 13 udp4 *:944 *:* > root rpcbind 2696 14 tcp4 127.0.0.1:111 *:* > root rpcbind 2696 15 tcp4 192.168.0.3:111 *:* > overnight# killall rpcbind > overnight# rpcbind -h 192.168.0.3 > overnight# sockstat | grep rpcbind > root rpcbind 2701 4 udp6 *:* *:* > root rpcbind 2701 5 stream /var/run/rpcbind.sock > root rpcbind 2701 6 udp6 ::1:111 *:* > root rpcbind 2701 7 udp6 *:* *:* > root rpcbind 2701 8 udp6 *:943 *:* > root rpcbind 2701 9 tcp6 ::1:111 *:* > root rpcbind 2701 10 tcp6 *:* *:* > root rpcbind 2701 11 udp4 127.0.0.1:111 *:* > root rpcbind 2701 12 udp4 192.168.0.3:111 *:* > root rpcbind 2701 13 udp4 *:804 *:* > root rpcbind 2701 14 tcp4 127.0.0.1:111 *:* > root rpcbind 2701 15 tcp4 192.168.0.3:111 *:* > Isn't this just behaviour of RPCbind which selects some random sockets by default? the -h is used to bind it to a specific IP address, not to bind it to specific ports (as far as i can recall), so what you are printing is really what I would expect it to be. Matteo, you worked on this recently, can you shed a light on this? and if my reasoning above is correct, can you please close the ticket since it's desired behaviour? Thanks remko -- Kind regards, Remko Lodder ** remko@elvandar.org FreeBSD ** remko@FreeBSD.org /* Quis custodiet ipsos custodes */ From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 11:13:46 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A604516A417; Wed, 31 Oct 2007 11:13:46 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 9064713C4B5; Wed, 31 Oct 2007 11:13:46 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 05B631CC078; Wed, 31 Oct 2007 01:16:39 -0700 (PDT) Date: Wed, 31 Oct 2007 01:16:39 -0700 From: Jeremy Chadwick To: Scott Long Message-ID: <20071031081638.GA13564@eos.sc1.parodius.com> References: <2a41acea0710291045m6f1d2acw78c26a455ea3894d@mail.gmail.com> <2a41acea0710301001k60442b26uae186209ac484780@mail.gmail.com> <4727F13F.1030607@samsco.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4727F13F.1030607@samsco.org> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: "gnn@freebsd.org" , FreeBSD Current , FreeBSD Stable List , Jack Vogel , "freebsd-net@freebsd.org" Subject: Re: RFC: Evolution of the em driver X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2007 11:13:46 -0000 On Tue, Oct 30, 2007 at 09:06:39PM -0600, Scott Long wrote: > There are too many examples to name in every OS of drivers that have > tried in vain to support diverging hardware evolutionary paths. if_dc > and if_bge are great (or horrible, depending on your perspective) > examples of this in FreeBSD. My vote is to nip the madness in the bud > on if_em and have two (or more drivers) that support their hardware > families well instead of one driver that supports multiple families > marginally. For what it's worth, I agree with Scott. I'd rather see a new and separate driver (presumably igb(4)) than a "hacked up" em(4) driver trying to handle tons of IC revisions. A good example of the insanity the latter causes is nve(4) vs. nfe(4). :-) -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 11:15:13 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E369816A46C for ; Wed, 31 Oct 2007 11:15:13 +0000 (UTC) (envelope-from wawa@yandex-team.ru) Received: from relanium.yandex.ru (relanium.yandex.ru [213.180.193.88]) by mx1.freebsd.org (Postfix) with ESMTP id 5B90D13C4AA for ; Wed, 31 Oct 2007 11:15:13 +0000 (UTC) (envelope-from wawa@yandex-team.ru) Received: from [87.250.227.205] (v3-227-205.yandex.net [87.250.227.205]) by relanium.yandex.ru (8.14.1/8.14.1) with ESMTP id l9VAvBnT083415 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 31 Oct 2007 13:57:13 +0300 (MSK) (envelope-from wawa@yandex-team.ru) Message-ID: <47285F7B.7010809@yandex-team.ru> Date: Wed, 31 Oct 2007 13:56:59 +0300 From: Vladimir Ivanov Organization: Yandex LLC User-Agent: Thunderbird 1.5.0.14pre (X11/20071023) MIME-Version: 1.0 To: Jack Vogel References: <2a41acea0710301317w8e820f2pdbd7f3ca1e1f6a30@mail.gmail.com> In-Reply-To: <2a41acea0710301317w8e820f2pdbd7f3ca1e1f6a30@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: Dr.Web (R) for Mail Servers on relanium.yandex.ru host X-Antivirus-Code: 100000 Cc: "freebsd-net@freebsd.org" , FreeBSD Stable List Subject: Re: em watchdogs - OS involvement X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2007 11:15:14 -0000 Jack Vogel wrote: > Things just keep getting stranger... its no wonder I didn't see this... > > I had been trying to repro the watchdog on a machine in my cube at work > without success, but in the test Lab they were successful. I scratched my > head for a while wondering why... > > But then I realized I had the Sept snapshot in my cube, reinstalled it to > the Oct snapshot and now it watchdogs like a champ too..... > > Another bit of data, if I define DEVICE_POLLING on the Oct. snap it > also will work. > > SOOOOO, what changes were made to interrupts between Sept and > October, something I need to do perhaps that wasnt done?? > > Any ideas?? Shared irq is a very big problem w/FAST_INTR seems to be. There are a lot of drops if ethernet shares IRQ w/UHCI e.g. Maybe you've seen this issue. > > Jack > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 13:57:24 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 400C216A469; Wed, 31 Oct 2007 13:57:24 +0000 (UTC) (envelope-from matus.harvan@inf.ethz.ch) Received: from XSMTP0.ethz.ch (xsmtp0.ethz.ch [82.130.70.14]) by mx1.freebsd.org (Postfix) with ESMTP id BD19A13C4A5; Wed, 31 Oct 2007 13:57:23 +0000 (UTC) (envelope-from matus.harvan@inf.ethz.ch) Received: from xfe2.d.ethz.ch ([82.130.124.42]) by XSMTP0.ethz.ch with Microsoft SMTPSVC(6.0.3790.3959); Wed, 31 Oct 2007 14:43:49 +0100 Received: from styx.inf.ethz.ch ([129.132.74.245]) by xfe2.d.ethz.ch over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Wed, 31 Oct 2007 14:43:48 +0100 Received: by styx.inf.ethz.ch (Postfix, from userid 1001) id A660D49AC91; Wed, 31 Oct 2007 14:43:48 +0100 (CET) Date: Wed, 31 Oct 2007 14:43:48 +0100 From: Matus Harvan To: "Bruce M. Simpson" Message-ID: <20071031134348.GD1165@styx.ethz.ch> References: <20070909201152.GA18039@inf.ethz.ch> <20071026153128.GF1049@styx.ethz.ch> <4722A8DD.6060601@FreeBSD.org> <20071031004709.GB2564@styx.ethz.ch> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Km1U/tdNT/EmXiR1" Content-Disposition: inline In-Reply-To: <20071031004709.GB2564@styx.ethz.ch> User-Agent: Mutt/1.5.16 (2007-06-09) X-OriginalArrivalTime: 31 Oct 2007 13:43:48.0770 (UTC) FILETIME=[10B20020:01C81BC4] Cc: freebsd-net@freebsd.org, Brooks Davis , Max Laier Subject: Re: icmp echo_user X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2007 13:57:24 -0000 --Km1U/tdNT/EmXiR1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 31, 2007 at 01:47:09AM +0100, Matus Harvan wrote: [...] > In case icmpechouser is enabled >=20 > * should the packet be dropped if it was multicast/broadcast and > icmpbcastecho is disabled? >=20 > I guess yes. Thinking about this again, I think the bmcastecho meaning is about generating repleis rather than receiving requests. From icmp(4): bmcastecho (boolean) Enable/disable ICMP replies received via bro= ad- cast or multicast. Defaults to false. Hence, I don't think that the packet should be dropped even if icmpbcastecho is disabled. Hence, I think it would be OK to keep the 'goto raw' at the beginning (as it was in the patch I have sent) rather than moving it down to the 'goto reflect'. Matus --Km1U/tdNT/EmXiR1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHKIaU43LQWDWf0QIRAqFsAJ9DLKF2MkQQUZQL3hh8QRo0ShC9RwCffZq8 rprswlngrvlWrW9rZrfnhh0= =ceUx -----END PGP SIGNATURE----- --Km1U/tdNT/EmXiR1-- From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 14:49:34 2007 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C709816A469; Wed, 31 Oct 2007 14:49:34 +0000 (UTC) (envelope-from matus.harvan@inf.ethz.ch) Received: from xsmtp1.ethz.ch (xsmtp1.ethz.ch [82.130.70.13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DC1F13C465; Wed, 31 Oct 2007 14:49:34 +0000 (UTC) (envelope-from matus.harvan@inf.ethz.ch) Received: from xfe2.d.ethz.ch ([82.130.124.42]) by xsmtp1.ethz.ch with Microsoft SMTPSVC(6.0.3790.3959); Wed, 31 Oct 2007 15:49:16 +0100 Received: from styx.inf.ethz.ch ([129.132.74.245]) by xfe2.d.ethz.ch over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Wed, 31 Oct 2007 15:49:15 +0100 Received: by styx.inf.ethz.ch (Postfix, from userid 1001) id D8C7E49AC91; Wed, 31 Oct 2007 15:49:15 +0100 (CET) Date: Wed, 31 Oct 2007 15:49:15 +0100 From: Matus Harvan To: "Bruce M. Simpson" Message-ID: <20071031144915.GE1165@styx.ethz.ch> References: <20070909201837.GA18107@inf.ethz.ch> <20071026154057.GG1049@styx.ethz.ch> <4722AEB3.1010208@FreeBSD.org> <20071029150424.GA68594@lor.one-eyed-alien.net> <4726395B.8080905@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5xSkJheCpeK0RUEJ" Content-Disposition: inline In-Reply-To: <4726395B.8080905@FreeBSD.org> User-Agent: Mutt/1.5.16 (2007-06-09) X-OriginalArrivalTime: 31 Oct 2007 14:49:15.0962 (UTC) FILETIME=[357BF1A0:01C81BCD] Cc: freebsd-net@FreeBSD.org, Brooks Davis , Max Laier Subject: Re: UDP catchall X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2007 14:49:34 -0000 --5xSkJheCpeK0RUEJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 29, 2007 at 07:49:47PM +0000, Bruce M. Simpson wrote: > Brooks Davis wrote: >> While I think this idea has some merit, I think we specifically want >> the current wildcard ability to allow for a system that requires >> minimal configuration. The problem with a range is that it doesn't >> allow disjoint sets and it requires that if you really do want all the >> ports you need to produce a list of currently allocated ports to avoid >> allocating. A more (over)engineered solution holds some attraction, but >> I'm not yet convinced the fact that it could exist precludes the current >> implementation. >=20 > Actually I concur with you on this point, based solely on the disjoint se= ts=20 > point. A slightly different argument: What if you set a certain port range for catchall and an application then tries to bind to one of these ports? Should the whole port range be reserved for the catchall socket or should an application be alllowed to "take" on of the ports. The latter seems more practical to me. But then there would be no point in changing from the wildcard ability to a port range functionality. > Another vector of attack would be to put the relay functionality into PF,= =20 > which can do the packet matching. However this of course suffers from the= =20 > problem that if you just want a plain old UDP socket for mtund, you won't= =20 > get that unless you go to the inpcb layer anyway. >=20 > But who says mtund needs to use sockets for its traffic relay? There is= =20 > definite appeal in *not* doing it in the socket layer at all -- an=20 > adaptation of pf's log socket may suffice... For UDP catchall this would suffice. However, we should also prevent the kernel from sending back a (icmp) notification that the port in question was closed. How could this be done with pf's log socket or bpf? Blackhole functionality would have to be enabled? This would then seem to me more of a hack than doing this in the socket layer. Matus --5xSkJheCpeK0RUEJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD4DBQFHKJXr43LQWDWf0QIRAjkqAJdyKhb1+XX7InxgjrRuvzd+QqKUAJ9SnTNL DfQUTQiDTeZsPYwXABXxJA== =h4P4 -----END PGP SIGNATURE----- --5xSkJheCpeK0RUEJ-- From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 15:12:48 2007 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16FB816A418; Wed, 31 Oct 2007 15:12:48 +0000 (UTC) (envelope-from matteo@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E16B613C4A8; Wed, 31 Oct 2007 15:12:47 +0000 (UTC) (envelope-from matteo@FreeBSD.org) Received: from freefall.freebsd.org (matteo@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9VFCl0Q040933; Wed, 31 Oct 2007 15:12:47 GMT (envelope-from matteo@freefall.freebsd.org) Received: (from matteo@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9VFClSV040929; Wed, 31 Oct 2007 15:12:47 GMT (envelope-from matteo) Date: Wed, 31 Oct 2007 15:12:47 GMT Message-Id: <200710311512.l9VFClSV040929@freefall.freebsd.org> To: matteo@FreeBSD.org, freebsd-net@FreeBSD.org, matteo@FreeBSD.org From: matteo@FreeBSD.org Cc: Subject: Re: kern/117711: [rpc] rpcbind binds to all interfaces on random ports even when using the -h flag X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2007 15:12:48 -0000 Synopsis: [rpc] rpcbind binds to all interfaces on random ports even when using the -h flag Responsible-Changed-From-To: freebsd-net->matteo Responsible-Changed-By: matteo Responsible-Changed-When: Mer 31 Ott 2007 15:12:25 UTC Responsible-Changed-Why: I'll take care of this PR http://www.freebsd.org/cgi/query-pr.cgi?pr=117711 From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 15:50:45 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB66116A417 for ; Wed, 31 Oct 2007 15:50:45 +0000 (UTC) (envelope-from chris@arnold.se) Received: from mailstore.infotropic.com (mailstore.infotropic.com [213.136.34.3]) by mx1.freebsd.org (Postfix) with ESMTP id 21BC213C48D for ; Wed, 31 Oct 2007 15:50:44 +0000 (UTC) (envelope-from chris@arnold.se) Received: (qmail 49834 invoked by uid 89); 31 Oct 2007 14:49:54 -0000 Received: by simscan 1.2.0 ppid: 49829, pid: 49831, t: 0.1138s scanners: attach: 1.2.0 clamav: 0.90/m:42 Received: from unknown (HELO ?192.168.123.123?) (chris@arnold.se@82.182.86.134) by mailstore.infotropic.com with ESMTPA; 31 Oct 2007 14:49:54 -0000 Date: Wed, 31 Oct 2007 15:49:53 +0100 (CET) From: Christopher Arnold X-X-Sender: chris@chrishome.localnet To: freebsd-net@freebsd.org Message-ID: <20071031152942.N1222@chrishome.localnet> X-message-flag: =?ISO-8859-1?Q?Outlook_isn=B4t_compliant_with_current_standards?= =?ISO-8859-1?Q?_please_install_another_mail_client!?= MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Correct way to enable ipv6 and sixxs-aiccu? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2007 15:50:45 -0000 Hi all! While brushing up my ipv6 knowledge i ran into an issue with sixxs-aiccu and configuring ipv6 in rc.conf: I have manually configured my gateway to route ipv6 to my internal network, and this works without problems. But as soon as i have ipv6_gateway_enable="YES" in /etc/rc.conf rtadvd doesn't set an ipv6 address on my vr0 interface. (Btw. the only interface i have on the machine.) After digging around a bit i noticed that /etc/rc.d/network_ipv6 sets net.inet6.ip6.accept_rtadv=0 and if i manually set net.inet6.ip6.accept_rtadv=1 and then restart rtadvd things work and i get an address on my interface. Since i guess dissabling accept_rtadv is done for a reason i wonder what is the correct way to setup ipv6 in /etc/rc.conf is? /Chris -- http://www.arnold.se/ From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 16:28:48 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CCB516A4CB; Wed, 31 Oct 2007 16:28:48 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from fallbackmx02.syd.optusnet.com.au (fallbackmx02.syd.optusnet.com.au [211.29.133.72]) by mx1.freebsd.org (Postfix) with ESMTP id 9A4F613C480; Wed, 31 Oct 2007 16:28:47 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail34.syd.optusnet.com.au (mail34.syd.optusnet.com.au [211.29.133.218]) by fallbackmx02.syd.optusnet.com.au (8.12.11.20060308/8.12.11) with ESMTP id l9VBjmwV015702; Wed, 31 Oct 2007 22:45:48 +1100 Received: from server.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mail34.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l9VBilnq005497 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 31 Oct 2007 22:44:48 +1100 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.1/8.14.1) with ESMTP id l9VBilmf041561; Wed, 31 Oct 2007 22:44:47 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.1/8.14.1/Submit) id l9VBil7J041560; Wed, 31 Oct 2007 22:44:47 +1100 (EST) (envelope-from peter) Date: Wed, 31 Oct 2007 22:44:47 +1100 From: Peter Jeremy To: Jack Vogel Message-ID: <20071031114447.GC70883@server.vk2pj.dyndns.org> References: <2a41acea0710291045m6f1d2acw78c26a455ea3894d@mail.gmail.com> <2a41acea0710301001k60442b26uae186209ac484780@mail.gmail.com> <4727F13F.1030607@samsco.org> <20071031081638.GA13564@eos.sc1.parodius.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MXxcbiX/Q4+iy5U7" Content-Disposition: inline In-Reply-To: <20071031081638.GA13564@eos.sc1.parodius.com> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.16 (2007-06-09) Cc: "freebsd-net@freebsd.org" , FreeBSD Current , FreeBSD Stable List Subject: Re: RFC: Evolution of the em driver X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2007 16:28:48 -0000 --MXxcbiX/Q4+iy5U7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 31, 2007 at 01:16:39AM -0700, Jeremy Chadwick wrote: >For what it's worth, I agree with Scott. I'd rather see a new and >separate driver (presumably igb(4)) than a "hacked up" em(4) driver >trying to handle tons of IC revisions. A good example of the insanity >the latter causes is nve(4) vs. nfe(4). :-) A separate driver is probably cleaner. I'll just make the comment that if a separate driver is written, there needs to be a clear way for an end user to identify what driver is needed/preferred for his chipset. We already have cases like re(4)/rl(4) and sym(4)/ncr(4) where some chips are supported by two drivers - though generally only one driver fully supports the chip. This sort of thing is confusing for end users. --=20 Peter --MXxcbiX/Q4+iy5U7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHKGqv/opHv/APuIcRArIoAJoCNSMbMIwqTKH+lEbbrb5sC1PjZwCglsd7 HrZHfgxfPlO7uBKfY4e1XkI= =8p9Q -----END PGP SIGNATURE----- --MXxcbiX/Q4+iy5U7-- From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 16:35:28 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 806CE16A46D for ; Wed, 31 Oct 2007 16:35:28 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id 0892A13C4B2 for ; Wed, 31 Oct 2007 16:35:27 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so174811nfb for ; Wed, 31 Oct 2007 09:35:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=zXyFZFGbqRiJ2GTp0sk25Dbx7oyJw2UmUfOr6seSDgc=; b=eeIgvoI3nhOXotQViBtSPHSJCU3QPztBuwY8LZSr7c34AqNWBieaxCvuplRHe0jGUSjlGSkYA+qoesSqB8Fu+JK6ERH0bOKgBnhDxOje9CFxilfBso+dE4d94riQkRqT8D1tBnsOKQoIcPvb6/vu/WPI6S5df4OAUHHyE68BUaI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=QmIUm5O0My9CiIFxwNL3bXI7f/ipmnwUI9FtM+CelNNbQzbjhGEBjbZBpRRyS7wTNzg2gdfC9itov1+ZufoEk1udeSVO3t8m+oJkTCWXctaGAmt7uzDzS5wTVjETIvVSkeB9FlitIngRxqqrccmAR9rfoq/y/ZeJMGBOLD4ll1s= Received: by 10.86.65.11 with SMTP id n11mr6733314fga.1193848511175; Wed, 31 Oct 2007 09:35:11 -0700 (PDT) Received: by 10.86.100.19 with HTTP; Wed, 31 Oct 2007 09:35:11 -0700 (PDT) Message-ID: <2a41acea0710310935u6ed33491pcee4c6bd57d12d1a@mail.gmail.com> Date: Wed, 31 Oct 2007 09:35:11 -0700 From: "Jack Vogel" To: "freebsd-net@freebsd.org" , "FreeBSD Stable List" , "FreeBSD Current" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Proposed #ifdef change to em X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2007 16:35:28 -0000 I have found that the FAST interrupt handling is implicated in the watchdog resets that I have seen. What I plan to do is revert to the way 6.2 had things, meaning that FAST interrupts will be available but defined off by default. I wanted to know if anyone has an issue with this. And more importantly, I have personally not seen this problem on 7, but I could set up #ifdef's in that driver to be the same way. What does everyone think? Jack From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 16:35:41 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B25416A4D7 for ; Wed, 31 Oct 2007 16:35:41 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.freebsd.org (Postfix) with ESMTP id 92D4D13C494 for ; Wed, 31 Oct 2007 16:35:40 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so174813nfb for ; Wed, 31 Oct 2007 09:35:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=dh62nfb4bX5pJsP3zYaUBZ/HcJf5RazE12Z27/RXEIk=; b=NDKldWK8oK7U0PA6dET87R+GrB1Y8O8mm4FfwdGjFCEFZIbqhKcAuOmhVen8pJHzlWxRl9gsd7p7s2NqjzcPrT6Zu9XwpupmwnGJFLmQvn9za42FTNrAAdO7hslk+9C5fPJsXU3nxRHnd9DNSidBCgKNUc7Bfg8+uxiM3tM+4Xc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LlvVfHk3lj/5Sd0PcFT5aQBvbdBdPLZEmI3tW/qVMsGHLTvqEv45gJm2wEC7Ta6+Pmls+BYx4D9uTtzBhEfMi1MU8oMgFuVuPCR2PWmYVriITnXTwiZvxf3rw2kyWHKGY7FzFbmLonrsQSdqjkqXIEqcFcYEMs46N2xw2oODbAg= Received: by 10.86.65.11 with SMTP id n11mr6717927fga.1193848176809; Wed, 31 Oct 2007 09:29:36 -0700 (PDT) Received: by 10.86.100.19 with HTTP; Wed, 31 Oct 2007 09:29:36 -0700 (PDT) Message-ID: <2a41acea0710310929o518c5f73l21513790bf5f378@mail.gmail.com> Date: Wed, 31 Oct 2007 09:29:36 -0700 From: "Jack Vogel" To: "Peter Jeremy" In-Reply-To: <20071031114447.GC70883@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2a41acea0710291045m6f1d2acw78c26a455ea3894d@mail.gmail.com> <2a41acea0710301001k60442b26uae186209ac484780@mail.gmail.com> <4727F13F.1030607@samsco.org> <20071031081638.GA13564@eos.sc1.parodius.com> <20071031114447.GC70883@server.vk2pj.dyndns.org> Cc: "freebsd-net@freebsd.org" , FreeBSD Current , FreeBSD Stable List Subject: Re: RFC: Evolution of the em driver X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2007 16:35:41 -0000 On 10/31/07, Peter Jeremy wrote: > On Wed, Oct 31, 2007 at 01:16:39AM -0700, Jeremy Chadwick wrote: > >For what it's worth, I agree with Scott. I'd rather see a new and > >separate driver (presumably igb(4)) than a "hacked up" em(4) driver > >trying to handle tons of IC revisions. A good example of the insanity > >the latter causes is nve(4) vs. nfe(4). :-) > > A separate driver is probably cleaner. > > I'll just make the comment that if a separate driver is written, there > needs to be a clear way for an end user to identify what driver is > needed/preferred for his chipset. We already have cases like > re(4)/rl(4) and sym(4)/ncr(4) where some chips are supported by two > drivers - though generally only one driver fully supports the chip. > This sort of thing is confusing for end users. Yes, this is a good point, and when I'm done I will make sure that only the appropriate ID's will work on a particular driver so this kind of thing does not happen. Jack From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 16:41:02 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6D2516A419; Wed, 31 Oct 2007 16:41:02 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 67ACF13C48D; Wed, 31 Oct 2007 16:41:02 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id l9VGe2Sa005195; Wed, 31 Oct 2007 10:40:02 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4728AFCC.7020706@samsco.org> Date: Wed, 31 Oct 2007 10:39:40 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4 MIME-Version: 1.0 To: Jack Vogel References: <2a41acea0710310935u6ed33491pcee4c6bd57d12d1a@mail.gmail.com> In-Reply-To: <2a41acea0710310935u6ed33491pcee4c6bd57d12d1a@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (pooker.samsco.org [168.103.85.57]); Wed, 31 Oct 2007 10:40:02 -0600 (MDT) X-Spam-Status: No, score=-1.4 required=5.5 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: "freebsd-net@freebsd.org" , FreeBSD Current , FreeBSD Stable List Subject: Re: Proposed #ifdef change to em X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2007 16:41:02 -0000 Jack Vogel wrote: > I have found that the FAST interrupt handling is implicated > in the watchdog resets that I have seen. > > What I plan to do is revert to the way 6.2 had things, meaning > that FAST interrupts will be available but defined off by default. > > I wanted to know if anyone has an issue with this. And more > importantly, I have personally not seen this problem on 7, but > I could set up #ifdef's in that driver to be the same way. > > What does everyone think? > > Jack Let's give it another couple of days to work out the real problem before we throw in the towel. Follow-ups in private... Scott From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 16:49:30 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A592D16A418 for ; Wed, 31 Oct 2007 16:49:30 +0000 (UTC) (envelope-from bh@izb.knu.ac.kr) Received: from izb.knu.ac.kr (izb.knu.ac.kr [155.230.157.93]) by mx1.freebsd.org (Postfix) with ESMTP id 5C19B13C4A6 for ; Wed, 31 Oct 2007 16:49:30 +0000 (UTC) (envelope-from bh@izb.knu.ac.kr) Received: by draba.izb.knu.ac.kr (Postfix, from userid 59) id 22A563EA7; Thu, 1 Nov 2007 01:48:52 +0900 (KST) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on draba.izb.knu.ac.kr X-Spam-Level: X-Spam-Status: No, score=-16.5 required=15.1 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VERIFIED autolearn=disabled version=3.2.3 X-Spam-Comment: DKIM? See http://www.google.com/search?btnI&q=RFC+4871 Received: from izb.knu.ac.kr (localhost.izb.knu.ac.kr [127.0.0.1]) by draba.izb.knu.ac.kr (Postfix) with ESMTP id C0D2C3EA6; Thu, 1 Nov 2007 01:48:50 +0900 (KST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=izb.knu.ac.kr; h=subject: from:reply-to:to:cc:in-reply-to:references:content-type:date: message-id:mime-version:content-transfer-encoding; q=dns/txt; s= s1024; bh=C5zdCF3efU9LNDd75vKcZYmwVdQ=; b=GHn0t22fppC/FeoLrJBvBG AyRLaaAcOukvfOEp+SwPBnFcrPObjoUQ9VPfK+3t/qQq/oeLE5X8bJ2532M+aOYC aH7CYRFfr9y5OCMHZ9nJFOHQmfABI8Nw31AHYyyfDTDiSe+j3Zj9jt2wdqoy4LC0 C2brCtzILCaE4J85Ro1g8= Received: from viola.izb.knu.ac.kr (viola.izb.knu.ac.kr [IPv6:2002:9be6:9d5d:3::3]) by draba.izb.knu.ac.kr (Postfix) with ESMTP id AB3523EA4; Thu, 1 Nov 2007 01:48:50 +0900 (KST) Received: from [IPv6:2002:9be6:9d5d:3::3] (viola.izb.knu.ac.kr [IPv6:2002:9be6:9d5d:3::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Authenticated sender: bh.rfc4871@viola.izb.knu.ac.kr) by viola.izb.knu.ac.kr (Postfix) with ESMTP id 7A1315E13; Thu, 1 Nov 2007 01:48:51 +0900 (KST) From: Byung-Hee HWANG To: Christopher Arnold In-Reply-To: <20071031152942.N1222@chrishome.localnet> References: <20071031152942.N1222@chrishome.localnet> Content-Type: text/plain Organization: InZealBomb Date: Thu, 01 Nov 2007 01:48:45 +0900 Message-Id: <1193849325.14557.31.camel@viola.izb.knu.ac.kr> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: Correct way to enable ipv6 and sixxs-aiccu? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bh@izb.knu.ac.kr List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 16:49:30 -0000 Hi, i am from the last Stone Age. On Wed, 2007-10-31 at 15:49 +0100, Christopher Arnold wrote: > Hi all! > > While brushing up my ipv6 knowledge i ran into an issue with sixxs-aiccu > and configuring ipv6 in rc.conf: > > I have manually configured my gateway to route ipv6 to my internal > network, and this works without problems. > But as soon as i have ipv6_gateway_enable="YES" in /etc/rc.conf rtadvd > doesn't set an ipv6 address on my vr0 interface. (Btw. the only interface > i have on the machine.) Well, we don't know how to you configure your IPv6 router in manual. So you'd better show us the information like your manual scripts if you want to give more correct advices ;; > After digging around a bit i noticed that /etc/rc.d/network_ipv6 sets > net.inet6.ip6.accept_rtadv=0 and if i manually set > net.inet6.ip6.accept_rtadv=1 and then restart rtadvd things work and i get > an address on my interface. Actually i can understand the your crazy struggling. > Since i guess dissabling accept_rtadv is done for a reason i wonder what > is the correct way to setup ipv6 in /etc/rc.conf is? Do you have native IPv6 addresses? If you do, i am proud of you. Anyway you need to have a look IPv6 section of FreeBSD Handbook, rtadvd(8) and rtadvd.conf(5). It will give you help. And you need to study IPv6 stuff because it is not as easy as it seems, AFAIK. I mean you can solve your matters if you study more. Sincerely, -- "He's a responsible man in his own way." -- Michael Corleone, "Chapter 25", page 363 From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 17:50:27 2007 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 176DA16A421 for ; Wed, 31 Oct 2007 17:50:27 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by mx1.freebsd.org (Postfix) with ESMTP id E32A513C481 for ; Wed, 31 Oct 2007 17:50:26 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7] (may be forged)) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.09) with ESMTP id l9VGpAH9028371 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 31 Oct 2007 09:51:10 -0700 X-Auth-Received: from [127.0.0.1] (cs213-46.fsmodem.washington.edu [140.142.173.47]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.09) with ESMTP id l9VGp3hv005739 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 31 Oct 2007 09:51:06 -0700 Message-ID: <4728B256.5080005@u.washington.edu> Date: Wed, 31 Oct 2007 09:50:30 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Tom Judge References: <20071019182349.J97691@odysseus.silby.com> <47194EA1.8000402@u.washington.edu> <20071019212012.C97691@odysseus.silby.com> <47202922.3070700@u.washington.edu> <47209570.20609@tomjudge.com> <4723330A.7070803@u.washington.edu> In-Reply-To: <4723330A.7070803@u.washington.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.3.310218, Antispam-Engine: 2.5.2.313940, Antispam-Data: 2007.10.31.93000 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Cc: net@freebsd.org Subject: Re: Marvell chipsets on 8-CURRENT and XP x64 won't talk with one another X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2007 17:50:27 -0000 Garrett Cooper wrote: > Tom Judge wrote: >> Garrett Cooper wrote: >>> Mike Silbersack wrote: >>>> >>>> On Fri, 19 Oct 2007, Garrett Cooper wrote: >>>> >>>>>> Just to clarify, how are the two hooked together? Is it over >>>>>> gigabit switch, a 10mbps hub, or directly cabled together? >>>>>> >>>>>> -Mike >>>>> >>>>> Sure. They're both connected over a gigabit switch, but the >>>>> Windows driver's kind of sketchy because it keeps on switching >>>>> between 100MBit and 1GBit. I haven't really paid that much >>>>> attention to what speed the FreeBSD msk driver is registering at. >>>>> -Garrett >>>> >>>> Ah ha! >>>> >>>> I had the flopping between 100mbps and 1gbps problem with some >>>> Intel cards once - some of the machines in the lab were fine, >>>> others kept switching back and forth. We eventually narrowed it >>>> down to the cables we had hand-made; some of them just weren't up >>>> to snuff, and the NIC apparently decided that it had to go back >>>> down to 100. >>>> >>>> I think you should switch your gigabit switch out for a 100mbps >>>> switch and see if the network becomes more reliable. >>>> >>>> -Mike >>> >>> I think I've discovered what the issue is. I believe the problem >>> lies in the fact that the FreeBSD Marvell chipset driver (msk) isn't >>> up to speed with the Gigabit transferring on my particular >>> chipset(s). That's why transfers were most likely working with my >>> laptop (Apple with 100MBit Broadcom) vs my desktop (Asus MB with >>> another Marvell chipset driver) and another laptop (Dell laptop with >>> Broadcom Gigabit). >>> How do I tell ifconfig via rc.conf to downgrade the max speed to >>> 100MBit duplex? >>> Thanks, >>> -Garrett >> >> You would need to hard code the interface configuration on the switch >> and box. This is only possible if you have a managed switch and the >> methods on the switch are manufacturer and model dependent. >> >> On FreeBSD however it is trivial for example "ifconfig em0 media >> 100baseTX mediaopt full-duplex". >> >> This will disable speed negotiation and therefore must be configured >> at both ends of the link. >> >> Tom > > Well, this is interesting. I used a crappy switch (100MBit SOHO > switch), in place of my Netgear non-managed gigabit switch, and the > same thing occurred on the XP x64 machine. > > I may have forgotten to mention that at one time both machines were > running XP variants of some sort (x64 and x86), and they worked > perfectly fine with one another >_>... > > Here's some additional info: > > optimus# arp -a > ? (192.168.0.1) at (incomplete) on msk0 [ethernet] # Dummy gateway > ? (192.168.0.42) at 00:11:24:2f:15:bc on msk0 [ethernet] # iBook > (broadcom adapter) > ? (192.168.0.47) at 00:1a:92:d2:f7:f6 on msk0 [ethernet] # Win XP x64 > machine > ? (192.168.0.255) at ff:ff:ff:ff:ff:ff on msk0 permanent [ethernet] > optimus# ifconfig msk0 > msk0: flags=8843 metric 0 mtu > 1500 > options=9a > ether 00:1b:fc:45:9b:5c > inet 192.168.0.45 netmask 0xffffff00 broadcast 255.255.255.0 > media: Ethernet autoselect (100baseTX ) > status: active > ifconfig_msk0="inet 192.168.0.45 broadcast 255.255.255.0" > # media 100baseTX mediaopt full-duplex" > defaultrouter="192.168.0.1" > optimus# netstat -nr > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif > Expire > default 192.168.0.1 UGS 0 0 msk0 > 127.0.0.1 127.0.0.1 UH 0 12 lo0 > 192.168.0.0/24 link#1 UC 0 0 msk0 > 192.168.0.1 link#1 UHLW 2 0 msk0 > 192.168.0.42 00:11:24:2f:15:bc UHLW 1 179 msk0 > 1028 > 192.168.0.47 00:1a:92:d2:f7:f6 UHLW 1 21 msk0 > 1162 > 192.168.0.255 ff:ff:ff:ff:ff:ff UHLWb 1 49 msk0 > > arp and everything's show the correct information on the XP end, even > after I removed the 'dummy gateway' on both machines.. > > Next course of action? Snort? tcpdump? > > Thanks, > -Garrett I'm running tcpdump on my Mac and I noted a lot of 'bad checksums' (0x081c was the official error in all cases), then consulted the msk driver. It appears that there's a bug with Yukon II chipsets with the hardware checksumming and I wonder whether or not the chipset that I have is affected by this issue as well. I'll provide my chipset/model info in my next reply (can't access it from this PC). -Garrett From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 19:20:54 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F23EB16A419 for ; Wed, 31 Oct 2007 19:20:54 +0000 (UTC) (envelope-from chris@arnold.se) Received: from mailstore.infotropic.com (mailstore.infotropic.com [213.136.34.3]) by mx1.freebsd.org (Postfix) with ESMTP id 5018213C4A3 for ; Wed, 31 Oct 2007 19:20:54 +0000 (UTC) (envelope-from chris@arnold.se) Received: (qmail 60092 invoked by uid 89); 31 Oct 2007 17:32:44 -0000 Received: by simscan 1.2.0 ppid: 60087, pid: 60089, t: 0.2380s scanners: attach: 1.2.0 clamav: 0.90/m:42 Received: from unknown (HELO ?192.168.123.123?) (chris@arnold.se@82.182.86.134) by mailstore.infotropic.com with ESMTPA; 31 Oct 2007 17:32:43 -0000 Date: Wed, 31 Oct 2007 18:32:43 +0100 (CET) From: Christopher Arnold X-X-Sender: chris@chrishome.localnet To: Byung-Hee HWANG In-Reply-To: <1193849325.14557.31.camel@viola.izb.knu.ac.kr> Message-ID: <20071031181637.X2005@chrishome.localnet> References: <20071031152942.N1222@chrishome.localnet> <1193849325.14557.31.camel@viola.izb.knu.ac.kr> X-message-flag: =?ISO-8859-1?Q?Outlook_isn=B4t_compliant_with_current_standards?= =?ISO-8859-1?Q?_please_install_another_mail_client!?= MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-net@freebsd.org Subject: Re: Correct way to enable ipv6 and sixxs-aiccu? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2007 19:20:55 -0000 On Thu, 1 Nov 2007, Byung-Hee HWANG wrote: > On Wed, 2007-10-31 at 15:49 +0100, Christopher Arnold wrote: >> While brushing up my ipv6 knowledge i ran into an issue with sixxs-aiccu >> and configuring ipv6 in rc.conf: >> >> I have manually configured my gateway to route ipv6 to my internal >> network, and this works without problems. >> But as soon as i have ipv6_gateway_enable="YES" in /etc/rc.conf rtadvd >> doesn't set an ipv6 address on my vr0 interface. (Btw. the only interface >> i have on the machine.) > > Well, we don't know how to you configure your IPv6 router in manual. So > you'd better show us the information like your manual scripts if you > want to give more correct advices ;; > Ok to be totally clear: # more /etc/rtadvd.conf vr0:\ :addr="2001:16d8:ff50::":prefixlen#64: Dosn't Work: /etc/rc.conf: ipv6_gateway_enable="YES" After boot i execute "rtadvd vr0" as root. Works: /etc/rc.conf: ipv6_gateway_enable="NO" /etc/syscontrol: net.inet6.ip6.forwarding=1 After boot i execute "rtadvd vr0" as root. The difference i belive is the setting of net.inet6.ip6.accept_rtadv=0 in /etc/rc.d/network_ipv6 . >> After digging around a bit i noticed that /etc/rc.d/network_ipv6 sets >> net.inet6.ip6.accept_rtadv=0 and if i manually set >> net.inet6.ip6.accept_rtadv=1 and then restart rtadvd things work and i get >> an address on my interface. > >> Since i guess dissabling accept_rtadv is done for a reason i wonder what >> is the correct way to setup ipv6 in /etc/rc.conf is? > > Do you have native IPv6 addresses? If you do, i am proud of you. Anyway > you need to have a look IPv6 section of FreeBSD Handbook, rtadvd(8) and > rtadvd.conf(5). It will give you help. And you need to study IPv6 stuff > because it is not as easy as it seems, AFAIK. I mean you can solve your > matters if you study more. > Im trying as we speak, just wanted some input on how things are supposed to work. Im running /usr/ports/net/sixxs-aiccu to bring up the tunnel and my adresses are assigned from them. www.sixxs.net for more information. The tunnel works all the time (on the tun0 interface) so there isn't a problem with my ipv6 connectivity. So i guess my question is: "Why is net.inet6.ip6.accept_rtadv=0 in /etc/rc.d/network_ipv6 and how am i supposed to configure ipv6 in /etc/rc.conf?" PS: sixxs-aiccu is run from /usr/local/etc/rc.d/ so the reason things doesn't work could be related to the fact that my tunnel goes live late in the boot. /Chris -- http://www.arnold.se/ From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 21:51:39 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C96016A419; Wed, 31 Oct 2007 21:51:39 +0000 (UTC) (envelope-from matus.harvan@inf.ethz.ch) Received: from XSMTP0.ethz.ch (xsmtp0.ethz.ch [82.130.70.14]) by mx1.freebsd.org (Postfix) with ESMTP id 71B9813C48D; Wed, 31 Oct 2007 21:51:38 +0000 (UTC) (envelope-from matus.harvan@inf.ethz.ch) Received: from xfe0.d.ethz.ch ([82.130.124.40]) by XSMTP0.ethz.ch with Microsoft SMTPSVC(6.0.3790.3959); Wed, 31 Oct 2007 22:34:29 +0100 Received: from styx.inf.ethz.ch ([77.56.104.89]) by xfe0.d.ethz.ch over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Wed, 31 Oct 2007 22:34:29 +0100 Received: by styx.inf.ethz.ch (Postfix, from userid 1001) id A10E449ACA9; Wed, 31 Oct 2007 22:34:29 +0100 (CET) Date: Wed, 31 Oct 2007 22:34:29 +0100 From: Matus Harvan To: "Bruce M. Simpson" Message-ID: <20071031213429.GB2086@styx.ethz.ch> References: <20070909204148.GB18107@inf.ethz.ch> <20071026155206.GH1049@styx.ethz.ch> <4722B6A3.6030606@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RASg3xLB4tUQ4RcS" Content-Disposition: inline In-Reply-To: <4722B6A3.6030606@FreeBSD.org> User-Agent: Mutt/1.5.16 (2007-06-09) X-OriginalArrivalTime: 31 Oct 2007 21:34:30.0135 (UTC) FILETIME=[D1DC5070:01C81C05] Cc: freebsd-net@freebsd.org, Brooks Davis , Max Laier Subject: Re: TCP listenall X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2007 21:51:39 -0000 --RASg3xLB4tUQ4RcS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 27, 2007 at 04:55:15AM +0100, Bruce M. Simpson wrote: > Matus Harvan wrote: >> Hi, >> I was wondering if I could get some feedback about the patch and >> whether others think it could be committed. A slightly update version >> of the patch is at the end of this email. >> =20 >=20 > I have mixed feelings about this patch. >=20 > The idea of a TCP socket which magically loses its TCP semantics is=20 > unattractive -- SOCK_RAW is traditionally where we've put things which=20 > don't fit the rest of the BSD socket API -- however in this case I don't= =20 > see we have much choice, if what we desire is the ability for a client to= =20 > establish a connection to any ephemeral port with the mtund returning fro= m=20 > an accept() as usual. >=20 > We are bending the rules of the usual TCP semantics here, but that is OK= =20 > because if we directed tlistenall to be a raw IP socket, we'd need a way = to=20 > say to TCP, 'I'd like to create a socket which is already in SYN_RCVD sta= te=20 > with a SYN whose mbuf has now gone to lunch', assuming we wish to create= =20 > TCP streams business as usual. Exactly. [...] > How will inp_tlistenall appear in netstat output? Perhaps assigning a=20 > LISTEN_ALL state would be helpful for an administrator to clearly see tha= t=20 > a listenall socket is active? Perhaps checking for TCP_LISTENALL set on a= n=20 > unbound socket in tcp_usr_listen() when listen() is called is the way to = go=20 > instead of, or in addition to, using inp_tlistenall? I think there can be only one LISTEN_ALL socket. Hence, inp_tlistenall should be ok. Furthermore, having inp_tlistenall allows me to immediately know which is the listenall socket without having to search through all the sockets. Currently, the user has to setsockopt() TCP_LISTENALL on the socket after calling listen(). One disadvanatage is that the user has to select a port when calling listen(). However, it minimizes the changes needed to get the listenall funcitonality. Are you suggesting that the setsockopt() could be called first and the listen() would follow? With the state for netstat, wouldn't this require adding the LISTEN_ALL state to the TCPS_* states in sys/netinet/tcp_fsm.h:45? If yes, then this might require more modifications. Matus --RASg3xLB4tUQ4RcS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHKPTl43LQWDWf0QIRAuM6AJ9F1EaBkh437dTv/uZtjNwogesUZQCeMUKu WG1Q9L5fM28gRqUfY4htAjY= =Abww -----END PGP SIGNATURE----- --RASg3xLB4tUQ4RcS-- From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 21:51:42 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9FD516A419; Wed, 31 Oct 2007 21:51:42 +0000 (UTC) (envelope-from matus.harvan@inf.ethz.ch) Received: from XSMTP0.ethz.ch (xsmtp0.ethz.ch [82.130.70.14]) by mx1.freebsd.org (Postfix) with ESMTP id B5F5A13C4A7; Wed, 31 Oct 2007 21:51:36 +0000 (UTC) (envelope-from matus.harvan@inf.ethz.ch) Received: from xfe0.d.ethz.ch ([82.130.124.40]) by XSMTP0.ethz.ch with Microsoft SMTPSVC(6.0.3790.3959); Wed, 31 Oct 2007 22:17:22 +0100 Received: from styx.inf.ethz.ch ([77.56.104.89]) by xfe0.d.ethz.ch over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Wed, 31 Oct 2007 22:17:22 +0100 Received: by styx.inf.ethz.ch (Postfix, from userid 1001) id B309F49ACA9; Wed, 31 Oct 2007 22:17:21 +0100 (CET) Date: Wed, 31 Oct 2007 22:17:21 +0100 From: Matus Harvan To: "Bruce M. Simpson" Message-ID: <20071031211721.GA2086@styx.ethz.ch> References: <20070909201837.GA18107@inf.ethz.ch> <20071026154057.GG1049@styx.ethz.ch> <4722AEB3.1010208@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline In-Reply-To: <4722AEB3.1010208@FreeBSD.org> User-Agent: Mutt/1.5.16 (2007-06-09) X-OriginalArrivalTime: 31 Oct 2007 21:17:22.0807 (UTC) FILETIME=[6D868070:01C81C03] Cc: freebsd-net@freebsd.org, Brooks Davis , Max Laier Subject: Re: UDP catchall X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2007 21:51:42 -0000 --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 27, 2007 at 04:21:23AM +0100, Bruce M. Simpson wrote: > Matus Harvan wrote: >> Hi, >>=20 >> I was wondering if I could get some feedback about the patch and >> whether others think it could be committed. >> =20 >=20 > The UDP catchall patch as submitted here clashes with the blackhole=20 > functionality, and also bypasses the update of the protocol statistics an= d=20 > unreachable port rate limiting. It is not yet suitable for a production= =20 > kernel. I do not see how it clashes with the blackhole functionality. If catchall is enabled then a UDP packet destined for port, which is not used by any other UDP socket, is passed to rip_input() and would show up on the raw socket. This happens irrespective of te blackhole functionality being enabled or not. I think the protocol statistics for UDP are updated. Which one is missing? The catchall feature has its own rate limit, catchallr. This is different from the unreachable port rate limit. Hence, I don't see a problem in bypassing the unreachable port rate limiting. > It probably shouldn't trigger the log_in_vain message, however that log= =20 > message is misleading anyway (the reception of UDP datagrams destined for= =20 > unbound ports is not a 'connection attempt'). I think the log_in_vain message is triggered only if the packet is not passed to the raw socket, i.e., if catchalllim is exhausted. Then the normal way for processing the packet is followed. Is this what you have meant with triggering the log_in_vain message? Matus --bg08WKrSYDhXBjb5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHKPDh43LQWDWf0QIRAp0kAJ9LZsnXDEhjzzg/NOpSQJg+SJ8T7gCgmSPY dvLHqUqa60rnD2loyevFx/k= =O/iz -----END PGP SIGNATURE----- --bg08WKrSYDhXBjb5-- From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 22:30:24 2007 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B734B16A46C for ; Wed, 31 Oct 2007 22:30:24 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from outN.internet-mail-service.net (outN.internet-mail-service.net [216.240.47.237]) by mx1.freebsd.org (Postfix) with ESMTP id 60EBD13C4BD for ; Wed, 31 Oct 2007 22:30:23 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Wed, 31 Oct 2007 15:03:10 -0700 X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 58C001268B1; Wed, 31 Oct 2007 15:03:10 -0700 (PDT) Message-ID: <4728FBC0.7020003@freebsd.org> Date: Wed, 31 Oct 2007 15:03:44 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Matus Harvan References: <20070909201837.GA18107@inf.ethz.ch> <20071026154057.GG1049@styx.ethz.ch> <4722AEB3.1010208@FreeBSD.org> <20071029150424.GA68594@lor.one-eyed-alien.net> <4726395B.8080905@FreeBSD.org> <20071031144915.GE1165@styx.ethz.ch> In-Reply-To: <20071031144915.GE1165@styx.ethz.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@FreeBSD.org, Brooks Davis , "Bruce M. Simpson" , Max Laier Subject: Re: UDP catchall X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2007 22:30:24 -0000 It's possible using ipfw to mostly implement this, and with an upcoming change, possible to completely implement this. the "uid" function of ipfw can act as a "does there exist a socket to which this packet would go?" test. and a variant of it called "for_me" that I am adding (we use it at work) does this even better. so, basically, yyy: skipto xxx ip from any to-me yyy+1: fwd 127.0.0.1,1234 xxx: From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 22:36:54 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96C5416A418 for ; Wed, 31 Oct 2007 22:36:54 +0000 (UTC) (envelope-from bh@izb.knu.ac.kr) Received: from izb.knu.ac.kr (unknown [IPv6:2002:9be6:9d5d:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 22F7813C4AA for ; Wed, 31 Oct 2007 22:36:54 +0000 (UTC) (envelope-from bh@izb.knu.ac.kr) Received: by draba.izb.knu.ac.kr (Postfix, from userid 59) id 282AD3EA6; Thu, 1 Nov 2007 07:36:53 +0900 (KST) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on draba.izb.knu.ac.kr X-Spam-Level: X-Spam-Status: No, score=-16.5 required=15.1 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VERIFIED autolearn=disabled version=3.2.3 X-Spam-Comment: DKIM? See http://www.google.com/search?btnI&q=RFC+4871 Received: from izb.knu.ac.kr (localhost.izb.knu.ac.kr [127.0.0.1]) by draba.izb.knu.ac.kr (Postfix) with ESMTP id 3D3123EA5; Thu, 1 Nov 2007 07:36:48 +0900 (KST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=izb.knu.ac.kr; h=subject: from:reply-to:to:cc:in-reply-to:references:content-type:date: message-id:mime-version:content-transfer-encoding; q=dns/txt; s= s1024; bh=jq+d+SLOZxkMCr8uVB8+lo/ueMI=; b=IBiYRKwr+n+amexH/8jKUd Gv1WoGeDIP3849qwHOm1UtLArgiQZmgL9f0nAq5lnEaKiBeQbGPr70/j4w09i+FL dGDjNfonAC/19T0eEWEOqYrEC/rsNoLluo8h6rE2ehsnhO1qWIe05RN474ahH4nT RvPyt1Ea3fLU1cWDjjyGM= Received: from viola.izb.knu.ac.kr (viola.izb.knu.ac.kr [IPv6:2002:9be6:9d5d:2:20b:6aff:fe56:969f]) by draba.izb.knu.ac.kr (Postfix) with ESMTP id 099033EA4; Thu, 1 Nov 2007 07:36:48 +0900 (KST) Received: from [IPv6:2002:9be6:9d5d:2:20b:6aff:fe56:969f] (viola.izb.knu.ac.kr [IPv6:2002:9be6:9d5d:2:20b:6aff:fe56:969f]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Authenticated sender: bh.rfc4871@viola.izb.knu.ac.kr) by viola.izb.knu.ac.kr (Postfix) with ESMTP id 290525E13; Thu, 1 Nov 2007 07:36:48 +0900 (KST) From: Byung-Hee HWANG To: Christopher Arnold In-Reply-To: <20071031181637.X2005@chrishome.localnet> References: <20071031152942.N1222@chrishome.localnet> <1193849325.14557.31.camel@viola.izb.knu.ac.kr> <20071031181637.X2005@chrishome.localnet> Content-Type: text/plain Organization: InZealBomb Date: Thu, 01 Nov 2007 07:36:47 +0900 Message-Id: <1193870207.1011.38.camel@viola.izb.knu.ac.kr> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: Correct way to enable ipv6 and sixxs-aiccu? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bh@izb.knu.ac.kr List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 22:36:54 -0000 On Wed, 2007-10-31 at 18:32 +0100, Christopher Arnold wrote: > > On Thu, 1 Nov 2007, Byung-Hee HWANG wrote: > > > On Wed, 2007-10-31 at 15:49 +0100, Christopher Arnold wrote: > >> While brushing up my ipv6 knowledge i ran into an issue with sixxs-aiccu > >> and configuring ipv6 in rc.conf: > >> > >> I have manually configured my gateway to route ipv6 to my internal > >> network, and this works without problems. > >> But as soon as i have ipv6_gateway_enable="YES" in /etc/rc.conf rtadvd > >> doesn't set an ipv6 address on my vr0 interface. (Btw. the only interface > >> i have on the machine.) > > > > Well, we don't know how to you configure your IPv6 router in manual. So > > you'd better show us the information like your manual scripts if you > > want to give more correct advices ;; > > > Ok to be totally clear: > # more /etc/rtadvd.conf > vr0:\ > :addr="2001:16d8:ff50::":prefixlen#64: > > > Dosn't Work: > /etc/rc.conf: ipv6_gateway_enable="YES" > After boot i execute "rtadvd vr0" as root. > > Works: > /etc/rc.conf: ipv6_gateway_enable="NO" > /etc/syscontrol: net.inet6.ip6.forwarding=1 > > After boot i execute "rtadvd vr0" as root. > > The difference i belive is the setting of net.inet6.ip6.accept_rtadv=0 in > /etc/rc.d/network_ipv6 . > > >> After digging around a bit i noticed that /etc/rc.d/network_ipv6 sets > >> net.inet6.ip6.accept_rtadv=0 and if i manually set > >> net.inet6.ip6.accept_rtadv=1 and then restart rtadvd things work and i get > >> an address on my interface. > > > >> Since i guess dissabling accept_rtadv is done for a reason i wonder what > >> is the correct way to setup ipv6 in /etc/rc.conf is? > > > > Do you have native IPv6 addresses? If you do, i am proud of you. Anyway > > you need to have a look IPv6 section of FreeBSD Handbook, rtadvd(8) and > > rtadvd.conf(5). It will give you help. And you need to study IPv6 stuff > > because it is not as easy as it seems, AFAIK. I mean you can solve your > > matters if you study more. > > > Im trying as we speak, just wanted some input on how things are supposed > to work. > > Im running /usr/ports/net/sixxs-aiccu to bring up the tunnel and my > adresses are assigned from them. www.sixxs.net for more information. > > The tunnel works all the time (on the tun0 interface) so there isn't a > problem with my ipv6 connectivity. So i guess my question is: "Why is > net.inet6.ip6.accept_rtadv=0 in /etc/rc.d/network_ipv6 and how am i > supposed to configure ipv6 in /etc/rc.conf?" > > PS: sixxs-aiccu is run from /usr/local/etc/rc.d/ so the reason things > doesn't work could be related to the fact that my tunnel goes live late in > the boot. To solve your matters, i tested an IPv6 rules by 6to4 with two FreeBSD machines. 1st machine is IPv6 router by rtadv(8). // 4.11-RELEASE 2nd machine is IPv6 host as endhost. // 7.0-BETA1 ### ### 1st machine's /etc/rc.conf: Router ### # IPv6: with rtadvd(8) ipv6_enable="YES" ipv6_network_interfaces="auto" ipv6_gateway_enable="YES" ipv6_prefix_ed1="2002:9be6:9d5d:0002" stf_interface_ipv4addr="155.230.157.93" stf_interface_ipv6_slaid="0001" ipv6_static_routes="default" ipv6_route_default="default 2002:c058:6301::" ipv6_ifconfig_ed1="2002:9be6:9d5d:2:0050:4d00:fe78:5df3 prefixlen 64" rtadvd_enable="YES" rtadvd_interfaces="ed1" ### ### 2nd machine's /etc/rc.conf: End-Host ### # IPv6: getting autoconfigured # net.inet6.ip6.accept_rtadv=1 (in /etc/sysctl.conf) ipv6_enable="YES" bh@viola:~> ping6 -c 3 castle.jp.freebsd.org. PING6(56=40+8+8 bytes) 2002:9be6:9d5d:2:20b:6aff:fe56:969f --> 2001:218:422:1::15 16 bytes from 2001:218:422:1::15, icmp_seq=0 hlim=49 time=388.469 ms 16 bytes from 2001:218:422:1::15, icmp_seq=1 hlim=49 time=378.904 ms 16 bytes from 2001:218:422:1::15, icmp_seq=2 hlim=49 time=395.308 ms --- castle.jp.freebsd.org ping6 statistics --- 3 packets transmitted, 3 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 378.904/387.560/395.308/6.728 ms bh@viola:~> After all, two machines works fine each other without any problems. Then you can figure out later your own answer. Sincerely, -- "Godfather, Godfather, save me from death, I beg of you." -- Genco Abbandando, "Chapter 1", page 46 From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 23:32:39 2007 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A243016A421 for ; Wed, 31 Oct 2007 23:32:39 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from postfix2-g20.free.fr (postfix2-g20.free.fr [212.27.60.43]) by mx1.freebsd.org (Postfix) with ESMTP id 2E39C13C48A for ; Wed, 31 Oct 2007 23:32:38 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by postfix2-g20.free.fr (Postfix) with ESMTP id 1F17C1D86B26 for ; Wed, 31 Oct 2007 21:39:51 +0100 (CET) Received: from smtp5-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp5-g19.free.fr (Postfix) with ESMTP id 7D7593F6188; Wed, 31 Oct 2007 23:40:18 +0100 (CET) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp5-g19.free.fr (Postfix) with ESMTP id 566543F6187; Wed, 31 Oct 2007 23:40:18 +0100 (CET) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id E44B89B497; Wed, 31 Oct 2007 22:39:32 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id DA4BA405B; Wed, 31 Oct 2007 23:39:32 +0100 (CET) Date: Wed, 31 Oct 2007 23:39:32 +0100 From: Jeremie Le Hen To: Matus Harvan Message-ID: <20071031223932.GD805@obiwan.tataz.chchile.org> References: <20070909201837.GA18107@inf.ethz.ch> <20071026154057.GG1049@styx.ethz.ch> <4722AEB3.1010208@FreeBSD.org> <20071029150424.GA68594@lor.one-eyed-alien.net> <4726395B.8080905@FreeBSD.org> <20071030200410.GJ78526@obiwan.tataz.chchile.org> <20071031012104.GG2564@styx.ethz.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071031012104.GG2564@styx.ethz.ch> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-net@FreeBSD.org, Jeremie Le Hen Subject: Re: UDP catchall X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2007 23:32:39 -0000 Matus, On Wed, Oct 31, 2007 at 02:21:04AM +0100, Matus Harvan wrote: > On Tue, Oct 30, 2007 at 09:04:11PM +0100, Jeremie Le Hen wrote: > > I can think of a possible implementation of mtund(8) without kernel > > patching. The next pf(4) import from OpenBSD will likely allow to log > > to some particular pflog(4) interface (instead of the default pflog0). > > > > It will then be possible to create a couple of rules matching one or > > more ranges of ports and logging to, say, pflog1. Reading on the > > latter, mtund(8) will immediately open a socket bound to the > > corresponding port. This is a kind of port knocking. Thanks to TCP > > retransmission algorithm or mtunc(1)'s cleverness in case of UDP socket, > > the second packet should hit mtund(8). > > > > One downside is that it requires a bunch of configuration in pf.conf(5), > > so it may not be as straightforward to set up as one may have expected. > > > > I don't know TCP internals, it may affect TCP slow start or have some > > other minor drawbacks. But hey, we're talking about bypassing firewall > > :-)... > > If an RST packet is generated in response to the first TCP SYN packet, > then the firewall, which we're trying to pass, might decide that the > port in question is closed and delete/modify the state for the TCP > connection. If the RST packet hits the sender of the SYN packet then > there might be no retransmission as the sender would think the TCP > port is closed. Yes, sorry. When I was writing this email I had in mind we need to use the blackhole functionnality but I forgot to mention it. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > From owner-freebsd-net@FreeBSD.ORG Thu Nov 1 00:01:11 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29DFA16A419; Thu, 1 Nov 2007 00:01:11 +0000 (UTC) (envelope-from wawa@yandex-team.ru) Received: from relanium.yandex.ru (relanium.yandex.ru [213.180.193.88]) by mx1.freebsd.org (Postfix) with ESMTP id 917E113C447; Thu, 1 Nov 2007 00:01:10 +0000 (UTC) (envelope-from wawa@yandex-team.ru) Received: from [87.250.227.221] (v3-227-221.yandex.net [87.250.227.221]) by relanium.yandex.ru (8.14.1/8.14.1) with ESMTP id lA100Mn9053416 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Nov 2007 03:00:23 +0300 (MSK) (envelope-from wawa@yandex-team.ru) Message-ID: <47291716.1030904@yandex-team.ru> Date: Thu, 01 Nov 2007 03:00:22 +0300 From: Vladimir Ivanov Organization: Yandex LLC User-Agent: Thunderbird 1.5.0.14pre (X11/20071023) MIME-Version: 1.0 To: Scott Long References: <2a41acea0710310935u6ed33491pcee4c6bd57d12d1a@mail.gmail.com> <4728AFCC.7020706@samsco.org> In-Reply-To: <4728AFCC.7020706@samsco.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: Dr.Web (R) for Mail Servers on relanium.yandex.ru host X-Antivirus-Code: 100000 Cc: "freebsd-net@freebsd.org" , FreeBSD Current , FreeBSD Stable List , Jack Vogel Subject: Re: Proposed #ifdef change to em X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 01 Nov 2007 00:01:11 -0000 Scott Long wrote: > Jack Vogel wrote: >> I have found that the FAST interrupt handling is implicated >> in the watchdog resets that I have seen. It's not true. I have seen watchdogs much earlier then FASTINTR. Also, please note: older driver had a bug preventing watchdog to be reported (see http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/92895) >> >> What I plan to do is revert to the way 6.2 had things, meaning >> that FAST interrupts will be available but defined off by default. >> >> I wanted to know if anyone has an issue with this. And more >> importantly, I have personally not seen this problem on 7, but >> I could set up #ifdef's in that driver to be the same way. >> >> What does everyone think? We've a lot of computers w/FASTINTR (more or less patched). They carry huge traffic. But I don't remember when I have seen last watchdog. E.g.: pitman:~# sysctl dev.em.0.stats=1; dmesg | tail -30 dev.em.0.stats: -1 -> -1 [skip] em0: Excessive collisions = 0 em0: Sequence errors = 0 em0: Defer count = 0 em0: Missed Packets = 44614035 em0: Receive No Buffers = 5082415 em0: Receive Length Errors = 0 em0: Receive errors = 0 em0: Crc errors = 1 em0: Alignment errors = 0 em0: Carrier extension errors = 0 em0: RX overruns = 185231 em0: watchdog timeouts = 0 em0: XON Rcvd = 0 em0: XON Xmtd = 0 em0: XOFF Rcvd = 0 em0: XOFF Xmtd = 0 em0: Good Packets Rcvd = 918214961288 em0: Good Packets Xmtd = 933147667144 pitman:~# uptime 2:54 up 247 days, 5:59, 1 user, load averages: 1,82 1,63 1,55 WBR, Vladimir From owner-freebsd-net@FreeBSD.ORG Thu Nov 1 00:31:42 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6810716A418 for ; Thu, 1 Nov 2007 00:31:42 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by mx1.freebsd.org (Postfix) with ESMTP id EF5F213C480 for ; Thu, 1 Nov 2007 00:31:41 +0000 (UTC) (envelope-from max@love2party.net) Received: from amd64.laiers.local (dslb-088-066-005-181.pools.arcor-ip.net [88.66.5.181]) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis) id 0ML21M-1InKzv3nMc-0001vb; Wed, 31 Oct 2007 22:21:17 +0100 From: Max Laier Organization: FreeBSD To: freebsd-net@freebsd.org Date: Wed, 31 Oct 2007 22:21:00 +0100 User-Agent: KMail/1.9.7 References: <20071031152942.N1222@chrishome.localnet> <1193849325.14557.31.camel@viola.izb.knu.ac.kr> <20071031181637.X2005@chrishome.localnet> In-Reply-To: <20071031181637.X2005@chrishome.localnet> X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<=?utf-8?q?=25=7D*=5FBD=0A=09U=5For=3D=5CmOZf764=26nYj=3DJYbR1PW0ud?=>|!~,,CPC.1-D$FG@0h3#'5"k{V]a~.<=?utf-8?q?mZ=7D44=23Se=7Em=0A=09Fe=7E=5C=5DX5B=5D=5Fxj?=(ykz9QKMw_l0C2AQ]}Ym8)fU MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1232430.d0okRz6q1f"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200710312221.09754.max@love2party.net> X-Provags-ID: V01U2FsdGVkX19FUdkp3ZBgWZ7mqs7Il3qX2XG3P0bew1Ehpq2 o8fEtMKVyktpoFOTD4viUIGipzvDylrp4wX9MLDwP05cISbdb7 7/qhlTXjl7+7M6/IOc1K/byXixyCzEwqY8oB6M8wz0= Cc: Christopher Arnold , Byung-Hee HWANG Subject: Re: Correct way to enable ipv6 and sixxs-aiccu? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 01 Nov 2007 00:31:42 -0000 --nextPart1232430.d0okRz6q1f Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 31 October 2007, Christopher Arnold wrote: > On Thu, 1 Nov 2007, Byung-Hee HWANG wrote: > > On Wed, 2007-10-31 at 15:49 +0100, Christopher Arnold wrote: > >> While brushing up my ipv6 knowledge i ran into an issue with > >> sixxs-aiccu and configuring ipv6 in rc.conf: > >> > >> I have manually configured my gateway to route ipv6 to my internal > >> network, and this works without problems. > >> But as soon as i have ipv6_gateway_enable=3D"YES" in /etc/rc.conf > >> rtadvd doesn't set an ipv6 address on my vr0 interface. (Btw. the > >> only interface i have on the machine.) > > > > Well, we don't know how to you configure your IPv6 router in manual. > > So you'd better show us the information like your manual scripts if > > you want to give more correct advices ;; > > Ok to be totally clear: > # more /etc/rtadvd.conf > vr0:\ > > :addr=3D"2001:16d8:ff50::":prefixlen#64: > > Dosn't Work: > /etc/rc.conf: ipv6_gateway_enable=3D"YES" > After boot i execute "rtadvd vr0" as root. > > Works: > /etc/rc.conf: ipv6_gateway_enable=3D"NO" > /etc/syscontrol: net.inet6.ip6.forwarding=3D1 > > After boot i execute "rtadvd vr0" as root. > > The difference i belive is the setting of net.inet6.ip6.accept_rtadv=3D0 > in /etc/rc.d/network_ipv6 . So you are trying to get a rtadv from yourself? I don't think we support=20 that out of the box. What I do is (adapted to your network): ipv6_ifconfig_vr0=3D"2001:16d8:ff50:0001:: prefixlen 64" rtadvd_enable=3D"YES" rtadvd_interfaces=3D"vr0" without a rtadvd.conf. In addition I have ipv6_defaultrouter set to my=20 PoPs tunnel endpoint. That's what works for me. I'm not sure what the benefit of an=20 autoconfigured address on vr0 would be. I find it easier to refer to my=20 local router as ::/128. =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart1232430.d0okRz6q1f Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBHKPHFXyyEoT62BG0RArPfAJ9WH9Q+wnAW4gHfboad5Rkv723x0gCfbE4q XBQjRqk5H7GSXbICMMwzkUY= =8dvF -----END PGP SIGNATURE----- --nextPart1232430.d0okRz6q1f-- From owner-freebsd-net@FreeBSD.ORG Thu Nov 1 00:45:31 2007 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4ED0016A420 for ; Thu, 1 Nov 2007 00:45:31 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outU.internet-mail-service.net (outU.internet-mail-service.net [216.240.47.244]) by mx1.freebsd.org (Postfix) with ESMTP id 327D813C4B6 for ; Thu, 1 Nov 2007 00:45:30 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Wed, 31 Oct 2007 09:53:23 -0700 X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 61D17126880; Wed, 31 Oct 2007 09:53:23 -0700 (PDT) Message-ID: <4728B324.2000406@elischer.org> Date: Wed, 31 Oct 2007 09:53:56 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Matus Harvan References: <20070909201837.GA18107@inf.ethz.ch> <20071026154057.GG1049@styx.ethz.ch> <4722AEB3.1010208@FreeBSD.org> <20071029150424.GA68594@lor.one-eyed-alien.net> <4726395B.8080905@FreeBSD.org> <20071031144915.GE1165@styx.ethz.ch> In-Reply-To: <20071031144915.GE1165@styx.ethz.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@FreeBSD.org, Brooks Davis , "Bruce M. Simpson" , Max Laier Subject: Re: UDP catchall X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 01 Nov 2007 00:45:31 -0000 It's possible using ipfw to mostly implement this, and with an upcoming change, possible to completely implement this. the "uid" function of ipfw can act as a "does there exist a socket to which this packet would go?" test. and a variant of it called "for_me" that I am adding (we use it at work) does this even better. so, basically, yyy: skipto xxx ip from any to-me yyy+1: fwd 127.0.0.1,1234 xxx: From owner-freebsd-net@FreeBSD.ORG Thu Nov 1 00:54:37 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73D2C16A421 for ; Thu, 1 Nov 2007 00:54:37 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id E668013C48D for ; Thu, 1 Nov 2007 00:54:36 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so283110nfb for ; Wed, 31 Oct 2007 17:54:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=jgbvK9bmZuy4EZyXK4ceXq4ffQXXGcEg8fFiaDey3es=; b=jB2k6U4fuoApeCRBf05sVJc8GCcM3rSHO89iZpa1EI4HCxHdJ5kQmt/f8vAXQFHxIGJnXMwFPBOJ2f8t8dEoXOJh5A/QK7T22Y7hKBfQjTx09cuUqmOgfcp6BsdlPFiyJ92Uk8/EaroFPK2UwlzCD6qfJDkbDPLNIcjt4JzJUco= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nOiaMTzedU1cngiFKsSKkdj6PKE5VLKlfCiB6klGYN2oueobDmlvFBgV1aktYPwx7onsyvoRpkjoo7QQf1jj0pSIiIXJK9GC5eQyvYswXXil0J2dwGgRKcioMiWEHt9suvKVAdDaZAISNRRCoF0HxoYhKLTaBBe+sFoYKGCKH3g= Received: by 10.86.71.1 with SMTP id t1mr6996698fga.1193876894038; Wed, 31 Oct 2007 17:28:14 -0700 (PDT) Received: by 10.86.100.19 with HTTP; Wed, 31 Oct 2007 17:28:13 -0700 (PDT) Message-ID: <2a41acea0710311728n69b5669fxb14fd382e3e072d4@mail.gmail.com> Date: Wed, 31 Oct 2007 17:28:13 -0700 From: "Jack Vogel" To: "Vladimir Ivanov" In-Reply-To: <47291716.1030904@yandex-team.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2a41acea0710310935u6ed33491pcee4c6bd57d12d1a@mail.gmail.com> <4728AFCC.7020706@samsco.org> <47291716.1030904@yandex-team.ru> Cc: "freebsd-net@freebsd.org" , Scott Long , FreeBSD Current , FreeBSD Stable List Subject: Re: Proposed #ifdef change to em X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 01 Nov 2007 00:54:37 -0000 Vladimir, Your one phrase "more or less patched" invalidated the whole data point. We are talking about code thats checked in and bound for 6.3 :) I have hundreds of machines here at Intel that DON'T have the problem, that's why in early 20th century philosophy they realized that verification as scientific method was ineffective, falsification on the other hand is powerful. So if any users out there have a problem I am trying to understand why. The only way that I have so far reproduced something like their failure is when FAST interrupts are enabled, THEN when I disable them on that same machine the problem disappears. Right now I have still not figured out why this is, I'm trying to do that as I write this. I am also not saying that nothing ever caused a watchdog before FAST handling, only that as best that I can tell right now the one repro I have on STABLE, October Snapshot, is related to it. Regards, Jack On 10/31/07, Vladimir Ivanov wrote: > Scott Long wrote: > > Jack Vogel wrote: > >> I have found that the FAST interrupt handling is implicated > >> in the watchdog resets that I have seen. > > It's not true. I have seen watchdogs much earlier then FASTINTR. > Also, please note: older driver had a bug preventing watchdog to be > reported (see http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/92895) > > >> > >> What I plan to do is revert to the way 6.2 had things, meaning > >> that FAST interrupts will be available but defined off by default. > >> > >> I wanted to know if anyone has an issue with this. And more > >> importantly, I have personally not seen this problem on 7, but > >> I could set up #ifdef's in that driver to be the same way. > >> > >> What does everyone think? > > We've a lot of computers w/FASTINTR (more or less patched). They carry > huge traffic. But I don't remember when I have seen last watchdog. > > E.g.: > > pitman:~# sysctl dev.em.0.stats=1; dmesg | tail -30 > dev.em.0.stats: -1 -> -1 > [skip] > em0: Excessive collisions = 0 > em0: Sequence errors = 0 > em0: Defer count = 0 > em0: Missed Packets = 44614035 > em0: Receive No Buffers = 5082415 > em0: Receive Length Errors = 0 > em0: Receive errors = 0 > em0: Crc errors = 1 > em0: Alignment errors = 0 > em0: Carrier extension errors = 0 > em0: RX overruns = 185231 > em0: watchdog timeouts = 0 > em0: XON Rcvd = 0 > em0: XON Xmtd = 0 > em0: XOFF Rcvd = 0 > em0: XOFF Xmtd = 0 > em0: Good Packets Rcvd = 918214961288 > em0: Good Packets Xmtd = 933147667144 > pitman:~# uptime > 2:54 up 247 days, 5:59, 1 user, load averages: 1,82 1,63 1,55 > > WBR, > Vladimir > From owner-freebsd-net@FreeBSD.ORG Thu Nov 1 05:19:04 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E490F16C27B for ; Thu, 1 Nov 2007 05:18:35 +0000 (UTC) (envelope-from bh@izb.knu.ac.kr) Received: from izb.knu.ac.kr (izb.knu.ac.kr [155.230.157.93]) by mx1.freebsd.org (Postfix) with ESMTP id 7132C13C4A7 for ; Thu, 1 Nov 2007 05:18:34 +0000 (UTC) (envelope-from bh@izb.knu.ac.kr) Received: by draba.izb.knu.ac.kr (Postfix, from userid 59) id DB5573EA6; Thu, 1 Nov 2007 14:18:04 +0900 (KST) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on draba.izb.knu.ac.kr X-Spam-Level: X-Spam-Status: No, score=-16.5 required=15.1 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VERIFIED autolearn=disabled version=3.2.3 X-Spam-Comment: DKIM? See http://www.google.com/search?btnI&q=RFC+4871 Received: from izb.knu.ac.kr (localhost.izb.knu.ac.kr [127.0.0.1]) by draba.izb.knu.ac.kr (Postfix) with ESMTP id 071673EA5; Thu, 1 Nov 2007 14:18:02 +0900 (KST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=izb.knu.ac.kr; h=subject: from:reply-to:to:cc:in-reply-to:references:content-type:date: message-id:mime-version:content-transfer-encoding; q=dns/txt; s= s1024; bh=uaiqm2/NP3K9T2pIDzYfqswsC3E=; b=Lvq5kx85nUGYkwichjLv6N 3pf6VMjpLBxhK/vXmjUU86maCZ/LO2jtfTC2rDI21EDBgttrp3EuTbLWoALneM60 /QvKPymSBcOVZjb1o/06I7NlrsOoNkPJjNs9AzglpxUxHS46cxMAz+3ttXCPokaS EzkbbW1NMp96UX4mVrSl0= Received: from viola.izb.knu.ac.kr (viola.izb.knu.ac.kr [IPv6:2002:9be6:9d5d:2:20b:6aff:fe56:969f]) by draba.izb.knu.ac.kr (Postfix) with ESMTP id ACF753EA4; Thu, 1 Nov 2007 14:18:01 +0900 (KST) Received: from [IPv6:2002:9be6:9d5d:2:20b:6aff:fe56:969f] (viola.izb.knu.ac.kr [IPv6:2002:9be6:9d5d:2:20b:6aff:fe56:969f]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Authenticated sender: bh.rfc4871@viola.izb.knu.ac.kr) by viola.izb.knu.ac.kr (Postfix) with ESMTP id 3851B5E13; Thu, 1 Nov 2007 14:18:01 +0900 (KST) From: Byung-Hee HWANG To: Christopher Arnold In-Reply-To: <1193870207.1011.38.camel@viola.izb.knu.ac.kr> References: <20071031152942.N1222@chrishome.localnet> <1193849325.14557.31.camel@viola.izb.knu.ac.kr> <20071031181637.X2005@chrishome.localnet> <1193870207.1011.38.camel@viola.izb.knu.ac.kr> Content-Type: text/plain Organization: InZealBomb Date: Thu, 01 Nov 2007 14:17:48 +0900 Message-Id: <1193894268.954.13.camel@viola.izb.knu.ac.kr> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: Correct way to enable ipv6 and sixxs-aiccu? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bh@izb.knu.ac.kr List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 05:19:04 -0000 and.. On Thu, 2007-11-01 at 07:36 +0900, Byung-Hee HWANG wrote: > On Wed, 2007-10-31 at 18:32 +0100, Christopher Arnold wrote: > > > > On Thu, 1 Nov 2007, Byung-Hee HWANG wrote: > > > > > On Wed, 2007-10-31 at 15:49 +0100, Christopher Arnold wrote: > > >> While brushing up my ipv6 knowledge i ran into an issue with sixxs-aiccu > > >> and configuring ipv6 in rc.conf: > > >> > > >> I have manually configured my gateway to route ipv6 to my internal > > >> network, and this works without problems. > > >> But as soon as i have ipv6_gateway_enable="YES" in /etc/rc.conf rtadvd > > >> doesn't set an ipv6 address on my vr0 interface. (Btw. the only interface > > >> i have on the machine.) > > > > > > Well, we don't know how to you configure your IPv6 router in manual. So > > > you'd better show us the information like your manual scripts if you > > > want to give more correct advices ;; > > > > > Ok to be totally clear: > > # more /etc/rtadvd.conf > > vr0:\ > > :addr="2001:16d8:ff50::":prefixlen#64: > > > > > > Dosn't Work: > > /etc/rc.conf: ipv6_gateway_enable="YES" > > After boot i execute "rtadvd vr0" as root. > > > > Works: > > /etc/rc.conf: ipv6_gateway_enable="NO" > > /etc/syscontrol: net.inet6.ip6.forwarding=1 > > > > After boot i execute "rtadvd vr0" as root. > > > > The difference i belive is the setting of net.inet6.ip6.accept_rtadv=0 in > > /etc/rc.d/network_ipv6 . > > > > >> After digging around a bit i noticed that /etc/rc.d/network_ipv6 sets > > >> net.inet6.ip6.accept_rtadv=0 and if i manually set > > >> net.inet6.ip6.accept_rtadv=1 and then restart rtadvd things work and i get > > >> an address on my interface. > > > > > >> Since i guess dissabling accept_rtadv is done for a reason i wonder what > > >> is the correct way to setup ipv6 in /etc/rc.conf is? > > > > > > Do you have native IPv6 addresses? If you do, i am proud of you. Anyway > > > you need to have a look IPv6 section of FreeBSD Handbook, rtadvd(8) and > > > rtadvd.conf(5). It will give you help. And you need to study IPv6 stuff > > > because it is not as easy as it seems, AFAIK. I mean you can solve your > > > matters if you study more. > > > > > Im trying as we speak, just wanted some input on how things are supposed > > to work. > > > > Im running /usr/ports/net/sixxs-aiccu to bring up the tunnel and my > > adresses are assigned from them. www.sixxs.net for more information. > > > > The tunnel works all the time (on the tun0 interface) so there isn't a > > problem with my ipv6 connectivity. So i guess my question is: "Why is > > net.inet6.ip6.accept_rtadv=0 in /etc/rc.d/network_ipv6 and how am i > > supposed to configure ipv6 in /etc/rc.conf?" > > > > PS: sixxs-aiccu is run from /usr/local/etc/rc.d/ so the reason things > > doesn't work could be related to the fact that my tunnel goes live late in > > the boot. > > To solve your matters, > i tested an IPv6 rules by 6to4 with two FreeBSD machines. > > 1st machine is IPv6 router by rtadv(8). // 4.11-RELEASE > 2nd machine is IPv6 host as endhost. // 7.0-BETA1 > > ### > ### 1st machine's /etc/rc.conf: Router > ### > # IPv6: with rtadvd(8) > ipv6_enable="YES" > ipv6_network_interfaces="auto" > ipv6_gateway_enable="YES" > ipv6_prefix_ed1="2002:9be6:9d5d:0002" > stf_interface_ipv4addr="155.230.157.93" > stf_interface_ipv6_slaid="0001" > ipv6_static_routes="default" > ipv6_route_default="default 2002:c058:6301::" > ipv6_ifconfig_ed1="2002:9be6:9d5d:2:0050:4d00:fe78:5df3 prefixlen 64" > rtadvd_enable="YES" > rtadvd_interfaces="ed1" > > ### > ### 2nd machine's /etc/rc.conf: End-Host > ### > # IPv6: getting autoconfigured > # net.inet6.ip6.accept_rtadv=1 (in /etc/sysctl.conf) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ipv6_enable="YES" Above net.inet6.ip6.accetp_rtadv value is made by rtsol(8) on boot if you set just one line (ipv6_enable="YES") in /etc/rc.conf ;; So we don't need to force the value (net.inet6.ip6.accept_rtadvd) manually. I verified the scenario by testing again with 7.0-BETA1 machine. Yep, the 7.0-BETA machine is the End-Host. > bh@viola:~> ping6 -c 3 castle.jp.freebsd.org. > PING6(56=40+8+8 bytes) 2002:9be6:9d5d:2:20b:6aff:fe56:969f --> > 2001:218:422:1::15 > 16 bytes from 2001:218:422:1::15, icmp_seq=0 hlim=49 time=388.469 ms > 16 bytes from 2001:218:422:1::15, icmp_seq=1 hlim=49 time=378.904 ms > 16 bytes from 2001:218:422:1::15, icmp_seq=2 hlim=49 time=395.308 ms > > --- castle.jp.freebsd.org ping6 statistics --- > 3 packets transmitted, 3 packets received, 0.0% packet loss > round-trip min/avg/max/std-dev = 378.904/387.560/395.308/6.728 ms > bh@viola:~> > > After all, > two machines works fine each other without any problems. > > Then you can figure out later your own answer. > > Sincerely, > -- "I would work for you like your sons." -- Tom Hagen, "Chapter 1", page 52 From owner-freebsd-net@FreeBSD.ORG Thu Nov 1 08:38:05 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91F6416A420; Thu, 1 Nov 2007 08:38:05 +0000 (UTC) (envelope-from wawa@yandex-team.ru) Received: from relanium.yandex.ru (relanium.yandex.ru [213.180.193.88]) by mx1.freebsd.org (Postfix) with ESMTP id 000BC13C4AA; Thu, 1 Nov 2007 08:38:04 +0000 (UTC) (envelope-from wawa@yandex-team.ru) Received: from [87.250.227.221] (v3-227-221.yandex.net [87.250.227.221]) by relanium.yandex.ru (8.14.1/8.14.1) with ESMTP id lA18aaLP040756 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Nov 2007 11:36:37 +0300 (MSK) (envelope-from wawa@yandex-team.ru) Message-ID: <47299014.6020207@yandex-team.ru> Date: Thu, 01 Nov 2007 11:36:36 +0300 From: Vladimir Ivanov Organization: Yandex LLC User-Agent: Thunderbird 1.5.0.14pre (X11/20071023) MIME-Version: 1.0 To: Jack Vogel References: <2a41acea0710310935u6ed33491pcee4c6bd57d12d1a@mail.gmail.com> <4728AFCC.7020706@samsco.org> <47291716.1030904@yandex-team.ru> <2a41acea0710311728n69b5669fxb14fd382e3e072d4@mail.gmail.com> In-Reply-To: <2a41acea0710311728n69b5669fxb14fd382e3e072d4@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: Dr.Web (R) for Mail Servers on relanium.yandex.ru host X-Antivirus-Code: 100000 Cc: "freebsd-net@freebsd.org" , Scott Long , FreeBSD Current , FreeBSD Stable List Subject: Re: Proposed #ifdef change to em X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 01 Nov 2007 08:38:05 -0000 Hi, Jack Vogel wrote: > Vladimir, > > Your one phrase "more or less patched" invalidated the whole > data point. We are talking about code thats checked in and bound > for 6.3 :) Oops. I've got it. Maybe we talk about different kinds of watchdog. I have meant TX queue watchdogs. Yes, there is a problem with system watchdog in mainstream driver. Sometimes system stops to respond due to kernel activity for a one minute or less. Hardware watchdog can reset system this time. This issue is specific to taskq (fastintr) version of driver The fix is very simple: we've to schedule less priority to RX thread. We use PRI_MAX_KERN instead of PI_NET in Yandex' revision of driver. > > I have hundreds of machines here at Intel that DON'T have the > problem, that's why in early 20th century philosophy they realized > that verification as scientific method was ineffective, falsification > on the other hand is powerful. So if any users out there have > a problem I am trying to understand why. The only way that I > have so far reproduced something like their failure is when > FAST interrupts are enabled, THEN when I disable them on that > same machine the problem disappears. Right now I have still > not figured out why this is, I'm trying to do that as I write this. > > I am also not saying that nothing ever caused a watchdog > before FAST handling, only that as best that I can tell right now > the one repro I have on STABLE, October Snapshot, is related to it. > > Regards, > > Jack > WBR,Vladimir From owner-freebsd-net@FreeBSD.ORG Thu Nov 1 12:33:53 2007 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49C2816A417 for ; Thu, 1 Nov 2007 12:33:53 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from fallbackmx01.syd.optusnet.com.au (fallbackmx01.syd.optusnet.com.au [211.29.132.93]) by mx1.freebsd.org (Postfix) with ESMTP id DD9E313C4A3 for ; Thu, 1 Nov 2007 12:33:52 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail15.syd.optusnet.com.au (mail15.syd.optusnet.com.au [211.29.132.196]) by fallbackmx01.syd.optusnet.com.au (8.12.11.20060308/8.12.11) with ESMTP id l9VFZAre009290 for ; Thu, 1 Nov 2007 02:35:10 +1100 Received: from c211-30-219-213.carlnfd3.nsw.optusnet.com.au (c211-30-219-213.carlnfd3.nsw.optusnet.com.au [211.30.219.213]) by mail15.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l9VFYJLU019005 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Nov 2007 02:34:20 +1100 Date: Thu, 1 Nov 2007 02:34:31 +1100 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: Jack Vogel In-Reply-To: <2a41acea0710301317w8e820f2pdbd7f3ca1e1f6a30@mail.gmail.com> Message-ID: <20071101022946.V4289@delplex.bde.org> References: <2a41acea0710301317w8e820f2pdbd7f3ca1e1f6a30@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: "freebsd-net@freebsd.org" , FreeBSD Stable List Subject: Re: em watchdogs - OS involvement X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 01 Nov 2007 12:33:53 -0000 On Tue, 30 Oct 2007, Jack Vogel wrote: > Another bit of data, if I define DEVICE_POLLING on the Oct. snap it > also will work. Defining DEVICE_POLLING (globally) breaks configuration of "fast" interrupt handlers in em. I have to #undef it to test "fast" interrupt handlers in em without losing testing of polling in other network drivers. I lose only testing of polling in em. Bruce From owner-freebsd-net@FreeBSD.ORG Thu Nov 1 15:06:20 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 707B516A419; Thu, 1 Nov 2007 15:06:20 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (cl-162.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:a1::2]) by mx1.freebsd.org (Postfix) with ESMTP id D583513C4B2; Thu, 1 Nov 2007 15:06:19 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.1/8.13.8) with ESMTP id lA1F6Fgm025330; Thu, 1 Nov 2007 10:06:15 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.1/8.13.8/Submit) id lA1F6D5S025327; Thu, 1 Nov 2007 10:06:13 -0500 (CDT) (envelope-from brooks) Date: Thu, 1 Nov 2007 10:06:13 -0500 From: Brooks Davis To: Julian Elischer Message-ID: <20071101150613.GA24803@lor.one-eyed-alien.net> References: <20070909201837.GA18107@inf.ethz.ch> <20071026154057.GG1049@styx.ethz.ch> <4722AEB3.1010208@FreeBSD.org> <20071029150424.GA68594@lor.one-eyed-alien.net> <4726395B.8080905@FreeBSD.org> <20071031144915.GE1165@styx.ethz.ch> <4728B324.2000406@elischer.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PNTmBPCT7hxwcZjr" Content-Disposition: inline In-Reply-To: <4728B324.2000406@elischer.org> User-Agent: Mutt/1.5.16 (2007-06-09) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Thu, 01 Nov 2007 10:06:15 -0500 (CDT) Cc: freebsd-net@freebsd.org, Brooks Davis , "Bruce M. Simpson" , Matus Harvan , Max Laier Subject: Re: UDP catchall X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 01 Nov 2007 15:06:20 -0000 --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 31, 2007 at 09:53:56AM -0700, Julian Elischer wrote: > It's possible using ipfw to mostly implement this, and with an upcoming= =20 > change, possible to completely implement this. >=20 > the "uid" function of ipfw can act as a "does there exist a socket to whi= ch=20 > this packet would go?" test. > and a variant of it called "for_me" that I am adding (we use it at work)= =20 > does this even better. >=20 > so, basically, >=20 > yyy: skipto xxx ip from any to-me > yyy+1: fwd 127.0.0.1,1234 > xxx: One problem with this kind of implementation is that it's impossible to make it plug and play. You have to have a firewall configured and you have to tell mtund where I can stick it's rules so it doesn't screw up your fireall config and it gets the packets it needs. One major goal of mtund is that it require as little configuraiton as possible. Ideally, you could be able to get a connection if it's possible with nothing but the IP address(es) of the friendly server and the IPoDNS zone. Also, while it's less useful in the UDP case, the TCP case could be extremely useful for setting up a poorman's mtund server where you run ssh or an HTTP service of some sort on every port. -- Brooks --PNTmBPCT7hxwcZjr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFHKetlXY6L6fI4GtQRAoLWAKCdLXwJXpMtKehfvtldBYOi0KYvSACgjaI1 KFUuaoL7xTz5L8PcSgMRtGo= =VG0z -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr-- From owner-freebsd-net@FreeBSD.ORG Thu Nov 1 18:07:11 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7F5116A4D1 for ; Thu, 1 Nov 2007 18:07:11 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 7D47113C4AA for ; Thu, 1 Nov 2007 18:07:11 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id CB0761B10EEE; Thu, 1 Nov 2007 15:30:28 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 Received: from [10.1.1.3] (unknown [192.168.25.14]) by blah.sun-fish.com (Postfix) with ESMTP id 439501B10EEB for ; Thu, 1 Nov 2007 15:30:26 +0100 (CET) Message-ID: <4729E300.3060902@moneybookers.com> Date: Thu, 01 Nov 2007 16:30:24 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/4658/Thu Nov 1 13:50:49 2007 on blah.cmotd.com X-Virus-Status: Clean Subject: FIN_WAIT_2 on FreeBSD 6.2-STABLE X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 01 Nov 2007 18:07:11 -0000 Hi, I'm seeing strange problem with sockets in state FIN_WAIT_2. netstat -n |grep FIN_WAIT_2|wc -l shows 12234 lines, Those sockets never die and just grow more and more, when finally today I saw this in logs: postfix/smtp[6968]: connect to gmail-smtp-in.l.google.com[66.249.91.27]: Can't assign requested address (port 25) and this happens not only to postfix, but all clients & servers on this host. Even things that use only local connections throw out: connect: Can't assign requested address Shorty after I moved away almost everything from this server, there was a spontaneous reboot. I know what apache and some buggy clients can cause sockets to stay in state FIN_WAIT_2, but they should disappear after some timeout. Is there a point to go for 6.3-prerelease, or nothing like this was reported, respectively fixed between may 2007 and today? Migration to RELENG_7 is not option for me at this point as this host serves something like 6mbps of http traffic, and there is a report that sometimes hosts running releng_7 can't be reached .. 6.2-STABLE from May 9 - amd64 Thanks in advance. From owner-freebsd-net@FreeBSD.ORG Fri Nov 2 00:55:43 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4025A16A418; Fri, 2 Nov 2007 00:55:43 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from angel.ticketswitch.com (angel.ticketswitch.com [IPv6:2002:57e0:1d4e::1]) by mx1.freebsd.org (Postfix) with ESMTP id F3E6213C4A5; Fri, 2 Nov 2007 00:55:42 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from smaug.rattatosk ([10.50.50.2]) by angel.ticketswitch.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67 (FreeBSD)) (envelope-from ) id 1Inkp3-000JEC-Md; Fri, 02 Nov 2007 00:55:41 +0000 Received: from dilbert.rattatosk ([10.50.50.6] helo=dilbert.ticketswitch.com) by smaug.rattatosk with esmtp (Exim 4.67 (FreeBSD)) (envelope-from ) id 1Inkp3-000GY9-Ko; Fri, 02 Nov 2007 00:55:41 +0000 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.68 (FreeBSD)) (envelope-from ) id 1Inkp3-000D1m-Jo; Fri, 02 Nov 2007 00:55:41 +0000 To: freebsd-net@freebsd.org, freebsd-stable@freebsd.org, jfvogel@gmail.com In-Reply-To: <2a41acea0711011654j56037949m381de3f9a243562d@mail.gmail.com> Message-Id: From: Pete French Date: Fri, 02 Nov 2007 00:55:41 +0000 Cc: Subject: Re: Test changes to em X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 02 Nov 2007 00:55:43 -0000 > You just replace the two files in your STABLE tree. Its big > enough that this seemed easier than a patch. Did you miss a file ? I nly see a new header file in here. Am keen to try this out though... -pcf. From owner-freebsd-net@FreeBSD.ORG Fri Nov 2 02:16:32 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F28516A421; Fri, 2 Nov 2007 02:16:32 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from angel.ticketswitch.com (angel.ticketswitch.com [IPv6:2002:57e0:1d4e::1]) by mx1.freebsd.org (Postfix) with ESMTP id E3BA813C4B3; Fri, 2 Nov 2007 02:16:31 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from smaug.rattatosk ([10.50.50.2]) by angel.ticketswitch.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67 (FreeBSD)) (envelope-from ) id 1Inm5G-000JvU-Od; Fri, 02 Nov 2007 02:16:30 +0000 Received: from dilbert.rattatosk ([10.50.50.6] helo=dilbert.ticketswitch.com) by smaug.rattatosk with esmtp (Exim 4.67 (FreeBSD)) (envelope-from ) id 1Inm5G-000HCL-Ls; Fri, 02 Nov 2007 02:16:30 +0000 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.68 (FreeBSD)) (envelope-from ) id 1Inm5G-000L4A-K9; Fri, 02 Nov 2007 02:16:30 +0000 To: jfvogel@gmail.com In-Reply-To: <2a41acea0711011849w5008404cy6850036e06a5106@mail.gmail.com> Message-Id: From: Pete French Date: Fri, 02 Nov 2007 02:16:30 +0000 Cc: freebsd-net@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Test changes to em X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 02 Nov 2007 02:16:32 -0000 > Eh, what I see is if_em.h and if_em.c, does the version > that came thru not have both?? Nope, it's only got if_em.h in it - I just took a look at the actual mime stuff in the email and tere is only one attachment in the version I received. -pete. From owner-freebsd-net@FreeBSD.ORG Fri Nov 2 02:44:59 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1470516A418 for ; Fri, 2 Nov 2007 02:44:59 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.191]) by mx1.freebsd.org (Postfix) with ESMTP id DB48B13C49D for ; Fri, 2 Nov 2007 02:44:58 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so551429rvb for ; Thu, 01 Nov 2007 19:44:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=b2FSsu/rr8dMQyUW5X8Phue1dxFKj+qBM/2kiZ5puSw=; b=ODIyqKzp/s6u7W1bUnewT8C5PQR+CQJAOr9X0p0h3twkXy0SJRQ8KdIpPODhh+EtiW11iZPDVEZ1ZuBpUY5tOishi0jUgcRYdImVOitVb1cSrYZzvPyFyfTlo/Y5nvU6xAWCB86IqysjKVrZd/7cS7HWGrYS3J6CysfLVFyigVQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FyfOtDrPheLbxRzt9pFmMmYN6bs/ysSbq7ZWYrRZwoQeXY46b7Kln72QS58d5p5fVI7RsFYkU2Thuoqfp9DPfUq1Y6xgvN350BxGYiCP3AGXD/tkFCcPkGb/L61TNZe5sMV7x7Y+TssO0cAw/oVSaA3UUW0C+XEnBq1z8k+fYHQ= Received: by 10.114.149.2 with SMTP id w2mr1325619wad.1193968158376; Thu, 01 Nov 2007 18:49:18 -0700 (PDT) Received: by 10.114.177.13 with HTTP; Thu, 1 Nov 2007 18:49:18 -0700 (PDT) Message-ID: <2a41acea0711011849w5008404cy6850036e06a5106@mail.gmail.com> Date: Thu, 1 Nov 2007 17:49:18 -0800 From: "Jack Vogel" To: "Pete French" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2a41acea0711011654j56037949m381de3f9a243562d@mail.gmail.com> Cc: freebsd-net@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Test changes to em X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 02 Nov 2007 02:44:59 -0000 Eh, what I see is if_em.h and if_em.c, does the version that came thru not have both?? Jack On 11/1/07, Pete French wrote: > > You just replace the two files in your STABLE tree. Its big > > enough that this seemed easier than a patch. > > Did you miss a file ? I nly see a new header file in here. Am keen to > try this out though... > > -pcf. > From owner-freebsd-net@FreeBSD.ORG Fri Nov 2 03:49:51 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9718216A419 for ; Fri, 2 Nov 2007 03:49:51 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by mx1.freebsd.org (Postfix) with ESMTP id F198913C4BE for ; Fri, 2 Nov 2007 03:49:50 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so877569waf for ; Thu, 01 Nov 2007 20:49:30 -0700 (PDT) Received: by 10.114.78.1 with SMTP id a1mr1229094wab.1193961243696; Thu, 01 Nov 2007 16:54:03 -0700 (PDT) Received: by 10.114.177.13 with HTTP; Thu, 1 Nov 2007 16:54:03 -0700 (PDT) Message-ID: <2a41acea0711011654j56037949m381de3f9a243562d@mail.gmail.com> Date: Thu, 1 Nov 2007 16:54:03 -0700 From: "Jack Vogel" To: "FreeBSD Stable List" , "freebsd-net@freebsd.org" MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_14646_10493375.1193961243659" X-Mailman-Approved-At: Fri, 02 Nov 2007 04:13:18 +0000 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Test changes to em X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 02 Nov 2007 03:49:51 -0000 ------=_Part_14646_10493375.1193961243659 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline This is a substantial change to the EM driver that I would appreciate some testing and feedback on. You just replace the two files in your STABLE tree. Its big enough that this seemed easier than a patch. Whats in this: A change Mike Silbersack came up with, it makes the watchdog period twice as long, but then in the middle of it fires off a clean. Thats a small change. Secondly, I took the locking mechanism I used in ixgbe and added it here. It uses two locks: core and tx instead of one. Third, added the EEPROM dumper into the driver, if you do `sysctl dev.em.X.debug=2' it will dump 32 words worth of the prom, this will allow an easy way to tell if you need a patch to an 82573 for instance. Next, I found a serious bug for Zoar (82575) users, it had to do with how and when I decide to try and use MSI/X, the fact that no one has squawked about this must mean all users are running 7 :) cuz on STABLE right now the driver load will FAIL if you enable MSI/X on the system. What I did was to create a new function for setting up msi and msix, its much cleaner and fixes this problem. In any case, I have done some pounding on this but wider testing would be good, let me know what you find. I hope to get this all resolved and into the tree for 6.3. Jack ------=_Part_14646_10493375.1193961243659 Content-Type: application/octet-stream; name=if_em.h Content-Transfer-Encoding: base64 X-Attachment-Id: f_f8hxjwuf Content-Disposition: attachment; filename=if_em.h LyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqCgpDb3B5cmlnaHQgKGMpIDIwMDEtMjAwNywgSW50ZWwgQ29ycG9y YXRpb24KQWxsIHJpZ2h0cyByZXNlcnZlZC4KClJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291 cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dAptb2RpZmljYXRpb24sIGFyZSBw ZXJtaXR0ZWQgcHJvdmlkZWQgdGhhdCB0aGUgZm9sbG93aW5nIGNvbmRpdGlvbnMgYXJlIG1ldDoK CiAxLiBSZWRpc3RyaWJ1dGlvbnMgb2Ygc291cmNlIGNvZGUgbXVzdCByZXRhaW4gdGhlIGFib3Zl IGNvcHlyaWdodCBub3RpY2UsCiAgICB0aGlzIGxpc3Qgb2YgY29uZGl0aW9ucyBhbmQgdGhlIGZv bGxvd2luZyBkaXNjbGFpbWVyLgoKIDIuIFJlZGlzdHJpYnV0aW9ucyBpbiBiaW5hcnkgZm9ybSBt dXN0IHJlcHJvZHVjZSB0aGUgYWJvdmUgY29weXJpZ2h0CiAgICBub3RpY2UsIHRoaXMgbGlzdCBv ZiBjb25kaXRpb25zIGFuZCB0aGUgZm9sbG93aW5nIGRpc2NsYWltZXIgaW4gdGhlCiAgICBkb2N1 bWVudGF0aW9uIGFuZC9vciBvdGhlciBtYXRlcmlhbHMgcHJvdmlkZWQgd2l0aCB0aGUgZGlzdHJp YnV0aW9uLgoKIDMuIE5laXRoZXIgdGhlIG5hbWUgb2YgdGhlIEludGVsIENvcnBvcmF0aW9uIG5v ciB0aGUgbmFtZXMgb2YgaXRzCiAgICBjb250cmlidXRvcnMgbWF5IGJlIHVzZWQgdG8gZW5kb3Jz ZSBvci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gmKF9zYyktPnR4X210eCwgX25h bWUsIE1UWF9ORVRXT1JLX0xPQ0ssIE1UWF9ERUYpCiNkZWZpbmUJRU1fQ09SRV9MT0NLX0RFU1RS T1koX3NjKQltdHhfZGVzdHJveSgmKF9zYyktPmNvcmVfbXR4KQojZGVmaW5lCUVNX1RYX0xPQ0tf REVTVFJPWShfc2MpCQltdHhfZGVzdHJveSgmKF9zYyktPnR4X210eCkKI2RlZmluZQlFTV9DT1JF X0xPQ0soX3NjKQkJbXR4X2xvY2soJihfc2MpLT5jb3JlX210eCkKI2RlZmluZQlFTV9UWF9MT0NL KF9zYykJCQltdHhfbG9jaygmKF9zYyktPnR4X210eCkKI2RlZmluZQlFTV9DT1JFX1VOTE9DSyhf c2MpCQltdHhfdW5sb2NrKCYoX3NjKS0+Y29yZV9tdHgpCiNkZWZpbmUJRU1fVFhfVU5MT0NLKF9z YykJCW10eF91bmxvY2soJihfc2MpLT50eF9tdHgpCiNkZWZpbmUJRU1fQ09SRV9MT0NLX0FTU0VS VChfc2MpCW10eF9hc3NlcnQoJihfc2MpLT5jb3JlX210eCwgTUFfT1dORUQpCiNkZWZpbmUJRU1f VFhfTE9DS19BU1NFUlQoX3NjKQkJbXR4X2Fzc2VydCgmKF9zYyktPnR4X210eCwgTUFfT1dORUQp CgojZW5kaWYgLyogX0VNX0hfREVGSU5FRF8gKi8K ------=_Part_14646_10493375.1193961243659-- From owner-freebsd-net@FreeBSD.ORG Fri Nov 2 08:11:28 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E77D16A419 for ; Fri, 2 Nov 2007 08:11:28 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.freebsd.org (Postfix) with ESMTP id A0B4F13C4B2 for ; Fri, 2 Nov 2007 08:11:26 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so579738nfb for ; Fri, 02 Nov 2007 01:10:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=iF54dnJCkbeEBlCt7sgjfnartKuR2DMQ+flDTL4FcKE=; b=KOTNzMFiTHcP+DEGhOarhw6Hb/ssPQTW+hmaxB+y7QLihCEulUyvlMGM7Fw1aYYxlAsS7XNIjKwdUFTkrHY4FfeP416Rz+t+q5I8YSNWXBTUhRtnWdkvGd10Fa2o5EVyJoJb5H32HHnaVhAdIcefyNJ6HXJBNr2eV7D0rDNKexQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=lglDGjAI5DRA1XmL0GpDRXg9W/Au6r6Y+rbCbaNT+FIdHmQoerNBd87oV0Iw8LKHsSRIEkr1jpQRfyHSS1TAGQsQ+CUZHE7e4ZDxthmpKU4DgMXb7+LJESIRqbCHpwmcx6MPOZYi4Sqpix8DR3eeweGG7tJJATytyA18/6wDk2k= Received: by 10.86.80.5 with SMTP id d5mr674148fgb.1193991059712; Fri, 02 Nov 2007 01:10:59 -0700 (PDT) Received: by 10.86.100.19 with HTTP; Fri, 2 Nov 2007 01:10:59 -0700 (PDT) Message-ID: <2a41acea0711020110j45547a9dsbd2157fbae53f4ee@mail.gmail.com> Date: Fri, 2 Nov 2007 00:10:59 -0800 From: "Jack Vogel" To: "FreeBSD Stable List" , "freebsd-net@freebsd.org" In-Reply-To: <2a41acea0711011654j56037949m381de3f9a243562d@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_3083_5547868.1193991059678" References: <2a41acea0711011654j56037949m381de3f9a243562d@mail.gmail.com> X-Mailman-Approved-At: Fri, 02 Nov 2007 12:06:56 +0000 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Test changes to em X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 02 Nov 2007 08:11:28 -0000 ------=_Part_3083_5547868.1193991059678 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Although I see it at least one person claims the message came thru with only the header file, so I am going to send if_em.c thru again. Jack ------=_Part_3083_5547868.1193991059678-- From owner-freebsd-net@FreeBSD.ORG Fri Nov 2 12:17:21 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8897B16A418; Fri, 2 Nov 2007 12:17:21 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 3F9E713C447; Fri, 2 Nov 2007 12:17:21 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 8BF151B10EE6; Fri, 2 Nov 2007 13:16:50 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 Received: from [10.1.1.3] (unknown [192.168.25.14]) by blah.sun-fish.com (Postfix) with ESMTP id D4A7A1B10ED2; Fri, 2 Nov 2007 13:16:47 +0100 (CET) Message-ID: <472B152A.6050508@moneybookers.com> Date: Fri, 02 Nov 2007 14:16:42 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Jack Vogel References: <2a41acea0711011654j56037949m381de3f9a243562d@mail.gmail.com> <2a41acea0711020110j45547a9dsbd2157fbae53f4ee@mail.gmail.com> In-Reply-To: <2a41acea0711020110j45547a9dsbd2157fbae53f4ee@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/4659/Thu Nov 1 17:24:40 2007 on blah.cmotd.com X-Virus-Status: Clean Cc: "freebsd-net@freebsd.org" , FreeBSD Stable List Subject: Re: Test changes to em X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 02 Nov 2007 12:17:21 -0000 Jack Vogel wrote: > Although I see it at least one person claims the message > came thru with only the header file, so I am going > to send if_em.c thru again. > > Jack > > ------------------------------------------------------------------------ > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" In this mail if_em.c is not here for me, as in the previous. From owner-freebsd-net@FreeBSD.ORG Fri Nov 2 12:57:17 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 462C016A418; Fri, 2 Nov 2007 12:57:17 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id F29A313C48A; Fri, 2 Nov 2007 12:57:16 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id BF8071B10EE9; Fri, 2 Nov 2007 13:56:54 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 Received: from [10.1.1.3] (unknown [192.168.25.14]) by blah.sun-fish.com (Postfix) with ESMTP id 6991B1B10EE6; Fri, 2 Nov 2007 13:56:50 +0100 (CET) Message-ID: <472B1E89.5080006@moneybookers.com> Date: Fri, 02 Nov 2007 14:56:41 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/4660/Fri Nov 2 13:13:54 2007 on blah.cmotd.com X-Virus-Status: Clean Cc: freebsd-current@freebsd.org Subject: rtfree: 0xc741ee88 has 1 refs X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 02 Nov 2007 12:57:17 -0000 Hi, I see rtfree: 0xc741ee88 has 1 refs with freebsd releng_7 (i386) from today. I think it's easy reproducible. What I have is: releng_7 (10.1.1.2) -> default GW (10.1.1.1) on default GW I have route to 10.10.1.1/24 -> 10.1.1.3 so everytime when 10.1.1.2 try to contact someone from 10.10.1.1/24 I see: rtfree: 0xc741ee88 has 1 refs if I add direct route on 10.1.1.2 to 10.10.1.1/24 through 10.1.1.3 the message will go away. Should I ignore this msg for now, or should I expect kernel panic soon? :) From owner-freebsd-net@FreeBSD.ORG Fri Nov 2 13:27:53 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2115116A419 for ; Fri, 2 Nov 2007 13:27:53 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id D0D0B13C4AA for ; Fri, 2 Nov 2007 13:27:52 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-25-183.bredband.comhem.se ([83.253.25.183]:51994 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1InvQK-00080F-8f for freebsd-net@freebsd.org; Fri, 02 Nov 2007 13:14:52 +0100 Received: (qmail 52775 invoked from network); 2 Nov 2007 13:14:21 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 2 Nov 2007 13:14:21 +0100 Received: (qmail 73634 invoked by uid 1001); 2 Nov 2007 13:14:21 +0100 Date: Fri, 2 Nov 2007 13:14:21 +0100 From: Erik Trulsson To: Jack Vogel Message-ID: <20071102121421.GA73596@owl.midgard.homeip.net> Mail-Followup-To: Jack Vogel , FreeBSD Stable List , "freebsd-net@freebsd.org" References: <2a41acea0711011654j56037949m381de3f9a243562d@mail.gmail.com> <2a41acea0711020110j45547a9dsbd2157fbae53f4ee@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2a41acea0711020110j45547a9dsbd2157fbae53f4ee@mail.gmail.com> User-Agent: Mutt/1.5.16 (2007-06-09) X-Originating-IP: 83.253.25.183 X-Scan-Result: No virus found in message 1InvQK-00080F-8f. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1InvQK-00080F-8f 114f8a3d2e4d503e2b5eae82deb8e1a2 Cc: "freebsd-net@freebsd.org" , FreeBSD Stable List Subject: Re: Test changes to em X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 02 Nov 2007 13:27:53 -0000 On Fri, Nov 02, 2007 at 12:10:59AM -0800, Jack Vogel wrote: > Although I see it at least one person claims the message > came thru with only the header file, so I am going > to send if_em.c thru again. > Attachments are usually stripped off by the mailing list software, so you are probably better off putting the files on a webpage somewhere and just telling us the URL. -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-net@FreeBSD.ORG Fri Nov 2 20:14:03 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1093916A417; Fri, 2 Nov 2007 20:14:03 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from angel.ticketswitch.com (angel.ticketswitch.com [IPv6:2002:57e0:1d4e::1]) by mx1.freebsd.org (Postfix) with ESMTP id C67E613C4A3; Fri, 2 Nov 2007 20:14:02 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from smaug.rattatosk ([10.50.50.2]) by angel.ticketswitch.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67 (FreeBSD)) (envelope-from ) id 1Io24O-0007yO-Pq; Fri, 02 Nov 2007 19:20:40 +0000 Received: from dilbert.rattatosk ([10.50.50.6] helo=dilbert.ticketswitch.com) by smaug.rattatosk with esmtp (Exim 4.67 (FreeBSD)) (envelope-from ) id 1Io24O-000227-Nv; Fri, 02 Nov 2007 19:20:40 +0000 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.68 (FreeBSD)) (envelope-from ) id 1Io24O-000648-N1; Fri, 02 Nov 2007 19:20:40 +0000 To: freebsd-net@freebsd.org, freebsd-stable@freebsd.org, jfvogel@gmail.com In-Reply-To: <2a41acea0711021003j70993933w9852cadfc900481b@mail.gmail.com> Message-Id: From: Pete French Date: Fri, 02 Nov 2007 19:20:40 +0000 Cc: Subject: Re: Another send of EM test change X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 02 Nov 2007 20:14:03 -0000 Thanks, that worked ifne, am just compiling them now to try... -pete. From owner-freebsd-net@FreeBSD.ORG Fri Nov 2 20:24:35 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD01116A420 for ; Fri, 2 Nov 2007 20:24:35 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id 62E6E13C4CE for ; Fri, 2 Nov 2007 20:24:35 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so734292nfb for ; Fri, 02 Nov 2007 13:24:16 -0700 (PDT) Received: by 10.86.53.8 with SMTP id b8mr974396fga.1194021232219; Fri, 02 Nov 2007 09:33:52 -0700 (PDT) Received: by 10.86.100.19 with HTTP; Fri, 2 Nov 2007 09:33:51 -0700 (PDT) Message-ID: <2a41acea0711020933s9a47e81ked9bc328d5bcf34e@mail.gmail.com> Date: Fri, 2 Nov 2007 09:33:51 -0700 From: "Jack Vogel" To: "FreeBSD Stable List" , "freebsd-net@freebsd.org" In-Reply-To: <2a41acea0711020110j45547a9dsbd2157fbae53f4ee@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2a41acea0711011654j56037949m381de3f9a243562d@mail.gmail.com> <2a41acea0711020110j45547a9dsbd2157fbae53f4ee@mail.gmail.com> Cc: Subject: Re: Test changes to em X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 02 Nov 2007 20:24:35 -0000 So at this point I'm unclear, with my reposting of if_em.c last night has everyone seen both parts or do I have to try something else? Jack From owner-freebsd-net@FreeBSD.ORG Fri Nov 2 20:29:58 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72D4416A421 for ; Fri, 2 Nov 2007 20:29:58 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id 37D9513C4A5 for ; Fri, 2 Nov 2007 20:29:58 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost2.sentex.ca (8.14.1/8.13.8) with ESMTP id lA2JcXRQ059306; Fri, 2 Nov 2007 15:38:34 -0400 (EDT) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.8/8.13.3) with ESMTP id lA2JcXLJ002942 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Nov 2007 15:38:33 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <200711021938.lA2JcXLJ002942@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Fri, 02 Nov 2007 15:39:13 -0400 To: "Jack Vogel" , "FreeBSD Stable List" , "freebsd-net@freebsd.org" From: Mike Tancsa In-Reply-To: <2a41acea0711020933s9a47e81ked9bc328d5bcf34e@mail.gmail.com > References: <2a41acea0711011654j56037949m381de3f9a243562d@mail.gmail.com> <2a41acea0711020110j45547a9dsbd2157fbae53f4ee@mail.gmail.com> <2a41acea0711020933s9a47e81ked9bc328d5bcf34e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Subject: Re: Test changes to em X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 02 Nov 2007 20:29:58 -0000 At 12:33 PM 11/2/2007, Jack Vogel wrote: >So at this point I'm unclear, with my reposting of if_em.c last >night has everyone seen both parts or do I have to try something >else? Seems to work. I grabbed it from the mailing list archive off www.freebsd.org http://lists.freebsd.org/pipermail/freebsd-stable/2007-November/037936.html 0[releng6-865]% tar -pxzf p.tgz 0[releng6-865]% 0[releng6-865]% 0[releng6-865]% fetch -o p.tgz http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20071102/e68d41b4/test-em.obj p.tgz 100% of 33 kB 17 MBps 0[releng6-865]% tar -vpxzf p.tgz x if_em.c x if_em.h 0[releng6-865]% md5 p.tgz MD5 (p.tgz) = cd7aea528578d8695464a9aa8f685ee2 0[releng6-865]% md5 if_em.c MD5 (if_em.c) = 2d0eee0ccec12daf412848b76efc8149 0[releng6-865]% md5 if_em.h MD5 (if_em.h) = bce0fec7794006fc03ae88dce5f77f71 0[releng6-865]% >Jack >_______________________________________________ >freebsd-stable@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-stable >To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Fri Nov 2 21:16:03 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4700516A417 for ; Fri, 2 Nov 2007 21:16:03 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx1.freebsd.org (Postfix) with ESMTP id 4A53D13C49D for ; Fri, 2 Nov 2007 21:16:02 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so743536nfb for ; Fri, 02 Nov 2007 14:15:38 -0700 (PDT) Received: by 10.86.96.18 with SMTP id t18mr1010319fgb.1194023032083; Fri, 02 Nov 2007 10:03:52 -0700 (PDT) Received: by 10.86.100.19 with HTTP; Fri, 2 Nov 2007 10:03:51 -0700 (PDT) Message-ID: <2a41acea0711021003j70993933w9852cadfc900481b@mail.gmail.com> Date: Fri, 2 Nov 2007 10:03:51 -0700 From: "Jack Vogel" To: "FreeBSD Stable List" , "freebsd-net@freebsd.org" MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_4024_2310972.1194023032077" Cc: Subject: Another send of EM test change X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 02 Nov 2007 21:16:03 -0000 ------=_Part_4024_2310972.1194023032077 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline It seems that some mailer is stripping source attachments, so I'm sending this in an archive. NOTE: the attachment is a bz2, rename to extract it. Jack ------=_Part_4024_2310972.1194023032077 Content-Type: application/octet-stream; name=test-em Content-Transfer-Encoding: base64 X-Attachment-Id: f_f8iyqy4l Content-Disposition: attachment; filename=test-em QlpoOTFBWSZTWSgyB4AA48h/lf//9qB/////v/////////8EAAQAIAAACGC6Xu8FsMgAAFVQARAJ FN932+50926Ci73vezAAAPiQulzVt9s7t7kctvl7i7sltPB7d59F1jve46e0ypUG2d4avWQA09F7 3cql0NJfd9999SqJaySCqKqqopAAKovo+99Vete9d9vMzrLrvZ5sAAAAAOvfHQnmO3gyKAE3pz5V rZ71Hm+vK93t73bWVWm+2fPcAHbe7uB0ANd99SDKD5fJ75jt9233jfZ999e+rfVXd96ekorZ3aTu 6jud3D2MfY9burtXafbla87Uh6YqGWIq8hhbvvfS98u9z5yWz3buvHvI59D6+vdZU9fLz2iXZe97 PNjd97WrwCmvHrqQ9jKl8zPbXt9d912iXRGtrfW4AJ9wblquvdvhQAAD5ldTgb1weAtAvDsre87l vU+1K7h3dA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Dsetz2TrIXLzr745pD4PMe2wBaQlNUNx5CZ+86PsetidSCUP8cSpJV WEAsIsgEjFkopWEUgRKIB7G7L01O839MmHttHLq4ThDrwxYtYKLJQQKd5hcYYKBJxKTeN6MTJgO0 kggJdd+4wl+EVyXUSGqbiHIvjAiGt8UU+BIJIAmghwZpmjXJZT57fhS0kgcYnyhQwUpoMoEUkJId tZJOKrCwwxkCPAXwikjyIm6KXcmfCQyZwN0UlmzCB3RAdEhsDfGQBrOfzIomb7sKDoG1AGqkPE7B CkW1cPMDXHNOskaMjGBIQaYFQeb8Q7bMqR4wKY7pxGqKj8Tb5mIqkrkEnHD+cmSEj85yqvTRRuoO tEO1KFOR2/YKCtOCdCcDGquiSBtOw5wzwSSGnDebA/e655J58KqqIqLBZUzIKZCMaMEEkAAQlqGW gQkRLTNlLKa5yGaEk2NFgsbQBAJmRRUUM1USEbFJNlrXwapVwDARvNNu2zZqTzqr9j19PDLvO15G o2kgjaxW2ASIrGCrjUjFUPBDkNB+Ae4FDOz02+rzaxFtb2+6BTQpqaU9dgSwPM+qd/Z3nHWpuBcU +xn5NDcDfGk7+h7L45hp3Ms02jze0LZCqRlYmB6UI+WYTYTtfe92aPIM2firVaLMXlgd8vDSZsnk EnTGE0B6kNSHQLTdMUQsMayMGaVcF5YCLRFYBUYlkoQ4uGkILBgpvRn0m2lYEPy+1EsVAyOEtBMR Horzo3TtFXrAU/VoQ5Hjj62IA/wkUCgkWOkaotY2xVMYtvvW1Q2v+YRYiwkBAkJFkFU8A+GH9lkQ w9s1JVv6LW6Vvxza0bWNVFXmSJWxFEACl5hRVNYB9g4MkBsIB+o5gCH5kBRYToD/cLuSKcKEgUGQ PAA= ------=_Part_4024_2310972.1194023032077-- From owner-freebsd-net@FreeBSD.ORG Fri Nov 2 21:50:01 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5702D16A417 for ; Fri, 2 Nov 2007 21:50:01 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outP.internet-mail-service.net (outP.internet-mail-service.net [216.240.47.239]) by mx1.freebsd.org (Postfix) with ESMTP id 3B57C13C4BE for ; Fri, 2 Nov 2007 21:50:01 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Fri, 02 Nov 2007 13:51:13 -0700 X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (nat.ironport.com [63.251.108.100]) by idiom.com (Postfix) with ESMTP id 44A32126900; Fri, 2 Nov 2007 13:51:13 -0700 (PDT) Message-ID: <472B8DDE.6030103@elischer.org> Date: Fri, 02 Nov 2007 13:51:42 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Mike Tancsa References: <2a41acea0711011654j56037949m381de3f9a243562d@mail.gmail.com> <2a41acea0711020110j45547a9dsbd2157fbae53f4ee@mail.gmail.com> <2a41acea0711020933s9a47e81ked9bc328d5bcf34e@mail.gmail.com> <200711021938.lA2JcXLJ002942@lava.sentex.ca> In-Reply-To: <200711021938.lA2JcXLJ002942@lava.sentex.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-net@freebsd.org" , FreeBSD Stable List , Jack Vogel Subject: Re: Test changes to em X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 02 Nov 2007 21:50:01 -0000 Mike Tancsa wrote: > At 12:33 PM 11/2/2007, Jack Vogel wrote: >> So at this point I'm unclear, with my reposting of if_em.c last >> night has everyone seen both parts or do I have to try something >> else? > I never saw a .c file so put them in ~/public_html on freefall and they can be accessed as: http://people.freebsd.org/~(yourlogin)/(filename) > > Seems to work. I grabbed it from the mailing list archive off > www.freebsd.org possibly the archive gets it before stripping? > > http://lists.freebsd.org/pipermail/freebsd-stable/2007-November/037936.html > From owner-freebsd-net@FreeBSD.ORG Sat Nov 3 19:24:52 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C9D416A46C for ; Sat, 3 Nov 2007 19:24:52 +0000 (UTC) (envelope-from ivo.vachkov@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.239]) by mx1.freebsd.org (Postfix) with ESMTP id EBD4613C480 for ; Sat, 3 Nov 2007 19:24:51 +0000 (UTC) (envelope-from ivo.vachkov@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so1003655wxd for ; Sat, 03 Nov 2007 12:24:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=qv89jGBZkgjq07yWHpOMYDKHMrgaqEXiKW4c6LfJqCI=; b=l8F+WExhuqJ01/34mZGxlgq1OiLNPIusOOszfqH0fB5dxHINDrR5M0/vbRljh6+Cx4g7Z88urZa59ZYBq6//rD71OoETwtmRyFgsYemWGwv9Ci3Mz0O7iPdnQh2NW/fCVQAqqpRNt2RIRvVzrNNqhCW1kVzKL1VG7Nrwbo2lBlQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=GDo9wRRBKiOK+zHhCkLOOUekIJiczQpdM6CIgJ1JxcbNuOvLH+zLE+6TvELY3X1uFf4TFVAfeFsfzfl0Q1JLLFseWjnFzsRdX5jEmhnPMSz1yHwQ6yINGRjB9pXUGk9beVHJ3nU9IBMLf1MGNiHmAUhdsLj9Cxl89reDJ0S6+Ck= Received: by 10.90.49.1 with SMTP id w1mr2121309agw.1194114200376; Sat, 03 Nov 2007 11:23:20 -0700 (PDT) Received: by 10.90.114.20 with HTTP; Sat, 3 Nov 2007 11:23:20 -0700 (PDT) Message-ID: Date: Sat, 3 Nov 2007 20:23:20 +0200 From: "Ivo Vachkov" To: freebsd-net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Maximum number of vlans on a freebsd box ??? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 03 Nov 2007 19:24:52 -0000 Hello all, I'd like to ask if someone has information how many vlans a freebsd box can 'run' ? Thanks in advance. /ipv From owner-freebsd-net@FreeBSD.ORG Sat Nov 3 22:35:15 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 706B716A421 for ; Sat, 3 Nov 2007 22:35:15 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from heff.fud.org.nz (203-109-251-39.static.bliink.ihug.co.nz [203.109.251.39]) by mx1.freebsd.org (Postfix) with ESMTP id 288C613C48D for ; Sat, 3 Nov 2007 22:35:14 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: by heff.fud.org.nz (Postfix, from userid 1001) id 0507E53F6; Sun, 4 Nov 2007 11:18:32 +1300 (NZDT) Date: Sun, 4 Nov 2007 11:18:32 +1300 From: Andrew Thompson To: Ivo Vachkov Message-ID: <20071103221832.GA2573@heff.fud.org.nz> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-net Subject: Re: Maximum number of vlans on a freebsd box ??? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 03 Nov 2007 22:35:15 -0000 On Sat, Nov 03, 2007 at 08:23:20PM +0200, Ivo Vachkov wrote: > Hello all, > > I'd like to ask if someone has information how many vlans a freebsd > box can 'run' ? There is no limit. You can only add 4096 per interface of course as its a 12bit tag. If you are adding a lot then you should use the VLAN_ARRAY kernel option which gives a constant tag lookup time. Andrew