Update of /cvsroot/netpass/NetPass/install.d
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17502/install.d
Modified Files:
iptables-lvs.sh lvs
Log Message:
resetport fixes, install script fix
Index: iptables-lvs.sh
===================================================================
RCS file: /cvsroot/netpass/NetPass/install.d/iptables-lvs.sh,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- iptables-lvs.sh 20 Apr 2005 18:34:36 -0000 1.3
+++ iptables-lvs.sh 22 Dec 2005 18:31:02 -0000 1.4
@@ -51,6 +51,10 @@
iptables -A PREROUTING -t mangle -p tcp --dport 443 -j MARK --set-mark 1
iptables -A PREROUTING -t mangle -p tcp --dport 443 -j RETURN
+iptables -A PREROUTING -t mangle -p tcp --dport 20003 -j MARK --set-mark 1
+iptables -A PREROUTING -t mangle -p tcp --dport 20003 -j RETURN
+
+
iptables -A PREROUTING -t mangle -j DROP
#iptables -A PREROUTING -t mangle -j MARK --set-mark 1
Index: lvs
===================================================================
RCS file: /cvsroot/netpass/NetPass/install.d/lvs,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- lvs 17 Mar 2005 17:38:38 -0000 1.3
+++ lvs 22 Dec 2005 18:31:02 -0000 1.4
@@ -31,7 +31,7 @@
you've decided to use? ");
my $rs1 = ask("\nWhat's the IP address of the first NetPass server? ");
my $rs2 = ask("\nWhat's the IP address of the second NetPass server? ");
-my $d2 = ask("\nWhat's the IP address of the other NetPass redirector? ");
+my $d2 = ask("\nWhat's the IP address of the other NetPass redirector (not this one)? ");
my $fhI = new FileHandle "$PKGDIR/install.d/ldirectord.cf", "r";
die "can't open $PKGDIR/install.d/ldirectord.cf for reading: $!" unless defined $fhI;
@@ -48,10 +48,10 @@
$fhI->close;
$fhO->close;
-print "We will not configure /etc/ha.d/ha.cf. The 'hostname' that we are\n\
+print "We will now configure /etc/ha.d/ha.cf. The 'hostname' that we are\n\
about to ask for must match the output of 'uname -n' on each redirector.\n";
-my $dir1 = ask("\nEnter the hostname address of the primary redirector: ");
-my $dir2 = ask("\nEnter the hostname address of the backup redirector: ");
+my $dir1 = ask("\nEnter the HOSTNAME of the primary redirector: ");
+my $dir2 = ask("\nEnter the HOSTNAME of the backup redirector: ");
$fh = new FileHandle "/etc/ha.d/ha.cf", "w";
die "cant open /etc/ha.d/ha.cf for writing: $!" unless defined $fh;
@@ -75,8 +75,8 @@
print "XXX IPTABLES, perl, /var/run/netpass, startup scripts (netpassha, garp) CONFIG HERE\n\n";
-print "\nHA configuration complete. Use the netpass/bin/interfacecfg.pl script
-to generate your HA interface configuration script.\n";
+print "\nHA configuration complete. Use the netpassha init script
+to bring this redirector online.\n";
exit 0;
|