.onion is a special-use
top-level domain
A top-level domain (TLD) is one of the domain name, domains at the highest level in the hierarchical Domain Name System of the Internet after the root domain. The top-level domain names are installed in the DNS root zone, root zone of the nam ...
name designating an anonymous
onion service, which was formerly known as a "hidden service", reachable via the
Tor network. Such addresses are not actual
DNS names, and the .onion TLD is not in the
Internet DNS root, but with the appropriate proxy software installed, Internet programs such as
web browser
A web browser, often shortened to browser, is an application for accessing websites. When a user requests a web page from a particular website, the browser retrieves its files from a web server and then displays the page on the user's scr ...
s can access sites with .onion
addresses by sending the request through the Tor network.
The "onion" name refers to
onion routing
Onion routing is a technique for anonymous communication over a computer network. In an onion network, messages are encapsulated in layers of encryption, analogous to the layers of an onion. The encrypted data is transmitted through a series o ...
, the technique used by Tor to achieve a degree of
anonymity
Anonymity describes situations where the acting person's identity is unknown. Anonymity may be created unintentionally through the loss of identifying information due to the passage of time or a destructive event, or intentionally if a person cho ...
.
The purpose of using such a system is to make both the information provider and the person accessing the information more difficult to trace, whether by one another, by an intermediate network host, or by an outsider. Sites that offer dedicated .onion addresses may provide an additional layer of identity assurance via
EV HTTPS Certificates. Provision of an onion site also helps mitigate
SSL stripping attacks by
malicious exit nodes on the Tor network upon users who would otherwise access traditional HTTPS
clearnet sites over Tor.
Format
Addresses in the onion TLD are generally opaque, non-
mnemonic
A mnemonic device ( ), memory trick or memory device is any learning technique that aids information retention or retrieval in the human memory, often by associating the information with something that is easier to remember.
It makes use of e ...
, alpha-numerical strings which are automatically generated based on a
public key
Public-key cryptography, or asymmetric cryptography, is the field of cryptographic systems that use pairs of related keys. Each key pair consists of a public key and a corresponding private key. Key pairs are generated with cryptographic alg ...
when an
onion service is configured. Formerly 16 characters long prior to V2 onion services being made obsolete by V3 services, which are 56 characters long. These strings can be made up of any letter of the alphabet, and decimal digits from 2 to 7, representing in
base32
Base32 is an encoding method based on the Radix, base-32 numeral system. It uses an alphabet of 32 Numerical digit, digits, each of which represents a different combination of 5 bits (25). Since base32 is not very widely adopted, the question of no ...
either an 80-bit
hash ("version 2", or 16-character) or a 256-bit
ed25519 public key along with a version number and a checksum of the key and version number ("version 3", "next gen", or 56-character). As a result, in the past all combinations of sixteen base32 characters could potentially be valid version 2 addresses (though as the output of a cryptographic hash, a randomly selected string of this form having a corresponding onion service should be
extremely unlikely), while in the current version 3 only combinations of 56 base32 characters that correctly encoded an ed25519 public key, a checksum, and a version number (i.e., 3) are valid addresses.
It is possible to set up a partially human-readable .onion URL (e.g. starting with an organization name) by generating massive numbers of
key pairs (a computational process that can be
parallelized) until a sufficiently desirable URL is found.
Beginning in October 2021, stable releases of Tor software no longer support V2 (16 character) addresses.
WWW to .onion gateways
Proxies into the Tor network like
Tor2web allow access to onion services from non-Tor browsers and for search engines that are not Tor-aware. By using a gateway, users give up their own anonymity and trust the gateway to deliver the correct content. Both the gateway and the onion service can
fingerprint
A fingerprint is an impression left by the friction ridges of a human finger. The recovery of partial fingerprints from a crime scene is an important method of forensic science. Moisture and grease on a finger result in fingerprints on surfa ...
the browser, and access user IP address data. Some proxies use caching techniques that claim to provide better page-loading than the official
Tor Browser.
.exit (defunct pseudo-top-level domain)
.exit was a
pseudo-top-level domain used by
Tor users to indicate on the fly to the Tor software the preferred
exit node that should be used while connecting to a service such as a
web server
A web server is computer software and underlying Computer hardware, hardware that accepts requests via Hypertext Transfer Protocol, HTTP (the network protocol created to distribute web content) or its secure variant HTTPS. A user agent, co ...
, without having to edit the configuration file for Tor (''torrc'').
The syntax used with this domain was ''hostname'' + ''.exitnode'' + ''.exit'', so that a user wanting to connect to
http://www.torproject.org/ through node ''tor26'' would have to enter the URL ''
http://www.torproject.org.tor26.exit''.
Example uses for this would include accessing a site available only to addresses of a certain country or checking if a certain node is working.
Users could also type ''exitnode.exit'' alone to access the IP address of ''exitnode''.
The .exit notation was deprecated as of version 0.2.9.8. It is disabled by default as of version 0.2.2.1-alpha due to potential application-level attacks, and with the release of 0.3-series Tor as "stable" may now be considered defunct.
Official designation
The domain was formerly a
pseudo-top-level domain host suffix, similar in concept to such endings as
.bitnet and
.uucp used in earlier times.
On 9 September 2015
ICANN
The Internet Corporation for Assigned Names and Numbers (ICANN ) is a global multistakeholder group and nonprofit organization headquartered in the United States responsible for coordinating the maintenance and procedures of several dat ...
,
IANA
The Internet Assigned Numbers Authority (IANA) is a standards organization that oversees global IP address allocation, autonomous system number allocation, root zone management in the Domain Name System (DNS), media types, and other Internet P ...
and the
IETF
The Internet Engineering Task Force (IETF) is a standards organization for the Internet standard, Internet and is responsible for the technical standards that make up the Internet protocol suite (TCP/IP). It has no formal membership roster ...
designated .onion as a 'special use domain', giving the domain an official status following a proposal from
Jacob Appelbaum of the Tor Project and
Facebook
Facebook is a social media and social networking service owned by the American technology conglomerate Meta Platforms, Meta. Created in 2004 by Mark Zuckerberg with four other Harvard College students and roommates, Eduardo Saverin, Andre ...
security engineer
Alec Muffett.
HTTPS support
Prior to the adoption of
CA/Browser Forum Ballot 144, an
HTTPS
Hypertext Transfer Protocol Secure (HTTPS) is an extension of the Hypertext Transfer Protocol (HTTP). It uses encryption for secure communication over a computer network, and is widely used on the Internet. In HTTPS, the communication protoc ...
certificate for a .onion name could only be acquired by treating .onion as an Internal Server Name.
Per the CA/Browser Forum's Baseline Requirements, these certificates could be issued, but were required to expire before 1 November 2015.
Despite these restrictions,
DuckDuckGo launched an onion site with a self-signed certificate in July 2013;
Facebook
Facebook is a social media and social networking service owned by the American technology conglomerate Meta Platforms, Meta. Created in 2004 by Mark Zuckerberg with four other Harvard College students and roommates, Eduardo Saverin, Andre ...
obtained the first SSL Onion certificate to be issued by a Certificate authority in October 2014,
Blockchain.info in December 2014, and
The Intercept in April 2015. ''
The New York Times
''The New York Times'' (''NYT'') is an American daily newspaper based in New York City. ''The New York Times'' covers domestic, national, and international news, and publishes opinion pieces, investigative reports, and reviews. As one of ...
'' later joined in October 2017.
Following the adoption of CA/Browser Forum Ballot 144 and the designation of the domain as 'special use' in September 2015, .onion meets the criteria for RFC 6761. Certificate authorities may issue SSL certificates for HTTPS .onion sites per the process documented in the
CA/Browser Forum's Baseline Requirements, introduced in Ballot 144.
As of August 2016, 13 onion domains are https signed across 7 different organisations via
DigiCert
DigiCert, Inc. is a digital security company headquartered in Lehi, Utah. DigiCert provides public key infrastructure (PKI) and validation required for issuing Public key certificate, digital certificates or Transport Layer Security, TLS/SSL cert ...
.
See also
*
.tor
*
.i2p
*
.bit
*
Darknet
*
Dark web
The dark web is the World Wide Web content that exists on darknets ( overlay networks) that use the Internet but require specific software, configurations, or authorization to access. Through the dark web, private computer networks can communica ...
*
GlobaLeaks
*
List of Tor onion services
*
Onion routing
Onion routing is a technique for anonymous communication over a computer network. In an onion network, messages are encapsulated in layers of encryption, analogous to the layers of an onion. The encrypted data is transmitted through a series o ...
References
External links
*
*
*
*
*
{{DEFAULTSORT:ONION
Dark web
Internet properties established in 2004
Top-level domains
sv:Toppdomän#Generiska toppdomäner