SNIProxy is the core service to share geolocalization in GeoPeer. Sadly, it is not available in all Linux distributions; you will need to install it manually if your chosen Linux does not have it. We present here how we did.


Please check if you have the devel packages of the following packages. If you have it, install it using RPM or DEB packages. Otherwise, you will need to add it manually from the source.

  • libev (we tested 4.15 and 4.22). If your system does not have it, please install it manually.
  • libudns (we tested 0.2 and 0.4). If your system does not have it, please install it manually. This library doesn't have make install command. So you will need to know where you untar as you will do a static link to it later.
  • libpcre (we tested 8.37). This library is usually available on all Linuxes, if you don't have it please install it manually.


Get latest SNIProxy by downloading it from the GitHub project a (you can also try the direct link to its zip file). When you get it, unzip it and go into the directory.

Type the following command (change the paths to feet where you installed libudns): LIBUDNS_CFLAGS=-I/path/to/udns-0.4/ LIBUDNS_LIBS='-L/path/to/udns-0.4/ -ludns' ./configure

Pay attention to the output, the configure script must detect libev, libudns and libpcre. If one of them is missing, please check the environment variables by typing ./configure --help. If all is detected then type: make. And finally, make install.

You are ready to go

blog comments powered by Disqus