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:
Seth Hall 2011-10-07 23:57:08 -04:00
parent 6ae9da5aad
commit 0803df2e14
4 changed files with 5 additions and 5 deletions

@ -1 +1 @@
Subproject commit 241f37597d5fb345dfed5b6b246107d143290851 Subproject commit 042ce05428035b6bdd4863b9d316b7fd4bb5252e

View file

@ -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.

View file

@ -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);
} }

View file

@ -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()
{ {