Hi Thiemo,
Is there a reason why connman does not use libiptc to change the iptables but
has its own code to communicate with the kernel?
I am asking because I was looking into the fact that the iptables counters are
reset when connman starts.
I also looked into how the counters are handled by iptables-restore / iptables,
which both use libiptc.
Libiptc seems to contain quite some code to manage the counter values properly
and it feels a bit like reinventing the wheel when doing pretty much the same
in connman.
libiptc has been done with iptables tools in mind, so it does thing for
those use-case.
It's a glue on top libxtables, which libxtables connman uses anyway.
There were issues about libiptc, I can't remember what (the asserts are
not nice for instance etc..).
And today's libptc has also change quite a lot I think.
Tomasz
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman