Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

Default Web page #219

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

Default Web page #219

GoogleCodeExporter opened this issue Mar 24, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

It would be nice if the default web page were useful. 

* Add relevant SecurityOnion related links
* Add links to the varions tools website snort/bro/daemonlogger/pads/etc...
* Add links to Snorby and Squert running on the server.

Original issue reported on code.google.com by Jason.R....@gmail.com on 7 Feb 2012 at 4:56

@GoogleCodeExporter
Copy link
Author

Hi Jason,

Are you referring to the default web page in Firefox 
(/etc/skel/Desktop/README.html), or the default web page in Apache (It works!)?

Original comment by doug.bu...@gmail.com on 29 Feb 2012 at 11:58

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

@GoogleCodeExporter
Copy link
Author

The default page in Apache. This would make a great SO splashpage.

Original comment by Jason.R....@gmail.com on 29 Feb 2012 at 12:41

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

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Added the following to security-onion-upgrade.sh:


sed -i 's| |=|g' $CONF
source $CONF
if [ "$VERSION" = "20120329" ]; then
        NEW="20120405"
        echo "**********************************************"   | $LOGGER
        echo "* Upgrading from $VERSION to $NEW."               | $LOGGER
        echo "**********************************************"   | $LOGGER
        DIR="/nsm/backup/$NEW"
        mkdir -p $DIR                                           | $LOGGER
        cd $DIR

        for FILE in securityonion-web-page_20120405_i386.deb; do
                echo -n "* Downloading $FILE..."                | $LOGGER
                wget -q http://sourceforge.net/projects/security-onion/files/$NEW/$FILE -O $FILE | $LOGGER
                if [ $? -eq 1 ]; then
                        echo "FAIL"     | $LOGGER
                        exit 1
                else
                        echo "OK"       | $LOGGER
                fi
        done

        echo -n "* Installing downloaded packages..." | $LOGGER
        dpkg -i *.deb                                           >> $LOG
        if [ $? -eq 1 ]; then
                echo "FAIL"     | $LOGGER
                exit 1
        else
                echo "OK"       | $LOGGER
        fi

        echo "* Fixing existing Desktop shortcuts"              | $LOGGER
        rm -f /etc/skel/Desktop/README.html
        rm -f /home/*/Desktop/README.html
        cat << EOF > /etc/skel/Desktop/securityonion-readme.desktop
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=ReadMe
Comment=ReadMe
GenericName=ReadMe
Exec=/usr/bin/firefox https://localhost
Icon=firefox
Terminal=false
Type=Application
Categories=SecurityOnion;NSM;
StartupNotify=true
# vi:set encoding=UTF-8:
EOF
        for i in /home/*; do cp /etc/skel/Desktop/securityonion-readme.desktop $i/Desktop/; done | $LOGGER
        sed -i 's|/etc/skel/Desktop/README.html|https://localhost|g' /etc/skel/.mozilla/firefox/*/prefs.js /home/*/.mozilla/firefox/*/prefs.js | $LOGGER

        sed -i "s|VERSION=$VERSION|VERSION=$NEW|g" $CONF        | $LOGGER
        echo "* Upgrade to $NEW complete."                      | $LOGGER
        echo 
fi

Original comment by doug.bu...@gmail.com on 5 Apr 2012 at 10:00

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

@GoogleCodeExporter
Copy link
Author

Published:
http://securityonion.blogspot.com/2012/04/security-onion-20120405-now-available.
html

Original comment by doug.bu...@gmail.com on 5 Apr 2012 at 10:00

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

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

No branches or pull requests

1 participant