From owner-freebsd-current@freebsd.org Mon Jun 22 03:29:53 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2AE9933D06B for ; Mon, 22 Jun 2020 03:29:53 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49qvzh55kCz440k for ; Mon, 22 Jun 2020 03:29:52 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id AD2B733D325; Mon, 22 Jun 2020 03:29:52 +0000 (UTC) Delivered-To: current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AB87C33D324; Mon, 22 Jun 2020 03:29:52 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-ot1-f54.google.com (mail-ot1-f54.google.com [209.85.210.54]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49qvzh2ZCPz44Lc; Mon, 22 Jun 2020 03:29:52 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-ot1-f54.google.com with SMTP id u23so11935744otq.10; Sun, 21 Jun 2020 20:29:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc:content-transfer-encoding; bh=ivSe/ieUSju4bSGuMoz1momk6Jpx0rDzm0iUsxqxdFs=; b=kH9/fE7XN9f+Hn3Seu8RrfLGhI//Gc/eC1k1UCdwEsYfJqX0WxjI+KFhhW7SSYW5B7 FNpaEA/6TXmZW9BKBfF85lhTSO7LOziADNIj+qgy5YxdxjAUwqumFx3W3cbtHHLA4kuE w7V9Tat5YXluuF+lZG6umQz5eDvuBjhFggvhaOTGk4bWzWGYRJn/CfNXhreRtC2phdy6 aGlARgrsNgKQ4g1rc+AOb0N++DtFcIRaOXxojgsSYNad+QePxfeVePCZpUmYLhSX+c+M L12xFdX9nbnS8icwTz4K13A5sr3ycRrZyHV64FiRkXh98wBhzxu8vGGTqjw/tloelmS/ PmUg== X-Gm-Message-State: AOAM531GpUKYG+02rJe8SqPXVR34k2jFXqBTxexQPnAedRkqsjv4+EV4 UjIYDKpYr+xah/HaUL5I08Ojdzns X-Google-Smtp-Source: ABdhPJycfF1rt4HhD2kbJRpLdWdU7+z6uWIQaL38YwkfYmb4Htu6aGTXQI3VIvaTPyq58KaQ0QQ/cQ== X-Received: by 2002:a9d:80c:: with SMTP id 12mr12529624oty.208.1592796590787; Sun, 21 Jun 2020 20:29:50 -0700 (PDT) Received: from mail-ot1-f49.google.com (mail-ot1-f49.google.com. [209.85.210.49]) by smtp.gmail.com with ESMTPSA id h22sm1113476oos.48.2020.06.21.20.29.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 21 Jun 2020 20:29:50 -0700 (PDT) Received: by mail-ot1-f49.google.com with SMTP id d4so11961069otk.2; Sun, 21 Jun 2020 20:29:50 -0700 (PDT) X-Received: by 2002:a9d:2224:: with SMTP id o33mr12629681ota.216.1592796590201; Sun, 21 Jun 2020 20:29:50 -0700 (PDT) MIME-Version: 1.0 References: <273191592779927@mail.yandex.ru> In-Reply-To: <273191592779927@mail.yandex.ru> Reply-To: cem@freebsd.org From: Conrad Meyer Date: Sun, 21 Jun 2020 20:29:39 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: routed && route6d removal proposal To: "Alexander V. Chernikov" Cc: "current@FreeBSD.org" , net , freebsd-hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 49qvzh2ZCPz44Lc X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TAGGED_FROM(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jun 2020 03:29:53 -0000 Sounds good to me. We don't need a RIP daemon in base, and if needed, it is just a pkg install away via one of the myrriad maintained routing daemons. Thanks, Conrad On Sun, Jun 21, 2020 at 4:06 PM Alexander V. Chernikov wrote: > > Hey, > > I would like to propose removal of sbin/routed and usr.sbin/route6d. > > routed(8) is the daemon implementing RIPv2 routing protocol. > route6d(8) is the daemon implementing RIPng routing protocol for IPv6. > > RIP [1] was one of the first protocols used in the networking. The first= version was implemented back in 1982. > > 1. Network landscape has changed since then. BGP, OSPF, IS-ISIS and other= routing protocols have been created and greatly improved over years. Peopl= e have created and adopted numerous designs leveraging OSPF/ISIS or BGP. > RIP became obsolete a while ago as there were no competitive advantage it= can offer. > "It is the oldest routing protocol used by the network industry and is co= nsidered by many to be inefficient or border-line obsolete." =E2=80=94 [2],= 2009 > "Today, the only reason you might run across a network running RIPv2 is e= ither that the network is very old and in serious need of an upgrade or the= network is running cheaper, consumer-grade routing hardware that can only = support RIP" =E2=80=94 [3], 2016. > > 1.1. Nowadays the daemon name is simply misleading. Given situation descr= ibed above, one does expect far wider functionality from the program named = "route[6]d" than just RIP implementation. > > 2. Multiple routing stacks supporting all major routing protocol includin= g RIP exists these days: bird, frr, quagga. Many BGP-only designs in are ga= ining popularity, so do bgp speakers such as exabgp or gobgp. Nowadays, if= one needs dynamic routing on the host, OSPF or BGP speaker is the choice. = FreeBSD packages contains well-maintained ports for these. Having RIP[ng] s= peakers in base offers no advantage. > > 3. Both routed/route6d are largely unmaintained [4] and presents an addit= ional attack vector. Here is the list of last non-trivial commits to routed= /route6d: > > sbin/routed: > r327276 - coverity > r317035 - rtsock fix > r299825 - coverity > r299822 - coverity, from netbsd > r299821 - coverity, from netbsd > r299784 - coverity, from netbsd > r299771 - coverify, from netbsd > r286347 - bugfix > r276602 - SA14:21 patch > r271919 - SA14:21 fix > r215702 - logic fix, 2010 > > usr.sbin/route6d: > r337500 - functional fix, 2018 > r317035 - rtsock fix > r311994 - coverity > r311985 - coverity > r299869 - coverity > r299491 - coverity > r270234 - link-local fix > r243233 - functionality improvement, 2012 > > To summarise: RIP protocol is obsolete, implementations for newer protoco= ls exists in ports, implementation in base is unmaintained. > > With all that in mind I propose to remove routed and route6d from base in= FreeBSD 13. > Timeline: > June 5 - feedback aggregation and decision point > July 19 - removal (proposed) > > > [1] https://en.wikipedia.org/wiki/Routing_Information_Protocol > [2] https://www.globalknowledge.com/ca-en/resources/resource-library/arti= cles/basics-of-understanding-rip/ > [3] https://www.networkcomputing.com/data-centers/comparing-dynamic-routi= ng-protocols > [4] https://bugs.freebsd.org/bugzilla/buglist.cgi?cmdtype=3Drunnamed&list= _id=3D361897&namedcmd=3Drouted_prs > > /Alexander > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= "