Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

GSoC 2015 Task: Unifying ping and ping6

24 views
Skip to first unread message

Rushil Paul

unread,
Mar 4, 2015, 2:40:30 PM3/4/15
to
I am interested in the project - Unifying the programs ping and ping6.
I have decent knowledge of C/C++ and networking. I also spoke to a mentor
(Gavin) about the idea. I went through the source code of ping and ping6,
and ping6 was giving me a little hard time.
My mentor also told me to consider taking up the task to unify traceroute
and traceroute6, if I think the first task will take much less than 15
weeks. Problem is, I am unable to decide how much work ping and ping6 will
be (I feel it will take lots of time as this is the first time I'm getting
familiar with the code).

Will my proposal be strong enough if it is only about merging of ping and
ping6?

And what exactly should my proposal include? How much code can be shared
between ping and ping6, how to test the program afterwards etc.? Some
inputs from experts will be very helpful :-)

--
Regards,
Rushil
_______________________________________________
freebsd...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hacke...@freebsd.org"

Andrey V. Elsukov

unread,
Mar 5, 2015, 6:28:41 AM3/5/15
to
On 04.03.2015 22:40, Rushil Paul wrote:
> I am interested in the project - Unifying the programs ping and ping6.
> I have decent knowledge of C/C++ and networking. I also spoke to a mentor
> (Gavin) about the idea. I went through the source code of ping and ping6,
> and ping6 was giving me a little hard time.
> My mentor also told me to consider taking up the task to unify traceroute
> and traceroute6, if I think the first task will take much less than 15
> weeks. Problem is, I am unable to decide how much work ping and ping6 will
> be (I feel it will take lots of time as this is the first time I'm getting
> familiar with the code).
>
> Will my proposal be strong enough if it is only about merging of ping and
> ping6?

Hi,

I think you need to read this discussion:
https://lists.freebsd.org/pipermail/freebsd-net/2014-January/037456.html


--
WBR, Andrey V. Elsukov

Rushil Paul

unread,
Mar 6, 2015, 1:32:28 AM3/6/15
to
Hi,
I read the whole thread and it seems like most of the people are agreeing
with a unified ping/ping6. I shall try to take up unifying
traceroute/traceroute6 as well.

On Thu, Mar 5, 2015 at 4:57 PM, Andrey V. Elsukov <bu7...@yandex.ru> wrote:

> On 04.03.2015 22:40, Rushil Paul wrote:
> > I am interested in the project - Unifying the programs ping and ping6.
> > I have decent knowledge of C/C++ and networking. I also spoke to a mentor
> > (Gavin) about the idea. I went through the source code of ping and ping6,
> > and ping6 was giving me a little hard time.
> > My mentor also told me to consider taking up the task to unify traceroute
> > and traceroute6, if I think the first task will take much less than 15
> > weeks. Problem is, I am unable to decide how much work ping and ping6
> will
> > be (I feel it will take lots of time as this is the first time I'm
> getting
> > familiar with the code).
> >
> > Will my proposal be strong enough if it is only about merging of ping and
> > ping6?
>
> Hi,
>
> I think you need to read this discussion:
> https://lists.freebsd.org/pipermail/freebsd-net/2014-January/037456.html
>
>
> --
> WBR, Andrey V. Elsukov
>



--
Regards,
Rushil

Ed Schouten

unread,
Mar 6, 2015, 2:29:02 PM3/6/15
to
Hi Rushil,

2015-03-04 20:40 GMT+01:00 Rushil Paul <rushi...@gmail.com>:
> And what exactly should my proposal include? How much code can be shared
> between ping and ping6, how to test the program afterwards etc.? Some
> inputs from experts will be very helpful :-)

A good friend of mine is the author of noping/oping/liboping:

http://noping.cc/

It's a pretty sweet tool. It supports a tonne of options and has nice
displaying/graphing. It also has support for multiple address
families, can ping multiple addresses per hostname, etc.

The tool is LGPL/GPLv2 licensed, but the last time I talked to the
author, he said he was willing to go through the hoops to get it
relicensed to BSD/MIT if a party like us would be interested in using
it. Maybe it's worth considering going that route?

Best regards,
--
Ed Schouten <e...@80386.nl>

Rui Paulo

unread,
Mar 6, 2015, 2:36:01 PM3/6/15
to
On 6 Mar 2015, at 11:28, Ed Schouten <e...@80386.nl> wrote:
>
> Hi Rushil,
>
> 2015-03-04 20:40 GMT+01:00 Rushil Paul <rushi...@gmail.com>:
>> And what exactly should my proposal include? How much code can be shared
>> between ping and ping6, how to test the program afterwards etc.? Some
>> inputs from experts will be very helpful :-)
>
> A good friend of mine is the author of noping/oping/liboping:
>
> http://noping.cc/
>
> It's a pretty sweet tool. It supports a tonne of options and has nice
> displaying/graphing. It also has support for multiple address
> families, can ping multiple addresses per hostname, etc.
>
> The tool is LGPL/GPLv2 licensed, but the last time I talked to the
> author, he said he was willing to go through the hoops to get it
> relicensed to BSD/MIT if a party like us would be interested in using
> it. Maybe it's worth considering going that route?

The first route is to upgrade liboping in ports!

--
Rui Paulo

Chris H

unread,
Mar 6, 2015, 5:24:41 PM3/6/15
to
On Fri, 06 Mar 2015 11:35:39 -0800 Rui Paulo <rpa...@me.com> wrote

> On 6 Mar 2015, at 11:28, Ed Schouten <e...@80386.nl> wrote:
> >
> > Hi Rushil,
> >
> > 2015-03-04 20:40 GMT+01:00 Rushil Paul <rushi...@gmail.com>:
> >> And what exactly should my proposal include? How much code can be shared
> >> between ping and ping6, how to test the program afterwards etc.? Some
> >> inputs from experts will be very helpful :-)
> >
> > A good friend of mine is the author of noping/oping/liboping:
> >
> > http://noping.cc/
> >
> > It's a pretty sweet tool. It supports a tonne of options and has nice
> > displaying/graphing. It also has support for multiple address
> > families, can ping multiple addresses per hostname, etc.
> >
> > The tool is LGPL/GPLv2 licensed, but the last time I talked to the
> > author, he said he was willing to go through the hoops to get it
> > relicensed to BSD/MIT if a party like us would be interested in using
> > it. Maybe it's worth considering going that route?
>
> The first route is to upgrade liboping in ports!
LOL I'm already in the process of doing that now! :-)

--Chris

Chris H

unread,
Mar 6, 2015, 7:20:30 PM3/6/15
to
On Fri, 06 Mar 2015 14:25:45 -0800 "Chris H" <bsd-...@bsdforge.com> wrote

> On Fri, 06 Mar 2015 11:35:39 -0800 Rui Paulo <rpa...@me.com> wrote
>
> > On 6 Mar 2015, at 11:28, Ed Schouten <e...@80386.nl> wrote:
> > >
> > > Hi Rushil,
> > >
> > > 2015-03-04 20:40 GMT+01:00 Rushil Paul <rushi...@gmail.com>:
> > >> And what exactly should my proposal include? How much code can be shared
> > >> between ping and ping6, how to test the program afterwards etc.? Some
> > >> inputs from experts will be very helpful :-)
> > >
> > > A good friend of mine is the author of noping/oping/liboping:
> > >
> > > http://noping.cc/
> > >
> > > It's a pretty sweet tool. It supports a tonne of options and has nice
> > > displaying/graphing. It also has support for multiple address
> > > families, can ping multiple addresses per hostname, etc.
> > >
> > > The tool is LGPL/GPLv2 licensed, but the last time I talked to the
> > > author, he said he was willing to go through the hoops to get it
> > > relicensed to BSD/MIT if a party like us would be interested in using
> > > it. Maybe it's worth considering going that route?
> >
> > The first route is to upgrade liboping in ports!
> LOL I'm already in the process of doing that now! :-)
>
> --Chris
In case anyone's interested; this is the PR:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198379

Christian Weisgerber

unread,
Mar 7, 2015, 4:01:36 PM3/7/15
to
On 2015-03-06, Rushil Paul <rushi...@gmail.com> wrote:

> I read the whole thread and it seems like most of the people are agreeing
> with a unified ping/ping6. I shall try to take up unifying
> traceroute/traceroute6 as well.

Worth a look: OpenBSD has a unified traceroute/traceroute6.

--
Christian "naddy" Weisgerber na...@mips.inka.de

Rushil Paul

unread,
Mar 8, 2015, 9:03:46 AM3/8/15
to
Hi,
I'm not sure about what my part would be in getting noping relicensed to
BSD/MIT.
I'm still going with unifying ping/ping6 and traceroute/traceroute6 as of
now.

Also, I did not find the source for traceroute in
/usr/src/usr.sbin/traceroute/. This dir just contained a Makefile and
findsaddr-udp.c. The other relevant files were in
/usr/src/contrib/traceroute/.
However this was not the case with traceroute6. traceroute6.c is in
/usr/src/usr.sbin/traceroute6/ (where it should be) except for the file
as.h (which it includes) which is in /usr/src/contrib/traceroute/

Why isn't all of traceroute in one place?


On Sat, Mar 7, 2015 at 12:58 AM, Ed Schouten <e...@80386.nl> wrote:

> Hi Rushil,
>
> 2015-03-04 20:40 GMT+01:00 Rushil Paul <rushi...@gmail.com>:
> > And what exactly should my proposal include? How much code can be shared
> > between ping and ping6, how to test the program afterwards etc.? Some
> > inputs from experts will be very helpful :-)
>
> A good friend of mine is the author of noping/oping/liboping:
>
> http://noping.cc/
>
> It's a pretty sweet tool. It supports a tonne of options and has nice
> displaying/graphing. It also has support for multiple address
> families, can ping multiple addresses per hostname, etc.
>
> The tool is LGPL/GPLv2 licensed, but the last time I talked to the
> author, he said he was willing to go through the hoops to get it
> relicensed to BSD/MIT if a party like us would be interested in using
> it. Maybe it's worth considering going that route?
>
> Best regards,
> --
> Ed Schouten <e...@80386.nl>
>



--
Regards,
Rushil

John Baldwin

unread,
Mar 9, 2015, 1:24:28 PM3/9/15
to
On Sunday, March 08, 2015 06:33:32 PM Rushil Paul wrote:
> Hi,
> I'm not sure about what my part would be in getting noping relicensed to
> BSD/MIT.
> I'm still going with unifying ping/ping6 and traceroute/traceroute6 as of
> now.
>
> Also, I did not find the source for traceroute in
> /usr/src/usr.sbin/traceroute/. This dir just contained a Makefile and
> findsaddr-udp.c. The other relevant files were in
> /usr/src/contrib/traceroute/.
> However this was not the case with traceroute6. traceroute6.c is in
> /usr/src/usr.sbin/traceroute6/ (where it should be) except for the file
> as.h (which it includes) which is in /usr/src/contrib/traceroute/
>
> Why isn't all of traceroute in one place?

That is because traceroute is from an external ("contributed") source.
Specifically, traceroute comes from a package provided by Lawrence Berkeley
National Laboratory.

https://svnweb.freebsd.org/base/head/contrib/traceroute/README?revision=100785&view=markup

--
John Baldwin
0 new messages