<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://en.zaoniao.it/index.php?action=history&amp;feed=atom&amp;title=GNUnet</id>
	<title>GNUnet - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://en.zaoniao.it/index.php?action=history&amp;feed=atom&amp;title=GNUnet"/>
	<link rel="alternate" type="text/html" href="http://en.zaoniao.it/index.php?title=GNUnet&amp;action=history"/>
	<updated>2026-05-15T12:55:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>http://en.zaoniao.it/index.php?title=GNUnet&amp;diff=5100&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;[[Christian Grothoff, maintainer of GNUnet, in Berlin on August 1, 2013 at the &quot;[http:/...&quot;</title>
		<link rel="alternate" type="text/html" href="http://en.zaoniao.it/index.php?title=GNUnet&amp;diff=5100&amp;oldid=prev"/>
		<updated>2019-05-25T03:59:39Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php?title=File:Ext_38dKJsdjh_Christian_Grothoff_-_August_2013_-_Berlin,_Germany.png&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;File:Ext 38dKJsdjh Christian Grothoff - August 2013 - Berlin, Germany.png (page does not exist)&quot;&gt;thumb|[[Christian Grothoff&lt;/a&gt;, maintainer of GNUnet, in &lt;a href=&quot;/Berlin&quot; title=&quot;Berlin&quot;&gt;Berlin&lt;/a&gt; on August 1, 2013 at the &amp;quot;[http:/...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[File:ext_38dKJsdjh_Christian Grothoff - August 2013 - Berlin, Germany.png|thumb|[[Christian Grothoff]], maintainer of GNUnet, in [[Berlin]] on August 1, 2013 at the &amp;quot;[http://youbroketheinternet.org/#august2013 #youbroketheinternet. We'll make ourselves a GNU one.]&amp;quot; event.]]&lt;br /&gt;
'''GNUnet''' is a [[software framework]] for [[decentralization|decentralized]], [[peer-to-peer]] [[Computer network|networking]] and an official [[GNU project|GNU]] package. The framework offers [[link encryption]], [[Peering|peer discovery]], [[resource allocation]], communication over many transports (such as [[Transmission Control Protocol|TCP]], [[User Datagram Protocol|UDP]], [[HTTP]], [[HTTPS]], [[WLAN]] and [[Bluetooth]]) and various basic [[peer-to-peer]] algorithms for [[routing]], [[multicast]] and [[network size estimation]].&lt;br /&gt;
&lt;br /&gt;
GNUnet's basic network topology is that of a [[mesh network]]. GNUnet includes a [[distributed hash table]] (DHT) which is a [[randomized]] variant of [[Kademlia]] that can still efficiently route in [[small-world network]]s. GNUnet offers a &amp;quot;[[Friend-to-friend|F2F topology]]&amp;quot; option for restricting connections to only the users' trusted friends. The users' friends' own friends (and so on) can then indirectly exchange files with the users' computer, never using its IP address directly.&lt;br /&gt;
&lt;br /&gt;
GNUnet uses [[Uniform resource identifier]]s (not approved by [[Internet Assigned Numbers Authority|IANA]], although an application has been made). GNUnet URIs consist of two major parts: the module and the module specific identifier. A GNUnet URI is of form ''gnunet://module/identifier'' where ''module'' is the module name and ''identifier'' is a module specific string.&lt;br /&gt;
&lt;br /&gt;
The primary codebase is written in [[C (programming language)|C]], but with [[gnunet-java]] there is an effort to produce an API for developing extensions in [[Java (programming language)|Java]]. GNUnet is part of the [[GNU project]]. It has gained interest to the [[Hacker (programmer subculture)|hacker community]] after the [[PRISM (surveillance program)|PRISM]] revelations.&lt;br /&gt;
&lt;br /&gt;
GNUnet consists of several subsystems, of which essential ones are Transport and Core subsystems. Transport subsystem provides insecure link-layer communications, while Core provides peer discovery and encryption. On top of the core subsystem various applications are built.&lt;br /&gt;
&lt;br /&gt;
GNUnet includes various P2P applications in the main distribution of the framework, including filesharing, chat and VPN; additionally, a few external projects (such as [[secushare]]) are also extending the GNUnet infrastructure.&lt;br /&gt;
&lt;br /&gt;
GNUnet is unrelated to the older [[Gnutella]] P2P protocol. Gnutella is not an official GNU project while GNUnet is.&lt;br /&gt;
&lt;br /&gt;
== Transport ==&lt;br /&gt;
&lt;br /&gt;
Originally, GNUnet used [[User Datagram Protocol|UDP]] for underlying transport. Now GNUnet transport subsystem provides multiple options, such as TCP and SMTP.&lt;br /&gt;
&lt;br /&gt;
The communication port, officially registered at [[Internet Assigned Numbers Authority|IANA]], is 2086 ([[Transmission Control Protocol|tcp]] + [[User Datagram Protocol|udp]]).&lt;br /&gt;
&lt;br /&gt;
== Trust system ==&lt;br /&gt;
&lt;br /&gt;
GNUnet provides trust system based on excess-based economic model. The idea of employing economic system is taken from [[MojoNation]] network.&lt;br /&gt;
&lt;br /&gt;
GNUnet network has no trusted entities so it is impossible to maintain global ''reputation''. Instead, each peer maintains its own ''trust'' for each of its local links.&lt;br /&gt;
&lt;br /&gt;
When resources, such as bandwidth and CPU time, are in excess, peer provides them to all requesting neighbors without reducing trust or otherwise charging them. When a node is under stress it drops requests from its neighbor nodes having lower internal trust value. However, when peer has less resources than enough to fulfill everyone's requests, it denies requests of those neighbors that it trusts less and charges others by reducing their trust.&lt;br /&gt;
&lt;br /&gt;
== File sharing ==&lt;br /&gt;
The primary application at this point is [[anonymity|anonymous]], [[Internet censorship|censorship]]-resistant file-sharing, allowing users to anonymously publish or retrieve information of all kinds. GNUnet protocol that provides anonymity is called GAP (GNUnet anonymity protocol). GNUnet uses [[GNU libextractor]] to automatically annotate shared files with [[metadata]].&lt;br /&gt;
&lt;br /&gt;
=== File encoding ===&lt;br /&gt;
Files shared with GNUnet are ECRS (An Encoding for Censorship-Resistant Sharing) coded.&lt;br /&gt;
&lt;br /&gt;
All content is represented as GBlocks. Each GBlock contains 1024 bytes. There are several types of GBlocks, each of them serves a particular purpose. Any GBlock &amp;amp;lt;math&amp;amp;gt;B&amp;amp;lt;/math&amp;amp;gt; is uniquely identified by its [[RIPEMD#RIPEMD-160 hashes|RIPEMD-160 hash]] &amp;amp;lt;math&amp;amp;gt;H(B)&amp;amp;lt;/math&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
DBlocks store actual file contents and nothing else. File is split at 1024 byte boundaries and resulting chunks are stored in DBlocks. DBlocks are linked together into [[Merkle tree]] by means of IBlocks that store DBlock identifiers.&lt;br /&gt;
&lt;br /&gt;
Blocks are encrypted with a symmetric key derived from &amp;amp;lt;math&amp;amp;gt;H(B)&amp;amp;lt;/math&amp;amp;gt; when they are stored in the network.&lt;br /&gt;
&lt;br /&gt;
=== Queries and replies ===&lt;br /&gt;
GNUnet Anonymity Protocol consists of queries and replies. Depending on load of the forwarding node, messages are forwarded to zero or more nodes.&lt;br /&gt;
&lt;br /&gt;
Queries are used to search for content and request data blocks.&lt;br /&gt;
&lt;br /&gt;
Query contains resource identifier, reply address, priority and TTL (Time-to-Live).&lt;br /&gt;
&lt;br /&gt;
Resource identifier of datum &amp;amp;lt;math&amp;amp;gt;Q&amp;amp;lt;/math&amp;amp;gt; is a triple-hash &amp;amp;lt;math&amp;amp;gt;H(H(H(Q)))&amp;amp;lt;/math&amp;amp;gt;. Peer that replies to query provides &amp;amp;lt;math&amp;amp;gt;H(H(Q))&amp;amp;lt;/math&amp;amp;gt;to prove that it indeed has the requested resource without providing &amp;amp;lt;math&amp;amp;gt;H(Q)&amp;amp;lt;/math&amp;amp;gt; to intermediate nodes, so intermediate nodes can't decrypt &amp;amp;lt;math&amp;amp;gt;Q&amp;amp;lt;/math&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Reply address is the major difference compared to [[Freenet]] protocol. While in Freenet reply always propagates back using the same path as the query, in GNUnet the path may be shorter. Peer receiving a query may drop it, ''forward'' it without rewriting reply address or ''indirect'' it by replacing reply address with its own address. By indirecting queries peer provides [[cover traffic]] for its own queries, while by forwarding them peer avoids being a link in reply propagation and preserves its bandwidth. This feature allows the user to trade anonymity for efficiency. User can specify an anonymity level for each publish, search and download operation. An anonymity level of ''zero'' can be used to select non-anonymous file-sharing. GNUnet's DHT infrastructure is only used if non-anonymous file-sharing is specified. The anonymity level determines how much cover traffic a peer must have to hide the user's own actions.&lt;br /&gt;
&lt;br /&gt;
Priority specifies how much of its trust user wants to spend in case of resource shortage.&lt;br /&gt;
&lt;br /&gt;
TTL is used to prevent queries from staying in the network for too long.&lt;br /&gt;
&lt;br /&gt;
=== File sharing URIs ===&lt;br /&gt;
The ''fs'' module ''identifier'' consists of either ''chk'', ''sks'', ''ksk'' or ''loc'' followed by a slash and a category specific value. Most URIs contain hashes, which are encoded in [[base32#base32hex|base32hex]].&lt;br /&gt;
&lt;br /&gt;
* ''chk'' identifies files, typically: &amp;amp;lt;code&amp;amp;gt;&amp;amp;lt;nowiki&amp;amp;gt;gnunet://fs/chk/[file hash].[query hash].[file size in bytes]&amp;amp;lt;/nowiki&amp;amp;gt;&amp;amp;lt;/code&amp;amp;gt;&lt;br /&gt;
: File hash is the hash of the plaintext file, which allows to decrypt it once it is downloaded. Query hash is the hash of topmost GBlock which allows to download the whole tree of GBlocks that contain encrypted file. File size is required to determine the shape of the tree.&lt;br /&gt;
* ''sks'' identifies files within namespaces, typically: &amp;amp;lt;code&amp;amp;gt;&amp;amp;lt;nowiki&amp;amp;gt;gnunet://fs/sks/NAMESPACE/IDENTIFIER&amp;amp;lt;/nowiki&amp;amp;gt;&amp;amp;lt;/code&amp;amp;gt;&lt;br /&gt;
* ''ksk'' identifies search queries, typically: &amp;amp;lt;code&amp;amp;gt;&amp;amp;lt;nowiki&amp;amp;gt;gnunet://fs/ksk/KEYWORD[+KEYWORD]*&amp;amp;lt;/nowiki&amp;amp;gt;&amp;amp;lt;/code&amp;amp;gt;&lt;br /&gt;
* ''loc'' identifies a datum on a specific machine, typically: &amp;amp;lt;code&amp;amp;gt;&amp;amp;lt;nowiki&amp;amp;gt;gnunet://fs/loc/PEER/QUERY.TYPE.KEY.SIZE&amp;amp;lt;/nowiki&amp;amp;gt;&amp;amp;lt;/code&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
A type of GNUnet filesharing URI pointing to a specific copy of [[GNU GPL]] license text:&lt;br /&gt;
&amp;amp;lt;code style=&amp;quot;word-wrap:break-word&amp;quot;&amp;amp;gt;&lt;br /&gt;
gnunet://fs/chk/9E4MDN4VULE8KJG6U1C8FKH5HA8C5CHSJTILRTTPGK8MJ6VHORERHE68JU8Q0FDTOH1DGLUJ3NLE99N0ML0N9PIBAGKG7MNPBTT6UKG.1I823C58O3LKS24LLI9KB384LH82LGF9GUQRJHACCUINSCQH36SI4NF88CMAET3T3BHI93D4S0M5CC6MVDL1K8GFKVBN69Q6T307U6O.17992&amp;amp;lt;/code&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another type of GNUnet filesharing URI, pointing to the search results of a search with keyword &amp;quot;gpl&amp;quot;:&lt;br /&gt;
&amp;amp;lt;code style=&amp;quot;word-wrap:break-word&amp;quot;&amp;amp;gt;&lt;br /&gt;
gnunet://fs/ksk/gpl&lt;br /&gt;
&amp;amp;lt;/code&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
== GNU Name System ==&lt;br /&gt;
GNUnet includes an implementation of the GNU Name System (GNS), a decentralized and censorship-resistant replacement for [[Domain Name System|DNS]]. In GNS, each user manages his own ''master'' [[DNS zone|zone]] which is mapped into the DNS namespace under the ''.gnu'' [[top-level domain]]. Users can delegate subdomains to zones managed by other users. Lookups of records defined by other users are performed using GNUnet's DHT.&lt;br /&gt;
&lt;br /&gt;
== Protocol translation ==&lt;br /&gt;
&lt;br /&gt;
GNUnet can tunnel IP traffic over the peer-to-peer network. If necessary, GNUnet can perform IPv4-IPv6 [[IPv6 transition mechanisms|protocol translation]] in the process. GNUnet provides a [[Application-level gateway|DNS Application-level gateway]] to proxy DNS requests and map addresses to the desired address family as necessary. This way, GNUnet offers a possible technology to facilitate [[IPv6 transition mechanisms|IPv6 transition]]. Furthermore, in combination with GNS, GNUnet's protocol translation system can be used to access hidden services --- IP-based services that run locally at some peer in the network and which can only be accessed by resolving a GNS name.&lt;br /&gt;
&lt;br /&gt;
== Social API ==&lt;br /&gt;
[[Gabor X toth]] published in early September 2013 a thesis to present the design of a [[social messaging]] service for the GNUnet peer-to-peer framework that offers scalability, extensibility, and end-to-end encrypted communication. The scalability property is achieved through multicast message delivery, while extensibility is made possible by using [[PSYC]] (Protocol for SYnchronous Conferencing), which provides an extensible [[Remote procedure call|RPC]] (Remote Procedure Call) syntax that can evolve over time without having to upgrade the software on all nodes in the network. Another key feature provided by the PSYC layer are stateful multicast channels, which are used to store e.g. user profiles. End-to-end encrypted communication is provided by the mesh service of GNUnet, upon which the multicast channels are built. Pseudonymous users and social places in the system have cryptographical identities — identified by their public key — these are mapped to human memorable names using GNS ([[GNU Name System]]), where each pseudonym has a zone pointing to its places.&lt;br /&gt;
&lt;br /&gt;
That is the required building block for turning the GNUnet framework into a fully [[Distributed social network|peer-to-peer social networking]] platform.&lt;br /&gt;
&lt;br /&gt;
== Chat ==&lt;br /&gt;
A trivial chat module has been implemented more as a test than as a serious application, but it is usable.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Comparison of file sharing applications]]&lt;br /&gt;
* [[Synchronous conferencing]]&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
&lt;br /&gt;
[http://wikipedia.org/ http://wikipedia.org/]&lt;br /&gt;
[[Category:Decentralized network]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
</feed>