From owner-freebsd-net@freebsd.org Fri Nov 20 14:20:20 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C14EA33E7E for ; Fri, 20 Nov 2015 14:20:20 +0000 (UTC) (envelope-from gibheer@zero-knowledge.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7A1E319E6 for ; Fri, 20 Nov 2015 14:20:20 +0000 (UTC) (envelope-from gibheer@zero-knowledge.org) Received: by mailman.ysv.freebsd.org (Postfix) id 76939A33E7D; Fri, 20 Nov 2015 14:20:20 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 75396A33E7C for ; Fri, 20 Nov 2015 14:20:20 +0000 (UTC) (envelope-from gibheer@zero-knowledge.org) Received: from zero-knowledge.org (zero-knowledge.org [IPv6:2a01:4f8:190:50d1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 37B3519E5 for ; Fri, 20 Nov 2015 14:20:20 +0000 (UTC) (envelope-from gibheer@zero-knowledge.org) Received: from sodium.zero (213-146-235-56.skytron.de [213.146.235.56]) by zero-knowledge.org (Postfix) with ESMTPSA id 0C68413A2F for ; Fri, 20 Nov 2015 15:20:12 +0100 (CET) Date: Fri, 20 Nov 2015 15:21:39 +0100 From: Gibheer To: net@freebsd.org Subject: porting of dladm Message-ID: <20151120152139.1634d0fd@sodium.zero> X-Mailer: Claws Mail 3.13.0 (GTK+ 2.24.28; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2015 14:20:20 -0000 Hi FreeBSD networker, for some years now, I'm using FreeBSD coming from OpenSolaris and later OmniOS. The one thing I'm missing after all this time is the network handling. VIMAGE was a big step forward around 2010/2011, but it is still not at the point where crossbow on Illumos already is. Also ifconfig was deprecated shortly before the closing of opensolaris. Yes, the stuff left behind was broken, but I think the idea behind splitting up ifconfig into separate tools was a very good idea. After all that time waiting for things to get better in FreeBSD, I want to help make things better. For that, the first step I want to do is to port dladm and ipadm to FreeBSD. These tools split the hardware configuration from the protocol configuration, where dladm configures all kind of network devices and ipadm concentrates on ip configuration. For people who have never seen dladm, I can recommend the man page http://illumos.org/man/1M/dladm dladm is implemented as a client/server program, where the server runs in the background and handles the network interface configuration. The command line client sends messages to the server on what the user wants it to do. As I am not that good to decide if that is a good approach or not, I will start porting it to freebsd and on the way figure out, what might be good to change to make it work in a better way. In the long term, I want to use dladm as a platform to get other features into FreeBSD like the virtual switch or wifi configuration wihtout the need to install additional tools (maybe we can have something without wpa_supplicant?). Is there interest in this project at all or does anyone know if someone else is working on a similar project? Thank you, Gibheer