# Introducing n2n 2.8: Modern Crypto and Data Compression | ntop

[Blog](https://www.ntop.org/blog/)[n2n](https://www.ntop.org/category/n2n/)

# Introducing n2n 2.8: Modern Crypto and Data Compression

August 12, 20201 min read

This is to announce the release of n2n 2.8 stable. This release brings significant new features to n2n’s crypto world and offers some compression opportunities. Overall n2n performance has been greatly enhanced, reduced bandwidth usage thanks to data compression, and as state of the art security with new crypto options. The added support for routing table manipulation might increase comfort. Besides further honing existing features, this release addresses some bugs.

## New Features

-   Two lightweight stream ciphers: ChaCha20 (optional, through OpenSSL) & SPECK (integrated)
-   Full Header Encryption (including packet checksumming as well as replay protection)
-   A callback interface to better integrate n2n in third party software (you can still use it stand-alone)
-   Enable the integrated LZO1x compression
-   Add optional ZSTD compression (through zstdlib)
-   Support for changing system routes at program start and end
-   User and group id parameter for supernode
-   Application of cryptography in n2n is [separately documented](https://github.com/ntop/n2n/blob/dev/doc/Crypto.md)
-   Add a new pseudo random number generator with higher periodicity seeded with more entropy if available
-   Android users can use the [hin2n](https://github.com/switch-iot/hin2n) to use it on their mobile phones.

### Improvements

-   Have AES and ChaCha20 use OpenSSL’s `evp_*` interface to make better use of available hardware acceleration
-   Fix invalid sendto when supernode name resolution fails
-   Update to supernode’s purge logic
-   Extended management supernode’s port output
-   Fix read tap device failed when OS wakes up from sleep
-   Free choice of supernode’s management UDP port (for multiple supernodes on one machine)
-   Additional trace messages to better indicate established connections and connection type
-   Fix edge’s register-to-supernode loop
-   Remove redundant code
-   Restructure the code in directories
-   Clean-up platform-dependant code
-   Compile fixes for Windows
-   Fix build warnings
-   …and many more under-the-hood fixes and tunings

Now we can plan for v3 on a building block that is rock solid and efficient. Many thanks to Logan oos Even who has contributed to many of the 2.8 features.

Enjoy!

## Keep reading

n2nMar 24, 2020

### [Introducing n2n 2.6 with AES Encryption](https://www.ntop.org/introducing-n2n-2-6-with-aes-encryption/)

This is to introduce you the latest n2n 2.6 stable release. This is mostly a maintenance release to address the issues of 2.4 that has been the first release since a long…

n2nDec 10, 2018

### [Use Remote Assistance to Connect to ntopng Instances](https://www.ntop.org/use-remote-assistance-to-connect-to-ntopng-instances/)

A problem same ntop users how to face with, is the ability to remote access a ntopng instance running behind a firewall. This can be solved using a VPN or other means…

n2nAug 17, 2018

### [Introducing n2n 2.4](https://www.ntop.org/introducing-n2n-2-4/)

As announced some months ago, we have resumed the development of n2n, a peer-to-peer VPN we developed some year ago to ease the access to remote ntop installations behind firewalls, that then…

## Try it on your own network

Download the free Community edition and see your first flows in five minutes.

[Download ntopng free](https://www.ntop.org/support/documentation/software-installation/)[Talk to an engineer](https://www.ntop.org/support/need-help/contacts/)
Source: https://www.ntop.org/introducing-n2n-2-8-modern-crypto-and-data-compression/