iptables doesn't seem to recognize --dport with -p all.
iptables -A INPUT -p all --dport www -j ACCEPT
yields
iptables v1.4.4: unknown option --dport'
Tryiptables -h' or 'iptables --help' for more information.
--destination-port doesn't work either: iptables v1.4.4: unknown option `--destination-port'
Adding two separate rules for -p tcp and -udp works fine, so why doesn't it work for -p all?
In case it matters, this is on an Ubuntu 10.04 LTS Server with iptables package version 1.4.4-2ubuntu2