[connman] Improve firewall rule parsing. Contributes to JB#43926
Improved parsing of iptables rules to check that the protocols defined with -p and -m match, there is no -m protocol -m multiport used and -m protocol does not exist without -p protocol. Otherwise by defining these iptables either reports error or crashes ConnMan.
Showing with 102 additions and 14 deletions