mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Changed communication option from listen_encrypted to listen_ssl.
- Robin pointed out that SSL is providing authentication as well as encryption so listen_ssl is a more proper variable name.
This commit is contained in:
parent
6ae9da5aad
commit
0803df2e14
4 changed files with 5 additions and 5 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit 241f37597d5fb345dfed5b6b246107d143290851
|
Subproject commit 042ce05428035b6bdd4863b9d316b7fd4bb5252e
|
|
@ -14,8 +14,8 @@ export {
|
||||||
## Which port to listen on.
|
## Which port to listen on.
|
||||||
const listen_port = 47757/tcp &redef;
|
const listen_port = 47757/tcp &redef;
|
||||||
|
|
||||||
## This defines if a listening socket should use encryption.
|
## This defines if a listening socket should use SSL.
|
||||||
const listen_encrypted = F &redef;
|
const listen_ssl = F &redef;
|
||||||
|
|
||||||
## Default compression level. Compression level is 0-9, with 0 = no
|
## Default compression level. Compression level is 0-9, with 0 = no
|
||||||
## compression.
|
## compression.
|
||||||
|
|
|
@ -8,5 +8,5 @@ module Communication;
|
||||||
event bro_init() &priority=-10
|
event bro_init() &priority=-10
|
||||||
{
|
{
|
||||||
enable_communication();
|
enable_communication();
|
||||||
listen(listen_interface, listen_port, listen_encrypted);
|
listen(listen_interface, listen_port, listen_ssl);
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
@TEST-START-FILE sender.bro
|
@TEST-START-FILE sender.bro
|
||||||
|
|
||||||
@load frameworks/communication/listen
|
@load frameworks/communication/listen
|
||||||
redef Communication::listen_encrypted=T;
|
redef Communication::listen_ssl=T;
|
||||||
|
|
||||||
event bro_init()
|
event bro_init()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue