From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 402F2C33CAC for ; Thu, 6 Feb 2020 17:13:49 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 98387214AF for ; Thu, 6 Feb 2020 17:13:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 98387214AF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=vt.edu Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.92.3) (envelope-from ) id 1izki9-00086m-U6; Thu, 06 Feb 2020 12:13:05 -0500 Received: from omr2.cc.ipv6.vt.edu ([2607:b400:92:8400:0:33:fb76:806e] helo=omr2.cc.vt.edu) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) (envelope-from ) id 1izki7-00086X-Cb for Kernelnewbies@kernelnewbies.org; Thu, 06 Feb 2020 12:13:03 -0500 Received: from mr5.cc.vt.edu (smtp.ipv6.vt.edu [IPv6:2607:b400:92:9:0:9d:8fcb:4116]) by omr2.cc.vt.edu (8.14.4/8.14.4) with ESMTP id 016HCtZs021934 for ; Thu, 6 Feb 2020 12:13:00 -0500 Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) by mr5.cc.vt.edu (8.14.7/8.14.7) with ESMTP id 016HCoGW012132 for ; Thu, 6 Feb 2020 12:12:55 -0500 Received: by mail-qt1-f198.google.com with SMTP id e37so4295669qtk.7 for ; Thu, 06 Feb 2020 09:12:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:references :mime-version:content-transfer-encoding:date:message-id; bh=a6fpONTeG71yrv1Jtl+lVC9TIOZvK4abEiyNHH17a4g=; b=tFt9bAcTGFfYlXJoGD3A8SOkL0yDcpPLzYFfy6GQxZ5qxBSVBT7PHQ1aNdfphAGWGj RMIMe6EF1AZJkMEyJgO4fltZW60u3hkznW4Us1Tdezf5atnP6WyHJx9FSQ7EyIkMfwCM gAAYaU2vHIQwcFhsI1um3pvwG9qgTvCQJ+7IM4JGYznss7aOf63Wt7uEIGE3emHnx5gx kAnSoJG0bzTMgkzQzq37xGY85czVJndlfUdIlqynEciShFJzEoop4LNEXlowYV4QFyQa U+ckqbq5Ap8tWpOlL6n9Lje2T9vImdgu6aF+W+IrpSyxWJSXEMXTnTzDkMOaH3JMsjuQ 33+Q== X-Gm-Message-State: APjAAAXWUaRm3LilFmRbllmx7zYS2NGKIqzISq6jrtsGo2RkOJlbKUS1 KX5Upzz/7bPXMhJCjAXKZ6123xJ70NQA2CmT6Th4nacgIkge5O9pTJxT8/JxZgEwN0zZzVsoP1c 1Zu2VgfIdTgtfEi100rCJbTVx2PC5U79M82u0N60= X-Received: by 2002:ad4:4588:: with SMTP id x8mr3165993qvu.208.1581009170194; Thu, 06 Feb 2020 09:12:50 -0800 (PST) X-Google-Smtp-Source: APXvYqwZFvMULiJPRrbB5zaowVQNV77KJMzWVNCOYfWUf0lEbOys63IEWyOJ6wE53Tcehq7wSvgUew== X-Received: by 2002:ad4:4588:: with SMTP id x8mr3165638qvu.208.1581009164978; Thu, 06 Feb 2020 09:12:44 -0800 (PST) Received: from turing-police ([2601:5c0:c001:c9e1::359]) by smtp.gmail.com with ESMTPSA id 136sm1668075qkn.109.2020.02.06.09.12.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Feb 2020 09:12:43 -0800 (PST) From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Google-Original-From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7+dev To: Chinmay Agarwal Subject: Re: Understanding the working of Optimistic DAD Feature. In-Reply-To: References: Mime-Version: 1.0 Date: Thu, 06 Feb 2020 12:12:42 -0500 Message-ID: <291438.1581009162@turing-police> Cc: "Kernelnewbies@kernelnewbies.org" X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============7371540479383117419==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============7371540479383117419== Content-Type: multipart/signed; boundary="==_Exmh_1581009162_12134P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --==_Exmh_1581009162_12134P Content-Type: text/plain; charset=us-ascii On Thu, 06 Feb 2020 12:19:26 +0000, Chinmay Agarwal said: > To check the same there is a condition in kernel code wherein we check if ipv6.devconf_all is set. > Now, my query is that we are checking if forwarding is enabled on all interfaces, then we consider the system to be a router. > But even if forwarding is enabled from few interfaces(not all) isn't the system behaving like a router? You can't actually configure "routing on some but not all" without setting the global forwarding bit. If you have the very odd use case where you have eth0, eth1, and eth2, and you're routing between eth0 and eth1, but eth2 is a private net that should *not* communicate with either eth0 or eth1, the way you configure that is to turn on the global forwarding bit, and then use a combo of routing table and firewall rules to prevent traffic going to eth2 unless it's from the local host. --==_Exmh_1581009162_12134P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Comment: Exmh version 2.9.0 11/07/2018 iQIVAwUBXjxJCgdmEQWDXROgAQId+A/9G6howqUBaL0GytId0O/ESTfX+N2ZJABE XWjdYbIUb1mUif+aYVl5zChOJI8BFd1kBA4tiQM4p76VsWDyvlDlQAz3TU4Ocfmi ttAcUqjmtlshXRgUVO7gguHGpEuwOPRBKwNVDwbnjbTgXdiNfCQP4vr7U1RJC96m SD/vQekV26PLfJ3QycdJITt4vSQJg6W5hdWucrmkGjci7Pt2mKtgfclWpUycAyCn K3J5Qlgjk5mUn2m3+v36qM3/aRZDvoF/PH5o0YdKYivEUG6y9XfGOvxMUFAFHx4T ixz8y4mDf4pxIkp/demjkQ3ZiPDlsF12S55bF+ylLd6Lsz90NYOS8u52Ig3Nvnbb rm2wcBlejuZW/ntB4BYsaqeFnrQIsVRijIeoDNvqPEqwDdOwaq/4upcyGWi9ETXD tpzJCP74+scxPf4xHOsFSgBNCqt3ERdZrH6/iVM9jZSICk9qwjMqrjK+OycBFdST pWRuRAiR0CQWol+6nCrqcJYLpbKErZV+G91n6YCZ9q/d72GMAtbZTWBdryYAw158 1ecocE+u3AiCUzr+0lywXEAWRwpijC3FJTAdZNkZtSEyys5DhdQBrYSKcIswAwGJ gMNP2To8kp97AkZh3eCYduHkoSBijuB+dTCOsdHTE0HDoSCR/rz44wgNSVwN6DZi niUunyi6Q+w= =S6u1 -----END PGP SIGNATURE----- --==_Exmh_1581009162_12134P-- --===============7371540479383117419== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============7371540479383117419==--