Siege

From wiki.mikejung.biz
Jump to: navigation, search

How to compile siege from source, with ssl compatibility

By default, siege will not be compiled with ssl support unless you specify this when building from source. In order to do this we need to make sure we have openssl and libssl installed. First we need to grab the latest openssl tarball, then extract it and compile from source

wget http://www.openssl.org/source/openssl-1.0.2g.tar.gz
tar zxvf openssl-1.0.2g.tar.gz
cd openssl-1.0.2g/
./config
make depend
make install

After we have ensured we have openssl / libssl we can build siege from source and specify "--with-ssl", after the build is complete you can use siege to test http and https sites

wget http://download.joedog.org/siege/siege-latest.tar.gz
tar zxvf siege-latest.tar.gz
cd siege-4.0.0/
./configure --with-ssl
make
make install