Do not log SOCKS passwords by default.

This introduces a new option, SOCKS::default_capture_password which can
be used to specify if Socks passwords are logged by default

Like fot FTP/HTTP, this option is set to false by default.

Addresses BIT-1791
This commit is contained in:
Johanna Amann 2017-12-01 14:35:51 -08:00
parent 1f6954ca3e
commit 8ba5c03538
5 changed files with 54 additions and 13 deletions

View file

@ -3,3 +3,9 @@
# @TEST-EXEC: btest-diff tunnel.log
@load base/protocols/socks
redef SOCKS::default_capture_password = T;
@TEST-START-NEXT
@load base/protocols/socks