version 1.16, 2003/01/07 20:46:19
|
version 1.17, 2003/01/07 20:48:53
|
Line 412 close MYSQL;
|
Line 412 close MYSQL;
|
print_and_log("\n"); |
print_and_log("\n"); |
|
|
## |
## |
## Modify the firewall, if it exists |
## Remove the firewall. |
## |
## |
#system("chkconfig ipchains off"); |
system("chkconfig ipchains off"); |
#system("/etc/init.d/ipchains stop"); |
system("/etc/init.d/ipchains stop"); |
#system("chkconfig iptables on"); |
system("chkconfig iptables on"); |
#system("/etc/init.d/iptables start"); |
system("/etc/init.d/iptables start"); |
|
|
#"-A input -s 0/0 -d 0/0 8080 -p tcp -y -j ACCEPT", |
|
#"-A input -s 0/0 -d 0/0 5663 -p tcp -y -j ACCEPT" |
|
|
|
|
# Someday we will add these to /etc/sysconfig/ipchains. |
|
# "-A input -s 0/0 -d 0/0 8080 -p tcp -y -j ACCEPT", |
|
# "-A input -s 0/0 -d 0/0 5663 -p tcp -y -j ACCEPT" |
|
# Someday we will deal with iptables, too. Soon. |
|
|
## |
## |
## Set up httpd |
## Set up httpd |