From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 23 06:50:07 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 533A5BE0; Mon, 23 Mar 2015 06:50:07 +0000 (UTC) Received: from mail-ob0-x22e.google.com (mail-ob0-x22e.google.com [IPv6:2607:f8b0:4003:c01::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 19493770; Mon, 23 Mar 2015 06:50:07 +0000 (UTC) Received: by obcjt1 with SMTP id jt1so96205104obc.2; Sun, 22 Mar 2015 23:50:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=jrYfHkJgE1QbFDLHC7d6bc64kpvn3SRr94Dxqd98LIU=; b=Z0ejQ3F6KcGbKKil9ZoAShaqMcfuHExZKyATjIWVin3moiYv3gZx5LticC77O8ZpAQ Sshq8MA4scwJa/0m3L3+fF8ftkjA+i7P3C6dUL27OX0zkMf0Gtx4tigOMwjWCJXrIXkb bLoa/Jm88pWrCn1YN+7nY/9SI9IbFmBcCA4Rm08bTK/ixtkdC9O6Qp2jcFjAl67gCU+U 4O9aqBnyKM9EpBf6lqJRp6lADn0wigj4WaW5yFJ36soCmIBfB8+oX7/t6H0V3WhbQjb7 DF6PU9bpkbRvnIx0o8C8hULKF+dnUayCdVzejzW8PJu4KiDzZg1yF1eEvfjPccpDK+LP 6yxg== MIME-Version: 1.0 X-Received: by 10.202.79.20 with SMTP id d20mr6331284oib.96.1427093406063; Sun, 22 Mar 2015 23:50:06 -0700 (PDT) Sender: pali.gabor@gmail.com Received: by 10.182.135.35 with HTTP; Sun, 22 Mar 2015 23:50:05 -0700 (PDT) In-Reply-To: References: Date: Mon, 23 Mar 2015 07:50:05 +0100 X-Google-Sender-Auth: YVeZL6t5sytIPq_0yBEmaCQbf90 Message-ID: Subject: Re: Self introduciton of Hao Sun and thoughts on LibNetstat From: Gabor Pali To: Hao Sun Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: George Neville-Neil , Robert Watson , freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 06:50:07 -0000 Hi Hao, 2015-03-22 13:09 GMT+01:00 Hao Sun : > Following your guidance, I've cloned the FreeBSD mirror from GitHub and w= ill get down to > have an initial scratch with the latest version. That is great. I forgot to mention, but maybe it is also said on the introductory wiki pages you have also cited originally, that it is probably the best if you try to build the userland ("world") and the kernel on your VM and install it first. This should give you the basic feel for the development cycle and help to spot problems with the clean system itself before you start hacking on it. The development branch of FreeBSD (that is called "current") shall build and install just fine for most of the time, but do not be discouraged if not, ask for help. > On the project's wiki page [1], I think the target for GSoC > 2015 is to finish the tasks haven't been done in the following table. But= according to your > comments in the emails, it seems like I need to start the job from scratc= h. Thus the question > is should I keep the existing code and add new features to the previous v= ersion or just start > the project from the very beginning? I might have sounded a bit pessimistic, I do not necessarily insist on rewriting the entire library :-) I think it is just common sense: study the current implementation, take a look at the FreeBSD ecosystem and kernel, discuss the topic with the interested hackers, and work out your proposal based on your findings. You may find some of the old code base and concepts reusable, which is excellent, and you may decide to take another approach for the rest. It might be worthwhile to accommodate some "stretch goals" in your proposal if you accidentally completed your summer task too quickly :-) For making things a bit easier (hopefully) for you, I may also include George Neville-Neil in the conversation (see him CC'ed) who has shown some interest in driving this library into the base system in the past if I recall correctly. Along with Robert, he is also a high-profile src committer, with experience in networking and related areas. (And also a potential mentor for this project as well?) Cheers, G=C3=A1bor [1] https://wiki.freebsd.org/LibNetstat