[
https://bro-tracker.atlassian.net/browse/BIT-1498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jon Schipp updated BIT-1498:
----------------------------
Description:
When using broctl in an environment with login banners, they will be displayed
in the broctl command. In the event that they can not be configured away on
the sshd end using '-q' avoids displaying the banner on the client side.
The patch is trivial:
--- a/BroControl/ssh_runner.py
+++ b/BroControl/ssh_runner.py
@@ -108,6 +108,7 @@ class SSHMaster:
self.base_cmd = [
"ssh",
"-o", "BatchMode=yes",
+ "-q",
host,
]
self.need_connect = True
was:
When using broctl in an environment with login banners, they will be displayed
in the broctl command. In the event that they can not be configured away on
the sshd end using '-q' avoids displaying the banner on the client side.
*test*
The patch is trivial:
--- a/BroControl/ssh_runner.py
+++ b/BroControl/ssh_runner.py
@@ -108,6 +108,7 @@ class SSHMaster:
self.base_cmd = [
"ssh",
"-o", "BatchMode=yes",
+ "-q",
host,
]
self.need_connect = True
> add '-q' to ssh execution in ssh_runner.py
> ------------------------------------------
>
> Key: BIT-1498
> URL: https://bro-tracker.atlassian.net/browse/BIT-1498
> Project: Bro Issue Tracker
> Issue Type: Patch
> Components: BroControl
> Affects Versions: 2.4
> Reporter: scampbell
> Assignee: Jon Schipp
> Priority: Trivial
> Labels: broctl
> Fix For: 2.5
>
>
> When using broctl in an environment with login banners, they will be
> displayed in the broctl command. In the event that they can not be
> configured away on the sshd end using '-q' avoids displaying the banner on
> the client side.
> The patch is trivial:
> --- a/BroControl/ssh_runner.py
> +++ b/BroControl/ssh_runner.py
> @@ -108,6 +108,7 @@ class SSHMaster:
> self.base_cmd = [
> "ssh",
> "-o", "BatchMode=yes",
> + "-q",
> host,
> ]
> self.need_connect = True
--
This message was sent by Atlassian JIRA
(v7.2.0-OD-03-014#72000)
_______________________________________________
bro-dev mailing list
[email protected]
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev