Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

Comments

@GoogleCodeExporter
Copy link

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

This comment has been minimized.

Copy link
Author

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

This comment has been minimized.

Copy link
Author

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

This comment has been minimized.

Copy link
Author

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 join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.