[Firehol-support] 3.0 RC iptables-restore v1.4.14: unknown option "--update-counters"

Tsaousis, Costa costa at tsaousis.gr
Thu Apr 9 15:40:38 CEST 2015


Hi David,

you have an old version of iptables (and probably old ipset too).

You should update your system to use these features (you will need
ipset above v6.19 and the matching iptables version).

Costa


On Thu, Apr 9, 2015 at 3:13 PM, David Touzeau <david at articatech.com> wrote:
>
> Dear
>
> Using this configuration:
>
> ipv4 ipset create proxy_white_ssl hash:ip
> ipv4 ipset addfile proxy_white_ssl ips proxy_ssl_whitelist
> ipv4 ipset create MyIPs hash:ip
> ipv4 ipset addfile MyIPs ips MyIPs
>
> # * * * * Transparent Proxy * * * *
> transparent_squid 16639 squid dst not ipset:proxy_white_ssl
> transparent_proxy 443 24472 squid dst not ipset:proxy_white_ssl
>
>
> I receive this error
>
>
> iptables-restore v1.4.14: unknown option "--update-counters"
> Error occurred at line: 147
> Try `iptables-restore -h' or 'iptables-restore --help' for more information.
>
> Offending line:
> -A PREROUTING -p tcp --sport 1024:65535 -m set ! --match-set proxy_white_ssl
> dst ! --update-counters ! --update-subcounters --dport 80 -j REDIRECT
> --to-ports 16639
>
>  FAILED
>
>
> How can fix it ?
> _______________________________________________
> Firehol-support mailing list
> Firehol-support at lists.firehol.org
> http://lists.firehol.org/mailman/listinfo/firehol-support


More information about the Firehol-support mailing list