I've created two shell scripts that call mxfirewallcontrol.py, the first one is working fine, the second one fails (because it shows no hit which it should indeed): #!/bin/bash
python mxfirewallcontrol.py -k 547***45b -o /all -f "type:network"
#eof #!/bin/bash
python mxfirewallcontrol.py -k 547***45b -o /all -f "type:network,tag:branch"
#eof You can see the code in question is almost a 1:1 copy from mxfirewallcontrol_manual.pdf on page 3 right at the bottom. Still it doesn't work. Why? What did I miss? PS: This is the result I received from first Shell script: @ INFO: Retrieving organization info
@ INFO: Selecting networks and templates according to filters
MX Firewall Ruleset for Organization "abc", Network "def"
LINE:1 protocol:Any, srcPort:Any, srcCidr:Any, destPort:Any, destCidr:Any, policy:allow, syslogEnabled:False, comment:Default rule
MX Firewall Ruleset for Organization "abc", Network "ghi"
LINE:1 protocol:icmp, srcPort:Any, srcCidr:Any, destPort:Any, destCidr:Any, policy:allow, syslogEnabled:False, comment:ping
LINE:2 protocol:Any, srcPort:Any, srcCidr:Any, destPort:Any, destCidr:Any, policy:allow, syslogEnabled:False, comment:Default rule
@ INFO: End of script.
... View more