Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108421 - Netsukuku - ebuild request
Summary: Netsukuku - ebuild request
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Default Assignee for New Packages
Keywords: EBUILD
: 126451 (view as bug list)
Depends on:
Reported: 2005-10-07 12:40 UTC by Matteo Spreafico
Modified: 2018-06-07 18:55 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---

netsukuku-0.0.3b.ebuild (netsukuku-0.0.3b.ebuild,762 bytes, text/plain)
2005-10-09 06:31 UTC, crusaderky
netsukuku-0.0.3b.ebuild (netsukuku-0.0.3b.ebuild,895 bytes, text/plain)
2005-10-11 16:52 UTC, crusaderky
net-p2p/netsukuku-0.0.4b.ebuild (netsukuku-0.0.4b.ebuild,866 bytes, text/plain)
2005-12-04 04:47 UTC, crusaderky
net-p2p/netsukuku-0.0.6b.ebuild (netsukuku-0.0.6b.ebuild,751 bytes, text/plain)
2006-03-16 00:30 UTC, Alessandro Guido
net-p2p/netsukuku-0.0.6b.ebuild (netsukuku-0.0.6b.ebuild,752 bytes, text/plain)
2006-03-16 00:32 UTC, Alessandro Guido
net-p2p/netsukuku-0.0.6b.ebuild (netsukuku-0.0.6b.ebuild,892 bytes, text/plain)
2006-03-16 03:43 UTC, Alessandro Guido
net-p2p/netsukuku-0.0.9b.ebuild (netsukuku-0.0.9b.ebuild,947 bytes, text/plain)
2006-08-15 17:26 UTC, teknux

Note You need to log in before you can comment on or make changes to this bug.
Description Matteo Spreafico 2005-10-07 12:40:16 UTC
Netsukuku is a pure net which exploits the chaos, it generates and sustains
itself autonomously, having the shape of a fractal.
The fusion of pure net with fractals and chaos is the characteristic which
allows to Netsukuku to be a diffused and distributed, not centralized,
anonymous, anarchical, not controlled and autonomous net.

In order to join to Netsukuku you have to use NetsukukuD, which is the daemon
implenting the Npv7 protocol.

Before doing anything, please read the documentation in doc/ or in

Reproducible: Always
Steps to Reproduce:
Comment 1 crusaderky 2005-10-09 06:31:59 UTC
Created attachment 70213 [details]

not functional
Comment 2 crusaderky 2005-10-09 06:33:10 UTC
I tried to write a ebuild, but
1)I can't pass CFLAGS to it
2)(most important) I can't change the installation path, thus resulting in a
sanbox violation error.
Comment 3 Chris White (RETIRED) gentoo-dev 2005-10-11 14:04:17 UTC
I'll take it! 
Comment 4 crusaderky 2005-10-11 16:52:29 UTC
Created attachment 70427 [details]

working. I had to copy the files manually -.-

FIXME: CFLAGS and FEATURES are ignored
FIXME: man pages are not installed
Comment 5 Ciaran McCreesh 2005-10-15 17:33:35 UTC
Ugh. You realise that this thing is nothing more than an elaborate joke, right?
Comment 6 crusaderky 2005-10-15 19:50:39 UTC
actually, I realize that you didn't bother to read the documentation ;)
Comment 7 crusaderky 2005-12-04 04:47:27 UTC
Created attachment 74038 [details]

Full changelog:

Noticeable changes:
- The multi-interface support was added, now it is possible to use multiple
  network interfaces without the need of the bridge, just specify each
  interface you want to use with the -i option. (man netsukuku_d).

- The Make/configure support was added. Now you can use both SCons or Make to
  compile and install Netsukuku.

- Now /sys/net/ipv4/conf/INTERFACE/rp_filter is automatically disabled for the
  used network interface. (this probably prevented most nodes to work in the
previous version)

TODO /etc/init.d/netsukuku script (must read /etc/conf.d/netsukuku to know
which interfaces to pass to netsukuku_d and netsukuku_wifi)
FIXME netsukuku_wifi is installed manually
Comment 8 Alessandro Guido 2006-03-16 00:30:46 UTC
Created attachment 82271 [details]

Still lacks an rc script.

Changes from 0.0.4b to 0.0.6b

==== 0.0.6b ====
New features:

	* The NTK_RFC 0008 has been implemented.
	  ( )

Bug fixes:

	* The NTK_RFC 0007 has been implemented. It fixes an exploitable bug
	  in the ANDNA protocol.

	* NetsukukuD has been tested on big endian machines. A lot of
	  endianness bugs has been fixed during the tests and now it seems to
	  work gracefully.
	  A lot of thanks to Vampire ;*
	* The ppp connection to the Internet doesn't set an IP address in the
	  default route of the kernel but only the used ppp interface,
	  therefore NetsukukuD has to deduce it from the IP assigned to the
	  ppp interface, i.e. ppp0.

	* Execute /etc/netsukuku/ only if it is
	  writable just by root.

	* Execute "/etc/netsukuku/ stop" when NetsukukuD is

	* Added a timeout of 60 seconds for the reverse resolution request.

	* A possible memory overrun in the rsa (un)packing functions has been

==== 0.0.5b  ====

New features:
	* The Internet Gateway Search (NTK_RFC 0003) has been implemented.
	  A node can now share its Internet connection among the other nodes
	  (only in restricted mode). 
	  ( Read the RFC: )

	* Main part of the NTK_RFC 0001 written, the (g)nodes have now the
	  ability to rehook to avoid IP collision. 
	  ( )
	* ANDNS has been implemented. It is a new specification of the DNS
	  protocol for Netsukuku. It is compatible with the actual DNS
	  protocol. ( )

	* Multi interfaces multipath: if we can reach a rnode trough multiple
	  interfaces, use them all with a multipath route.
	* The dns_wrapper code is no more dependent on Boost.

Bug fixes:

	* map_rnode doesn't use anymore the timeval struct and map_rnode.rtt was
	  removed 'cause it was obsolete. In conclusion we gained 12 bytes for
	  each rnode.

	* Added a check in get_free_nodes to verify the validity of
	  For example if the rnode has an IP which doesn't match with
	  fn_hdr->ipstart there must be some errors. This led to bug 0002.

	* Fixed a bug in the multiif code: the packets destined to gnodes were
	  sent only from the first device.

	* qspn_remove_deads() removes the routes of the dead nodes from the
	  routing table of the kernel.

	* Restricted nodes and normal nodes are now invisible to each other.

	* banned.

	* The command line options override the ones specified in the config file.

	* code heavily cleaned.
Comment 9 Alessandro Guido 2006-03-16 00:32:44 UTC
Created attachment 82272 [details]

wrong IUSE, sorry.
Comment 10 crusaderky 2006-03-16 02:22:02 UTC
as you can read from the changelog, it has been tested on big endian architectures. I think it can be safely tagget ~ppc.
Comment 11 Alessandro Guido 2006-03-16 03:42:22 UTC
(In reply to comment #10)
> as you can read from the changelog, it has been tested on big endian
> architectures. I think it can be safely tagget ~ppc.

Since I'm not able to test it on anything different from x86 I don't add keywords I'm not sure about.
Comment 12 Alessandro Guido 2006-03-16 03:43:36 UTC
Created attachment 82287 [details]

more docs with the doc useflag
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2006-03-16 14:07:02 UTC
*** Bug 126451 has been marked as a duplicate of this bug. ***
Comment 14 teknux 2006-08-15 17:26:07 UTC
Created attachment 94364 [details]

I've just edited the 0.0.6b ebuild to 0.0.9b with the sourceforge mirror.
Comment 15 Angelo D'Autilia (sYdRo) 2010-02-22 12:17:32 UTC
with 0.0.9b there's a problem :