|This article relies on references to primary sources. (May 2013)|
Screenshot of the Hamachi Client, showing a joined network and other users who are participating
|Stable release||22.214.171.124 |
|Operating system||Microsoft Windows (XP or later), Mac OS X, Linux (beta)|
|License||Proprietary (Free for up to 5 devices)|
Hamachi is intended as a zero-configuration virtual private network (VPN) application that is capable of establishing direct links between computers that are behind NAT firewalls without requiring reconfiguration (when the user's PC can be accessed directly without relays from the Internet/WAN side); in other words, it establishes a connection over the Internet that emulates the connection that would exist if the computers were connected over a local area network.
For paid subscribers Hamachi runs in the background on idle computers. The feature was previously available to all users, but became restricted to paid subscribers only. Hamachi subscription packages are priced starting at US$29.
Hamachi is a proprietary centrally-managed VPN system, consisting of the server cluster managed by the vendor of the system and the client software, which is installed on end-user computers. Client software adds a virtual network interface to a computer, and it is used for intercepting outbound as well as injecting inbound VPN traffic. Outbound traffic sent by the operating system to this interface is delivered to the client software, which encrypts and authenticates it and then sends it to the destination VPN peer over a specially initiated UDP connection. Hamachi currently handles tunneling of IP traffic including broadcasts and multicast. The Windows version also recognizes and tunnels IPX traffic.
Each client establishes and maintains a control connection to the server cluster. When the connection is established, the client goes through a login sequence, followed by the discovery process and state synchronization. The login step authenticates the client to the server and vice versa. The discovery is used to determine the topology of the client's Internet connection, specifically to detect the presence of NAT and firewall devices on its route to the Internet. The synchronization step brings a client's view of its private networks in sync with other members of these networks.
When a member of a network goes online or offline, the server instructs other network peers to either establish or tear down tunnels to the former. When establishing tunnels between the peers, Hamachi uses a server-assisted NAT traversal technique, similar to UDP hole punching. Detailed information on how it works has not been made public. This process does not work on certain combinations of NAT devices, requiring the user to explicitly set up a port forward. Additionally 1.0 series of client software are capable of relaying traffic through vendor-maintained 'relay servers'.
In the event of unexpectedly losing a connection to the server, the client retains all its tunnels and starts actively checking their status. When the server unexpectedly loses client's connection, it informs client's peers about the fact and expects them to also start liveliness checks. This enables Hamachi tunnels to withstand transient network problems on the route between the client and the server as well as short periods of complete server unavailability. Some Hamachi clients also get closed port on other clients, which cannot be repaired by port forwarding.
Hamachi is frequently used for gaming and remote administration. The vendor provides free basic service, and extra features for a fee.
In February 2007, an IP-level block was imposed by Hamachi servers on parts of Vietnamese Internet space due to "the scale of the system abuse originating from blocked addresses". The company is working on a less intrusive solution to the problem.
Each Hamachi client is normally assigned an IP address when it logs into the system for the first time. To avoid conflicting with existing private networks on the client side the normal private IP address blocks 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 are not used.
Before November 19, 2012 the 126.96.36.199/8 range was used. This range was previously unallocated but was allocated to RIPE NCC in late 2010 and space from this range is now being used by hosting providers on the public internet. Hamachi switched to the 188.8.131.52/8 block.
The 184.108.40.206/8 block is allocated to the British Ministry of Defence. Organisations who need to communicate with the MOD may experience problems when more specific Internet routes attract traffic that was meant for internal hosts, or alternatively find themselves unable to reach the legitimate users of those addresses because those addresses are being used internally, and such "squatting" is against the established practice of the Internet.
The IP address assigned to the Hamachi client is henceforth associated with the client's public crypto key. As long as the client retains its key, it can log into the system and use this IP address. Hamachi creates a single broadcast domain between all clients. This makes it possible to use LAN protocols that rely on IP broadcasts for discovery and announcement services over Hamachi networks.
The following considerations apply to Hamachi's use as a VPN application:
- Additional risk of disclosure of sensitive data which is stored or may be logged by the mediation server — minimal where data is not forwarded.
- The security risks due to vulnerable services on remote machines otherwise not accessible behind a firewall, common to all VPNs.
- Hamachi is stated to use strong, industry-standard algorithms to secure and authenticate the data and its security architecture is open. Despite this security cannot necessarily be guaranteed.
- The existing client-server protocol documentation contains a number of errors, some of which have been confirmed by the vendor, pending correction, with others not yet confirmed.
- For the product to work, a "mediation server", operated by the vendor, is required.
- This server stores the nickname, maintenance password, statically-allocated 220.127.116.11/8 IP address and the associated authentication token of the user. As such, it can potentially log actual IP addresses of the VPN users as well as various details of the session.
The current builds of Hamachi are available for the following operating systems:
- Microsoft Windows (XP or later)
- Mac OS X
- Linux (beta)
- FreeBSD users can install and utilize Linux version, there's a port created in FreeBSD Ports.
- Android (Via Android system VPN)
- IOS (Via IOS system VPN)
Prior to versions 18.104.22.168 and 22.214.171.124 for the Windows release, many Windows Vista users had experienced compatibility and connection issues while using Hamachi. As of March 30, 2007, the software now includes Vista tweaks, which answer these OS-related problems, among other specific solutions.
- Network address translation (NAT) Overview, related RFCs: RFC 4008, RFC 3022, RFC 1631 (obsolete)
- Simple Traversal of UDP over NATs (STUN), a NAT traversal protocol defined in RFC 3489 (obsoleted by RFC 5389)
- Session Traversal Utilities for NAT (Updated STUN, as defined in RFC 5389)
- UDP hole punching another NAT traversal technique
- Virtual Private LAN Service
- XLink Kai
- "Hamachi Release Notes", Hamachi Release Notes
- "Changes to Hamachi on November 19th", Official LogMeIn product blog
- Vegoda, Leo. "Used but Unallocated: Potentially Awkward /8 Assignments". The Internet Protocol Journal — Volume 10, No. 3. Cisco.com. Retrieved 2011-03-25.
- "LogMeIn Hamachi2 Security Whitepaper". Logmeinsupport.com. Retrieved 2011-04-12.
- Hamachi protocol documentation errors. Hamachi.cc forums.[dead link]
- More Hamachi protocol documentation concerns. Hamachi.cc forums.[dead link]
- Acknowledgement of documentation errors. Hamachi.cc forums.[dead link]
- "Hamachi for Windows, change log". Hamachi.cc. Retrieved 2011-04-12.[not in citation given]
- "Hamachi Community Forums - 126.96.36.199 is released". Forums.hamachi.cc. Retrieved 2011-04-12.[not in citation given]