From owner-freebsd-hackers@freebsd.org Sat Mar 24 18:45:49 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C12A7F64E2B for ; Sat, 24 Mar 2018 18:45:49 +0000 (UTC) (envelope-from sumitlakradev@gmail.com) Received: from mail-wr0-x229.google.com (mail-wr0-x229.google.com [IPv6:2a00:1450:400c:c0c::229]) (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 3B29B7988C; Sat, 24 Mar 2018 18:45:49 +0000 (UTC) (envelope-from sumitlakradev@gmail.com) Received: by mail-wr0-x229.google.com with SMTP id z73so15117039wrb.0; Sat, 24 Mar 2018 11:45:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ExIGOvftp5vC+rJTu5wtP2KnHrcIIu6IW2+AzlicdcU=; b=tP2IFNMiGUnWyqlMZRE0OLQqj9JAxsQfvHeIN9DxzcSyuN7STOvfKkZbxlp7nBYr3w PPN80+p4M4AjngGQsccsQoyaBdLV1PDlb+EvK6HWyDIQQRXWi95eVww3q0pacBspl7cw 7MCmSz1SBDhOGrCMYRw1og6wlQyDwCuFW+RDK2oxHxSNs+SpGYOxMneEKis+5cWbBmSx l9UnXwUgYu4tfkFXLGCrki/o0xpxnA3uxxSSx9l+GGUgpR70Gmjx27uVEvtRK4fifQfr trvXHzufk+r50rV2ZESMqif8r6XXj3AtafweYCw10qxNCYxTgNMELbseRJcI/iltMc0j 0unA== 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:from:date :message-id:subject:to:cc; bh=ExIGOvftp5vC+rJTu5wtP2KnHrcIIu6IW2+AzlicdcU=; b=j6NLdQPxG0Om4Hrd7lPxvCRNdVsreLcQloD5/ngqgUL+SpCkHH0+pk/NLcFMwz+4QY 16bgwqNat05W/6E4a4om6aUT2oOS3yO0uSfXYd/vLpB7nYbjtHBKzsDeIfl1w7WkWUUN LzJkDmoG9rNtMrYRp4ODLf6CP2SzLARmybZecZpF6mHG8nKfXoldLsFZ7OCa5ecbntkx OuedtvkudQrFutN50jShZDW2N0QsWDBkdjWu7A1dQ5y0QQPQ+o63BCCdJmot2ToJpzm0 IcsSDzYoQDkRx/hbjKOzwcTw4uQfANhH6nF9gZOeSiBtJX8c4vyz5Yh7wE8vpqbc//hu NLfw== X-Gm-Message-State: AElRT7GFkOzcmTh3IRvhRYM/6uazFat7/JoqeItYi4i5sYLVmIvYzni8 pgI5ev/2RBx/N8On0Y8WjawyiUjiBJ3kRUp2fXa8Nw== X-Google-Smtp-Source: AG47ELvGymay7NGos4PeVAmYB2ylHSs38v27dM9h45NsRf4TjDjGeA+IxsSKvdwtkHXz2vDByUHM1z14z3XOMl6HFMg= X-Received: by 10.223.159.79 with SMTP id f15mr27665648wrg.115.1521917147541; Sat, 24 Mar 2018 11:45:47 -0700 (PDT) MIME-Version: 1.0 References: <20180324142359.D93131204@spqr.komquats.com> In-Reply-To: <20180324142359.D93131204@spqr.komquats.com> From: Sumit Lakra Date: Sat, 24 Mar 2018 18:45:37 +0000 Message-ID: Subject: Re: [GSoC] Proposal draft on "Dual-stack ping(1) command" To: Cy Schubert Cc: Tongbo Zhang , gavin@freebsd.org, freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Mar 2018 18:45:50 -0000 Hello, I was interested in this project earlier. I was thinking of combining this with the traceroute one, but I decided to go for another project later. You will need to use Raw ICMP sockets to do this. Probably the best way. But you will also need to make your ping command a set-user-id program, as only root user can create raw sockets. And if you do this, you must take extra care not to drop any bugs in the code or it can be a havoc. All the best ! On Sat 24 Mar, 2018, 19:55 Cy Schubert, wrote: > This would be easy. Simply merge ping and ping6. > > --- > Sent using a tiny phone keyboard. > Apologies for any typos and autocorrect. > Also, this old phone only supports top post. Apologies. > > Cy Schubert > or > The need of the many outweighs the greed of the few. > --- > > -----Original Message----- > From: Tongbo Zhang > Sent: 24/03/2018 07:04 > To: gavin@freebsd.org > Cc: freebsd-hackers@freebsd.org > Subject: [GSoC] Proposal draft on "Dual-stack ping(1) command" > > Hi all, > > I am Tongbo Zhang, a graduated student from Jilin University, China. My > major is Computer Science and Technology. This year I'd like to participate > in GSoC 2018 with FreeBSD on project "Dual-stack ping(1) command" which I > think I am capable. > > I have read some documents and articles to get familiar with network > programming. I also browsed the sources of these two commands to find the > starting point of coding work. Recently I finished the draft of my > proposal, and I really appreciated it if you could review it and give me > some advice. Thanks. > > Best regards, > Tongbo Zhang. > _______________________________________________ > 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" > > _______________________________________________ > 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" >