Skip to content
This repository has been archived by the owner. It is now read-only.

/etc/init/securityonion.conf needs to sleep longer before ssh #295

Closed
GoogleCodeExporter opened this issue Mar 24, 2015 · 3 comments
Closed

/etc/init/securityonion.conf needs to sleep longer before ssh #295

GoogleCodeExporter opened this issue Mar 24, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

@GoogleCodeExporter GoogleCodeExporter commented Mar 24, 2015

Some folks are having trouble with sensors trying to ssh to the master server 
before the link has fully negotiated.  /etc/init/securityonion.conf needs to be 
updated such that sensors sleep for 60 seconds before trying to ssh.

Original issue reported on code.google.com by doug.bu...@gmail.com on 24 Feb 2013 at 9:15

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 24, 2015

/etc/init/securityonion.conf updated as follows:


#
#/etc/init/securityonion.conf
#
description     "Security Onion"
start on (net-device-up
            and remote-filesystems
            and runlevel [2345])
stop on runlevel [016]
script
        sleep 5
        # If this is a SLAVE start SSH tunnel and start ELSA if required
        SSH_DIR="/root/.ssh"
        SSH_CONF="$SSH_DIR/securityonion_ssh.conf"
        if [ -f $SSH_CONF ]
        then
                # Some folks are having problems with link negotiation taking too long
                # and the tunnel failing to come up.
                # This is a quick and dirty fix until we come up with a better solution.
                sleep 60

Original comment by doug.bu...@gmail.com on 26 Feb 2013 at 5:10

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 24, 2015

Tested by Matt Gregory and GabrielS.

Original comment by doug.bu...@gmail.com on 26 Feb 2013 at 5:11

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 24, 2015

Copied to Stable PPA.

Original comment by doug.bu...@gmail.com on 26 Feb 2013 at 5:15

  • Changed state: Verified
  • Added labels: ****
  • Removed labels: ****

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant