mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-04-29 15:39:42 +00:00
config: follow-up (#2268)
Some changes in the parameters names. Add a fuzzer to fuzz the configuration file format. Add the infrastructure to configuratin callbacks. Add an helper to map LRU cache indexes to names.
This commit is contained in:
parent
8651ce9811
commit
42d23cff6a
62 changed files with 264 additions and 118 deletions
1
fuzz/corpus/fuzz_filecfg_config/dns_process_response.txt
Normal file
1
fuzz/corpus/fuzz_filecfg_config/dns_process_response.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
dns,process_response,1
|
||||
|
|
@ -0,0 +1 @@
|
|||
dns,subclassification,0
|
||||
1
fuzz/corpus/fuzz_filecfg_config/dpi.guess_on_giveup.txt
Normal file
1
fuzz/corpus/fuzz_filecfg_config/dpi.guess_on_giveup.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
dpi.guess_on_giveup,1
|
||||
1
fuzz/corpus/fuzz_filecfg_config/filename.config.txt
Normal file
1
fuzz/corpus/fuzz_filecfg_config/filename.config.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
filename.config,foo/bar
|
||||
|
|
@ -0,0 +1 @@
|
|||
flow.direction_detection,0
|
||||
|
|
@ -0,0 +1 @@
|
|||
flow.direction_detection,1
|
||||
|
|
@ -0,0 +1 @@
|
|||
flow.direction_detection,disable
|
||||
|
|
@ -0,0 +1 @@
|
|||
flow.direction_detection,enable
|
||||
|
|
@ -0,0 +1 @@
|
|||
flow.direction_detection,invalid_value
|
||||
|
|
@ -0,0 +1 @@
|
|||
flow.direction_detection,off
|
||||
|
|
@ -0,0 +1 @@
|
|||
flow.direction_detection,on
|
||||
1
fuzz/corpus/fuzz_filecfg_config/flow.track_payload.txt
Normal file
1
fuzz/corpus/fuzz_filecfg_config/flow.track_payload.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
flow.track_payload,1
|
||||
|
|
@ -0,0 +1 @@
|
|||
flow_risk.anonymous_subscriber.list.icloudprivaterelay.load,1
|
||||
|
|
@ -0,0 +1 @@
|
|||
flow_risk.anonymous_subscriber.list.protonvpn.load,1
|
||||
|
|
@ -0,0 +1 @@
|
|||
flow_risk.crawler_bot.list.load,1
|
||||
1
fuzz/corpus/fuzz_filecfg_config/flow_risk_lists.load.txt
Normal file
1
fuzz/corpus/fuzz_filecfg_config/flow_risk_lists.load.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
flow_risk_lists.load,1
|
||||
1
fuzz/corpus/fuzz_filecfg_config/ftp_tls_dissection.txt
Normal file
1
fuzz/corpus/fuzz_filecfg_config/ftp_tls_dissection.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
ftp,tls_dissection,1
|
||||
|
|
@ -0,0 +1 @@
|
|||
fully_encrypted_heuristic,1
|
||||
|
|
@ -0,0 +1 @@
|
|||
http,process_response,off
|
||||
1
fuzz/corpus/fuzz_filecfg_config/imap_tls_dissection.txt
Normal file
1
fuzz/corpus/fuzz_filecfg_config/imap_tls_dissection.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
imap,tls_dissection,1
|
||||
1
fuzz/corpus/fuzz_filecfg_config/libgcrypt.init.txt
Normal file
1
fuzz/corpus/fuzz_filecfg_config/libgcrypt.init.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
libgcrypt.init,1
|
||||
1
fuzz/corpus/fuzz_filecfg_config/log.level.txt
Normal file
1
fuzz/corpus/fuzz_filecfg_config/log.level.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
log.level,2
|
||||
|
|
@ -0,0 +1 @@
|
|||
lru.invalid_name.size,10
|
||||
1
fuzz/corpus/fuzz_filecfg_config/lru.invalid_name.ttl.txt
Normal file
1
fuzz/corpus/fuzz_filecfg_config/lru.invalid_name.ttl.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
lru.invalid_name.ttl,10
|
||||
1
fuzz/corpus/fuzz_filecfg_config/lru.ookla.size.txt
Normal file
1
fuzz/corpus/fuzz_filecfg_config/lru.ookla.size.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
lru.ookla.size,10
|
||||
1
fuzz/corpus/fuzz_filecfg_config/lru.ookla.ttl.txt
Normal file
1
fuzz/corpus/fuzz_filecfg_config/lru.ookla.ttl.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
lru.ookla.ttl,10
|
||||
|
|
@ -0,0 +1 @@
|
|||
ookla,dpi.aggressiveness,1
|
||||
|
|
@ -0,0 +1 @@
|
|||
packets_limit_per_flow,32
|
||||
1
fuzz/corpus/fuzz_filecfg_config/pop_tls_dissection.txt
Normal file
1
fuzz/corpus/fuzz_filecfg_config/pop_tls_dissection.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
pop,tls_dissection,disable
|
||||
1
fuzz/corpus/fuzz_filecfg_config/quic_log.txt
Normal file
1
fuzz/corpus/fuzz_filecfg_config/quic_log.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
quic,log,1
|
||||
1
fuzz/corpus/fuzz_filecfg_config/smtp_tls_dissection.txt
Normal file
1
fuzz/corpus/fuzz_filecfg_config/smtp_tls_dissection.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
smtp,tls_dissection,0
|
||||
1
fuzz/corpus/fuzz_filecfg_config/stun_tls_dissection.txt
Normal file
1
fuzz/corpus/fuzz_filecfg_config/stun_tls_dissection.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
stun,tls_dissection,on
|
||||
|
|
@ -0,0 +1 @@
|
|||
tcp_ack_payload_heuristic,1
|
||||
|
|
@ -0,0 +1 @@
|
|||
tls,application_blocks_tracking,disable
|
||||
|
|
@ -0,0 +1 @@
|
|||
tls,certificate_expiration_threshold,10
|
||||
|
|
@ -0,0 +1 @@
|
|||
tls,metadata.sha1_fingerprint,enable
|
||||
1
fuzz/corpus/fuzz_filecfg_config/twitter_ip_list.load.txt
Normal file
1
fuzz/corpus/fuzz_filecfg_config/twitter_ip_list.load.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
twitter,ip_list.load,1
|
||||
Loading…
Add table
Add a link
Reference in a new issue