Open all ports by default
The test now flushes the INPUT chain of iptables at the start of the test. This should open all ports even if the OS by default defines some rules that block ports.
This commit is contained in:
@ -641,7 +641,7 @@ void TestConnections::init_maxscale(int m)
|
||||
"chmod 664 %s/certs/*.pem;"
|
||||
"chmod a+x %s;"
|
||||
"%s"
|
||||
"iptables -I INPUT -p tcp --dport 4001 -j ACCEPT;"
|
||||
"iptables -F INPUT;"
|
||||
"rm -f %s/maxscale.log;"
|
||||
"rm -f %s/maxscale1.log;"
|
||||
"rm -rf /tmp/core* /dev/shm/* /var/lib/maxscale/maxscale.cnf.d/ /var/lib/maxscale/*;"
|
||||
|
||||
Reference in New Issue
Block a user