How does TSP work ?

Generic proceeding of Freenet6's TSP protocol implementation
Requests are initiated by hosts or servers already connected to Internet and having an IPv6 stack. TSP client (tspc) reads a configuration file (tspc.conf), then sends a request (using TCP) to the TSP server specified in the configuration file. The TSP server processes the request and (according to its local policy), assigns a single IPv6 address or a full IPv6 prefix to the requester. Next, the TSP server establishes a new configured tunnel (IPv6 over IPv4) according to the information sent in the request.

When the client receives tunnel's information, it locally configures it's tunnel interface and default IPv6 route. The client has now full IPv6 connectivity.

How does the client configure locally the tunnel
The information received is stored in environment variables and a shell script (batch file for Windows) is executed. The shell script will execute the commands needed to set the tunnel up. This shell script is called a template.

The client will execute the template specified in the configuration file.

Users can customize the templates according to their local preferences.

IPv6 addresses assigned by TSP server

With the Freenet6 service there have been abuses from Freenet6 users (spamming, intrusions and other types of abuses). With this old system, it was impossible for administrators to track malicious users over IPv4 except by reaching tunnel server administrators.

Freenet6's team was aware of this problem and came up with a clean solution toward this problem. Freenet6's IPv6 addresses for anonymous client will have the client's IPv4 address embedded in it. This way, administrator will be able to contact the real provider of the offender or filter the offender's ISP IPv4 prefix.

Please look at the policy page for a description of the tunnel address endpoints. n