Yann Weber 6b0583b848 Possible solve to #2 : bugfix in src/map.c get_rnode_block() | 6 years ago | |
---|---|---|
Vagrant | 10 years ago | |
doc | 11 years ago | |
openwrt | 10 years ago | |
src | 6 years ago | |
.gitignore | 10 years ago | |
AUTHORS | 11 years ago | |
COPYING | 11 years ago | |
ChangeLog | 11 years ago | |
INSTALL | 11 years ago | |
LICENSE | 11 years ago | |
NEWS | 11 years ago | |
README | 10 years ago | |
README.md | 6 years ago | |
SConstruct | 6 years ago |
<img alt=“Coverity Scan Build Status”
src="https://scan.coverity.com/projects/4742/badge.svg"/>
Netsukuku is an alternative to the internet, It will have all of the features of the internet, Such as websites, Instant messaging, File transfers, DNS, Etc. It functions as a mesh network or a p2p net system that generates and sustains itself autonomously. It is designed to handle an unlimited number of nodes with minimal CPU and memory resources.
Thanks to this feature it can be easily used to build a worldwide distributed, anonymous and decentralised network, separated from the Internet, without the support of any servers, ISPs or authorities.
This net is composed by computers linked physically each other, Therefore it isn’t build upon any existing network. Netsukuku builds only the routes which connects all the computers of the net. Although it can route through the internet if needed. In other words, Netsukuku replaces the level 3 of the model iso/osi with another routing protocol.
The Domain Name System is also replaced by a decentralised and distributed system, Being the ANDNA system. (A Netsukuku Domain Name Architecture)
The complete features list of Netsukuku is here: http://netsukuku.freaknet.org/files/doc/misc/Ntk_features_list
Just search what ever you want to know, And be amazed with doxygen’s glory! ^-^
In order to join to Netsukuku, Just install it and run it! Connect as many nodes together as you want!
git clone https://github.com/Netsukuku/netsukuku.git
The dependencies of netsukuku can be installed by running this command, For debian/ubuntu.
sudo apt-get install zlibc libgmp-dev openssl libssl-dev libgee-dev libpth-dev libgcrypt11-dev autoconf cmake autogen mawk gawk scons git
For Archlinux, Try this.
sudo pacman -S zlib gmp lib32-gmp openssl lib32-openssl libgee pth libgcrypt autoconf cmake autogen gawk scons git
For AlpineLinux, Try this.
apk add scons libssl1.0 openssl libgee gmp gmp-dev libgcrypt gawk zlib zlib-dev gcc pkgconf pkgconfig libc-dev libressl-dev libexecinfo-dev linux-headers python
For Debian, Try this.
apt-get install build-essential scons libgcrypt20-dev libssl1.0-dev libgmp-dev zlib1g-dev
To compile the code you can do this:
scons
sudo scons install
In order to start netsukuku on eth0, It is preferred to run:
sudo ntkd -D -i eth0 -dd
CURRENTLY NON-FUNCTIONAL:
However, There are more options, Such as:
sudo ntkd -D -i eth0 -r -I -dd
This will run netsukuku in restricted mode(Internet compatibility mode) and share your internet connection.
(Netsukuku should be able to use any network interface you have, Even VPNs that emulate ethernet such as tinc.)
We love netsukuku, However, We can’t work on it if we don’t have money for an internet connection, Or money for food. Not all of us are not traditionally employed, And we need donations to continue being able to work, And devote as much time as we can to this wonderful project!
This project is a dream come true for many of us, And we would love it if you would help us mantain this dream for as long as possible! Thank you for reading. :)
[We will distribute any donated money amongst ourselves, and take that as incentive to work harder on the project. However, We will, Also, Provide additional crypto currency addresses if you want to donate to a specific person, Or prefer crypto-currencies.]
Tip4Commit! (http://tip4commit.com/projects/687)
Jercos’ Bitcoin Address (1BAbi4aHjdN7znNLuDa6dgs4rZLU3Tq9ka)
MissValeska’s Bitcoin Address (1Py3CmmaDk2bCUsLGprFkewGQunaKB7jmv)
MissValeska’s Litecoin Address (LcjJW2hDHS9oCxCWAb3WLexyJECSZ2Rp2s)
You can manually download the dependencies of netsukuku if you want, Or use them for development.
Here they are!
for the libgmp: https://gmplib.org/ the openssl library here: http://openssl.org the zlibs: http://zlib.net gawk: http://www.gnu.org/software/gawk/ libgcrypt: https://www.gnu.org/software/libgcrypt/ libpth: http://www.gnu.org/software/pth/ libgee: https://wiki.gnome.org/Projects/Libgee
You can use this, But, I don’t know if it works anymore.
SCons is a cooler way to install netsukuku: http://www.scons.org/ (You should have installed at least the 2.4 version of Python in order to avoid dirty bugs in scons)
Then go in the src/ directory and type:
$ scons --help
That will show you all the options you can use in the build and installation process. Finally execute:
$ scons
The code will be compiled. If all went well install NetsukukuD with:
# scons install
Now you should give a look at /etc/netsukuku.conf (or wherever you installed it) and modify it for your needs, but generally the default options are good.
If you want to change some scons option to do another installation, (i.e. you may want to reinstall it with another MANDIR path), you have to run:
$ scons --clean
These packages are old, We will update them soon, Or you can if you want.
If you prefer to just install Netsukuku, without compiling it, you can download the static binaries suitable to your platform. They come packed in various formats (.tgz, .deb, .ipk). The packages repository is at:
http://netsukuku.freaknet.org/packages/ (Currently non-functional)
https://launchpad.net/~michele-bini/+archive/ppa-mbxxii/+sourcepub/1032974/+listing-archive-extra
(This archive contains unoffical packages, However, They have been tested, And function on Ubuntu 12.04 and earlier.)
I’m not sure if we need to do any of this anymore, But it is probably useful.
(The following probably is already, If not will be soon, Unnecessary/automated.)
On Linux be sure to have the following options set in your kernel .config. These options are taken from linux-2.6.14.
Networking options
CONFIG_PACKET=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_NET_IPIP=y
CONFIG_NETFILTER=y
and these from linux-2.6.16.19.
Core Netfilter Configuration
(I vaugely remember getting a conntrack error in the past, But it is gone now.)
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y
NETFILTER_XT_TARGET_CONNMARK=y
IP: Netfilter Configuration
CONFIG_IP_NF_IPTABLES=y
CONFIG_IP_NF_FILTER=y
CONFIG_IP_NF_TARGET_REJECT=y
CONFIG_IP_NF_NAT=y
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=y
If you are using modules you have to load them before launching the daemon.
Before doing anything do:
$ man ntkd
$ man andna
when you feel comfortable and you are ready to dare run as root:
# ntkd
then just wait… ^_-
(For the first times it’s cool to use the -D option to see what happens).
This is still true and active! Please join!
We live night and day in IRC, come to see us on channel #netsukuku on the FreeNode irc server (irc.freenode.org).
These mailing list should mostly still work, But they are not very active.
Subscribe to the netsukuku mailing to get help, be updated on the latest news and discuss on its development.
To subscribe to the list, send a message to: netsukuku-subscribe@lists.dyne.org or use the web interface: http://lists.dyne.org/mailman/listinfo/netsukuku
You can browse the archive here: http://lists.dyne.org/netsukuku/ http://dir.gmane.org/gmane.network.peer-to-peer.netsukuku
{ Don’t panic! }
If you encounter any bug, please report it. Use the online bug track system: https://github.com/Netsukuku/netsukuku/issues
The rest is inactive, Please just use the link above until further notice.
http://bugs.dyne.org/ or the mailing list: http://lists.dyne.org/netsukuku/ and explain what the problem is and if possible a way to reproduce it.
Feel free to debug, patch, modify and eat the code. Then submit your results to the mailing list. ^_-
However, It is preferred that you make your own github fork, And show it to us in the IRC or issues page. Although, For smaller changes, You could use pastebin.com But please note! Tell us exactly which file you are editing in pastebin, And tell us which line you are editing.
There is a lot to code too! If you are a Kung Foo coder, get on board and help the development! For a start you can take a look at the src/TODO file.
Still valuable! ^^^^
All the Netsukuku code is released under the GPL-2, please see the COPYING file for more information.
The authors of Netsukuku and NetsukukuD are listed in the file AUTHORS.
This should be ammended in the future, As more authors come on-board.