Source code for OCS-WAF: a Web Application Firewall based on anomaly detection using One-Class SVM classifier.
Tested with Python 3.5 on Ubuntu 14.04 and Windows 7
cd tfg
pip install -r requirements.txt
If there are problems on Windows with some packages,
Anaconda can be
used to install them.
In Ubuntu using pip
should work just fine.
- Paste files from CSIC 2010 HTTP data sets
into
/tfg/implementation/data_sets/csic/original_files/
- Paste files from CSIC Torpeda 2012 HTTP data sets
into
/tfg/implementation/data_sets/torpeda/original_files/
Use the script run.py
to run the different tests; executing
it without additional parameters displays the usage info,
like this python3 run.py
.
For test2
you have to start all four options of that test in
their listed order, starting with the destination and concluding
with source, waiting some seconds in between to give them some
time to initialize.
Use the script run.py
to compile the latex source files and
generate a PDF of our undergraduate thesis (proposal, complete book,
summary article and presentation slides, all written in spanish);
executing it without additional parameters displays the usage
info, like this python3 run.py
.
For the compilation process, the utilities pdflatex
, makeglossaries
and bibtex
need to be installed.
The compiled PDFs are also available in the folder /tfg/pdfs/
.
- Nico Epp
- Ralf Funk
- Cristian Cappo (undergraduate thesis advisor)
Check out the paper (written in english) we submitted to the ERRC 2017 conference in Santa Maria, Brazil and the corresponding source code.