Skip to content

Using only specific layers

Nikos Filippakis edited this page May 18, 2020 · 2 revisions

By default, go-dpi uses all three available layers of detection:

  • Classifiers written in go
  • Wrappers around nDPI and libprotoident
  • Machine-learning model trained on other dumps

Each layer is used on a flow if the previous ones failed to classify it. The list and order of layers that will be used is defined in godpi.go in the variable moduleList. You can change it using godpi.SetModules or by editing the file by hand. Similarly, you can add new layers for use.

Clone this wiki locally