Skip to content
A module making the Apache2 Webserver aware of MPTCP.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


A module making the Apache2 Webserver aware of MPTCP.

This module was tested and developed with the MPTCP Linux Kernel Implementation by UCLouvain. If the TCP connection to the server is MPTCP enabled, the APACHE Environment Variable "MPTCP_ENABLED" is set to 1. If a client is connecting using plain-old TCP the variable will be set to 0.


The build process is quick and easy. Just change to the directory you have cloned this repo to and 'make':

$ make
$ sudo make install
$ sudo make restart

Please note that the latter command will cause your web server to restart in order to load the mod_mptcp module.

Using the Module

The module sets an Apache Environment variable, which can easily be read by many scripting languages.

Below we show an example for a simple PHP script:

  echo "Cool, you are using MPTCP! :D";
} else {
  echo "No, you are just connecting with plain-old TCP :(";


You can see our module in action here:

You can’t perform that action at this time.