From owner-freebsd-net@FreeBSD.ORG Wed Sep 24 20:42:37 2008 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 A70331065699 for ; Wed, 24 Sep 2008 20:42:37 +0000 (UTC) (envelope-from debarshi.ray@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.190]) by mx1.freebsd.org (Postfix) with ESMTP id 2E09C8FC0A for ; Wed, 24 Sep 2008 20:42:36 +0000 (UTC) (envelope-from debarshi.ray@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so93529fkk.11 for ; Wed, 24 Sep 2008 13:42:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=HbriVpzR45gkmPbHRlotQJlYE3eFvM2nu66W0TZCS+w=; b=uteS1BQZgxCZEjrd0cIohqFx8VWEP4FC/nMoyKy7EupZLDNh3hoLbTpKypGMRGwWJL 4ib+U8c1dQty6r7Lwaztj9D/N2PJQqfPD0CvYr6jwwjcuEd+KnbEnIwWrqwOp1htBv5C nnxWSmfQpY3S7kciz3vctjapKSgOcoDQDndBM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references; b=C1QhWIKTZVJ6AalL+GMC6/0+pW/d9ATP9Mjk2hG92fnSJQOYgp1bE4L4WEp0sg2zhy 4zBajdEgyQievs+61FyJEbwHeDOUIJbGkgA0s7bU3i8VzpDLGKxRvnu27O0qi8YbOgHb 2zvPMvBXNU2LQZfSvQe19KvpIPq3SmNSbI+cE= Received: by 10.187.251.11 with SMTP id d11mr1972960fas.104.1222288955445; Wed, 24 Sep 2008 13:42:35 -0700 (PDT) Received: by 10.187.177.19 with HTTP; Wed, 24 Sep 2008 13:42:35 -0700 (PDT) Message-ID: <3170f42f0809241342q422439b7oe72f60cf45ba53f8@mail.gmail.com> Date: Thu, 25 Sep 2008 02:12:35 +0530 From: "Debarshi Ray" To: "Mikhail Gorbulev" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <87ej3e32iz.fsf@chateau.d.lf> <1221968342.74421.4.camel@shumai.marcuscom.com> Cc: Joe Marcus Clarke , FreeBSD networking and TCP/IP list Subject: Re: [X-POST] Anyone porting NetworkManager to FreeBSD ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: debarshi.ray@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2008 20:42:37 -0000 > I was thinking about porting it, because I really need this thing on > my laptop and to have some programming experience. I just wanted to > have a companion, because I'm not sure I can handle this by myself and > because I'm pretty lazy these days, so I need to feel responsibility Myself and Ashish are working on a library (libroute) that basically abstracts out the various interfaces offered by different kernels to interact with routing tables, etc.. Currently NetworkManager uses libnl [1], which is a wrapper over the Linux kernel's PF_NETLINK socket interface, but its entirely Linux specific. So libroute will have a backend for PF_NETLINK (using libnl), one for PF_ROUTE, and so on. Once we have the required functionality, we intend to modify NetworkManager so that it calls libroute instead of libnl. The initial code is available here: git://bombadil.infradead.org/~rishi/inetutils.git (see libroute/ and route/) I must say that libroute is still in the initial stages of developement. :-) Interested? Happy hacking, Debarshi [1] http://people.suug.ch/~tgr/libnl