Finalized nBPF support. You can now define custom protocols such as
(see exaple/protos.txt) nbpf:"host 192.168.1.1 and port 80"@HomeRouter In order to have nBPF support, you need to compile nDPI with it. Just download https://github.com/ntop/PF_RING in the same directory where you have downloaded nDPI and compile PF_RING/userland/nbpf
This commit is contained in:
@@ -6,6 +6,14 @@ udp:5061-5062@SIP
|
||||
tcp:860,udp:860,tcp:3260,udp:3260@iSCSI
|
||||
tcp:3000@ntop
|
||||
|
||||
#
|
||||
# nBPF filters (https://github.com/ntop/PF_RING/tree/dev/userland/nbpf))
|
||||
#
|
||||
# NOTE: they are evaluated in the same order they are defined !
|
||||
#
|
||||
nbpf:"host 192.168.1.1 and port 80"@HomeRouter
|
||||
|
||||
|
||||
# Subprotocols
|
||||
# Format:
|
||||
# host:"<value>",host:"<value>",.....@<subproto>
|
||||
|
||||
Reference in New Issue
Block a user