Revision: 7937
http://syscheck.svn.sourceforge.net/syscheck/?rev=7937&view=rev
Author: kinneh
Date: 2010-12-23 10:26:37 +0000 (Thu, 23 Dec 2010)
Log Message:
-----------
09 change to ip:s instead of dns names
906 use /bin/ech to expand multiple rows (\n)
811 add ; in instructions
Modified Paths:
--------------
trunk/syscheck/config/09.conf
trunk/syscheck/database-replication/811-master-node-flush-tables-with-read-lock.sh
trunk/syscheck/related-available/906_ssh-copy-to-remote-machine.sh
trunk/syscheck/scripts-available/sc_09_firewall.sh
Modified: trunk/syscheck/config/09.conf
===================================================================
--- trunk/syscheck/config/09.conf 2010-11-29 22:06:29 UTC (rev 7936)
+++ trunk/syscheck/config/09.conf 2010-12-23 10:26:37 UTC (rev 7937)
@@ -5,6 +5,6 @@
#IPTABLES_BIN=/sbin/iptables # debian
#Rules to check that it exists.
-IPTABLES_RULE1="DROP all -- anywhere anywhere"
+IPTABLES_RULE1="DROP all -- 0.0.0.0"
IPTABLES_RULE2="Chain INPUT (policy ACCEPT)"
Modified: trunk/syscheck/database-replication/811-master-node-flush-tables-with-read-lock.sh
===================================================================
--- trunk/syscheck/database-replication/811-master-node-flush-tables-with-read-lock.sh 2010-11-29 22:06:29 UTC (rev 7936)
+++ trunk/syscheck/database-replication/811-master-node-flush-tables-with-read-lock.sh 2010-12-23 10:26:37 UTC (rev 7937)
@@ -57,7 +57,7 @@
echo "FLUSH TABLES WITH READ LOCK;"
echo "keep the console open until the last step is done"
echo "then enter:"
-echo "UNLOCK TABLES"
+echo "UNLOCK TABLES;"
$MYSQL_BIN mysql -u root --password="$MYSQLROOT_PASSWORD"
if [ $? -eq 0 ] ; then
Modified: trunk/syscheck/related-available/906_ssh-copy-to-remote-machine.sh
===================================================================
--- trunk/syscheck/related-available/906_ssh-copy-to-remote-machine.sh 2010-11-29 22:06:29 UTC (rev 7936)
+++ trunk/syscheck/related-available/906_ssh-copy-to-remote-machine.sh 2010-12-23 10:26:37 UTC (rev 7937)
@@ -37,7 +37,7 @@
PRINTTOSCREEN=
if [ "x$1" = "x-h" -o "x$1" = "x--help" ] ; then
- echo "$SSH_HELP"
+ /bin/echo -e "$SSH_HELP"
echo "$ERRNO_1/$SSH_DESCR_1 - $SSH_HELP_1"
echo "$ERRNO_2/$SSH_DESCR_2 - $SSH_HELP_2"
echo "$ERRNO_3/$SSH_DESCR_3 - $SSH_HELP_3"
Modified: trunk/syscheck/scripts-available/sc_09_firewall.sh
===================================================================
--- trunk/syscheck/scripts-available/sc_09_firewall.sh 2010-11-29 22:06:29 UTC (rev 7936)
+++ trunk/syscheck/scripts-available/sc_09_firewall.sh 2010-12-23 10:26:37 UTC (rev 7937)
@@ -47,7 +47,7 @@
IPTABLES_TMP_FILE="/tmp/iptables.out"
-$IPTABLES_BIN -L > $IPTABLES_TMP_FILE
+$IPTABLES_BIN -L -n> $IPTABLES_TMP_FILE
FIREWALLFAILED="0"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|